Open
Description
Hi Team,
I'm currently attempting to compile the periodic_uplink
sample for the nucleo_l476rg board and have encountered several issues. Initially, the build failed due to undefined references to smtc-user-button, smtc-hal-uart, and smtc-watchdog. I addressed these by adding an appropriate overlay file.
However, after resolving the above, I’m now facing the following compilation error:
In file included from C:/ncs/repos/lbm/zephyr/include/zephyr/toolchain/gcc.h:98,
from C:/ncs/repos/lbm/zephyr/include/zephyr/toolchain.h:50,
from C:/ncs/repos/lbm/zephyr/include/zephyr/sys/__assert.h:11,
from C:/ncs/repos/lbm/zephyr/include/zephyr/irq_multilevel.h:15,
from C:/ncs/repos/lbm/zephyr/include/zephyr/devicetree.h:20,
from C:/ncs/repos/lbm/zephyr/include/zephyr/device.h:12,
from C:/ncs/repos/lbm/LBM_Zephyr/modules/lora_basics_modem/app_helpers/smtc_hal_zephyr/smtc_hal_watchdog.c:9:
C:/ncs/repos/lbm/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_83' undeclared here (not in a function); did you mean '__device_dts_ord_43'?
92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
If anyone has successfully compiled the periodic_uplink
sample or any other sample — for the Nucleo L476RG board or any other board, I would greatly appreciate it if you could share your setup, configuration steps, and any changes made to get it working.
Thanks in advance for your support.
Metadata
Metadata
Assignees
Labels
No labels