Closed NicoPy closed 4 years ago
Thank you for the report @NicoPy , we will update the readme.
For missing directory, -p
option should be specified to gprbuild instead of creating directories manually.
Next, I tried to use a runtime I've made . Once installed, I can't select it in GPS. GPS does not show it in the Toolchain
configuration box (it was working with with Community Editon 2019).
To install my runtime, I do gprinstall -f -p -P build\kinetis\zfp-mk22f51212\runtime_build.gpr --prefix=c:\gnat\2020-arm-elf\arm-eabi\zfp-mk22f51212
.
This creates a zfp-mk22f51212 directory in c:\gnat\2020-arm-elf\arm-eabi
with the same structure as in other runtimes (in Community Edition 2019 the structure was different).
I have not found any solution for now.
Hello @NicoPy ,
The README is now up to date.
Next, I tried to use a runtime I've made . Once installed, I can't select it in GPS. GPS does not show it in the
Toolchain
configuration box (it was working with with Community Editon 2019).
This is because the new build script doesn't install in the compiler by default, and doesn't require gprinstall
.
You should do:
./build_rts.py --output=c:\gnat\2020-arm-elf\arm-eabi\lib\gnat --build
c:\gnat\2020-arm-elf\arm-eabi
This is not the correct folder for run-time, it should be c:\gnat\2020-arm-elf\arm-eabi\lib\gnat
.
Regards,
This is because the new build script doesn't install in the compiler by default, and doesn't require gprinstall.
Ok.
This is not the correct folder for run-time, it should be c:\gnat\2020-arm-elf\arm-eabi\lib\gnat.
I've discovered this late this afternoon.
Thanks for your support.
Hi,
I'm experimenting with community 2020, trying to build a runtime. With the command
c:\python38\python.exe build_rts.py --output=build/st --bsps-only stm32f429disco
I get the following error :Removing
--bsp-only
option, makes the command work :Next, with the build command :
gprbuild -P build\st\zfp-stm32f429disco\runtime_build.gpr -j0 -f
, I get the following error :After creating the
obj
andadalib
directories manualy, re-running the command succeeds.edit :
gprinstall -P temp/BSPs/<rts_project>.gpr -p -f
does not install the runtime at the right place.--prefix
option must be specified.README.md should be updated.