This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Building Mesh Bootloader via makefile

I'm attempting to pull the mesh bootloader out of the sdk and put it in its own makefile project, so it can be built separately.

I'm building with `gcc-arm-none-eabi-7-2017-q4-major` for an nRF52832.

The bootloader builds successfully, however when I flash and run I get an error in the application code (a modified mesh lightswitch).

<t:         87>, mesh_softdevice_init.c,  117, Initializing SoftDevice...

<t:          0>, mesh_softdevice_init.c,   75, Enabling BLE...

<t:        549>, app_error_weak.c,   87, Application memory access: 493818:0

If i use the pre-built bootloader hex, it works successfully.

Any suggestions on what I might be missing?


Here is the build output for my project:

make VERBOSE=1 all 
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f Makefile -C ./ -e mesh-bootloader
echo Makefile
Makefile
mkdir _build
Compiling file: bootloader.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/bootloader.o -c /../mesh-bootloader/src/bootloader.c
Compiling file: bootloader_app_bridge.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/bootloader_app_bridge.o -c /../mesh-bootloader/src/bootloader_app_bridge.c
Compiling file: bootloader_info.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/bootloader_info.o -c /../mesh-bootloader/src/bootloader_info.c
Compiling file: bootloader_rtc.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/bootloader_rtc.o -c /../mesh-bootloader/src/bootloader_rtc.c
Compiling file: bootloader_util.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/bootloader_util.o -c /../mesh-bootloader/src/bootloader_util.c
Compiling file: dfu_bank.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/dfu_bank.o -c /../mesh-bootloader/src/dfu_bank.c
Compiling file: dfu_mesh.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/dfu_mesh.o -c /../mesh-bootloader/src/dfu_mesh.c
Compiling file: dfu_transfer_mesh.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/dfu_transfer_mesh.o -c /../mesh-bootloader/src/dfu_transfer_mesh.c
Compiling file: dfu_util.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/dfu_util.o -c /../mesh-bootloader/src/dfu_util.c
Compiling file: fifo.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/fifo.o -c /../mesh-bootloader/src/fifo.c
Compiling file: main.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/main.o -c /../mesh-bootloader/src/main.c
Compiling file: mesh_packet.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/mesh_packet.o -c /../mesh-bootloader/src/mesh_packet.c
Compiling file: nrf_flash.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/nrf_flash.o -c /../mesh-bootloader/src/nrf_flash.c
Compiling file: radio_control.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/radio_control.o -c /../mesh-bootloader/src/radio_control.c
Compiling file: rand.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/rand.o -c /../mesh-bootloader/src/rand.c
Compiling file: transport.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/transport.o -c /../mesh-bootloader/src/transport.c
Compiling file: uECC.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/uECC.o -c /../mesh-bootloader/src/uECC.c
Compiling file: sha256.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/sha256.o -c /../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256/sha256.c
Compiling file: system_nrf52.c
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o _build/system_nrf52.o -c /../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk/system_nrf52.c
Assembly file: gcc_startup_nrf52.S
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' -Os -DNDEBUG -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DBOARD_CUSTOM -DBOOTLOADER -DNORDIC_SDK_VERSION=15 -DNRF52832 -DNRF52832_XXAA -DNRF52_SERIES -DRBC_MESH_PACKET_POOL_SIZE=32 -DuECC_CURVE=uECC_secp256r1 -DuECC_PLATFORM=uECC_arm -I/../mesh-bootloader/include -I/../mesh-bootloader/sdk/nRF5_SDK/integration/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/util -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/timer -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/experimental_section_vars -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/delay -I/../mesh-bootloader/sdk/nRF5_SDK/components/libraries/sha256 -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers -I/../mesh-bootloader/sdk/nRF5_SDK/components/softdevice/s132/headers/nrf52 -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -I/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/hal -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/include -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/gcc -I/../mesh-bootloader/sdk/nRF5_SDK/components/toolchain/cmsis/dsp/GCC -I/../mesh-bootloader/sdk/nRF5_SDK/components/boards -o _build/gcc_startup_nrf52.o -c /../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk/gcc_startup_nrf52.S
Linking target: mesh-bootloader.out
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc' --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Os -g -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,--gc-sections --specs=nano.specs -L/../mesh-bootloader/sdk/nRF5_SDK/modules/nrfx/mdk -L/../mesh-bootloader/linker -T/../mesh-bootloader/linker/bootloader_nrf52832_xxAA.ld -Xlinker -Map=_build/mesh-bootloader.map _build/bootloader.o _build/bootloader_app_bridge.o _build/bootloader_info.o _build/bootloader_rtc.o _build/bootloader_util.o _build/dfu_bank.o _build/dfu_mesh.o _build/dfu_transfer_mesh.o _build/dfu_util.o _build/fifo.o _build/main.o _build/mesh_packet.o _build/nrf_flash.o _build/radio_control.o _build/rand.o _build/transport.o _build/uECC.o _build/sha256.o _build/system_nrf52.o _build/gcc_startup_nrf52.o -o _build/mesh-bootloader.out
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f Makefile -C ./ -e finalize
Preparing: mesh-bootloader.bin
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-objcopy' -O binary _build/mesh-bootloader.out _build/mesh-bootloader.bin
Preparing: mesh-bootloader.hex
'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-objcopy' -O ihex _build/mesh-bootloader.out _build/mesh-bootloader.hex

'/usr/local/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-size' _build/mesh-bootloader.out
text data bss dec hex filename
19116 128 2464 21708 54cc _build/mesh-bootloader.out

Related