File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ uno2018.build.core=arduino
2020uno2018.build.variant=uno2018
2121#uno2018.build.extra_flags=-B{runtime.tools.atpack.path}/gcc/dev/{build.mcu}
2222
23+ uno2018.bootloader.tool=avrdude
24+ uno2018.bootloader.SYSCFG0=0xC9
25+ uno2018.fuses.file=fuses_4809.bin
26+
2327menu.mode=Registers emulation
2428uno2018.menu.mode.on=ATMEGA328
2529uno2018.menu.mode.on.build.extra_flags=-DUNO_WIFI_REV2_328MODE
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ struct EEPROMClass{
124124 // STL and C++11 iteration capability.
125125 EEPtr begin () { return 0x00 ; }
126126 EEPtr end () { return length (); } // Standards requires this to be the item after the last valid entry. The returned pointer is invalid.
127- uint16_t length () { return E2END + 1 ; }
127+ uint16_t length () { return EEPROM_SIZE ; }
128128
129129 // Functionality to 'get' and 'put' objects to and from EEPROM.
130130 template < typename T > T &get ( int idx, T &t ){
Original file line number Diff line number Diff line change @@ -113,11 +113,11 @@ tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {
113113
114114tools.avrdude.erase.params.verbose=-v
115115tools.avrdude.erase.params.quiet=-q -q
116- tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m
116+ tools.avrdude.erase.pattern=
117117
118118tools.avrdude.bootloader.params.verbose=-v
119119tools.avrdude.bootloader.params.quiet=-q -q
120- tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash :w:{runtime.platform.path}/bootloaders/{bootloader .file}:i" -Ulock:w:{bootloader.lock_bits}:m
120+ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Ufuses :w:{runtime.platform.path}/fuses/{fuses .file}:r"
121121
122122tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu}
123123
Original file line number Diff line number Diff line change 1- medbg.name=Atmel mEDBG
1+ medbg.name=Onboard Atmel mEDBG (UNO WiFi Rev2)
22medbg.communication=usb
3- medbg.protocol=xplainedpro_updi
4- medbg.program.protocol=xplainedpro_updi
3+ medbg.protocol=xplainedmini_updi
4+ medbg.program.protocol=xplainedmini_updi
55medbg.program.tool=avrdude
66medbg.program.extra_params=-Pusb
You can’t perform that action at this time.
0 commit comments