79105406

Date: 2024-10-19 16:26:17
Score: 1.5
Natty:
Report link

I got the same error message for ESP32-DevKitC-WROOM board.

In file included from /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain/gcc.h:98, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain.h:50, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/kernel_includes.h:23, from /home/ubuntu/zephyrproject/zephyr/include/zephyr/kernel.h:17, from /home/ubuntu/zephyrproject/zephyr/samples/basic/fade_led/src/main.c:12: /home/ubuntu/zephyrproject/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_ALIAS_pwm_led0_P_pwms_IDX_0_PH_ORD' undeclared here (not in a function) 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(_device, dev_id) | ^~~~~~~~~ /home/ubuntu/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ /

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ~~~~~~~~
  • Low reputation (1):
Posted by: Andrew Chou