diff --git a/README.md b/README.md
index faa576c..2d87c9d 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,10 @@
+# IMPORTANT!
+This is a Old and rather Obsolete sketch; it only works with a very old version of the ESP32 Arduino core (2.0.2) and is missing all the improvements that espressif have made since then..
+
+It is also quite popular (Hi YouTubers!!) so I do not simply want to 'hard abandon' it without giving people a clue about where to go next..!
+
+I am in the process of archiving it; expect some additional instructions and links to alternatives to appear here soon.
+
# ESP32-CAM example revisited. [](https://travis-ci.com/github/easytarget/esp32-cam-webserver) 
## Taken from the ESP examples, and expanded
diff --git a/esp32-cam-webserver.ino b/esp32-cam-webserver.ino
index 38b22fa..64d6483 100644
--- a/esp32-cam-webserver.ino
+++ b/esp32-cam-webserver.ino
@@ -335,17 +335,12 @@ void StartCamera() {
config.pin_reset = RESET_GPIO_NUM;
config.xclk_freq_hz = xclk * 1000000;
config.pixel_format = PIXFORMAT_JPEG;
+ // Low(ish) default framesize and quality
+ config.frame_size = FRAMESIZE_SVGA;
+ config.jpeg_quality = 12;
+ config.fb_location = CAMERA_FB_IN_PSRAM;
+ config.fb_count = 2;
config.grab_mode = CAMERA_GRAB_LATEST;
- // Pre-allocate large buffers
- if(psramFound()){
- config.frame_size = FRAMESIZE_UXGA;
- config.jpeg_quality = 10;
- config.fb_count = 2;
- } else {
- config.frame_size = FRAMESIZE_SVGA;
- config.jpeg_quality = 12;
- config.fb_count = 1;
- }
#if defined(CAMERA_MODEL_ESP_EYE)
pinMode(13, INPUT_PULLUP);
@@ -410,8 +405,6 @@ void StartCamera() {
// set initial frame rate
#if defined(DEFAULT_RESOLUTION)
s->set_framesize(s, DEFAULT_RESOLUTION);
- #else
- s->set_framesize(s, FRAMESIZE_SVGA);
#endif
/*
diff --git a/platformio.ini b/platformio.ini
index 8317bf4..cabb5b4 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -35,7 +35,7 @@ src_dir = ./
[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
-platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.2
+platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.3
board = esp32dev
board_build.partitions = min_spiffs.csv
framework = arduino