-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nucleo f072 #4949
Nucleo f072 #4949
Conversation
looks good and works as expected. Could you please rebase and squash your commits? thanks |
Rebased and squashed. |
hm, seems like something went wrong. I am still seeing a number of commits that don't belong here.. |
Yes, very weird... I have tried several times to rebase, but is not working 2016-03-02 16:08 GMT+01:00 Hauke Petersen notifications@github.com:
|
Ok, fixed. Thank you! |
It's seems now is OK |
looks good and works -> ACK once Travis is green. |
Cool! 2016-03-03 14:35 GMT+01:00 Hauke Petersen notifications@github.com:
|
There are some Travis complaints:
|
It also needs some blacklisting for several applications. |
The Travis complains come from dos line endings in the vendor header file, so just convert them to unix ones... |
Hi! Oops sorry, I forgot to finish this. I'm fixing it 2016-03-16 10:17 GMT+01:00 Hauke Petersen notifications@github.com:
|
E.g.
this means, that you will have to add the board to the |
Got it. 2016-03-16 11:54 GMT+01:00 Oleg Hahm notifications@github.com:
|
546b2e3
to
06dbcdf
Compare
Done. I blacklisted the examples, but make command compiles everything and throws Cheers! 2016-03-16 11:55 GMT+01:00 Jose Alamos jialamos@uc.cl:
|
Hi. Failed again. The examples are not being build. I blacklisted some of them, Also don't know what happened with the vendor header file, It seems I 2016-03-16 13:07 GMT+01:00 Jose Alamos jialamos@uc.cl:
|
Somehow you seemed to have reverted the blacklisting in jia200x@06dbcdf |
I'm somewhat scared by the number of added lines, but since most of them are in the (bloated) STM CPU header, I guess this is fine. Additionally this PR introduces a new feature - so it cannot break much. |
|
||
#define LED_GREEN_ON (LED_GREEN_PORT->BSRR = (1 << LED_GREEN_PIN)) | ||
#define LED_GREEN_OFF (LED_GREEN_PORT->BSRR = ((1 << LED_GREEN_PIN) << 16)) | ||
#define LED_GREEN_TOGGLE (LED_GREEN_PORT->ODR ^= (1 << LED_GREEN_PIN)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to be adapted to #5045.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to remove these lines.
Just done.
Beside of the number of lines, the header files changed common variable names and added some legacy variables that breaks compiling. I had to remove the #define DAC1 line due to the new implementation of DAC. I will be aware if breaks again with a new change. |
#define UART_1_AF 0 | ||
/** @} */ | ||
|
||
#define ADC_CONFIG { \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing doxygen for the ADC block
I don't quite understand, why you removed the DAC1 from the vendor header. The device clearly has a DAC included, so you should not remove it. This error should be solved in a different way. |
Hi. According to the vendor header file, DAC was defined in the same way as That was the reason why I removed DAC1. 2016-03-31 17:26 GMT+02:00 Hauke Petersen notifications@github.com:
|
2016-03-31 17:32 GMT+02:00 Jose Alamos jialamos@uc.cl:
|
Oh, I see, then never mind the comment about the |
would just be nice if you could squash your commits a little bit, I would suggest 1 commit for adding the CPU, 1 for editing the vendor header, 1 for adding the board, and 1 for the blacklisting... |
I'm on it. Had some conflicts with rebase, but I'm fixing them. |
looks good, just one more thing that Murdock complains about, there are some whitespace errors in the board files:
|
Done. It seems it was introducing when I tried to solve conflicts of rebase. |
Alright, Murdock is green, code looks good, I'll make an exception here and merge this (as feature freeze is very young and the release branch is not created yet...) -> ACK and go |
:) |
nice work by the way! |
Thank you! I will check for missing documentation about this. |
Hi!
Added support for Nucleo F072 board. I'm having problems with OpenOCD for Mac OS X (I can flash only once, then stops working). Seems to work in Linux.