Skip to content

Commit e653548

Browse files
committed
initial: boards: add nicla sense ME
1 parent 7da047a commit e653548

File tree

2,438 files changed

+1608852
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,438 files changed

+1608852
-1
lines changed

Diff for: boards.txt

+76-1
Original file line numberDiff line numberDiff line change
@@ -396,4 +396,79 @@ frdm_rw612.upload.maximum_data_size=523624
396396
frdm_rw612.bootloader.tool=pyocd
397397
frdm_rw612.bootloader.tool.default=pyocd
398398
frdm_rw612.bootloader.file=zephyr-frdm_rw612.elf
399-
frdm_rw612.bootloader.target=rw612
399+
frdm_rw612.bootloader.target=rw612
400+
401+
##########################################################################################
402+
403+
niclasense.name=Arduino Nicla Sense ME
404+
niclasense.build.core=arduino
405+
niclasense.build.crossprefix=arm-zephyr-eabi-
406+
niclasense.build.compiler_path={runtime.tools.arm-zephyr-eabi-0.16.8.path}/bin/
407+
408+
niclasense.menu.debug.false=Standard
409+
niclasense.menu.debug.true=Debug
410+
411+
niclasense.menu.debug.false.post_build_arg=
412+
niclasense.menu.debug.true.post_build_arg=debug
413+
414+
niclasense.build.variant=arduino_nicla_sense_me
415+
niclasense.build.mcu=cortex-m4
416+
niclasense.build.fpu=-mfpu=fpv4-sp-d16
417+
niclasense.build.architecture=cortex-m4
418+
niclasense.compiler.zephyr.arch.define=
419+
420+
niclasense.build.board={build.variant}
421+
422+
niclasense.build.float-abi=-mfloat-abi=hard
423+
niclasense.build.extra_flags=
424+
niclasense.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" exit
425+
niclasense.build.architecture=cortex-m4
426+
niclasense.build.board=ARDUINO_NICLA_SENSE_ME
427+
niclasense.build.extra_ldflags=
428+
niclasense.compiler.zephyr.defines=-DLL_EXTENSION_BUILD -DCONFIG_ARDUINO_API_SERIAL_BUFFER_SIZE=256 -DNRF52832_XXAA -DK_HEAP_MEM_POOL_SIZE=1024 -DKERNEL -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -imacros{build.variant.path}/llext-edk/include/zephyr/include/generated/zephyr/autoconf.h -imacros{build.variant.path}/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h
429+
niclasense.compiler.zephyr.ldflags=-fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-unwind-tables -fno-use-cxa-atexit
430+
niclasense.compiler.zephyr.cflags=-fno-strict-aliasing -fno-printf-return-value -fno-common -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -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 --specs=picolibc.specs -D_POSIX_THREADS -mlong-calls -nodefaultlibs
431+
niclasense.compiler.zephyr.cxxflags={compiler.zephyr.ldflags} -fdata-sections -ffunction-sections -fno-unwind-tables -fno-strict-aliasing -fno-printf-return-value -fno-common -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop --specs=picolibc.specs -D_POSIX_THREADS -mlong-calls -nodefaultlibs
432+
niclasense.compiler.zephyr.includes={build.variant.path}/includes.txt
433+
niclasense.compiler.zephyr.extra_ldflags=-lstdc++ -lsupc++ -lnosys -nostdlib
434+
niclasense.compiler.zephyr=
435+
niclasense.vid.0=0x2341
436+
niclasense.pid.0=0x0360
437+
niclasense.upload_port.0.vid=0x2341
438+
niclasense.upload_port.0.pid=0x0060
439+
440+
#niclasense.upload.tool=openocd
441+
#niclasense.upload.tool.default=openocd
442+
niclasense.upload.tool=pyocd
443+
niclasense.upload.tool.default=pyocd
444+
niclasense.upload.protocol=
445+
niclasense.upload.transport=
446+
niclasense.upload.vid=0x2341
447+
niclasense.upload.pid=0x0060
448+
niclasense.upload.interface=0
449+
niclasense.upload.use_1200bps_touch=false
450+
niclasense.upload.wait_for_upload_port=false
451+
niclasense.upload.native_usb=false
452+
niclasense.upload.maximum_size=1966080
453+
niclasense.upload.maximum_data_size=523624
454+
niclasense.upload.address=0x70000
455+
niclasense.upload.target=nrf52
456+
457+
niclasense.upload.maximum_size=786432
458+
niclasense.upload.maximum_data_size=523624
459+
460+
#niclasense.bootloader.tool=openocd
461+
#niclasense.bootloader.tool.default=openocd
462+
niclasense.bootloader.tool=pyocd
463+
niclasense.bootloader.tool.default=pyocd
464+
niclasense.bootloader.vid=0x2341
465+
niclasense.bootloader.pid=0x0360
466+
niclasense.bootloader.interface=0
467+
niclasense.bootloader.file=zephyr-arduino_nicla_sense_me.hex
468+
niclasense.bootloader.target=nrf52
469+
470+
niclasense.debug.tool=gdb
471+
niclasense.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
472+
niclasense.debug.server.openocd.scripts.1={programmer.transport_script}
473+
niclasense.debug.server.openocd.scripts.2=target/nrf52.cfg
474+
niclasense.debug.cortex-debug.custom.request=attach

Diff for: firmwares/zephyr-arduino_nicla_sense_me.bin

230 KB
Binary file not shown.

Diff for: firmwares/zephyr-arduino_nicla_sense_me.elf

3.76 MB
Binary file not shown.

Diff for: loader/boards/arduino_nicla_sense_me.conf

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
CONFIG_BT=y
2+
3+
CONFIG_BT_HCI_RAW=y
4+
CONFIG_BT_HCI_RAW_H4=y
5+
CONFIG_BT_HCI_RAW_H4_ENABLE=y
6+
CONFIG_BT_BUF_ACL_RX_SIZE=255
7+
CONFIG_BT_BUF_CMD_TX_SIZE=255
8+
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
9+
CONFIG_BT_MAX_CONN=4
10+
CONFIG_BT_CTLR_ADV_EXT=y
11+
CONFIG_BT_CTLR_ADV_PERIODIC=y
12+
13+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
14+
15+
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
16+
# Host number of completed commands does not follow normal flow control.
17+
CONFIG_BT_BUF_CMD_TX_COUNT=10
18+
19+
#CONFIG_ADC=y
20+
#CONFIG_PWM=y
21+
22+
CONFIG_LLEXT_STORAGE_WRITABLE=n
23+
CONFIG_SHELL_STACK_SIZE=1024
24+
CONFIG_HEAP_MEM_POOL_SIZE=1024
25+
CONFIG_LLEXT_HEAP_SIZE=16
26+
CONFIG_MAIN_STACK_SIZE=1024
27+
28+
CONFIG_BT_RX_STACK_SIZE=1024
29+
CONFIG_BT_HCI_TX_STACK_SIZE=1024

Diff for: loader/boards/arduino_nicla_sense_me.overlay

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
&flash0 {
2+
partitions {
3+
user_sketch: partition@70000 {
4+
label = "user";
5+
reg = <0x070000 0x10000>;
6+
};
7+
};
8+
};
9+
10+
/ {
11+
zephyr,user {
12+
digital-pin-gpios = <&gpio0 10 0>, // 0: GPIO3
13+
<&gpio0 9 0>, // 1: GPIO2/RX
14+
<&gpio0 20 0>, // 2: GPIO1/TX
15+
<&gpio0 23 0>, // 3: SCL1
16+
<&gpio0 22 0>, // 4: SDA1
17+
<&gpio0 24 0>, // 5: GPIO0
18+
<&gpio0 29 0>, // 6: CS
19+
<&gpio0 28 0>, // 7: CIPO
20+
<&gpio0 27 0>, // 8: COPI
21+
<&gpio0 11 0>, // 9: SCLK
22+
<&gpio0 2 0>, // 10: A0
23+
<&gpio0 30 0>, // 11: A1
24+
<&gpio0 19 0>, // 12: INT ESLOV
25+
<&gpio0 18 0>, // 13: Reset BHI260
26+
<&gpio0 14 0>, // 14: INT BHI260
27+
<&gpio0 25 0>, // 15: BQ25120 CD
28+
<&gpio0 26 0>, // 16: CS FLASH
29+
<&gpio0 31 0>; // 17: CS BHI260
30+
31+
builtin-led-gpios = <&gpio0 10 0>; // TODO: fixme: use real i2c led (will need some magic like PureAnalog)
32+
33+
serials = <&uart0>;
34+
i2cs = <&i2c1>;
35+
spis = <&spi1>;
36+
};
37+
};

Diff for: variants/arduino_nicla_sense_me/includes.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-iwithprefixbefore/llext-edk/include/zephyr/include/generated/zephyr
2+
-iwithprefixbefore/llext-edk/include/zephyr/include
3+
-iwithprefixbefore/llext-edk/include/zephyr/include/generated
4+
-iwithprefixbefore/llext-edk/include/zephyr/soc/nordic
5+
-iwithprefixbefore/llext-edk/include/zephyr/lib/libc/common/include
6+
-iwithprefixbefore/llext-edk/include/zephyr/lib/posix/options/getopt/
7+
-iwithprefixbefore/llext-edk/include/zephyr/soc/nordic/nrf52/.
8+
-iwithprefixbefore/llext-edk/include/zephyr/soc/nordic/common/.
9+
-iwithprefixbefore/llext-edk/include/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue
10+
-iwithprefixbefore/llext-edk/include/zephyr/subsys/bluetooth
11+
-iwithprefixbefore/llext-edk/include/zephyr/subsys/shell/modules/kernel_service/thread/../
12+
-iwithprefixbefore/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include
13+
-iwithprefixbefore/llext-edk/include/zephyr/modules/cmsis/.
14+
-iwithprefixbefore/llext-edk/include/modules/hal/nordic/nrfx
15+
-iwithprefixbefore/llext-edk/include/modules/hal/nordic/nrfx/drivers/include
16+
-iwithprefixbefore/llext-edk/include/modules/hal/nordic/nrfx/mdk
17+
-iwithprefixbefore/llext-edk/include/zephyr/modules/hal_nordic/nrfx/.
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
LLEXT_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__PROGRAM_START -DNRF52832_XXAA -DK_HEAP_MEM_POOL_SIZE=1024 -DLL_EXTENSION_BUILD -fno-strict-aliasing -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 -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/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -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/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/.
2+
3+
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/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -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/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/.
4+
5+
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/soc/nordic/nrf52/. -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/soc/nordic/common/. -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/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/.
6+
7+
LLEXT_GENERATED_INCLUDE_CFLAGS = -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr -I$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated
8+
9+
LLEXT_BASE_CFLAGS = -DKERNEL -D__ZEPHYR__=1 -D__LINUX_ERRNO_EXTENSIONS__ -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D__PROGRAM_START -DNRF52832_XXAA -DK_HEAP_MEM_POOL_SIZE=1024 -DLL_EXTENSION_BUILD -fno-strict-aliasing -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 -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
10+
11+
LLEXT_GENERATED_IMACROS_CFLAGS = -imacros$(LLEXT_EDK_INSTALL_DIR)/include/zephyr/include/generated/zephyr/autoconf.h
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set(LLEXT_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_LONG_LONG_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52832_XXAA;-DK_HEAP_MEM_POOL_SIZE=1024;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-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;-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/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-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/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/.)
2+
3+
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/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-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/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/.)
4+
5+
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/soc/nordic/nrf52/.;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/soc/nordic/common/.;-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/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/.)
6+
7+
set(LLEXT_GENERATED_INCLUDE_CFLAGS -I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr;-I${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated)
8+
9+
set(LLEXT_BASE_CFLAGS -DKERNEL;-D__ZEPHYR__=1;-D__LINUX_ERRNO_EXTENSIONS__;-DPICOLIBC_LONG_LONG_PRINTF_SCANF;-D__PROGRAM_START;-DNRF52832_XXAA;-DK_HEAP_MEM_POOL_SIZE=1024;-DLL_EXTENSION_BUILD;-fno-strict-aliasing;-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;-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)
10+
11+
set(LLEXT_GENERATED_IMACROS_CFLAGS -imacros${CMAKE_CURRENT_LIST_DIR}/include/zephyr/include/generated/zephyr/autoconf.h)

0 commit comments

Comments
 (0)