# SPL

Configuration

  framework = `spl`

The ST Standard Peripheral Library provides a set of functions for handling the peripherals on the STM32 Cortex-M3 family. The idea is to save the user (the new user, in particular) having to deal directly with the registers.

For more detailed information please visit vendor site.

Contents

- Examples

- Debugging

- Examples

- Platforms

- Boards

## Examples

All project examples are located in PlatformIO repository Examples for SPL framework.

- Blink

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

- Tools & Debug Probes

  - On-Board Debug Tools

  - External Debug Tools

### Tools & Debug Probes

Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.

#### On-Board Debug Tools

Boards listed below have on-board debug probe and ARE READY for debugging! You do not need to use/buy external debug probe.

Name | Platform | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
Armstrap Eagle 1024 | ST STM32 | STM32F417VGT6 | 168MHz | 1MB | 192KB
Armstrap Eagle 2048 | ST STM32 | STM32F427VIT6 | 168MHz | 1.99MB | 256KB
Armstrap Eagle 512 | ST STM32 | STM32F407VET6 | 168MHz | 512KB | 192KB
RushUp Cloud-JAM | ST STM32 | STM32F401RET6 | 84MHz | 512KB | 96KB
ST Nucleo F401RE | ST STM32 | STM32F401RET6 | 84MHz | 512KB | 96KB
ST STM32F3DISCOVERY | ST STM32 | STM32F303VCT6 | 72MHz | 256KB | 48KB
ST STM32F4DISCOVERY | ST STM32 | STM32F407VGT6 | 168MHz | 1MB | 128KB
ST STM32LDISCOVERY | ST STM32 | STM32L152RBT6 | 32MHz | 128KB | 16KB
ST STM8S-DISCOVERY | ST STM8 | STM8S105C6T6 | 16MHz | 32KB | 2KB

#### External Debug Tools

Boards listed below are compatible with PIO Unified Debugger but DEPEND ON external debug probe. They ARE NOT READY for debugging. Please click on board name for the further details.

Name | Platform | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
1Bitsy | ST STM32 | STM32F415RGT | 168MHz | 1MB | 128KB
STM32F401RB (64k RAM. 128k Flash) | ST STM32 | STM32F401RB | 84MHz | 128KB | 64KB
STM32F401RC (64k RAM. 256k Flash) | ST STM32 | STM32F401RC | 84MHz | 256KB | 64KB
STM32F401RE (96k RAM. 512k Flash) | ST STM32 | STM32F401RE | 84MHz | 512KB | 96KB

## Examples

- SPL for ST STM32

- SPL for ST STM8

## Platforms

Name | Description
--- | ---
ST STM32 | The STM32 family of 32-bit Flash MCUs based on the ARM Cortex-M processor is designed to offer new degrees of freedom to MCU users. It offers a 32-bit product range that combines very high performance, real-time capabilities, digital signal processing, and low-power, low-voltage operation, while maintaining full integration and ease of development.
ST STM8 | The STM8 is an 8-bit microcontroller family by STMicroelectronics an extended variant of the ST7 microcontroller architecture. STM8 microcontrollers are particularly low cost for a full-featured 8-bit microcontroller.

## Boards

Note

- You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer

- For more detailed `board` information please scroll the tables below by horizontally.

### 1BitSquared

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
1Bitsy | ST STM32 | External | STM32F415RGT | 168MHz | 1MB | 128KB

### Armstrap

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
Armstrap Eagle 1024 | ST STM32 | On-board | STM32F417VGT6 | 168MHz | 1MB | 192KB
Armstrap Eagle 2048 | ST STM32 | On-board | STM32F427VIT6 | 168MHz | 1.99MB | 256KB
Armstrap Eagle 512 | ST STM32 | On-board | STM32F407VET6 | 168MHz | 512KB | 192KB

### Generic

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
STM32F401RB (64k RAM. 128k Flash) | ST STM32 | External | STM32F401RB | 84MHz | 128KB | 64KB
STM32F401RC (64k RAM. 256k Flash) | ST STM32 | External | STM32F401RC | 84MHz | 256KB | 64KB
STM32F401RE (96k RAM. 512k Flash) | ST STM32 | External | STM32F401RE | 84MHz | 512KB | 96KB

### RushUp

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
RushUp Cloud-JAM | ST STM32 | On-board | STM32F401RET6 | 84MHz | 512KB | 96KB

### ST

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
ST Nucleo F401RE | ST STM32 | On-board | STM32F401RET6 | 84MHz | 512KB | 96KB
ST STM32F3DISCOVERY | ST STM32 | On-board | STM32F303VCT6 | 72MHz | 256KB | 48KB
ST STM32F4DISCOVERY | ST STM32 | On-board | STM32F407VGT6 | 168MHz | 1MB | 128KB
ST STM32LDISCOVERY | ST STM32 | On-board | STM32L152RBT6 | 32MHz | 128KB | 16KB
ST STM8S-DISCOVERY | ST STM8 | On-board | STM8S105C6T6 | 16MHz | 32KB | 2KB
ST STM8S103F3 Breakout Board | ST STM8 | No | STM8S103F3P6 | 16MHz | 8KB | 1KB
ST STM8S105K4T6 Breakout Board | ST STM8 | No | STM8S105K4T6 | 16MHz | 16KB | 2KB

### sduino

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
sduino MB (STM8S208MBT6B) | ST STM8 | No | STM8S208MBT6 | 16MHz | 128KB | 6KB
sduino UNO (STM8S105K6) | ST STM8 | No | STM8S105K6T6 | 16MHz | 32KB | 2KB