Skip to content

Commit 2e4f8fc

Browse files
committed
nRF52: experiments with mbed-based bootloader
1 parent d2687d1 commit 2e4f8fc

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

variants/NRF52840_DK/includes.txt

+1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@
303303
-iwithprefixbefore/mbed/features
304304
-iwithprefixbefore/mbed/events/equeue
305305
-iwithprefixbefore/mbed/events
306+
-iwithprefixbefore/mbed/drivers
306307
-iwithprefixbefore/mbed/components/wifi/esp8266-driver/ESP8266
307308
-iwithprefixbefore/mbed/components/wifi/esp8266-driver
308309
-iwithprefixbefore/mbed/components/wifi

variants/NRF52840_DK/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ static inline void _ontouch1200bps_() {
2929
NVIC_SystemReset();
3030
}
3131

32+
#define MBED_CONF_FLASHIAP_BLOCK_DEVICE_BASE_ADDRESS 0x28000
33+
#define MBED_CONF_FLASHIAP_BLOCK_DEVICE_SIZE 0xD8000
34+
3235
#endif //__PINS_ARDUINO__

variants/NRF52840_DK_NOSD/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ static inline void _ontouch1200bps_() {
2929
NVIC_SystemReset();
3030
}
3131

32+
#define MBED_CONF_FLASHIAP_BLOCK_DEVICE_BASE_ADDRESS 0x10000
33+
#define MBED_CONF_FLASHIAP_BLOCK_DEVICE_SIZE 0xF0000
34+
3235
#endif //__PINS_ARDUINO__

0 commit comments

Comments
 (0)