Show us your Gamebuino clone or the last module you made.
by spunky » 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.
-
spunky
-
- Posts: 10
- Joined: Thu Mar 03, 2016 3:03 am
by Retrogadgets » 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 ?
-
Retrogadgets
-
- Posts: 8
- Joined: Sun Feb 14, 2016 3:53 pm
by rodot » 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: Select all
#define ENABLE_BATTERY 1 //disable battery monitoring
-
![User avatar](./download/file.php?avatar=2_1505825079.jpg)
rodot
- Site Admin
-
- Posts: 1290
- Joined: Mon Nov 19, 2012 11:54 pm
- Location: France
-
Return to Hardware Gallery
Who is online
Users browsing this forum: No registered users and 19 guests