Questions tagged [command-line]
A command line is a string given to a command interpreter that tells it actions to take, such as running programs or copying files. The interpreter processes command lines with escapes and substitutions.
24 questions
3
votes
1
answer
192
views
Arduino Uno Gravitech Rev 3.0 with avrdude CLI (Mac OS) - Is my script correct?
I am dealing with an Arduino Nano board rev 3.0 from Gravitech.
There is a program inside that I'd like to download to a HEX file. Thus I can upload it to other Arduino Nano boards.
I'm a newbie with ...
0
votes
1
answer
914
views
Why am I getting a "SendCommand was not declared" error?
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
#include <LiquidCrystal.h>
uint8_t id;
int getFingerprintIDez();
//pin #16 is IN from sensor (GREEN wire)
//pin #15 is ...
1
vote
0
answers
321
views
Program is executing but AT commands not showing in serial monitor
My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code
#include <SoftwareSerial.h>
//Create a software serial object to communicate with SIM800L
...
0
votes
1
answer
956
views
How do I upload an Arduino STM32 binary from the Mac command line?
I've compiled an Arduino program via a Makefile and have the resulting hex file.
From the Mac command line, how do I upload this hex file to my STM32 Cortex M3 board? For an ATMEL processor I would ...
-1
votes
1
answer
67
views
Can the function be written without ";" in the end? [closed]
I have seen the following code on the Internet:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8,9);
void setup()
{
mySerial.begin(9600);
Serial.begin(9600);
delay(100);
}
...
0
votes
1
answer
2k
views
How to compile Arduino ESP8266/32 on CI/CD (CLI shell cmd) platform?
Like make for not ESP Arduino target, is there a CLI command like esptool.py to upload in the hardware ?
I've seen makeEspArduino but seems to be not trivial ?
What about espressif ESP32 component ?
...
1
vote
1
answer
1k
views
arduino --verify / --upload not working (command line)
I installed Arduino IDE version 2.1 on Ubuntu via apt-get. Then I typed the following command in terminal to see if the Arduino IDE compiles my sketch.
arduino --verify xx.ino
However, this ...
1
vote
2
answers
615
views
Compiling sketch vi command line
Since I don't like the text editor of the Arduino IDE, I decided to write a python script that I can invoke from my text editor to compile and upload my source. I program the popular esp8266 chip. So ...
1
vote
1
answer
218
views
avr-gcc -D is ignored
Im trying to use XCode to compile avr program with arduino libs but seems like something wrong with my Makefile because it throws me warnings like
# warning "F_CPU not defined for <util/delay.h&...
0
votes
1
answer
153
views
Is there any way to prevent Arduino CLI from closing each time?
I prefer writing code in Vim, so I'd like to get a workflow going with the Arduino CLI. I used to use ino, but I didn't like the restructuring of the project, which meant anyone who downloaded the ...
6
votes
2
answers
2k
views
Arduino command line vs. Arduino builder
I'm working on adding my Arduino to continuous integration and I came across two different possible ways of doing this, Arduino command line, and arduino-builder. Can someone explain why the arduino-...
2
votes
1
answer
246
views
How can I make Arduino IDE use Atmel's provided toolchain? (Linux/Ubuntu)
I have an Arduino based board using ATmega168PB, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to ...