diff options
Diffstat (limited to 'nuttx/configs/px4fmu/nsh/defconfig')
-rwxr-xr-x | nuttx/configs/px4fmu/nsh/defconfig | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig index 52013457e..8a76f0e05 100755 --- a/nuttx/configs/px4fmu/nsh/defconfig +++ b/nuttx/configs/px4fmu/nsh/defconfig @@ -200,6 +200,10 @@ CONFIG_STM32_TIM9=y CONFIG_STM32_TIM10=y CONFIG_STM32_TIM11=y +# +# We want the flash prefetch on for max performance. +# +STM32_FLASH_PREFETCH=y # # Enable the MTD driver for the onboard I2C EEPROM @@ -348,9 +352,10 @@ CONFIG_CAN2_BAUD=700000 # I2C configuration # CONFIG_I2C=y -CONFIG_I2C_POLLED=y +#CONFIG_I2C_POLLED=y CONFIG_I2C_TRANSFER=y CONFIG_I2C_TRACE=n +CONFIG_I2C_RESET=y # Allow 180 us per byte, a wide margin for the 400 KHz clock we're using # e.g. 9.6 ms for an EEPROM page write, 0.9 ms for a MAG update CONFIG_STM32_I2CTIMEOUS_PER_BYTE=200 @@ -747,6 +752,8 @@ CONFIG_FS_ROMFS=y # CONFIG_MMCSD_SPICLOCK - Maximum SPI clock to drive MMC/SD card. # Default is 20MHz, current setting 24 MHz # +CONFIG_MMCSD=y +CONFIG_MMCSD_SPI=y CONFIG_MMCSD_NSLOTS=1 CONFIG_MMCSD_READONLY=n CONFIG_MMCSD_SPICLOCK=24000000 |