I have just switched to VS Code platform from Arduino. In Arduino IDE I was able to decide allocations of Flash to program code and LittleFS/SPIFFS. What is the way to do that when using VS IDE?
I need that because I had error messages telling that, my code size does not fit into available Flash. SO I have to be able to manipulate these parameters when uploading data image.
For ESP32 with 8MB Flash size I would use something like (In platformio.ini)
board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608
I don’t have any 8266 boards so don’t know if that works for them. You should check out the PlatformIO documentation.