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
440 views

Problem converting a sketch from SPIFFS to LittleFS - no matching function for call error

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
0 votes
1 answer
374 views

The Arduino copy of example code for tone() function produces a compile error: 'tone' is not declared in this scope. How can I fix this?

It's 32-bit ARM core processor is SAM3X8E ARM Cortex-M3 CPU. Error: sketch_nov16b\sketch_nov16b.ino: In function 'void setup()': sketch_nov16b:49:43: error: 'tone' was not declared in this scope tone(...
JohnB's user avatar
  • 11
2 votes
1 answer
510 views

How to find out all #define used by arduino-cli in compile?

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
4 votes
3 answers
619 views

How to compile without adding the bootloader?

I'm using a standalone atmega328p with a 16MHz crystal. I'm programming it via avrdude on a raspberry pi, using the SPI and RESET pins. When I compile my program, this is what I see at the end of the ...
php_nub_qq's user avatar
1 vote
0 answers
53 views

Sketch does not run right when uploaded via Arduino IDE vs PlatfomIO

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
2 votes
5 answers
384 views

Break a big file into smaller files

I had a really big .ino file and I decided to break it down into sub-files. So I had the .ino file, the globals.h file and the functions.h file. I moved all the global vars and functions to their ...
user1584421's user avatar
  • 1,425
5 votes
1 answer
1k views

Library not found when using the arduino-cli command (although working with the Arduino IDE)

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
0 votes
1 answer
1k views

"previous declaration of 'HTTPMethod HTTP_HEAD'"

I'm getting the following error when I try to compile my code on my LOLIN(WeMos) D1 R1: In file included from C:\Users\Administrator\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:17, ...
T R Y's user avatar
  • 75
4 votes
2 answers
405 views

How to cut down size of imported DigiKeyboard library

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
0 votes
0 answers
179 views

Disable USB support for mega32u4

I have a custom Leonardo board (mega32u4-based) that does not use at all the USB features. When I build my sketch (vscode and platformio) I read: Compiling .pio/build/leonardo/FrameworkArduino/CDC.cpp....
Mark's user avatar
  • 393
2 votes
2 answers
286 views

How to install the application + its configuration to many devices of the same kind? (ESP32)

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
1 vote
0 answers
148 views

Error compiling arduino sketch to seeduino xiao for RF24 Module

I am trying to get 2 rf24 modules talking to each other. This is my first real arduino project so bear with my ignorance please. I could get them to work with 2 arduino nano but, when trying to ...
Luke's user avatar
  • 11
0 votes
1 answer
3k views

Random "Compilation error: Error: 13 INTERNAL: exit status 1". No clue how to resolve or even what causes this error

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
0 votes
4 answers
1k views

What should I do with stackOverflow in compile error?

I don't have port, but when I want to compile my code (even empty files), I encounter this error: Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 9 ...
dorsa's user avatar
  • 9
2 votes
1 answer
209 views

Conditional compilation depending on sizeof(double)

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

15 30 50 per page
1
2 3 4 5
11