wiring-sucks

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 36a35a01acea21483b4ec02439167543173feed0
parent 25faafc151200a02ee440d0aecf1fbc4c1f546b5
Author: Elecon-rou <quest90spin@gmail.com>
Date:   Wed,  1 Jul 2020 01:40:11 +0400

add arduino uno config

Diffstat:
MMakefile | 3+++
Mboard.mk | 2+-
Mboard/uno.mk | 2+-
Mconfig.mk | 3++-
4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -3,6 +3,9 @@ include board.mk .PHONY: all clean flash +CFLAGS+=-Iinclude/Core +CXXFLAGS=$(CFLAGS) + all: hex.bin %.o: %.S diff --git a/board.mk b/board.mk @@ -1,3 +1,3 @@ -CFLAGS=-Os -mmcu=atmega328p -DF_CPU=16000000L -Iinclude/Core +CFLAGS=-Os -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 CXXFLAGS=$(CFLAGS) PROGFLAGS=-p m328p -c arduino diff --git a/board/uno.mk b/board/uno.mk @@ -1,3 +1,3 @@ -CFLAGS=-Os -mmcu=atmega328p -DF_CPU=16000000L -Iinclude/Core +CFLAGS=-Os -mmcu=atmega328p -DF_CPU=16000000L CXXFLAGS=$(CFLAGS) PROGFLAGS=-p m328p -c arduino diff --git a/config.mk b/config.mk @@ -1,6 +1,7 @@ SERIAL=/dev/ttyACM0 -LIBS=Core.a SoftwareSerial.a +LIBS=Core.a Ethernet.a Firmata.a GSM.a LiquidCrystal.a \ +SD.a Servo.a SoftwareSerial.a SPI.a Stepper.a Wire.a CC=avr-gcc $(CFLAGS) CXX=avr-g++ $(CXXFLAGS)