mirror of
https://github.com/platformio/platformio-core.git
synced 2025-11-01 06:31:42 +01:00
Make examples cross-boards, add README
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
#ifdef STM32L1
|
||||
#include <stm32l1xx_gpio.h>
|
||||
#include <stm32l1xx_rcc.h>
|
||||
#include <misc.h>
|
||||
#else
|
||||
#ifdef STM32F3
|
||||
#include <stm32f30x_gpio.h>
|
||||
#include <stm32f30x_rcc.h>
|
||||
#else
|
||||
#include <stm32f4xx_gpio.h>
|
||||
#include <stm32f4xx_rcc.h>
|
||||
#include <misc.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* timing is not guaranteed :) */
|
||||
void simple_delay(uint32_t us)
|
||||
|
||||
Reference in New Issue
Block a user