Skip to content

Commit 5f6b143

Browse files
author
Jonathan Pallant (42 Technology)
committed
Merge branch 'release/v1.5.1' into main
2 parents 0840c1b + f2e353f commit 5f6b143

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ rustflags = [
66
]
77

88
[build]
9-
target = "thumbv8m.main-none-eabi" # Cortex-M33
9+
target = "thumbv8m.main-none-eabihf" # Cortex-M33 Hard Float

Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nrfxlib-sys"
3-
version = "1.4.2"
3+
version = "1.5.1"
44
authors = [
55
"Jonathan 'theJPster' Pallant <github@thejpster.org.uk>",
66
"42 Technology Ltd <jonathan.pallant@42technology.com>",
@@ -9,23 +9,24 @@ edition = "2018"
99
description = "Rust bindings to the Nordic nRF9160 Socket Library."
1010
readme = "README.md"
1111
license-file = "LICENCE.md"
12-
repository = "https://github.com/thejpster/nrfxlib-sys"
12+
repository = "https://github.com/42-technology-ltd/nrfxlib-sys"
13+
resolver = "2"
1314
# The nrfxlib folder is quite large, so only include the pieces we need
1415
include = [
1516
"src/**",
1617
"include/**",
1718
"build.rs",
1819
"wrapper.h",
1920
"*.md",
20-
"third_party/nordic/nrfxlib/bsdlib/lib/cortex-m33/soft-float/**",
21-
"third_party/nordic/nrfxlib/bsdlib/include/**",
22-
"third_party/nordic/nrfxlib/bsdlib/license.txt",
23-
"third_party/nordic/nrfxlib/bsdlib/README.rst",
21+
"third_party/nordic/nrfxlib/nrf_modem/lib/cortex-m33/hard-float/**",
22+
"third_party/nordic/nrfxlib/nrf_modem/include/**",
23+
"third_party/nordic/nrfxlib/nrf_modem/license.txt",
24+
"third_party/nordic/nrfxlib/nrf_modem/README.rst",
2425
"third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/include/**",
2526
"third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/license.txt",
2627
"third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/include/**",
2728
"third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/license.txt",
28-
"third_party/nordic/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/soft-float/**",
29+
"third_party/nordic/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/hard-float/**",
2930
"third_party/nordic/nrfxlib/crypto/nrf_oberon/include/**",
3031
"third_party/nordic/nrfxlib/crypto/nrf_oberon/license.txt",
3132
]

build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ fn main() {
8181
println!(
8282
"cargo:rustc-link-search={}",
8383
Path::new(&nrfxlib_path)
84-
.join("bsdlib/lib/cortex-m33/soft-float")
84+
.join("nrf_modem/lib/cortex-m33/hard-float")
8585
.display()
8686
);
8787
println!(
8888
"cargo:rustc-link-search={}",
8989
Path::new(&nrfxlib_path)
90-
.join("crypto/nrf_oberon/lib/cortex-m33/soft-float")
90+
.join("crypto/nrf_oberon/lib/cortex-m33/hard-float")
9191
.display()
9292
);
93-
println!("cargo:rustc-link-lib=static=bsd_nrf9160_xxaa");
94-
println!("cargo:rustc-link-lib=static=oberon_3.0.7");
93+
println!("cargo:rustc-link-lib=static=modem");
94+
println!("cargo:rustc-link-lib=static=oberon_3.0.8");
9595
}

third_party/nordic/nrfxlib

wrapper.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
/*
66
* libbsd headers
77
*/
8-
#include "bsdlib/include/bsd.h"
9-
#include "bsdlib/include/bsd_limits.h"
10-
#include "bsdlib/include/bsd_os.h"
11-
#include "bsdlib/include/bsd_platform.h"
12-
#include "bsdlib/include/nrf_errno.h"
13-
#include "bsdlib/include/nrf_socket.h"
8+
#include "nrf_modem/include/nrf_modem.h"
9+
#include "nrf_modem/include/nrf_modem_limits.h"
10+
#include "nrf_modem/include/nrf_modem_full_dfu.h"
11+
#include "nrf_modem/include/nrf_modem_os.h"
12+
#include "nrf_modem/include/nrf_modem_platform.h"
13+
#include "nrf_modem/include/nrf_errno.h"
14+
#include "nrf_modem/include/nrf_socket.h"
1415

1516
/*
1617
* Crypto Cell 310 (CC310) platform headers

0 commit comments

Comments
 (0)