Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progen build --copy fails #487

Open
jawi opened this issue Mar 22, 2021 · 1 comment
Open

progen build --copy fails #487

jawi opened this issue Mar 22, 2021 · 1 comment

Comments

@jawi
Copy link

jawi commented Mar 22, 2021

Running progen --copy -t make_gcc_arm fails:

$ progen build -vvv -c -t make_gcc_arm
progen DEBUG	This should be the project root: /tmp/progen-test
progen.tools DEBUG	Generating: build/make_gcc_arm_blinky_test/Makefile
progen.project DEBUG	Building for tool: make_gcc_arm
progen.project DEBUG	{'make_gcc_arm': {'path': 'build/make_gcc_arm_blinky_test', 'files': {'makefile': 'build/make_gcc_arm_blinky_test/Makefile'}}}
progen.tools.gccarm DEBUG	Building make project: build/make_gcc_arm_blinky_test
progen.tools.gccarm DEBUG	['make', '-j', '1', 'all']
make: *** No rule to make target 'blinky_l476/stm32l4xx.ld', needed by 'build/blinky_test.generated.ld'.  Stop.
progen.tools.gccarm ERROR	Project: errors build failed with the status: build/make_gcc_arm_blinky_test/Makefile

While running without the --copy flag succeeds:

$ progen build -vvv -t make_gcc_arm
progen DEBUG	This should be the project root: /tmp/progen-test
progen.tools DEBUG	Generating: build/make_gcc_arm_blinky_test/Makefile
progen.project DEBUG	Building for tool: make_gcc_arm
progen.project DEBUG	{'make_gcc_arm': {'path': 'build/make_gcc_arm_blinky_test', 'files': {'makefile': 'build/make_gcc_arm_blinky_test/Makefile'}}}
progen.tools.gccarm DEBUG	Building make project: build/make_gcc_arm_blinky_test
progen.tools.gccarm DEBUG	['make', '-j', '1', 'all']
Preprocessing ../../blinky_l476/stm32l4xx.ld
Compiling ../../blinky_l476/src/main.c
Linking build/blinky_test.elf
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol Reset_Handler; defaulting to 0000000008000004
   text	   data	    bss	    dec	    hex	filename
    916	   1096	   1568	   3580	    dfc	build/blinky_test.elf
    916	   1096	   1568	   3580	    dfc	(TOTALS)
Converting build/blinky_test.hex
Converting build/blinky_test.bin
progen.tools.gccarm INFO	Built make_gcc_arm_blinky_test with the status: no errors

It appears that the --copy flag does not copy anything to the generated output directory.

@0xc0170
Copy link
Member

0xc0170 commented Apr 2, 2021

Thanks for the report. I'll try to look at the issue in the following days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants