Makeboot Path Issue?
Posted: 21 March 2017, 21:17 PM
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
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