Open alexneivel opened 2 years ago
According to error message, you are choosing the wrong board: Arduino: 1.8.19 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega1280" Try using Arduino UNO.
Same result with Arduino UNO selected.
Quickly followed instructions and managed to load it in a Linux machine with arduino 1.8.16. Unfortunately do not have a Mac OS device to check arduino in that platform.
Which linux version are you using? ill try to install on virtual machine.
Mint 20.2
Seems like firmware updated, but error message which i post earlier still shows up. Is it ok?
What error message?
same as i posted earlier, i changed arduino to uno, anyway it shows this error message, even on Mint 20.3:
/Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_clock_in_mult_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:280:37: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(6, (clk_in_mult >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:281:37: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(7, (clk_in_mult >> 24) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_range_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:290:38: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(18, (range_value >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:291:38: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(19, (range_value >> 24) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_clock_out_mult_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:306:41: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(12, (clock_out_mult >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:307:41: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(13, (clock_out_mult >> 24) & 0xFF); ^~ Sketch uses 12618 bytes (9%) of program storage space. Maximum is 126976 bytes. Global variables use 236 bytes (2%) of dynamic memory, leaving 7956 bytes for local variables. Maximum is 8192 bytes. An error occurred while uploading the sketch
anyway seems like everything works, even those warning messages appears
Warning messages are related to the programmer itself. Will close this issue then!
Any idea how to fix it? Here's error messages:
Arduino: 1.8.19 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega1280"
/Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_clock_in_mult_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:280:37: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(6, (clk_in_mult >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:281:37: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(7, (clk_in_mult >> 24) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_range_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:290:38: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(18, (range_value >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:291:38: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(19, (range_value >> 24) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino: In function 'void write_clock_out_mult_to_EEPROM()': /Users/tritone/Documents/Arduino/muxlicer/functions.ino:306:41: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(12, (clock_out_mult >> 16) & 0xFF); ^~ /Users/tritone/Documents/Arduino/muxlicer/functions.ino:307:41: warning: right shift count >= width of type [-Wshift-count-overflow] EEPROM.write(13, (clock_out_mult >> 24) & 0xFF); ^~ Sketch uses 12618 bytes (9%) of program storage space. Maximum is 126976 bytes. Global variables use 236 bytes (2%) of dynamic memory, leaving 7956 bytes for local variables. Maximum is 8192 bytes. An error occurred while uploading the sketch