[riot-devel] CC2538DK LED management

Michael Morscher morscher at hm.edu
Fri May 26 10:38:52 CEST 2017

Hi Paul,

Cool, thanks for the hint. I somehow must have missed that. I know the 
macros, so I guess I was a bit focused on finding something like 
GPIO/LED somewhere...


On 24.05.2017 20:37, Andreas "Paul" Pauli wrote:
> Hello Michael,
> Am 24.05.2017 um 08:58 schrieb Michael Morscher:
> [...]
>> I'm trying to reuse the LEDs on the CC2538DK for my use cases and it
>> looks like they are currently used to display RX/TX for the network. I'm
>> searching the source code but I can't find any trace in the source where
>> LEDs are used ... Can anyone give me a hint please?
> Please have a look in "cpu/cc2538/radio/cc2538_rf.c", line 94+.
> Matching constant definitions can be found in 
> "cpu/cc2538/include/cc2538_rf.h" and "cpu/cc2538/include/cc2538.h".
> In new code you should use actual macros and constants.These can be 
> found in the file "boards/cc2538dk/include/board.h", starting at line 31.
> Hope that helps.
> Paul
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

More information about the devel mailing list