EEVblog Electronics Community Forum

Computing => Embedded Computing => Topic started by: fanOfeeDIY on August 21, 2020, 01:00:17 pm

Title: Arduino Makefiles for commandliners on AVR and STM32
Post by: fanOfeeDIY on August 21, 2020, 01:00:17 pm
After discussion at the forum here, I end up uploading the project at the github.

https://github.com/mcd500/arduino-commandliners/blob/master/README.md (https://github.com/mcd500/arduino-commandliners/blob/master/README.md)

This project is providing Makefiles for using Arduino which is small as possible on AVR and STM32

The initial discussion at the forum was here.
https://www.eevblog.com/forum/programming/i-dont-understand-libraries-in-c/msg3185856/#msg3185856 (https://www.eevblog.com/forum/programming/i-dont-understand-libraries-in-c/msg3185856/#msg3185856)

There are arduino-mk for avr but it might be handy for stm32 developments.

Please let me know for any comments, questions or improvements.

Title: Re: Arduino Makefiles for commandliners on AVR and STM32
Post by: Doctorandus_P on September 10, 2020, 10:19:11 am


> $ wget https://raw.githubusercontent.com/mcd500/arduino-commandliners/master/Makefile


wget for git? Are you serious?

> $ git clone https://github.com/mcd500/arduino-commandliners
> $ rm -rf arduino-commandliners/
Title: Re: Arduino Makefiles for commandliners on AVR and STM32
Post by: fanOfeeDIY on May 15, 2021, 11:27:48 am


> $ wget https://raw.githubusercontent.com/mcd500/arduino-commandliners/master/Makefile


wget for git? Are you serious?

Well, if you have read the entire contents of github, Makefile are the only valuable files for developing, and others are explanation of how to use the Makefile.
It is fine git cloning entire repository but letting the users to download the only file you need is reasonable.