Closed fred-r closed 2 years ago
@fred-r I am unable to answer all your questions, however the lib: refers to the librarian command line:
armar options archive [ file_list ]
Since in your example you are creating an executable only the linker will be called. If you need to add command line options you need to do it there.
compiler: AC6
misc:
- C*:
- -O1
- -g
- Link:
- --library_type=microlib
Thanks Joachim,
my bad again, I am so sorry to be so shabby with the YML :-( Thanks a lot for your guidance.
Now, my exe is working. I still need to figure out why microlib is required for this project and not the other ones...
I have a project specified like this:
It compiles and links for AC6_UART:
But the binary does not work. By opening the cprj in Keil uvision, I can see that the Resethandler is executed but I do not jump into main(). If, under uvision I select the microlib then everything works fine (I jump in main() and run the code).
Two things are not clear to me:
does not work and I am not sure to understand the spec:
build-types:
==> the example is not the syntax I use today.
the spec says: