I'm trying to build a ZB bootloader image for an ATmega1284p running at 7.37 MHz. I'm using the current compiler, IDE, libraries, etc. (via the v4.3.14 installer), running on a Win7-64 machine.
Per section 5.4 of the Language Reference, I copied the "Zboot" sub-directory to a location outside the "Program Files(x86)" system directory where the installer had placed it, and modified the makeboot.bat file per the device type and CPU clock frequency.
But when I attempt to run makeboot.bat, the command window displays the "make is not recognized as an internal or external command…" error.
I'm not at all familiar with batch files or path variables, but it seems to me that makeboot.bat is looking for make.exe in "ZBasic\avr-GCC" (per the ZBasic HKLM registry entry for avr-GCCPath), whereas make.exe is actually located in "ZBasic\utils\bin". Is that where it should be, and if so, what else could be causing the problem?
TIA,
Phil
Makeboot Path Issue?
Re: Makeboot Path Issue?
I am experiencing the same issue under Win10 Pro with zboot moved to an unprotected folder.Innovator_99 wrote:But when I attempt to run makeboot.bat, the command window displays the "make is not recognized as an internal or external command…" error.
make.exe is installed by default in ZBasic\utils\bin.
If I copy it to the avrgcc\utils\bin folder makeboot progresses a little further, but throws up other errors.
Have you got a fix for this?
Thanks,
Stuart.
Stuart Parker
www.sparxfly.co.nz
www.sparxfly.co.nz
Re: Makeboot Path Issue?
OK, I see the problem now - it's not specific to Win10. In the file makeboot.bat about line 177 you'll find the following:sparxfly wrote:I am experiencing the same issue under Win10 Pro with zboot moved to an unprotected folder..
Code: Select all
set path=%avrgcc%\bin;%avrgcc%\utils\bin
Code: Select all
set path=%avrgcc%\bin;%avrgcc%\..\utils\bin
- Don Kinzer