Closed DhruvaG2000 closed 10 months ago
This is a bug fix, that fixes build failure for nRF52940DK https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core/issues/77
DT_NODE_EXISTS value is true even if the status is disabled, so it caused misdetection. Use DT_NODE_HAS_STATUS to detect the status of the arduino_serial1 node is ok.
@beriberikix , @szczys @alvarowolfx , I am merging this as it's been pending for 2 weeks now, and no objections have been raised.
This is a bug fix, that fixes build failure for nRF52940DK https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core/issues/77
DT_NODE_EXISTS value is true even if the status is disabled, so it caused misdetection. Use DT_NODE_HAS_STATUS to detect the status of the arduino_serial1 node is ok.