px4 mtd:Support FlexSPI attached Devices

This commit is contained in:
David Sidrane
2023-10-25 04:05:13 -07:00
parent 416caf4f9a
commit bdb6f51e8b
3 changed files with 6 additions and 0 deletions
@@ -49,6 +49,7 @@ typedef struct {
I2C = 0,
SPI = 1,
ONCHIP = 2,
FLEXSPI = 3
} bus_type;
uint32_t devid;
@@ -82,4 +82,6 @@ int px4_at24c_initialize(FAR struct i2c_master_s *dev,
void px4_at24c_deinitialize(void);
weak_function int flexspi_attach(mtd_instance_s *instance);
__END_DECLS