Skip to content
Commit f27a5a3d authored by Florian Vaussard's avatar Florian Vaussard Committed by Anas Nashif
Browse files

serial: stm32: Use macro to simplify registration



The registration of each serial port differs only by a few details.
These differences can be factorized in order to create a generic
registration macro.

This has several advantages:
- Less code
- Easier to add new ports
- Less work to add support for new STM32 families

Change-Id: I6e62a96ccbbf03c9d51bc2617db6a851ff0d83c7
Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@heig-vd.ch>
parent 614db02c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment