ilg-archived / qemu

The GNU MCU Eclipse QEMU
http://gnuarmeclipse.github.io/qemu/
Other
205 stars 78 forks source link

Compiling qemu arm from sources - linker errors #38

Closed Nodraak closed 5 years ago

Nodraak commented 7 years ago

Hi !

I am trying to compile the qemu sources but when I run make the build fails with multiple linker errors :

How do I install the needed dependencies (I tried to find the libraries but could not find anything) ?

I am compiling qemu-gae-2.8.0-20161227 on Debian 8 (Jessie), without docker.

ilg-ul commented 7 years ago

https://github.com/gnuarmeclipse/build-scripts/blob/master/scripts/build-qemu.sh

ilg-ul commented 7 years ago

http://gnuarmeclipse.github.io/qemu/build-procedure/

Nodraak commented 7 years ago

Hi again. I finally found some time to work on that again. I can successfully build qemu and edit the source code. Thanks a lot !

I am trying to add new nucleo boards : L432KC (and maybe F303K8 and L476RG). Is there any guide on what step to take to add a new board ? That would be handy. I have tried to edit the files in include/hw/cortexm/stm32 and hw/cortexm/stm32 by copying another board but I am missing the svd files. How can I get/generate them ?

ilg-ul commented 7 years ago

missing the svd files

the CMSIS packs, available from Keil.