error: undefined reference to `__device_dts_ord_21'
/**
* @brief Get a <tt>const struct emul*</tt> from a devicetree node identifier
*
* @details Returns a pointer to an emulator object created from a devicetree
* node, if any device was allocated by an emulator implementation.
*
* If no such device was allocated, this will fail at linker time. If you get an
* error that looks like <tt>undefined reference to __device_dts_ord_<N></tt>,
* that is what happened. Check to make sure your emulator implementation is
* being compiled, usually by enabling the Kconfig options it requires.
*
* @param node_id A devicetree node identifier
* @return A pointer to the emul object created for that node
*/
/* 以 DT_PATH() 为例,如果输入的路径不正确,就会出现如下提示 */
error: 'DT_N_S_leds_S_blue_led' undeclared here (not in a function); did you mean 'DT_N_S_leds_S_blue_led_ORD'?
/* 以 DEVICE_DT_GET() () 为例,如果输入节点ID不对,就会出现如下提示 */
error: undefined reference to `__device_dts_ord_21'