Arduino Blink example: add BluePill support

extensions
Volodymyr Shymanskyy 5 years ago
parent 81937f3550
commit dca0e58ea2

@ -7,7 +7,7 @@ To run the example:
```sh
pio run -e <device> -t upload && pio device monitor
```
Where `<device>` is one of: `ESP32`, `ESP8266`, `MKR1000`, `TinyBLE`, `Teensy31`, `WildFireV3`
Where `<device>` is one of: `ESP32`, `ESP8266`, `MKR1000`, `BluePill`, `TinyBLE`, `Teensy31`, `WildFireV3`
## Building the WebAssembly app

@ -47,6 +47,17 @@ src_build_flags =
-DLED_PIN=6
-O3 -flto
[env:BluePill]
platform = ststm32
board = bluepill_f103c8
framework = arduino
upload_protocol = stlink
monitor_speed = 115200
src_build_flags =
-DLED_PIN=PC13
-Os -flto
[env:TinyBLE]
platform = nordicnrf51
board = seeedTinyBLE

@ -4,11 +4,11 @@
* All rights reserved.
*/
#include <Arduino.h>
#include "m3/m3_api_defs.h"
#include "m3/m3_env.h"
#include <Arduino.h>
/*
* Note: each RawFunction should complete with one of these calls:
* m3ApiReturn(val) - Returns a value

Loading…
Cancel
Save