We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed5a14e commit 620cd38Copy full SHA for 620cd38
cores/esp8266/Esp.h
@@ -25,10 +25,9 @@
25
26
#define PUYASUPPORT
27
#ifndef PUYA_BUFFER_SIZE
28
- // Good alternative for buffer size is: SPI_FLASH_SEC_SIZE
29
- // 512 bytes is a reasonable trade-off between memory use and write cycles.
+ // Good alternative for buffer size is: SPI_FLASH_SEC_SIZE (= 4k)
30
// Always use a multiple of flash page size (256 bytes)
31
- #define PUYA_BUFFER_SIZE 512
+ #define PUYA_BUFFER_SIZE 256
32
#endif
33
34
/**
0 commit comments