Problem building STM32 blinky example

Aperta
#2,267 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
erlang
Ambito
embedded-iot

Direzione di ricerca

Start by comparing the stock AtomVM/build/examples/erlang/stm32/blink_nucleo144.avm with the atomvm_examples/erlang/blinky project built using rebar3, including how the example is packaged with atomvmlib.avm or atomvmlib-stm32.avm. Check the board pins and the reported change to atomvm:platform(); the issue does not identify a specific failure or test. Done means the custom blinky.avm runs on the Nucleo STM32L4R5ZI and blinks the intended LEDs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Erlang
Stelle
2.3k
Fork
171
Merge medio
5g 11h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di atomvm/AtomVM

Tutte le issue di atomvm/AtomVM

Issue simili

Altre issue su Embedded & IoT

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.