Arduino Due on Ubuntu 20.04

Hello all,
I am trying to make my Due work on ubuntu 20.04 I have installed this

but no luck making the board compile and upload

this is the verbose

Arduino: 1.8.15 (Linux), Board: "Arduino Due (Programming Port)"

/home/giga/Downloads/arduino-1.8.15/arduino-builder -dump-prefs -logger=machine -hardware /home/giga/Downloads/arduino-1.8.15/hardware -hardware /home/giga/.arduino15/packages -tools /home/giga/Downloads/arduino-1.8.15/tools-builder -tools /home/giga/Downloads/arduino-1.8.15/hardware/tools/avr -tools /home/giga/.arduino15/packages -built-in-libraries /home/giga/Downloads/arduino-1.8.15/libraries -libraries /home/giga/Arduino/libraries -fqbn=per1234:sam:arduino_due_x_dbg -vid-pid=2341_003D -ide-version=10815 -build-path /tmp/arduino_build_55459 -warnings=none -build-cache /tmp/arduino_cache_714736 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -verbose /home/giga/Arduino/libraries/micro_ros_arduino-1.0.0/examples/micro-ros_publisher/micro-ros_publisher.ino
/home/giga/Downloads/arduino-1.8.15/arduino-builder -compile -logger=machine -hardware /home/giga/Downloads/arduino-1.8.15/hardware -hardware /home/giga/.arduino15/packages -tools /home/giga/Downloads/arduino-1.8.15/tools-builder -tools /home/giga/Downloads/arduino-1.8.15/hardware/tools/avr -tools /home/giga/.arduino15/packages -built-in-libraries /home/giga/Downloads/arduino-1.8.15/libraries -libraries /home/giga/Arduino/libraries -fqbn=per1234:sam:arduino_due_x_dbg -vid-pid=2341_003D -ide-version=10815 -build-path /tmp/arduino_build_55459 -warnings=none -build-cache /tmp/arduino_cache_714736 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -verbose /home/giga/Arduino/libraries/micro_ros_arduino-1.0.0/examples/micro-ros_publisher/micro-ros_publisher.ino
Using board 'arduino_due_x_dbg' from platform in folder: /home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64
Using core 'arduino' from platform in folder: /home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64
Detecting libraries used...
/bin/arm-none-eabi-g++ -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m3 -mthumb -DF_CPU=84000000L -DARDUINO=10815 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino Due"" -I/home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64/system/libsam -I/home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64/system/CMSIS/CMSIS/Include/ -I/home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64/system/CMSIS/Device/ATMEL/ -I/home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64/cores/arduino -I/home/giga/.arduino15/packages/per1234/hardware/sam/1.6.11-arm64/variants/arduino_due_x /tmp/arduino_build_55459/sketch/micro-ros_publisher.ino.cpp -o /dev/null
fork/exec /bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Arduino Due (Programming Port).

thank you in advance.

*my main goal is to have an arduino board that have SCL and SDA , and that can run micro-ros.

Welcome to the forum.

That is something from 2018. It is no surprise that something from 2018 will break the build process.

Which computer do you use ?
Can you install the newest Ubuntu ?
Try to remove everything of Arduino from your computer, but not your projects of course.
Try the Arduino IDE 1.8.15 first.
The new Arduino IDE 2.0 Beta does not come in a ARM version yet, but there is a hourly build for the ARM64.

Note the /bin/arm-none-eabi-g++ path.

You can see the pattern used to generate this command here:
https://github.com/arduino/ArduinoCore-sam/blob/f5cbedd4e845b0fbb8165552f6ebb94363655234/platform.txt#L70

recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mcpu={build.mcu} -mthumb -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {compiler.libsam.c.flags} {includes} "{source_file}" -o "{object_file}"

the definition of the compiler.path property is here:
https://github.com/arduino/ArduinoCore-sam/blob/f5cbedd4e845b0fbb8165552f6ebb94363655234/platform.txt#L20

compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/

This runtime.tools.arm-none-eabi-gcc.path property should be automatically generated by the Arduino IDE, pointing to the path of the platform's arm-none-eabi-gcc tool installation. That should be /home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4. For some reason it seems the runtime.tools.arm-none-eabi-gcc.path property is being defined as an empty string by the IDE instead, which results in this invalid /bin/arm-none-eabi-g++ path being used in the compilation command, thus the error.

I think Koepel's advice is sound. You might find that clearing /home/giga/.arduino15 and then reinstalling the modified "Arduino SAM Boards" platform will fix whatever the problem is. If you want to be more surgical, you could check whether the /home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 folder exists.

Note that the /home/giga/.arduino15 folder is hidden by default.

1 Like

Hello Koepel,

I am using a jetson nano and I have latest Ubuntu version installed.
Ok yes I see what you are suggesting.
I could do that but I think that having latest supported version of arduino IDE is a better choice for me in the long term but that means I will need a new board, such as the nano RP2040 connect, that is officially supported by arduino and micro-ros.

Thanks

Hello pert,

I have looked for this exact file arm-none-eabi-g++ but it does not exist so I downloaded one and placed it in the directory where they belong but it gives an error that says Compile error :”g++:error trying to exec ‘cc1plus’.
Now the folder ‘/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4’ does exist.
As I mentioned to Koepel I am now more inclined to get a new board and have the latest IDE version installed.

Thank you,
Laron

Maybe you didn't get the right version of the file? The right one is here:
http://downloads.arduino.cc/tools/gcc-arm-none-eabi-7-2018-q2-update-linuxarm64.tar.bz2

I had made changes with micro-ros to platform.txt and that was causing the problem.

I was able to get the arduino RP2040 nano connect. I was able to upload blink sketch. Now the program i have does not upload correctly. Do you have any idea of why?
I copied this
Arduino: 1.8.15 (Linux), Board: "Arduino Nano RP2040 Connect"

/home/giga/Downloads/arduino-1.8.15/arduino-builder -dump-prefs -logger=machine -hardware /home/giga/Downloads/arduino-1.8.15/hardware -hardware /home/giga/.arduino15/packages -tools /home/giga/Downloads/arduino-1.8.15/tools-builder -tools /home/giga/Downloads/arduino-1.8.15/hardware/tools/avr -tools /home/giga/.arduino15/packages -built-in-libraries /home/giga/Downloads/arduino-1.8.15/libraries -libraries /home/giga/Arduino/libraries -fqbn=arduino:mbed_nano:nanorp2040connect -vid-pid=2341_0042 -ide-version=10815 -build-path /tmp/arduino_build_270470 -warnings=none -build-cache /tmp/arduino_cache_770875 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/home/giga/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=/home/giga/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.bossac.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.rp2040tools.path=/home/giga/.arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=/home/giga/.arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.dfu-util.path=/home/giga/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=/home/giga/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -verbose /home/giga/Desktop/temp_sen_along/temp_sen_along.ino
/home/giga/Downloads/arduino-1.8.15/arduino-builder -compile -logger=machine -hardware /home/giga/Downloads/arduino-1.8.15/hardware -hardware /home/giga/.arduino15/packages -tools /home/giga/Downloads/arduino-1.8.15/tools-builder -tools /home/giga/Downloads/arduino-1.8.15/hardware/tools/avr -tools /home/giga/.arduino15/packages -built-in-libraries /home/giga/Downloads/arduino-1.8.15/libraries -libraries /home/giga/Arduino/libraries -fqbn=arduino:mbed_nano:nanorp2040connect -vid-pid=2341_0042 -ide-version=10815 -build-path /tmp/arduino_build_270470 -warnings=none -build-cache /tmp/arduino_cache_770875 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/home/giga/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.openocd-0.11.0-arduino2.path=/home/giga/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2 -prefs=runtime.tools.bossac.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.bossac-1.9.1-arduino2.path=/home/giga/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2 -prefs=runtime.tools.rp2040tools.path=/home/giga/.arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.rp2040tools-1.0.2.path=/home/giga/.arduino15/packages/arduino/tools/rp2040tools/1.0.2 -prefs=runtime.tools.dfu-util.path=/home/giga/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.dfu-util-0.10.0-arduino1.path=/home/giga/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -verbose /home/giga/Desktop/temp_sen_along/temp_sen_along.ino
Using board 'nanorp2040connect' from platform in folder: /home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1
Using core 'arduino' from platform in folder: /home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1
Detecting libraries used...
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10815 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
-> candidates: [Wire]
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10815 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/libraries/Wire -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp -o /dev/null
Using cached library dependencies for file: /home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/libraries/Wire/Wire.cpp
Generating function prototypes...
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10815 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/libraries/Wire -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp -o /tmp/arduino_build_270470/preproc/ctags_target_for_gcc_minus_e.cpp
/home/giga/Downloads/arduino-1.8.15/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_270470/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/defines.txt @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/cxxflags.txt -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10815 -DARDUINO_NANO_RP2040_CONNECT -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/libraries/Wire -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated -I/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino/api/deprecated-avr-comp -iprefix/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/cores/arduino @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/includes.txt /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp -o /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp.o
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: /tmp/arduino_build_270470/libraries/Wire/Wire.cpp.o
Compiling core...
Using previously compiled file: /tmp/arduino_build_270470/core/nina_pins.cpp.o
Using previously compiled file: /tmp/arduino_build_270470/core/double_tap_usb_boot.cpp.o
Using previously compiled file: /tmp/arduino_build_270470/core/variant.cpp.o
Using precompiled core: /tmp/arduino_cache_770875/core/core_arduino_mbed_nano_nanorp2040connect_2bd2e24bd53db99fa4014f122e2a707c.a
Linking everything together...
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -L/tmp/arduino_build_270470 -Wl,--gc-sections -w -Wl,--as-needed @/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/ldflags.txt -T/home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/linker_script.ld -Wl,-Map,/tmp/arduino_build_270470/temp_sen_along.ino.map --specs=nosys.specs -o /tmp/arduino_build_270470/temp_sen_along.ino.elf /tmp/arduino_build_270470/sketch/temp_sen_along.ino.cpp.o /tmp/arduino_build_270470/libraries/Wire/Wire.cpp.o /tmp/arduino_build_270470/core/double_tap_usb_boot.cpp.o /tmp/arduino_build_270470/core/nina_pins.cpp.o /tmp/arduino_build_270470/core/variant.cpp.o -Wl,--whole-archive /tmp/arduino_build_270470/../arduino_cache_770875/core/core_arduino_mbed_nano_nanorp2040connect_2bd2e24bd53db99fa4014f122e2a707c.a /home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/variants/NANO_RP2040_CONNECT/libs/libmbed.a -Wl,--no-whole-archive -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O binary /tmp/arduino_build_270470/temp_sen_along.ino.elf /tmp/arduino_build_270470/temp_sen_along.ino.bin
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/arduino_build_270470/temp_sen_along.ino.elf /tmp/arduino_build_270470/temp_sen_along.ino.hex
Using library Wire in folder: /home/giga/.arduino15/packages/arduino/hardware/mbed_nano/2.3.1/libraries/Wire (legacy)
/home/giga/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-size -A /tmp/arduino_build_270470/temp_sen_along.ino.elf
Sketch uses 82896 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 54228 bytes (20%) of dynamic memory, leaving 216108 bytes for local variables. Maximum is 270336 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
/home/giga/.arduino15/packages/arduino/tools/rp2040tools/1.0.2/rp2040load -v -D /tmp/arduino_build_270470/temp_sen_along.ino.elf
rp2040load 1.0.1 - compiled with go1.15.8
.....................
An error occurred while uploading the sketch

it prints a ")" and if i change to 9600 baud rate it prints meaningless numbers.

thank you

I ran post_install.sh and it works now.

1 Like