sudar / Arduino-Makefile

Makefile for Arduino sketches. It defines the workflows for compiling code, flashing it to Arduino and even communicating through Serial.
http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
GNU Lesser General Public License v2.1
2.02k stars 449 forks source link

Arduino makefile issue dependencies libs with samd board #675

Open Assowavesss opened 2 years ago

Assowavesss commented 2 years ago

I try everything and i have always the same issues

Sam.mk Configuration:

with my makefile :

ARDUINO_PLATFORM_LIB_PATH = /usr/share/arduino/hardware/arduino/ArduinoCore-samd/libraries ARDUINO_DIR = /usr/share/arduino/hardware/arduino

ARDUINO_PORT =/dev/ttyACM0 BOARD_TAG = mkrwifi1010

USER_LIB_PATH := $(realpath ./lib)

ARDUINO_LIBS = WiFiNINA

include ./Arduino-Makefile/Sam.mk

and my code test.ino :

include

void setup() { Serial.begin(9600); Serial.print("Press any key: "); }

void loop() { Serial.println("kjaf;ljda;f;a");

}