AP_HAL: default SITL and Linux to have 4MB of "flash"
This commit is contained in:
parent
894b99fce5
commit
bc1c305629
@ -341,6 +341,10 @@
|
||||
#error "no Linux board subtype set"
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_FLASH_SIZE
|
||||
#define BOARD_FLASH_SIZE 4096
|
||||
#endif
|
||||
|
||||
#ifndef HAL_OPTFLOW_PX4FLOW_I2C_ADDRESS
|
||||
#define HAL_OPTFLOW_PX4FLOW_I2C_ADDRESS 0x42
|
||||
#endif
|
||||
|
@ -29,6 +29,10 @@
|
||||
#define HAL_FLASH_ALLOW_UPDATE 0
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_FLASH_SIZE
|
||||
#define BOARD_FLASH_SIZE 4096
|
||||
#endif
|
||||
|
||||
#ifndef HAL_STORAGE_SIZE
|
||||
#define HAL_STORAGE_SIZE 32768
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user