Skip to main content

Questions tagged [compile]

To compile is to convert the code for a sketch into machine readable files that are uploaded to the Arduino. This tag is mostly used for the space and footprint of the files uploaded to the Arduino.

Filter by
Sorted by
Tagged with
0 votes
1 answer
486 views

I'm playing with a tutorial from this DroneBot Workshop YouTube (excellent video presentation by the way on WiFi manager for newbies). I am working with a NodeMCU ESP8266. The example code was written ...
Dave J's user avatar
  • 1
2 votes
1 answer
531 views

How to find out all #define used by arduino-cli in compile? I had seen something some time ago, but I cannot find it again. I think that it was some option somewhere, and the result was that the ...
gilhad's user avatar
  • 1,466
1 vote
0 answers
54 views

I try to upload Adafruit's example sketch (Wemos mini 8266 + Lolin TFT-2.4" touch screen). When complied and uploaded via Arduino IDE v1.8.19, sketch runs OK (including TFT), but when uploading ...
guyd's user avatar
  • 1,049
5 votes
1 answer
1k views

I have a sketch which I can upload without problem with the Arduino IDE. I installed the arduino-cli Version: 0.28.0 Commit: 06fb1909 Date: 2022-10-18T15:53:04Z. I want to compile and upload a code ...
ecjb's user avatar
  • 165
4 votes
2 answers
412 views

I'm working on a project with a Digispark ATTiny85, that performs keystrokes using the DigisparkKeyboard library (https://github.com/digistump/DigisparkArduinoIntegration/tree/master/libraries/...
emma.makes's user avatar
2 votes
2 answers
293 views

Being the newbie in the Arduino area... Having more devices, how can I upload some configuration parameters after the code was uploaded? Is it possible? Situation: I have the simple application for ...
pepr's user avatar
  • 147
0 votes
1 answer
3k views

I am a beginner with Arduino. I have a program that is intentionally simple. The code refuses to compile, spitting out the error Compilation error: Error: 13 INTERNAL: exit status 1. I have gotten ...
Jacob Ivanov's user avatar
2 votes
1 answer
215 views

Is there a macro (#define ...) somewhere in the bowels of Arduino IDE or core header files which tells me at compile time(!), if the double data type for a given platform/board is a true double ...
Andy's user avatar
  • 123
1 vote
0 answers
73 views

I am using Raspberry Pi 4 to connect via usb to program ardino Nano, I intend to communicate with the nano via i2c, but this is irrelivant. With a fresh install of Arduino for ARM 32 bit I get this ...
Arcanist's user avatar
1 vote
0 answers
99 views

I'm wondering if it's possible to use GNU (g++) to compile a arduino Sketch. I wanna be able to unit test my code with catch2. g++ -std=c++11 <filename> works well with catch2, but I obviously ...
Nathan Almeida's user avatar
1 vote
1 answer
83 views

I've been putting a small helper library together which I'm just including manually via the libraries sub-directory. I've just made some changes to the library in the filesystem however when trying to ...
Madden's user avatar
  • 111
0 votes
1 answer
4k views

I have read the answers on this post, but they do not seem to be providing a solution for ESP32 boards. Is there a way to get the .name that is used from the boards.txt without modifying the platform....
CameFromSpace's user avatar
1 vote
0 answers
710 views

I have a wemos d1 mini and a mpu 6060 sensor. I am trying to send the data from the sensor to Firebase. However i have come across a hurdle which i cant seem to solve. This is my error, can you help ...
Hi tE's user avatar
  • 21
2 votes
0 answers
182 views

I'm having an irritating situation with my Arduino Uno wifi rev2 board. I made an installation with an LCD, keypad and little servo motor. I first wrote the code for my regular Arduino Uno and ...
imkeVr's user avatar
  • 161
1 vote
0 answers
1k views

It said it has mutiple libraries were found for "nRF24L01.h" but i check the Ardurino libraries I can only found one. And it work fine if I compile it to Arduino uno. //Include Libraries #include <...
tszkin lee's user avatar
4 votes
2 answers
6k views

How do I use the Arduino IDE to upload the last compiled code? I don't want to have to wait 2 minutes to upload compiled code when there are no changes. It's a big codebase, where I frequently make ...
steve antwan's user avatar
0 votes
1 answer
51 views

I had a recent memory issue where the resolution was to change the Tools > Partition setting. However this setting wasn't available in the Arduino IDE for the boards I was using (Huzzah32 and NodeMCU-...
Rob Sweet's user avatar
0 votes
2 answers
121 views

I use VSCode, not the Arduino IDE. I saw and tried to use a lot of code snippets which are provided for Arduino projects... So when I copy/paste these examples into my VSCode and try to compile it ...
Jan's user avatar
  • 103
0 votes
1 answer
231 views

I'm using Visual Studio Code with the Arduino extension. I have two workspaces each with a different sketch file loaded - Sketch_1 and Sketch_2. Sketch_1 will verify and upload properly. When I click ...
Don's user avatar
  • 1
1 vote
0 answers
191 views

I installed an Eclipse Version: 2018-12 (4.10.0) for Arduino. I’ve got an CDT Core Builder error when I try to compile. I’ve searched but cannot fix the problem.
IlgarSky's user avatar
1 vote
0 answers
380 views

EDIT: The problem is my op-code catch is op >= 0x20 || op <= 0x2F rather than op >= 0x20 && op <= 0x2F and so most of the switch-case was being optimised away! This is a really ...
Patrick's user avatar
  • 111
0 votes
1 answer
5k views

class A { virtual ~A(); } class B : public A { public: int foo; } void bar(A *foo_){ B* b = dynamic_cast<B*>(foo_); if(b != nullptr){ cout << (*foo_)->...
Bruno Lobo's user avatar
2 votes
0 answers
1k views

I have an Arduino IDE 1.8.5 setup (installed from the ZIP file) which I use to work exclusively with a single board. Every time the IDE is restarted, the first compilation takes much longer than ...
Dmitry Grigoryev's user avatar
1 vote
1 answer
86 views

I have a sketch containing the following method: // Writes zeros to the complete screen clearing it: void clearScreen(uint8_t val) { setDrawArea(0x00, 0x7f, 0x00, 0x07); // complete screen ...
needfulthing's user avatar
2 votes
0 answers
2k views

tl;dr at the end I was running two DS18B20+PAR temperature sensors without any problems for the last two years on an ESP-01 module running on 3.3V on GPIO 2 using a 4.7K pullup resistor. Now, ...
LeoDJ's user avatar
  • 21