Skip to content

Commit

Permalink
fix typo copy-paste: add spi dataflash for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetaevvitaliy committed Dec 26, 2024
1 parent f2f335c commit 5e13ef1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/AP_HAL_ChibiOS/hwdef/StellarF4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PA6 SPI1_MISO SPI1
PA7 SPI1_MOSI SPI1
PA4 GYRO1_CS CS

# spi2 for OSD and sdcard
# spi2 for OSD and dataflash
PB13 SPI2_SCK SPI2
PB14 SPI2_MISO SPI2
PB15 SPI2_MOSI SPI2
Expand Down Expand Up @@ -145,10 +145,10 @@ define HAL_I2C_INTERNAL_MASK 0
# Motor order implies Betaflight/X for standard ESCs
define HAL_FRAME_TYPE_DEFAULT 12

# filesystem setup on sdcard
# define HAL_OS_FATFS_IO 1
# define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
# define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
# enable logging to dataflash
define HAL_LOGGING_DATAFLASH_ENABLED 1
define HAL_STORAGE_SIZE 15360
STORAGE_FLASH_PAGE 1

# setup for OSD
define OSD_ENABLED 1
Expand Down

0 comments on commit 5e13ef1

Please sign in to comment.