Questions tagged [makefile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
847 views

Clion Arduino plugin: Error:Could not find Arduino SDK (set ARDUINO_SDK_PATH)

I am trying to setup CLion as my workspace for my arduino. I have installed the two Arduino plugins for CLion, generated a new sketch project, but I am getting cmake errors on opening the project. ...
1
vote
1answer
175 views

How to program an Arduino Uno Pro with a makefile?

I'm using Arduino Makefile to compile sketches for Uno and Mega boards. I'm now trying to compile a sketch for an Arduino Uno Pro, which is an Uno with a replaced chip to give it features more like a ...
0
votes
1answer
1k views

Multiple definition error when linking firmware.elf

I just can't wrap my head around on how to properly work with multiple files. My code has been getting quite big so I decided to split all the classes into one file each. So I'm left with 6 files: ...
0
votes
0answers
53 views

avr-g++: error: missing device or architecture after '-mmcu='

Im on Linux Manjaro right now and Im following this tutorial (https://youtu.be/qAM2S27FWAI) on how to use Arduino from the command line. Im currently trying to create a Makefile for my Arduino ...
0
votes
0answers
38 views

Create and retrieve a log file- in SPIFFS

I'm using an ESP8266, to create certain tasks ( triggers from MQTT, or a physical button).I'm trying to create a log of events, store it (SPIFFS or SD) and retrieve it back( perhaps using MQTT ), on ...
0
votes
1answer
92 views

Including Arduino library in a Makefile for Due

I'm currently using a Makefile for the Arduino Due I've found on Github (with some modifications). It's useful to me cause it allows me to add a static library for cryptographic functions I need and I ...
0
votes
2answers
1k views

Read and store data with the usb

Hi i am new to Arduino and I want to know if it is possible to read the data from a sensor that it is connected to the Arduino, I am using the Arduino mega 2560, which is already working, as I have a ...
0
votes
1answer
306 views

How to find integer inside a file with STRNCMP

I'm trying to compare the int number 18 with strcmp but give to me wrong result, the program looking for char 18 and not for integer 18, how i can look for an integer with strcmp? /* SD card read/...
-1
votes
1answer
2k views

Using SD library in a ESP-IDF project on ESP32 [closed]

I just started to move from the Arduino firmware to the esp-idf firmware. I read that link. I learn that I have to include libraries creating a component files, with a component.mk file, *.c, *.cpp ...
-1
votes
2answers
4k views

Read value from a file inside SD card

it's possible to read value from a file inside sd card? I'm trying to start with the sample code /* SD card read/write This example shows how to read and write data to and from an SD card file ...