Multiple peripheral configuration for a single board #11270
Labels
State: stale
State: The issue / PR has no activity for >185 days
Type: question
The issue poses a question regarding usage of RIOT
Hi.
I have several RIOT-OS application that need different peripheral configuration (for a same board) eg:
There can be conflicts between the GPIOs (ex: third serial port pins vs PWM pins)
What is the correct way to handle multiple peripheral configuration for the same board ?
Should I :
1/ Duplicate board ( board/myboard_3uart and board/myboard_2serial_1pwm )
2/ Use #ifdefs GPIO_PROFILE_X in a local board/xxxxxx/include/periph_conf.h to switch peripheral config at compile time ?
Thanks for your help
Olivier
The text was updated successfully, but these errors were encountered: