# STM32 PlatformIO

**URL:** <https://community.openenergymonitor.org/t/stm32-platformio/7015>\
**Category:** Hardware\
**Tags:** platformio, stm32\
**Created:** [26 March 2018 15:28 UTC](https://community.openenergymonitor.org/t/stm32-platformio/7015 "2018-03-26T15:28:51Z")\
**Posts on this page:** 1\
**Showing post:** 83

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [14 January 2019 18:01 UTC](https://community.openenergymonitor.org/t/stm32-platformio/7015/83 "2019-01-14T18:01:57Z")

</div>

Just a note to add that support for the `STM32F303CBT6` MCU as used in the latest prototype has now beed added to platformIO

> [@STM32 Development](https://community.openenergymonitor.org/t/stm32-development/6815/280):
>
> I’m happy to say everything worked with the first prototype PCB! With special thanks to @danbates designer of [emonDC](https://community.openenergymonitor.org/t/dcduo-board-update/9189) for helping to assemble the board with his SMT soldering skills and @dBC for finding the issues fixed above that meant all of this worked. So far we have tested: Power supply ST-LINK firmware upload Serial firmware upload RaspberryPi automated serial upload procedure LED indicator 8MHZ HSE oscillator CT and ACAC power measurement DS18B20 temperature sensing input Pulse countin…

I’ve added a `platformio.ini` file to the repo:

> <https://github.com/openenergymonitor/STM32/commit/96b0176eb424e00c3b7c6e62f95b6508e65c4cde>

All that’s needed to compile and upload and view serial is

```auto
$ git clone https://github.com/openenergymonitor/STM32
$ cd Emon3CT_CB
$ pio run -t upload
$ pio device monitor
```

---

_[View the full topic](https://community.openenergymonitor.org/t/stm32-platformio/7015)._
