Closed JCGobbi closed 3 years ago
Hello @JCGobbi,
I am not sure to understand the problem here. I think it is normal that startup-gen is called on the ada_drivers_library.gpr
project.
Hello @Fabien-Chouteau
Sorry, because it was my fault. I am creating a wizard for a new MCU (STM32F334R8) and forgot to include memory descriptions in the devices.py
file. Now I included that information and startup-gen
runs fine on ada_drivers_library.gpr
.
Thank you for your attention.
No problem :+1:
When running
project_wizard.py
and choosing to usestartup-gen
to generate thelink.ld
andcrt0.S
files, the script uses the fileada_drivers_library.gpr
instead of the "real" project file, that must be outside theAda_Drivers_Library
directory.Considering that the
Ada_Drivers_Library
directory is inside the actual project directory, the text forstartup-gen
insideproject_wizard.py
could be:This time, considering that
startup-gen
is in thePATH
, it will use the../zfp.gpr
project file or the name the user choose. I have tested and it runs fine.