Skip to content

boards: stk3700: add support#8297

Closed
basilfx wants to merge 3 commits intoRIOT-OS:masterfrom
basilfx:feature/board_stk3700
Closed

boards: stk3700: add support#8297
basilfx wants to merge 3 commits intoRIOT-OS:masterfrom
basilfx:feature/board_stk3700

Conversation

@basilfx
Copy link
Copy Markdown
Member

@basilfx basilfx commented Dec 19, 2017

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.

@basilfx basilfx added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: boards Area: Board ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 19, 2017
@kYc0o
Copy link
Copy Markdown
Contributor

kYc0o commented Jan 4, 2018

It turns I have one of this. Will test soon :)

@kYc0o kYc0o self-assigned this Jan 4, 2018
Copy link
Copy Markdown
Contributor

@kYc0o kYc0o left a 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;
Copy link
Copy Markdown
Contributor

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;
}
Copy link
Copy Markdown
Contributor

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.

@basilfx
Copy link
Copy Markdown
Member Author

basilfx commented Jan 5, 2018

Thanks @kYc0o. I'll look into the issues.

Also, @haukepetersen prefers to have a common/silab board (see #8295). I haven't found the time to look into that yet, but I think there are only a few common things.

@basilfx
Copy link
Copy Markdown
Member Author

basilfx commented Jan 28, 2018

Closing this one for a common approach that I soon will PR.

@basilfx
Copy link
Copy Markdown
Member Author

basilfx commented Feb 5, 2018

New attempt in #8520.

@basilfx basilfx deleted the feature/board_stk3700 branch February 24, 2018 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants