STM32F1 HAL

Adding files for STM32F1 HAL based on libmaple/stm32duino core.
Current persistent_store uses cardreader changes to be sent in separate
commit, but could be changed to use i2c eeprom.
This commit is contained in:
victorpv
2017-09-27 00:30:23 -05:00
committed by Scott Lahteine
parent baf0bd2b24
commit e9acb63290
23 changed files with 3349 additions and 2 deletions

View File

@ -91,6 +91,10 @@ void spiSendBlock(uint8_t token, const uint8_t* buf);
#define CPU_32_BIT
#include "math_32bit.h"
#include "HAL_LPC1768/HAL.h"
#elif defined(__STM32F1__)
#define CPU_32_BIT
#include "math_32bit.h"
#include "HAL_STM32F1/HAL_Stm32f1.h"
#else
#error "Unsupported Platform!"
#endif