AUTHOR: Logan Duong

Your show and tell can be about anything you accomplished other than research. This is about an action realized.

<aside> ❓ Tutorial: Clearly explain the necessary information and actions to arrive at an outcome

</aside>

Outcome

Initial Goal: Use the same dev environment pollen uses to program their Luos Boards

Realized Outcome:

Steps to achieve outcome

Download your IDE of choice that supports platform.io*.* I used visual studio code. Through the visual studio code extensions page, you can download the platform.io extension which is built into visual studio code. Search for it through the extension tab

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7784f15e-b8af-4634-8970-8de54dcbedd4/Untitled.png

After installation, the platform.io icon should appear in the sidebar. Click it to go to the homepage. From there, you can create a new project.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/08f0bb5f-ca62-4ed7-b698-cc2500c3d358/Untitled.png

Create a new project and name it whatever you like. The selected board should be the STM32F072-EVAL. Select STM32Cube as the framework.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b875b40c-740e-48fa-b629-68444b4187aa/Untitled.png

There should be a "platformio.ini" config file in the project browser. Open it up and paste this code:

[env:eval_f072vb]

platform = ststm32

board = eval_f072vb

framework = stm32cube

build_flags = 

    -D USE_FULL_LL_DRIVER

    -D USE_HAL_DRIVER

    -I Inc

    -DLUOSHAL=STM32F0

lib_extra_dirs = 
    C:\\Workspace\\Luos