mtd: update to 1-byte FRAM granularity

This commit is contained in:
Igor Mišić
2023-02-15 16:51:00 +01:00
parent fa31c128dd
commit b32ef40af7
19 changed files with 79 additions and 29 deletions
+2 -2
View File
@@ -247,7 +247,7 @@ static const px4_mtd_manifest_t default_mtd_config = {
#else
const px4_mft_device_t spifram = { // FM25V02A on FMUM 32K 512 X 64
const px4_mft_device_t spifram = { // FM25V02A on FMUM 32K 1 X 32768
.bus_type = px4_mft_device_t::SPI,
.devid = SPIDEV_FLASH(0)
};
@@ -259,7 +259,7 @@ const px4_mtd_entry_t fram = {
{
.type = MTD_PARAMETERS,
.path = "/fs/mtd_params",
.nblocks = 64
.nblocks = 32768
}
},
};