[riot-notifications] [RIOT-OS/RIOT] Multiple peripheral configuration for a single board (#11270)

Fauchon notifications at github.com
Mon Mar 25 19:10:39 CET 2019


I have several RIOT-OS application that need different peripheral configuration  (for a same board) eg: 

- One board configuration that uses two serial port and PWM for a RIOT application
- One board configuration that uses three serial ports for another RIOT application

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 


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190325/94773dec/attachment-0001.html>

More information about the notifications mailing list