File tree 5 files changed +10
-6
lines changed
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
20
20
uno2018.build.variant=uno2018
21
21
#uno2018.build.extra_flags=-B{runtime.tools.atpack.path}/gcc/dev/{build.mcu}
22
22
23
+ uno2018.bootloader.tool=avrdude
24
+ uno2018.bootloader.SYSCFG0=0xC9
25
+ uno2018.fuses.file=fuses_4809.bin
26
+
23
27
menu.mode=Registers emulation
24
28
uno2018.menu.mode.on=ATMEGA328
25
29
uno2018.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{
124
124
// STL and C++11 iteration capability.
125
125
EEPtr begin () { return 0x00 ; }
126
126
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 ; }
128
128
129
129
// Functionality to 'get' and 'put' objects to and from EEPROM.
130
130
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} {
113
113
114
114
tools.avrdude.erase.params.verbose=-v
115
115
tools.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=
117
117
118
118
tools.avrdude.bootloader.params.verbose=-v
119
119
tools.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"
121
121
122
122
tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu}
123
123
Original file line number Diff line number Diff line change 1
- medbg.name=Atmel mEDBG
1
+ medbg.name=Onboard Atmel mEDBG (UNO WiFi Rev2)
2
2
medbg.communication=usb
3
- medbg.protocol=xplainedpro_updi
4
- medbg.program.protocol=xplainedpro_updi
3
+ medbg.protocol=xplainedmini_updi
4
+ medbg.program.protocol=xplainedmini_updi
5
5
medbg.program.tool=avrdude
6
6
medbg.program.extra_params=-Pusb
You can’t perform that action at this time.
0 commit comments