Skip to content

Is it possible to run lk on STM32F401CCU6 ? #244

Open

Description

@zinahe

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.

Activity

  1. swetland commented on May 21, 2019

    @swetland
    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.

  2. travisg commented on May 21, 2019

    @travisg
    Member

    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.

  3. zinahe commented on May 21, 2019

    @zinahe
    Author

    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

  4. travisg commented on May 21, 2019

    @travisg
    Member

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

  5. zinahe commented on Jun 25, 2019

    @zinahe
    Author

    @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,

  6. travisg commented on Jun 27, 2019

    @travisg
    Member

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

  7. zinahe commented on Jun 27, 2019

    @zinahe
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions