Skip to content

Problem building STM32 blinky example #2267

@brucebiotech

Description

@brucebiotech

Hi,

I am new to AtomVM and am trying to build and run the stm32 nucleo144 example. I am using erlang otp v 28, the atomvm main branch and a Nucleo stm32l4r5zi board.

After building and flashing the stm32 atomvm, I flash the example AtomVM/build/examples/erlang/stm32/blink_nucleo144.avm. This loads and I get three flashing LEDs.

I then copied the erlang code from the above example to atomvm_examples/erlang/blinky example and built blinky.avm using rebar3 (the pins in the stock example are wrong for my board and I suspect the main branch has changed the return value from atomvm:platform()).

With this build setup I get a blinky.avm but loading this does not blink any LEDs. I have tried using atomvmlib.avm or atomvmlib-stm32.avm with pack-beam but neither work. Other than that I have no more ideas on what to try next

Any pointers on what I am missing would be appreciated.

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