Bring STM32F4/F7 together

This commit is contained in:
Scott Lahteine
2019-07-09 23:54:34 -05:00
parent cf9ac4c847
commit ad1c061e7b
49 changed files with 197 additions and 1905 deletions

View File

@ -83,7 +83,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
return false;
}
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing) {
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
// Read from either external EEPROM, program flash or Backup SRAM
const uint8_t c = (

View File

@ -30,10 +30,8 @@
#ifdef __STM32F1__
#include "../HAL_STM32F1/fastio_STM32F1.h"
#elif defined(STM32F4)
#include "../HAL_STM32F4/fastio_STM32F4.h"
#elif defined(STM32F7)
#include "../HAL_STM32F7/fastio_STM32F7.h"
#elif defined(STM32F4) || defined(STM32F7)
#include "../HAL_STM32_F4_F7/fastio_STM32_F4_F7.h"
#endif
extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS];