You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cmake ../arduino_qemu_test/
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Arduino SDK version 1.0.5: /usr/share/arduino
-- Check for working C compiler: /usr/bin/avr-gcc
-- Check for working C compiler: /usr/bin/avr-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/avr-g++
-- Check for working CXX compiler: /usr/bin/avr-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using toolchain file: /home/lucasw/own/src/arduino_qemu_test/arduino-cmake/cmake/ArduinoToolchain.cmake
-- Generating test
-- Using /usr/bin/avr-objcopy for converting firmware image to hex
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucasw/own/src/build_arduino_qemu_test
$ make
Scanning dependencies of target mega2560_CORE
[ 4%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/CDC.cpp.obj
[ 8%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/HID.cpp.obj
[ 12%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp.obj
[ 16%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/IPAddress.cpp.obj
[ 20%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/Print.cpp.obj
[ 25%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/Stream.cpp.obj
[ 29%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/Tone.cpp.obj
[ 33%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/USBCore.cpp.obj
[ 37%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/WInterrupts.c.obj
[ 41%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/WMath.cpp.obj
[ 45%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/WString.cpp.obj
[ 50%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/avr-libc/malloc.c.obj
[ 54%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/avr-libc/realloc.c.obj
[ 58%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/main.cpp.obj
[ 62%] Building CXX object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/new.cpp.obj
[ 66%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/wiring.c.obj
[ 70%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/wiring_analog.c.obj
[ 75%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/wiring_digital.c.obj
[ 79%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/wiring_pulse.c.obj
[ 83%] Building C object CMakeFiles/mega2560_CORE.dir/usr/share/arduino/hardware/arduino/cores/arduino/wiring_shift.c.obj
[ 87%] Linking CXX static library libmega2560_CORE.a
[ 87%] Built target mega2560_CORE
Scanning dependencies of target test
[ 91%] Building CXX object CMakeFiles/test.dir/test_test.ino.cpp.obj
[ 95%] Linking CXX executable test.elf
Generating EEP image
Generating HEX image
Calculating image size
Firmware Size: [Program: 3640 bytes (1.4%)] [Data: 729 bytes (8.9%)] on atmega2560
EEPROM Size: [Program: 0 bytes (0.0%)] [Data: 0 bytes (0.0%)] on atmega2560
[100%] Built target test
The text was updated successfully, but these errors were encountered:
lucasw
changed the title
Build arduino elfs with CMakeLIsts.txt
Build arduino elfs with CMakeLists.txt
Mar 27, 2021
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: