🏗️ Define HAL_STM32 for HAL/STM32 (#22537)

This commit is contained in:
Scott Lahteine
2021-08-08 21:31:10 -05:00
committed by GitHub
parent 331cc5fd6a
commit 76c10b3e02
34 changed files with 105 additions and 57 deletions

View File

@@ -19,7 +19,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC) && !defined(MAPLE_STM32F1)
#include "../platforms.h"
#ifdef HAL_STM32
/**
* Implementation of EEPROM settings in SD Card
@@ -88,4 +90,4 @@ bool PersistentStore::read_data(int &pos, uint8_t *value, const size_t size, uin
}
#endif // SDCARD_EEPROM_EMULATION
#endif // ARDUINO_ARCH_STM32 && !STM32GENERIC && !MAPLE_STM32F1
#endif // HAL_STM32