NB! This is by no means a future-proof implementation. However, it should be a good starting point. Configuration of the LEDS_ARCH_* defines in the leds-arch.c file is what determines what LEDs are available of a given device/target. This information should be sufficient from the Board file/device name, and can from there hardcod what board+device combination a given LED should support. |
||
---|---|---|
.. | ||
cc2538dk | ||
cooja | ||
jn516x | ||
native | ||
nrf52dk | ||
openmote-cc2538 | ||
simplelink | ||
sky | ||
srf06-cc26xx | ||
zoul |