From: users@... <users@...>
On Behalf Of Leo via lists.zephyrproject.org
Sent: 06 December 2020 03:47
Subject: [Zephyr-users] Support for Adafruit Feather #nrf52840 Sense
Hello Zephyr team!
I have a question about board support and I also need your help building an example project.
1) Does Zephyr support the board below? How would I go about using its sensors?
2) Is this the right place to ask questions about NordicSemi's downstream of Zephyr's repository? If not, please point me to the right place!
The issue that I am having is that one example project that builds for nrf52840dk_nrf52840, does not build for adafruit_feather_nrf52840.
Example project: ncs/nrf/samples/esb/ptx
Zephyr version: 2.4.99
ZEPHYR_TOOLCHAIN_VARIANT is gnuarmemb
west build -b adafruit_feather_nrf52840 C:/embedded/ncs/nrf/samples/esb/ptx
Not sure which of the errors would better help identifying the issue, but here's the first one:
In file included from C:/embedded/ncs/zephyr/include/arch/arm/aarch32/arch.h:20,
C:/embedded/ncs/nrf/samples/esb/ptx/src/main.c: In function 'leds_init':
C:/embedded/ncs/zephyr/include/devicetree.h:202:32: error: 'DT_N_ALIAS_led2_P_gpios_IDX_0_VAL_pin' undeclared (first use in this function); did you mean 'DT_N_S_leds_S_led_0_P_gpios_IDX_0_VAL_pin'?
202 | #define DT_ALIAS(alias) DT_CAT(DT_N_ALIAS_, alias)
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\embedded\build'
The repository in question is https://github.com/nrfconnect/sdk-nrf/ which is the only one that has the esb/ptx example.
How do I build that specific example for this board?
Thanks for your help!