Skip to content
Commit b4b8070d authored by Luca Burelli's avatar Luca Burelli Committed by Benjamin Cabé
Browse files

llext: export all Z_DEVICE_DEFINE devices



Some device types (SPI, network, etc) use customized versions of
DEVICE_DT_DEFINE; however, all of these ultimately use Z_DEVICE_DEFINE,
which is where the object that has to be exported is defined.

Move the Z_DEVICE_EXPORT macro to Z_DEVICE_DEFINE and make it depend on
'node_id' being valid, so that it properly covers all exportable devices
defined in the build.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 91b21563
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment