Search found 8 matches

by Serverguy
Sun Apr 27, 2025 3:54 pm
Forum: ESP32 Arduino
Topic: partition.csv in sketch folder being ignored
Replies: 4
Views: 1056

Re: partition.csv in sketch folder being ignored

No, the partitions layout is also being used, either in the original but probably in the .bin format, during loading data to spiffs, LittleFS or FAT. It is THE controlling file for memory layout.
by Serverguy
Sun Apr 27, 2025 3:52 pm
Forum: ESP32 Arduino
Topic: partition.csv in sketch folder being ignored
Replies: 4
Views: 1056

Re: partition.csv in sketch folder being ignored

partitions.csv is not only being looked at during compilation. It is also honored during uploading to LittleFS. Now what is being look at, at that time, is probably the loaded .bin image but I am not sure of that. I have not testing changing the partitions.csv between compilation and uploading files ...
by Serverguy
Sun Apr 27, 2025 3:49 pm
Forum: ESP32 Arduino
Topic: partition.csv in sketch folder being ignored
Replies: 4
Views: 1056

Re: partition.csv in sketch folder being ignored

This used to work. Using Custom or modifying the internal files is a loser because any upgrade loses those updates. The documentation says it works. It used to work. It now does NOT work and needs to be fixed. I tried this on 3.1.3 and 3.2.0 and it fails on both. I don't remember exactly when it ...
by Serverguy
Wed Apr 02, 2025 5:23 pm
Forum: ESP32 Arduino
Topic: Linker ignoring partitions.csv (worked 1 day ago)
Replies: 3
Views: 1062

Re: Linker ignoring partitions.csv (worked 1 day ago)

Although this file is shown as a Comma Separated Values file, it seems to be actually strictly setup depending on columns. I find no documentation on the column requirements but when I moved one column of numbers one row to the right, it totally confused the linker. So you have to be very careful ...
by Serverguy
Wed Apr 02, 2025 9:06 am
Forum: ESP32 Arduino
Topic: Linker ignoring partitions.csv (worked 1 day ago)
Replies: 3
Views: 1062

Linker ignoring partitions.csv (worked 1 day ago)

I have been loading up code and a huge LittleFS partition for a couple of weeks. I recently upgraded to 3.2.0 board definition and, now, the partitions.csv is being ignored. I have tried two formats, both of which worked yesterday, now both are ignored in v1 and v2.

Sketch uses 1317296 bytes (100 ...
by Serverguy
Fri Mar 21, 2025 6:02 am
Forum: ESP32 Arduino
Topic: partition.csv in sketch folder being ignored
Replies: 4
Views: 1056

partition.csv in sketch folder being ignored

I placed a partition.csv in my sketch folder as per the instructions on the Espressif site. It is being ignored. I tried partition.csv and partitions.csv. It makes no difference. Using the Arduino IDE version 1.8.19. Version 2.x has too many problems to be able to use it.

I am on board definitions ...
by Serverguy
Sat May 01, 2021 8:53 am
Forum: ESP32 Arduino
Topic: ESP32 malloc gives memory in invalid location or guru meditation
Replies: 5
Views: 9659

Re: ESP32 malloc gives memory in invalid location or guru meditation

I am allocating exactly what I need. If you read what is allocated, it is 76816 bytes from the heap. Apparently, there is 16 bytes of housekeeping. Do you still say that is the wrong size? I can actually read and write about 64% of this area before it blows up. Please look, again, carefully, at what ...
by Serverguy
Fri Apr 30, 2021 11:34 am
Forum: ESP32 Arduino
Topic: ESP32 malloc gives memory in invalid location or guru meditation
Replies: 5
Views: 9659

ESP32 malloc gives memory in invalid location or guru meditation

The ESP32 is allocating memory in an unusable area. There are variations of this error. The first variation is the one I want to work. I am allocating 76800 integers in a single array from the heap. The heap, to start with, is almost 300K. So giving me 76800 is not a problem. It does that. Then I ...

Go to advanced search