From da2580d293b4b5bbc491ccd9bc3ea191bdf0b51a Mon Sep 17 00:00:00 2001 From: Jared Wolff Date: Fri, 15 Jan 2021 16:23:07 -0500 Subject: [PATCH] boot: zephyr: boards: update Circuit Dojo nRF9160 Feather conf Add Circuit Dojo nRF9160 Feather board update. Also adding configuration for Sparkfun Thing Plus. Signed-off-by: Jared Wolff --- .../boards/circuitdojo_feather_nrf9160.conf | 6 ++++++ .../boards/sparkfun_thing_plus_nrf9160.conf | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 boot/zephyr/boards/sparkfun_thing_plus_nrf9160.conf diff --git a/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf b/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf index 29d18afd..078e3902 100644 --- a/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf +++ b/boot/zephyr/boards/circuitdojo_feather_nrf9160.conf @@ -3,6 +3,9 @@ CONFIG_CONSOLE=n CONFIG_CONSOLE_HANDLER=n CONFIG_UART_CONSOLE=n +# Multithreading +CONFIG_MULTITHREADING=y + # MCUBoot settings CONFIG_BOOT_MAX_IMG_SECTORS=256 @@ -11,3 +14,6 @@ CONFIG_MCUBOOT_SERIAL=y CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0" CONFIG_BOOT_SERIAL_DETECT_PIN=12 CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0 + +# Size of mcuboot partition +CONFIG_SIZE_OPTIMIZATIONS=y \ No newline at end of file diff --git a/boot/zephyr/boards/sparkfun_thing_plus_nrf9160.conf b/boot/zephyr/boards/sparkfun_thing_plus_nrf9160.conf new file mode 100644 index 00000000..078e3902 --- /dev/null +++ b/boot/zephyr/boards/sparkfun_thing_plus_nrf9160.conf @@ -0,0 +1,19 @@ +# Disable Zephyr console +CONFIG_CONSOLE=n +CONFIG_CONSOLE_HANDLER=n +CONFIG_UART_CONSOLE=n + +# Multithreading +CONFIG_MULTITHREADING=y + +# MCUBoot settings +CONFIG_BOOT_MAX_IMG_SECTORS=256 + +# MCUboot serial recovery +CONFIG_MCUBOOT_SERIAL=y +CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0" +CONFIG_BOOT_SERIAL_DETECT_PIN=12 +CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0 + +# Size of mcuboot partition +CONFIG_SIZE_OPTIMIZATIONS=y \ No newline at end of file