-
Notifications
You must be signed in to change notification settings - Fork 38
Toolchain can't find avrdude #53
Comments
Hi @tobiashienzsch and welcome to the project! Besides, you should probably know that archlinux has a special option to support it (I'm afraid I didn't mention it anywhere in the docs 😞 ) - You can try to turn on the |
Hi @MrPointer All dependencies except for the SDK where installed with the package manager on both platforms. On ArchLinux I installed the SDK using the pkg manager. And it looks like CMake found the path since in the output it shows: -- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/share/arduino/hardware/tools/avr/bin/avr-gcc On Ubuntu I installed via the install.sh that comes with the Linux 64bit download from arduino.cc |
It seems that the framework doesn't search the avrdude tool anywhere else outside the SDK. I don't have much time to fix this bug now, hopefully will resolve it in the upcoming days. Edit: Could you please attach a listing of your |
Here is the output of your command: /usr/share/arduino/hardware/archlinux-arduino/avr/variants/circuitplay32u4:
total 12
-rw-r--r-- 1 root root 9845 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/eightanaloginputs:
total 4
-rw-r--r-- 1 root root 969 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/ethernet:
total 8
-rw-r--r-- 1 root root 6446 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/gemma:
total 4
-rw-r--r-- 1 root root 3244 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/leonardo:
total 12
-rw-r--r-- 1 root root 9870 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/mega:
total 16
-rw-r--r-- 1 root root 13685 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/micro:
total 4
-rw-r--r-- 1 root root 1190 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/robot_control:
total 12
-rw-r--r-- 1 root root 9232 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/robot_motor:
total 12
-rw-r--r-- 1 root root 8985 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/standard:
total 8
-rw-r--r-- 1 root root 6437 Oct 9 15:52 pins_arduino.h
/usr/share/arduino/hardware/archlinux-arduino/avr/variants/yun:
total 4
-rw-r--r-- 1 root root 1856 Oct 9 15:52 pins_arduino.h I tried again after a couple of days on a new arch install. This time I had to set the ASM compiler for cmake manually with The error throws in the |
@MrPointer On what system are you developing? I don't really mind changing distros as I'm trying it out in a VM anyway. As soon as I get it running once, future debugging will be a lot easier. |
@tobiashienzsch Personally I develop on Windows, but our official tests are done against Ubuntu. As to my request, I'm sorry, but you've attached the listing of the wrong path! |
@MrPointer here is the correct output: gist And the CMake option |
I played around for a little while but couldn't solve it. I then started from scratch again, this time downloading the arduino-sdk directly from the website. After extracting it in my home folder I exported the path with This time the examples build with no problems. The |
One quick follow up question: How do I add new platforms to the SDK? And then tried building, with the following lines in
Both did not work. I'm probably missing something, but I couldn't find anything in the wiki. |
@tobiashienzsch I'll relate to your latest comment first - The truth is you currently can't use 3rd-party platforms since these are not supported yet! As to your 1st comment, which seems to resolve the issue - It's good to know that your issue has been solved, however, it's still intriguing why and what exactly did solve it... I'm planning on supporting it as I already said here, and I hope you could help and test the feature when it's ready! |
This has been fixed in PR but when will it be released? (I also tried master branch but ran into different issues). |
@Dominaezzz Hi, sorry to disappoint but as of now probably never... |
I was using this project with great success! Thanks @MrPointer ! |
@cebas PlatformIO has always been a replacement, if not a better alternative, to this project. |
Hi,
OS: Ubuntu 18.04LTS & Arch Linux (kernel 4.19)
I'm having the same issue on Arch & Ubuntu
I installed all the dependencies listed in the wiki. I made sure that avrdude is installed with:
# which avrdude /usr/bin/avrdude
then I went into the examples folder and created a build directory:
The problem is that when running:
I get the following error:
The text was updated successfully, but these errors were encountered: