cleaned project, added a first working version of the bootloader
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000")
|
||||
|
||||
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
|
||||
board_runner_args(pyocd "--target=nrf52833" "--frequency=4000000")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
|
||||
@@ -114,6 +114,31 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/*
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
boot_partition: partition@0 {
|
||||
label = "mcuboot";
|
||||
reg = <0x00000000 0x10000>; // 64 KB
|
||||
};
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x00010000 0x1C000>; // 112 KB
|
||||
};
|
||||
slot1_partition: partition@2C000 {
|
||||
label = "image-1";
|
||||
reg = <0x0002C000 0x1C000>; // 112 KB
|
||||
};
|
||||
storage_partition: partition@48000 {
|
||||
label = "storage";
|
||||
reg = <0x00048000 0x8000>; // 32 KB
|
||||
};
|
||||
};
|
||||
};*/
|
||||
&flash0 {
|
||||
|
||||
partitions {
|
||||
@@ -123,19 +148,19 @@
|
||||
|
||||
boot_partition: partition@0 {
|
||||
label = "mcuboot";
|
||||
reg = <0x00000000 0xC000>;
|
||||
reg = <0x00000000 0x10000>;
|
||||
};
|
||||
slot0_partition: partition@c000 {
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x0000C000 0x37000>;
|
||||
reg = <0x000010000 0x36000>;
|
||||
};
|
||||
slot1_partition: partition@43000 {
|
||||
slot1_partition: partition@46000 {
|
||||
label = "image-1";
|
||||
reg = <0x00043000 0x37000>;
|
||||
reg = <0x00046000 0x36000>;
|
||||
};
|
||||
storage_partition: partition@7a000 {
|
||||
storage_partition: partition@7c000 {
|
||||
label = "storage";
|
||||
reg = <0x0007A000 0x00006000>;
|
||||
reg = <0x0007c000 0x00004000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# Suppress "unique_unit_address_if_enabled" to handle some overlaps
|
||||
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|
||||
Reference in New Issue
Block a user