cpu/stm32f4: optimized UART driver#4115
Conversation
|
Either the commit set or the title of this PR seems to be off. |
|
nope, all fine
|
|
why the change to cpu/stm32f4/include/stm32f407xx.h ? Is that not the vendor-supplied hardware header? |
|
yes, it is - but it's shitty... I got used to actually editing those headers instead of introducing x lines of extra code in the drivers... |
|
Could you split the stm32f407xx.h change to a separate commit? Makes it easier to get an overview in the future if we want to see what changes we have made to vendor headers. |
|
btw, there's a new version of the header available with the Keil MDK (tagged |
1dc4be0 to
ae76c1d
Compare
|
rebased and separated the vendor header changes in its own commit |
ffd1b8f to
fe41568
Compare
|
also adapted remaining stm32f4 based boards to the changes |
fe41568 to
e105857
Compare
|
fixed typo in RCC define for the |
|
@gebart: are you good with this PR now? |
|
I'm fine, did not test it though. |
e105857 to
551126f
Compare
|
fixed a small typing issue with cpp, Travis should be fine now. |
cpu/stm32f4/periph/uart.c
Outdated
There was a problem hiding this comment.
Please remove if not needed.
|
Could you please also adopt the |
551126f to
8295383
Compare
|
done |
8295383 to
84fd4d7
Compare
|
fixed minor comment by @thomaseichinger and squashed. @thomaseichinger: do you ack? There is a ready to use board in our office :-) |
|
ACK & go |
cpu/stm32f4: optimized UART driver
based on #4114
This driver is now utilizing DMA for transmitting data. This is possible through the changes in the UART driver interface and should save quite some energy as the CPU will now be able to sleep while sending data...