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

unable to build #370

Open
quantrpeter opened this issue Jul 12, 2023 · 1 comment
Open

unable to build #370

quantrpeter opened this issue Jul 12, 2023 · 1 comment
Assignees

Comments

@quantrpeter
Copy link

hi
build has error but still producing the hex file, after i burn it to arduino nano, not working. The build error is:

C:\Users\Peter\Desktop\optiboot\optiboot\bootloaders\optiboot\Makefile(682,1): error: recipe for target 'baudcheck' failed
		process_begin: CreateProcess(NULL, bash baudcheck.tmp.sh, ...) failed.
		make (e=2): The system cannot find the file specified.
		make[1]: [baudcheck] Error 2 (ignored)
		avr-gcc -g -Wall -Os -fno-split-wide-types -mrelax -mmcu=atmega328p -DF_CPU=16000000L  -DBAUD_RATE=57600 -DLED_START_FLASHES=3                 -c -o optiboot.o optiboot.c
		avr-gcc -g -Wall -Os -fno-split-wide-types -mrelax -mmcu=atmega328p -DF_CPU=16000000L  -DBAUD_RATE=57600 -DLED_START_FLASHES=3               -Wl,-Tlink_optiboot.ld -Wl,--relax -nostartfiles -o optiboot_atmega328.elf optiboot.o 
		avr-size optiboot_atmega328.elf
		   text	   data	    bss	    dec	    hex	filename
		    474	      0	      0	    474	    1da	optiboot_atmega328.elf
		avr-objcopy -j .text -j .data -j .version --set-section-flags .version=alloc,load -O ihex optiboot_atmega328.elf optiboot_atmega328.hex
		avr-objdump -h -S optiboot_atmega328.elf > optiboot_atmega328.lst
		rm optiboot.o

image

thanks

@WestfW
Copy link
Member

WestfW commented Jul 15, 2023

The baudcheck step of make relies on some utilities that may or may not be present on windows systems. It's mostly pretty-printing of baud rate issues, and the build will work fine without it.

I'll try to do some checking on exactly which packages result in having the full util set.

@WestfW WestfW self-assigned this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants