Unable to compile for arduino

clively
Posts: 1
Joined: Sun Jun 16, 2024 2:43 pm

Unable to compile for arduino

Postby clively » Sun Jun 16, 2024 3:21 pm

Brand new installation of both the IDE and the esp32c6 device. I am trying to get just the basic blink code to work.

When I compile and upload to the device I get the below error. I cannot find a file named "{build.partitions}.csv" anywhere on my hard drive. When I look in the \\esp32\\3.0.1\\tools\\partitions\\ directory I do see 38 files, most of which are csv. Should I rename one of those?


Arduino IDE: 2.3.2
esp32: 3.0.1

Code: Select all


FQBN: esp32:esp32:esp32_family
Using board 'esp32_family' from platform in folder: C:\Users\me\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1
Using core 'arduino' from platform in folder: C:\Users\me\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.1

cmd /c if exist "C:\\Users\\me\\OneDrive\\Documents\\Arduino\\EspC6\\BlinkTwo\\partitions.csv" COPY /y "C:\\Users\\me\\OneDrive\\Documents\\Arduino\\EspC6\\BlinkTwo\\partitions.csv" "C:\\Users\\me\\AppData\\Local\\Temp\\arduino\\sketches\\5CE3DBD3A3B368CB3404222CC8A8C76D\\partitions.csv"
cmd /c if not exist "C:\\Users\\me\\AppData\\Local\\Temp\\arduino\\sketches\\5CE3DBD3A3B368CB3404222CC8A8C76D\\partitions.csv" if exist "\\partitions.csv" COPY "\\partitions.csv" "C:\\Users\\me\\AppData\\Local\\Temp\\arduino\\sketches\\5CE3DBD3A3B368CB3404222CC8A8C76D\\partitions.csv"
cmd /c if not exist "C:\\Users\\me\\AppData\\Local\\Temp\\arduino\\sketches\\5CE3DBD3A3B368CB3404222CC8A8C76D\\partitions.csv" COPY "C:\\Users\\me\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.1\\tools\\partitions\\{build.partitions}.csv" "C:\\Users\\me\\AppData\\Local\\Temp\\arduino\\sketches\\5CE3DBD3A3B368CB3404222CC8A8C76D\\partitions.csv"
The system cannot find the file specified.
exit status 1

Compilation error: exit status 1

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: Unable to compile for arduino

Postby lbernstone » Tue Jun 18, 2024 7:42 pm

{build.partitions} should be inherited from your board menu selections. esp32_family is a placeholder for all the variants, and is not intended to be used as an actual board. Choose the dev module for your variant (eg ESP32C6 Dev Module) as the board. Once that is set, you can choose the partition scheme you like from the list.

Who is online

Users browsing this forum: Baidu [Spider] and 125 guests