Skip to content
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

Is it possible to run lk on STM32F401CCU6 ? #244

Open
zinahe opened this issue May 21, 2019 · 7 comments
Open

Is it possible to run lk on STM32F401CCU6 ? #244

zinahe opened this issue May 21, 2019 · 7 comments

Comments

@zinahe
Copy link

zinahe commented May 21, 2019

Hi,

Sorry if this question has been already been addressed before. I would like to tinker with lk and I'm wondering if I can run it on a board with STM32F401CCU6 (256K Flash/64K RAM).

Thanks,

Zinahe A.

@swetland
Copy link
Member

Looks like it mostly has been used with 32F407/417 previously (0f the F4xx sub-family) so you'll probably need to tinker with things slightly for 401 (based on a quick peek at https://github.com/littlekernel/lk/blob/master/platform/stm32f4xx/rules.mk), but it certainly should be doable.

@travisg
Copy link
Member

travisg commented May 21, 2019

Indeed, as swetland points out it should be runnable. It's been a while since I looked at the 400 family, but I think the 401 and 407 are fairly close. It may require an update of the STM software drop that is in the tree but those are usually quite configurable.

@zinahe
Copy link
Author

zinahe commented May 21, 2019

Great! Thanks for the quick reply. I bought these dirt-cheap STM32F401 boards from AliExpress for less than $5 to play with. I'll report my findings here. Just in case anybody is interested, here is the shchematic

@travisg
Copy link
Member

travisg commented May 21, 2019

Oh that's a nice board. I should grab one too.

@zinahe
Copy link
Author

zinahe commented Jun 25, 2019

@travisg,
It took a little while but I was finally able to run lk on the tiny STM32F401 board. Most of my time was actually spent on trying to understand the internals of the build system; which I have to say is very well organized. I'd be happy submit a pull-request if there is any interest.
Cheers,

@travisg
Copy link
Member

travisg commented Jun 27, 2019

Sure, I'll roll in the commit. Thanks!

@zinahe
Copy link
Author

zinahe commented Jun 27, 2019

Thanks. Pull request is submitted. Let me know if there is any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants