-
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
boards: stk3700: add support #8297
Conversation
It turns I have one of this. Will test soon :) |
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.
Very small comments on this. I'll test and maybe it can be merged as is.
DWT->CTRL = 0x400113FF; | ||
|
||
/* set TPIU prescaler to 16 */ | ||
TPI->ACPR = 15; |
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.
Shouldn't be better to add some macros to the possible values of this prescaler?
/* unlock ITM and output data */ | ||
ITM->LAR = 0xC5ACCE55; | ||
ITM->TCR = 0x10009; | ||
} |
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.
Also for this "magic" numbers I'd prefer to use macros.
Thanks @kYc0o. I'll look into the issues. Also, @haukepetersen prefers to have a |
Closing this one for a common approach that I soon will PR. |
New attempt in #8520. |
Contribution description
This PR add supports for the Silicon Labs STK3700.
The files are very similar to the SLTB001a already supported
Issues/PRs references
Made possible by #8139.