-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Hello,
I tried to compile the ADC example but I'm getting errors. Could you help me?
pio run
Processing seeed-xiao-nrf54l15 (platform: https://github.com/Seeed-Studio/platform-seeedboards.git; framework: zephyr; board: seeed-xiao-nrf54l15)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
board id is nrf,will call board_build/nrf/nrf_build.py
CONFIGURATION: https://docs.platformio.org/page/boards/Seeed Studio/seeed-xiao-nrf54l15.html
PLATFORM: Seeed Studio Xiao Series (1.0.0+sha.47379f3) > Seeed Studio XIAO nRF54L15
HARDWARE: NRF54L15 128MHz, 256KB RAM, 1.50MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink)
PACKAGES:
- framework-zephyr @ 3.40100.0 (4.1.0)
- tool-cmake @ 3.30.2
- tool-dtc @ 1.4.7
- tool-ninja @ 1.9.0
- tool-sreccat @ 1.164.0 (1.64)
- toolchain-gccarmnoneeabi @ 1.80201.181220 (8.2.1)
Installing Zephyr's Python dependencies
Collecting pykwalify~=1.8.0
Obtaining dependency information for pykwalify~=1.8.0 from https://files.pythonhosted.org/packages/1f/fd/ac2161cce19fd67a18c269073f8e86292b5511acec6f8ef6eab88615d032/pykwalify-1.8.0-py2.py3-none-any.whl.metadata
Using cached pykwalify-1.8.0-py2.py3-none-any.whl.metadata (5.3 kB)
Collecting cryptography>=2.6.0
Obtaining dependency information for cryptography>=2.6.0 from https://files.pythonhosted.org/packages/b3/61/0ab90f421c6194705a99d0fa9f6ee2045d916e4455fdbb095a9c2c9a520f/cryptography-45.0.7-cp311-abi3-win_amd64.whl.metadata
Using cached cryptography-45.0.7-cp311-abi3-win_amd64.whl.metadata (5.7 kB)
Requirement already satisfied: click~=8.1.3 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (8.1.8)
Requirement already satisfied: cbor2~=5.4.6 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (5.4.6)
Requirement already satisfied: docopt>=0.6.2 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from pykwalify~=1.8.0) (0.6.2)
Requirement already satisfied: python-dateutil>=2.8.0 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from pykwalify~=1.8.0) (2.9.0.post0)
Requirement already satisfied: ruamel.yaml>=0.16.0 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from pykwalify~=1.8.0) (0.18.15)
Collecting cffi>=1.14 (from cryptography>=2.6.0)
Obtaining dependency information for cffi>=1.14 from https://files.pythonhosted.org/packages/3d/97/50228be003bb2802627d28ec0627837ac0bf35c90cf769812056f235b2d1/cffi-1.17.1-cp311-cp311-win_amd64.whl.metadata
Using cached cffi-1.17.1-cp311-cp311-win_amd64.whl.metadata (1.6 kB)
Requirement already satisfied: colorama in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from click~=8.1.3) (0.4.6)
Requirement already satisfied: pycparser in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from cffi>=1.14->cryptography>=2.6.0) (2.22)
Requirement already satisfied: six>=1.5 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from python-dateutil>=2.8.0->pykwalify~=1.8.0) (1.17.0)
Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in c:\users\intel-n100\.platformio\penv\.zephyr-4.1.0\lib\site-packages (from ruamel.yaml>=0.16.0->pykwalify~=1.8.0) (0.2.12)
Using cached pykwalify-1.8.0-py2.py3-none-any.whl (24 kB)
Using cached cryptography-45.0.7-cp311-abi3-win_amd64.whl (3.4 MB)
Using cached cffi-1.17.1-cp311-cp311-win_amd64.whl (181 kB)
Installing collected packages: cffi, pykwalify, cryptography
Successfully installed cffi-1.17.1 cryptography-45.0.7 pykwalify-1.8.0
[notice] A new release of pip is available: 23.2.1 -> 25.2
[notice] To update, run: C:\Users\INTEL-N100\.platformio\penv\.zephyr-4.1.0\Scripts\python.exe -m pip install --upgrade pip
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Generating header file with offsets .pio\build\seeed-xiao-nrf54l15\zephyr\include\generated\zephyr\offsets.h
Compiling .pio\build\seeed-xiao-nrf54l15\c\modules\picolibc\newlib\libc\argz\argz_stringify.c.o
Compiling .pio\build\seeed-xiao-nrf54l15\src\main.o
Compiling .pio\build\seeed-xiao-nrf54l15\c\modules\picolibc\newlib\libc\argz\buf_findstr.c.o
Compiling .pio\build\seeed-xiao-nrf54l15\c\modules\picolibc\newlib\libc\argz\envz_add.c.o
In file included from C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/toolchain/gcc.h:98,
from C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/toolchain.h:52,
from C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/kernel_includes.h:23,
from C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/kernel.h:17,
from src\main.c:1:
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/device.h:96:41: error: '__device_dts_ord_60' undeclared here (not in a function); did you mean '__device_dts_ord_62'?
#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
^~~~~~~~~
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
#define _DO_CONCAT(x, y) x ## y
^
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT'
#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
^~~~~~~
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/device.h:263:37: note: in expansion of macro 'DEVICE_NAME_GET'
#define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
^~~~~~~~~~~~~~~
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/device.h:280:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
#define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
^~~~~~~~~~~~~~~~~~
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/drivers/pwm.h:260:10: note: in expansion of macro 'DEVICE_DT_GET'
.dev = DEVICE_DT_GET(DT_PWMS_CTLR_BY_IDX(node_id, idx)), \
^~~~~~~~~~~~~
C:\Users\INTEL-N100\.platformio\packages\framework-zephyr\include/zephyr/drivers/pwm.h:328:34: note: in expansion of macro 'PWM_DT_SPEC_GET_BY_IDX'
#define PWM_DT_SPEC_GET(node_id) PWM_DT_SPEC_GET_BY_IDX(node_id, 0)
^~~~~~~~~~~~~~~~~~~~~~
src\main.c:27:39: note: in expansion of macro 'PWM_DT_SPEC_GET'
static const struct pwm_dt_spec led = PWM_DT_SPEC_GET(DT_ALIAS(pwm_led));
^~~~~~~~~~~~~~~
*** [.pio\build\seeed-xiao-nrf54l15\src\main.o] Error 1
==================================================================================================================== [FAILED] Took 50.46 seconds ====================================================================================================================
PS C:\GitHub\platform-seeedboards-main\examples\zephyr-adc>
Best regards
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done