tomlankhorst/comments

avr-develop-debug-on-mac-os-x-with-clion/

Opened this issue · 4 comments

Developing for AVR with JetBrains CLion on Mac OS | Tom Lankhorst

Previously I used Atmel Studio 7 to do AVR development. This integrated development environment is unsurpassed in terms of ease of use and features for AVR development. However, it is Windows only. I grew tired of the hassle with virtual machines and dual boot setups as my working device is a Mac running Mac OS 10.12. I already used some JetBrains products for C/C++ and PHP development so I wanted to try to get the whole AVR toolchain working on Mac OS in combination with JetBrains CLion. To serve as a suitable alternative to Atmel Studio I need both compilation, uploading and debugging to integrate nicely with CLion. Furthermore, I wanted to be able to use the Atmel Software Framework to have access to an enormous reso

https://tomlankhorst.nl/avr-develop-debug-on-mac-os-x-with-clion/

Original author: Khun Poum @khunpoum
Original date: 2017-12-04T14:42:06Z

looks like at now standalone ASF framework is availible only for windows platform. so sad...

Original date: 2017-12-04T15:02:35Z

You can still download the ZIP: http://www.microchip.com/my...
It contains source and header files which are platform independent :)

Original author: fharold
Original date: 2019-02-28T09:25:31Z

Thanks a lot for this article.

Original author: okarito @okarito
Original date: 2019-10-21T20:59:22Z

How did you reconcile the need to set "AVR_FIND_ROOT_PATH" with the fact that brew installs avr-gcc into /usr/local so that there's no `${AVR_FIND_ROOT_PATH}/include` or `${AVR_FIND_ROOT_PATH}/lib` available? Setting AVR_FIND_ROOT_PATH to /usr/local doesn't work.

EDIT: looks like setting AVR_FIND_ROOT_PATH to /usr/local/opt/avr-gcc in the Environment table under Preferences > Build, Execution, Deployment > CMake > Profiles works correctly.