Readme: wish for more complete instructions on how to install and build debug version of libmbed

Aperta
#993 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
git, python

Direzione di ricerca

Inizia dal README del repository e dal thread del forum collegato, prestando particolare attenzione alle note non ufficiali nel post 28. Verifica i passaggi basati su Poetry per la compilazione di libmbed in modalità debug e i comandi di clonazione HTTPS descritti lì. Il lavoro è completato quando il README documenta chiaramente l’installazione e le build di debug per gli ambienti coperti dalle note, identificando anche eventuali limitazioni di piattaforma rimanenti.

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

Descrizione

A couple of us were trying for a while to be able to do source level debugging of the core files. In our case it was for the GIGA
but pretty sure this applies to all of the mbed boards.

Some of the things we ran into were simple to fix, things like:
git clone [email protected]:arduino/ArduinoCore-API
Did not work for me with the new github authorization stuff. Better to convert them to lines like:
git clone https://github.com/arduino/ArduinoCore-API.git
I am pretty sure there have been other threads about this, but the one, that described what we were doing is up on the forum thread
https://forum.arduino.cc/t/building-debug-libmbed-a/1315845

Thanks to @per1234 help, we now are able to make the debug libmbed library for the GIGA.

So far we have done so, on a PC with Ubuntu 24.04. an RPI running the latest Raspberry PI OS 64 bit on RPI5. Also, RPI5 running Ubuntu 24.04 and I was also able to build on a Windows 11 machine using WSL with Ubuntu 24.04 and then copy the directory out of the logical Ubuntu File system to another location accessible to Windows. (you do need to update the symbolic link to the API directory).

The breakthrough at least for me was the suggestion of using Poetry for the python sandbox and suggestions on use Poetry for this.

My unofficial notes are in the post, that I marked as answer in that thread:
https://forum.arduino.cc/t/building-debug-libmbed-a/1315845/28

These instructions may not be complete and may need to be modified for MAC. Hopefully a set of instructions for building it directly on Windows would be great. For example, could it be built using a git bash command window? Or has someone created a .bat file.

Hopefully the Readme file can be updated to make it easier for others.

Thanks
Kurt

Lingua principale
C
Stelle
411
Fork
229
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 arduino/ArduinoCore-mbed

Tutte le issue di arduino/ArduinoCore-mbed

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.