Switch to full style
Show us your Gamebuino clone or the last module you made.
Post a reply

Please fix bootloader compile issues

Thu Mar 03, 2016 11:25 am

Hi all can anyone help with compiling bootloader,not not sure where the bootloader src file should be to compile,can it be done from dsktop and do you have to use avrdude in the arduino 1.0.5 ide or can the latest avedude compile it,ive tryed changing paths etc no luck.

Re: Please fix bootloader compile issues

Fri Mar 04, 2016 11:15 pm

spunky wrote:Hi all can anyone help with compiling bootloader,not not sure where the bootloader src file should be to compile,can it be done from dsktop and do you have to use avrdude in the arduino 1.0.5 ide or can the latest avedude compile it,ive tryed changing paths etc no luck.



ive tried compiling with latest 1.6.7 but the paths are incorrect to the make files

stick with 1.0.5

the build.bat file is at C:\Users\Admin\Documents\Arduino\hardware\gamebuino\avr\bootloaders\gamebuino_boot\src

on my desktop

ive disabled the battery check and want the bootloader recompiling, i have a build with a 28 pin atmega328, with no A6,A7. does anyone have a building of the bootloader with the battery check disabled and compiled ?

Re: Please fix bootloader compile issues

Sat Mar 12, 2016 1:16 pm

Hi,
The battery check isn't in the bootloader, it's part of the library. If you lower the critical voltage threshold values to 0 using SETTINGS.HEX it won't ask for battery again.

Another solution is to set ENABLE _BATTERY to 0 in libraries\Gamebuino\settings.c and then re-compile games with this setting.
Code:
#define ENABLE_BATTERY 1 //disable battery monitoring
Post a reply