PlatformIO part 1: Boards, Platforms, Frameworks and Packages
Mobilefish.com Mobilefish.com
28.3K subscribers
4,423 views
0

 Published On Nov 4, 2021

If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
   / mobilefish  

This is part 1 of the PlatformIO series.

In this video I will explain what boards, platforms, frameworks and packages are.

This presentation can be found at:
https://www.mobilefish.com/download/p...

All my PlatformIO videos and presentations can be found at:
https://www.mobilefish.com/developer/...

A toolchain is a set of tools that compiles source code into executables that can run on a device, and includes a compiler, a linker, run-time libraries, debugger or more.
To install a toolchain on PlatformIO you must first select the board, then the platform and last the framework.

A board is a printed circuit board with a microcontroller built onto it.
It usually has I/O circuits, a clock generator, RAM, flash memory and any necessary supported Integrated Circuits.

Usually each board provides support for one platform.
The Sipeed Longan Nano supports 3 platforms:
- GigaDevice GD32V
- Nuclei
- Rath RISC-V

Platform refers to the actual hardware or software development platform upon which a software is built for.
The hardware refers to a particular microcontroller or processor architecture that PlatformIO projects can be compiled to run on.

For each platform, PlatformIO defines:
- The PlatformIO Build System build scripts for the supported frameworks and SDKs
- Pre-configured presets for embedded circuit boards
- Pre-compiled toolchains and related tools for the architecture(s) to be installed
More information: https://docs.platformio.org/en/latest...

Framework refers to a collection of libraries/classes providing a scaffold for building software.
The framework provides the APIs to call from your application to interface with hardware peripherals or device drivers.
By selecting a framework, it also means your project can only use a certain set of libraries.

A package is a tool or framework that can be used when compiling one or more platforms.
PlatformIO has a registry with pre-built packages for the most popular operating systems, see:
https://api.registry.platformio.org

PlatformIO supports over 1000 boards and these boards can be found when using the PlatformIO Project Wizard.

https://platformio.org/boards
https://platformio.org/platforms
https://platformio.org/frameworks

More information about PlatformIO Core Command Line Interface (CLI):
https://docs.platformio.org/en/latest...

Subscribe to my YouTube channel:
   / @mobilefish  

#mobilefish #platformio #sipeed

show more

Share/Embed