mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 04:21:37 +08:00
mtd: update to 1-byte FRAM granularity
This commit is contained in:
Submodule platforms/nuttx/NuttX/nuttx updated: 35997053c5...43d5a11778
@@ -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
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user