summaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/blinky.rs
diff options
context:
space:
mode:
authorcos <cos>2022-10-20 10:35:10 +0200
committercos <cos>2022-10-20 11:39:48 +0200
commit77ba056e8e624dbc109f5a61fad977f5d61feafe (patch)
tree7b7c0a1f3c9b27a2281b65ce11a9d5f6b7f55936 /examples/nrf/src/bin/blinky.rs
parentcdbe26e2cc39cf9dbe88d60746b669eab89c3107 (diff)
downloadembassy-77ba056e8e624dbc109f5a61fad977f5d61feafe.zip
Failing attempt to add softdevice to DFU packagetmp/dfu_pkg_pca10059
Ideally launching run.sh should results in the RGB LED to blink blue. Sections "12.3 Master boot record and SoftDevice reset procedure" and "14.1 Memory resource map and usage" of [S140_SDS_v2.1][] seems to suggest that once the SoftDevice is initialized, application execution should happen from APP_CODE_BASE According to the description of [SD_FLASH_SIZE][], the APP_CODE_BASE address should be set to 0x27000 for version 7.3.0 of s140. Yet this gives no blue blinking LED. :( [S140_SDS_v2.1]: https://infocenter.nordicsemi.com/pdf/S140_SDS_v2.1.pdf [SD_FLASH_SIZE]: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf52%2Fstruct%2Fs140.html
Diffstat (limited to 'examples/nrf/src/bin/blinky.rs')
-rw-r--r--examples/nrf/src/bin/blinky.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nrf/src/bin/blinky.rs b/examples/nrf/src/bin/blinky.rs
index eb548f16..60a267e9 100644
--- a/examples/nrf/src/bin/blinky.rs
+++ b/examples/nrf/src/bin/blinky.rs
@@ -10,7 +10,7 @@ use {defmt_rtt as _, panic_probe as _};
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
let p = embassy_nrf::init(Default::default());
- let mut led = Output::new(p.P1_09, Level::Low, OutputDrive::Standard);
+ let mut led = Output::new(p.P0_12, Level::Low, OutputDrive::Standard);
loop {
led.set_high();