project-generator / project_generator

Project generators for various embedded tools (IDE). IAR, uVision, Makefile, CoIDE, Eclipse and many more in the roadmap!
Apache License 2.0
271 stars 96 forks source link

LD_SCRIPT_IN = [] #488

Closed Andy-1211 closed 3 years ago

Andy-1211 commented 3 years ago

Hi.

When I used Makefile generated by "progen generate -f .\projects.yaml -t make_gcc_arm", it tells me the LD_SCRIPT_IN = []. By the way, the yaml file is geberated by "progen init" form keil project, and I didn't modify anything. Should I modify LD_SCRIPT_IN, or something else?

Thank you for taking time out of your busy schedule to answer my questions.

0xc0170 commented 3 years ago

if you run init, is there linker script? Can you check yaml files, if there is anywhere? Was it picked up?

0xc0170 commented 3 years ago

It should be created with https://github.com/project-generator/project_generator/blob/master/project_generator/init_yaml.py#L92 (if found).

init functionality is to speed up porting a new application. It is not 100 accurate from the experience. We added it to get the base for the project rather than handcrafting yaml files.

0xc0170 commented 3 years ago

I'll close as resolved. If not, please add more details.