Skip to content

Commit 4588855

Browse files
authored
Merge pull request #21 from nerwalt/nrf9120
nrf9120
2 parents 9097749 + 5ce90e2 commit 4588855

File tree

694 files changed

+163357
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

694 files changed

+163357
-39
lines changed
File renamed without changes.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ cortex-m-rt = ">=0.6.15,<0.8"
1717

1818
# meta-dependencies (upgrade as needed, they apply to all PACs):
1919
# @svd2rust = 0.25.1
20-
# @form = 0.10.0
20+
# @form = 0.12.1

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Every nRF chip has its own PAC, listed below:
3131
| `nrf5340-app-pac` | [![docs.rs](https://docs.rs/nrf5340-app-pac/badge.svg)](https://docs.rs/nrf5340-app-pac) | [![crates.io](https://img.shields.io/crates/d/nrf5340-app-pac.svg)](https://crates.io/crates/nrf5340-app-pac) | `thumbv8m.main-none-eabihf` |
3232
| `nrf5340-net-pac` | [![docs.rs](https://docs.rs/nrf5340-net-pac/badge.svg)](https://docs.rs/nrf5340-net-pac) | [![crates.io](https://img.shields.io/crates/d/nrf5340-net-pac.svg)](https://crates.io/crates/nrf5340-net-pac) | `thumbv8m.main-none-eabihf` |
3333
| `nrf9160-pac` | [![docs.rs](https://docs.rs/nrf9160-pac/badge.svg)](https://docs.rs/nrf9160-pac) | [![crates.io](https://img.shields.io/crates/d/nrf9160-pac.svg)](https://crates.io/crates/nrf9160-pac) | `thumbv8m.main-none-eabihf` |
34+
| `nrf9120-pac` | [![docs.rs](https://docs.rs/nrf9120-pac/badge.svg)](https://docs.rs/nrf9120-pac) | [![crates.io](https://img.shields.io/crates/d/nrf9120-pac.svg)](https://crates.io/crates/nrf9120-pac) | `thumbv8m.main-none-eabihf` |
3435
<!-- TODO: this table could be autogenerated -->
3536

3637
## Device Reference Manuals from Nordic
@@ -46,5 +47,9 @@ Every nRF chip has its own PAC, listed below:
4647
| [`nRF52840`](https://www.nordicsemi.com/Products/nRF52840) | [`v1.1`](https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.1.pdf) | [`v1.2`](https://infocenter.nordicsemi.com/pdf/nRF52840_DK_User_Guide_v1.2.pdf) |
4748
| [`nRF5340`](https://www.nordicsemi.com/Products/nRF5340) | [`v1.1`](https://infocenter.nordicsemi.com/pdf/nRF5340_PS_v1.1.pdf) | [`v1.0.0`](https://infocenter.nordicsemi.com/pdf/nRF5340_DK_User_Guide_20210304.pdf) |
4849
| [`nRF9160`](https://www.nordicsemi.com/Products/nrf9160) | [`v2.0`](https://infocenter.nordicsemi.com/pdf/nRF9160_PS_v2.0.pdf) | [`v0.9.3`](https://infocenter.nordicsemi.com/pdf/nRF9160_DK_HW_User_Guide_v0.9.3.pdf) |
50+
| [`nRF9161 (nrf9120)`](https://www.nordicsemi.com/Products/nRF9161) | [`v1.0`](https://infocenter.nordicsemi.com/pdf/nRF9161_PS_v1.0.pdf) | [`v0.9.1`](https://infocenter.nordicsemi.com/pdf/nRF9161_DK_HW_User_Guide_v0.9.1.pdf) |
51+
| [`nRF9151 (nrf9120)`](https://www.nordicsemi.com/Products/nRF9151) | ** | ** |
4952

5053
\* These devices do not have a separate development kit and share the [NRF52 DK](https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52-DK)
54+
55+
\*\* As of 2024-6-28, the Product Specification and the DK Reference Guide have not been published for the nRF9151.

pacs/nrf51-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF51 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52805-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52805 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52810-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52810 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52811-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52811 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52820-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52820 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52832-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

pacs/nrf52833-pac/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![doc = "Peripheral access API for NRF52833 microcontrollers (generated using svd2rust v0.25.1 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
22
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.25.1/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
3-
#![deny(const_err)]
43
#![deny(dead_code)]
54
#![deny(improper_ctypes)]
65
#![deny(missing_docs)]
@@ -9,7 +8,6 @@ svd2rust release can be generated by cloning the svd2rust [repository], checking
98
#![deny(overflowing_literals)]
109
#![deny(path_statements)]
1110
#![deny(patterns_in_fns_without_body)]
12-
#![deny(private_in_public)]
1311
#![deny(unconditional_recursion)]
1412
#![deny(unused_allocation)]
1513
#![deny(unused_comparisons)]

0 commit comments

Comments
 (0)