Skip to content

Commit 6944733

Browse files
committed
NANO33 - turn on FPU...
A lot of the crashes were happening because of this. More details in issue arduino#57
1 parent 1387f49 commit 6944733

File tree

9 files changed

+36
-19
lines changed

9 files changed

+36
-19
lines changed
4.18 KB
Binary file not shown.
Binary file not shown.

loader/boards/arduino_nano_33_ble_sense.conf

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ CONFIG_MAIN_STACK_SIZE=16384
4040
CONFIG_BT_RX_STACK_SIZE=4096
4141
CONFIG_BT_HCI_TX_STACK_SIZE=4096
4242

43+
CONFIG_FPU=y
44+
4345
CONFIG_STACK_USAGE=y
4446
CONFIG_STACK_SENTINEL=n
4547
CONFIG_STACK_CANARIES=y
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
LLEXT_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__PROGRAM_START -DNRF52840_XXAA -DK_HEAP_MEM_POOL_SIZE=16384 -DLL_EXTENSION_BUILD -fno-strict-aliasing -fstack-protector-all -mstack-protector-guard=global -fno-printf-return-value -fno-common -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -Wformat -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fstack-usage -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -mlong-calls -mthumb -nodefaultlibs -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr/autoconf.h -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/libc/common/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/posix/options/getopt/ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/cpp/minimal/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/usb/device -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/shell/modules/kernel_service/thread/../ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/drivers/usb/common/nrf_usbd_common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/cmsis/CMSIS/Core/Include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/cmsis/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/drivers/include -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/mdk -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/hal_nordic/nrfx/.
1+
LLEXT_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_DOUBLE_PRINTF_SCANF -D__PROGRAM_START -DNRF52840_XXAA -DK_HEAP_MEM_POOL_SIZE=16384 -DLL_EXTENSION_BUILD -fno-strict-aliasing -fstack-protector-all -mstack-protector-guard=global -fno-common -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -Wformat -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fstack-usage -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -mlong-calls -mthumb -nodefaultlibs -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr/autoconf.h -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/libc/common/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/posix/options/getopt/ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/cpp/minimal/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/usb/device -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/shell/modules/kernel_service/thread/../ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/drivers/usb/common/nrf_usbd_common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/cmsis/CMSIS/Core/Include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/cmsis/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/drivers/include -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/mdk -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/hal_nordic/nrfx/.
22

33
LLEXT_ALL_INCLUDE_CFLAGS = -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/libc/common/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/posix/options/getopt/ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/cpp/minimal/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/usb/device -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/shell/modules/kernel_service/thread/../ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/drivers/usb/common/nrf_usbd_common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/cmsis/CMSIS/Core/Include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/cmsis/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/drivers/include -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/mdk -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/hal_nordic/nrfx/.
44

55
LLEXT_INCLUDE_CFLAGS = -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/libc/common/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/posix/options/getopt/ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/lib/cpp/minimal/include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/usb/device -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/bluetooth -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/subsys/shell/modules/kernel_service/thread/../ -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/drivers/usb/common/nrf_usbd_common/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/cmsis/CMSIS/Core/Include -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/cmsis/. -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/drivers/include -I$(LLEXT_EDK_INSTALL_DIR)/include/modules/hal/nordic/nrfx/mdk -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/modules/hal_nordic/nrfx/.
66

77
LLEXT_GENERATED_INCLUDE_CFLAGS = -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated
88

9-
LLEXT_BASE_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__PROGRAM_START -DNRF52840_XXAA -DK_HEAP_MEM_POOL_SIZE=16384 -DLL_EXTENSION_BUILD -fno-strict-aliasing -fstack-protector-all -mstack-protector-guard=global -fno-printf-return-value -fno-common -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -Wformat -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fstack-usage -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -mlong-calls -mthumb -nodefaultlibs -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h
9+
LLEXT_BASE_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_DOUBLE_PRINTF_SCANF -D__PROGRAM_START -DNRF52840_XXAA -DK_HEAP_MEM_POOL_SIZE=16384 -DLL_EXTENSION_BUILD -fno-strict-aliasing -fstack-protector-all -mstack-protector-guard=global -fno-common -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -Wformat -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fstack-usage -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -mlong-calls -mthumb -nodefaultlibs -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h
1010

1111
LLEXT_GENERATED_IMACROS_CFLAGS = -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr/autoconf.h
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
set(LLEXT_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_LONG_LONG_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52840_XXAA;-DK_HEAP_MEM_POOL_SIZE=16384;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-fstack-protector-all;-mstack-protector-guard=global;-fno-printf-return-value;-fno-common;-fdiagnostics-color=always;-mcpu=cortex-m4;-mthumb;-mabi=aapcs;-mfp16-format=ieee;-mtp=soft;-Wall;-Wformat;-Wformat-security;-Wformat;-Wno-format-zero-length;-Wdouble-promotion;-Wno-pointer-sign;-Wpointer-arith;-Wexpansion-to-defined;-Wno-unused-but-set-variable;-Werror=implicit-int;-fno-asynchronous-unwind-tables;-ftls-model=local-exec;-fno-reorder-functions;--param=min-pagesize=0;-fno-defer-pop;-fstack-usage;-specs=picolibc.specs;-D_POSIX_THREADS;-std=c99;-mlong-calls;-mthumb;-nodefaultlibs;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr/autoconf.h;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/libc/common/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/posix/options/getopt/;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/cpp/minimal/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/usb/device;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/shell/modules/kernel_service/thread/../;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/drivers/usb/common/nrf_usbd_common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/cmsis/CMSIS/Core/Include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/cmsis/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/drivers/include;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/mdk;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/hal_nordic/nrfx/.)
1+
set(LLEXT_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_DOUBLE_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52840_XXAA;-DK_HEAP_MEM_POOL_SIZE=16384;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-fstack-protector-all;-mstack-protector-guard=global;-fno-common;-fdiagnostics-color=always;-mcpu=cortex-m4;-mthumb;-mabi=aapcs;-mfpu=fpv4-sp-d16;-mfloat-abi=hard;-mfp16-format=ieee;-mtp=soft;-Wall;-Wformat;-Wformat-security;-Wformat;-Wno-format-zero-length;-Wdouble-promotion;-Wno-pointer-sign;-Wpointer-arith;-Wexpansion-to-defined;-Wno-unused-but-set-variable;-Werror=implicit-int;-fno-asynchronous-unwind-tables;-ftls-model=local-exec;-fno-reorder-functions;--param=min-pagesize=0;-fno-defer-pop;-fstack-usage;-specs=picolibc.specs;-D_POSIX_THREADS;-std=c99;-mlong-calls;-mthumb;-nodefaultlibs;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr/autoconf.h;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/libc/common/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/posix/options/getopt/;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/cpp/minimal/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/usb/device;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/shell/modules/kernel_service/thread/../;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/drivers/usb/common/nrf_usbd_common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/cmsis/CMSIS/Core/Include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/cmsis/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/drivers/include;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/mdk;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/hal_nordic/nrfx/.)
22

33
set(LLEXT_ALL_INCLUDE_CFLAGS -I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/libc/common/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/posix/options/getopt/;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/cpp/minimal/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/usb/device;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/shell/modules/kernel_service/thread/../;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/drivers/usb/common/nrf_usbd_common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/cmsis/CMSIS/Core/Include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/cmsis/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/drivers/include;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/mdk;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/hal_nordic/nrfx/.)
44

55
set(LLEXT_INCLUDE_CFLAGS -I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/libc/common/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/posix/options/getopt/;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/lib/cpp/minimal/include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/usb/device;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/bluetooth;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/subsys/shell/modules/kernel_service/thread/../;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/drivers/usb/common/nrf_usbd_common/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/cmsis/CMSIS/Core/Include;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/cmsis/.;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/drivers/include;-I${CMAKE_CURRENT_LIST_DIR}/include/modules/hal/nordic/nrfx/mdk;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/modules/hal_nordic/nrfx/.)
66

77
set(LLEXT_GENERATED_INCLUDE_CFLAGS -I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated)
88

9-
set(LLEXT_BASE_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_LONG_LONG_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52840_XXAA;-DK_HEAP_MEM_POOL_SIZE=16384;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-fstack-protector-all;-mstack-protector-guard=global;-fno-printf-return-value;-fno-common;-fdiagnostics-color=always;-mcpu=cortex-m4;-mthumb;-mabi=aapcs;-mfp16-format=ieee;-mtp=soft;-Wall;-Wformat;-Wformat-security;-Wformat;-Wno-format-zero-length;-Wdouble-promotion;-Wno-pointer-sign;-Wpointer-arith;-Wexpansion-to-defined;-Wno-unused-but-set-variable;-Werror=implicit-int;-fno-asynchronous-unwind-tables;-ftls-model=local-exec;-fno-reorder-functions;--param=min-pagesize=0;-fno-defer-pop;-fstack-usage;-specs=picolibc.specs;-D_POSIX_THREADS;-std=c99;-mlong-calls;-mthumb;-nodefaultlibs;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h)
9+
set(LLEXT_BASE_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_DOUBLE_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52840_XXAA;-DK_HEAP_MEM_POOL_SIZE=16384;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-fstack-protector-all;-mstack-protector-guard=global;-fno-common;-fdiagnostics-color=always;-mcpu=cortex-m4;-mthumb;-mabi=aapcs;-mfpu=fpv4-sp-d16;-mfloat-abi=hard;-mfp16-format=ieee;-mtp=soft;-Wall;-Wformat;-Wformat-security;-Wformat;-Wno-format-zero-length;-Wdouble-promotion;-Wno-pointer-sign;-Wpointer-arith;-Wexpansion-to-defined;-Wno-unused-but-set-variable;-Werror=implicit-int;-fno-asynchronous-unwind-tables;-ftls-model=local-exec;-fno-reorder-functions;--param=min-pagesize=0;-fno-defer-pop;-fstack-usage;-specs=picolibc.specs;-D_POSIX_THREADS;-std=c99;-mlong-calls;-mthumb;-nodefaultlibs;-imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h)
1010

1111
set(LLEXT_GENERATED_IMACROS_CFLAGS -imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr/autoconf.h)

0 commit comments

Comments
 (0)