boards/nucleo144-f413 add inital support#6565
Conversation
|
OpenOCD patch is here http://openocd.zylin.com/#/c/3969/ |
| @@ -0,0 +1,33 @@ | |||
| /* | |||
| * Copyright (C) 2016 Inria | |||
There was a problem hiding this comment.
As I didn't change the code from you PR, I didn't think about the copyright. Addressed
| * @file | ||
| * @brief Board specific implementations for the nucleo144-f413 board | ||
| * | ||
| * @author Alexandre Abadie <alexandre.abadie@inria.fr> |
There was a problem hiding this comment.
You can add yourself in the list .
| @@ -0,0 +1,79 @@ | |||
| /* | |||
| * Copyright (C) 2016 Inria | |||
There was a problem hiding this comment.
Same comment and probably in other places.
| @@ -0,0 +1,268 @@ | |||
| /* | |||
| * Copyright (C) 2016 Inria | |||
| * Copyright (C) 2017 OTA keys S.A. | |||
cpu/stm32f4/vectors.c
Outdated
| WEAK_DEFAULT void isr_otg_hs_wkup(void); | ||
| WEAK_DEFAULT void isr_otg_hs(void); | ||
| WEAK_DEFAULT void isr_dcmi(void); | ||
| WEAK_DEFAULT void isr_can3_tx(void); |
There was a problem hiding this comment.
maybe protect with the same if defined as below or the build will fail for other boards (not sure).
There was a problem hiding this comment.
Addressed, and add a comment with the reference manual
aabadie
left a comment
There was a problem hiding this comment.
Jenkins also reported trailing whitespaces in the cmsis file.
| WEAK_DEFAULT void isr_usart6(void); | ||
| WEAK_DEFAULT void isr_i2c3_ev(void); | ||
| WEAK_DEFAULT void isr_i2c3_er(void); | ||
| #if defined(CPU_MODEL_STM32F413ZH) |
There was a problem hiding this comment.
Finally, I think the specific defined is not required. I tested it for another CPU (F0) and it still builds if the function is not used.
I don't know what's the best practice here. Maybe @haukepetersen can help ?
|
Cleaned up vendor header (remove trailing spaces) |
|
Looks good now. Can you squash the commits ? |
d8c8c7a to
14b6ec4
Compare
|
Squashed |
aabadie
left a comment
There was a problem hiding this comment.
Un-tested ACK (surprisingly, I don't have this one ;) )
14b6ec4 to
fc24355
Compare
|
rebased |
|
Even if it's all green, I'm not sure if I should press the green button now : I prefer waiting for your OpenOCD patch to be merged first |
|
We will need the cpu support soon for our hardware, so I would like to have this merged if possible. |
|
I see. Can you verify that the documentation in the wiki is ok ? In particular, the "flashing" section. |
|
wiki looks OK |
then go ! |
This adds support for nucleo144-f413 (mainly imported from #6553) and support for stm32f413.
It needs a patched openOCD because the f413 is not correctly detected. I'll try to submit my patch upstream ASAP.