Bring STM32F4/F7 together
This commit is contained in:
@ -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 = (
|
||||
|
@ -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];
|
||||
|
Reference in New Issue
Block a user