You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/08/12 13:52:04 UTC

[GitHub] [incubator-nuttx] xiaomi-hujie commented on a change in pull request #4334: esp32c3:modify esp32c3 flash block size

xiaomi-hujie commented on a change in pull request #4334:
URL: https://github.com/apache/incubator-nuttx/pull/4334#discussion_r687731590



##########
File path: arch/risc-v/src/esp32c3/Kconfig
##########
@@ -261,6 +261,10 @@ config ESP32C3_SPIFLASH
 	select MTD_BYTE_WRITE
 	select MTD_PARTITION
 
+config ESP32C3_SPIFLASH_BLOCK_SIZE
+	int "SPI FLASH BLOCK SIZE"
+	default 64

Review comment:
       no, because the littlefs chche size default value is 4 * flash_block_size, prog size default value is flash_block_size, prog size smaller, flash memory usage higher.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org