Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
qitas committed Aug 3, 2024
1 parent 075013b commit 977fbb0
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 75 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

103 changes: 58 additions & 45 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,77 @@
name: Examples
name: examples

on: [push, pull_request]
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.rst'
- 'LICENSE'
- '.gitignore'

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/arduino-blink"
- "examples/arduino-external-libs"
- "examples/arduino-internal-libs"
- "examples/arduino-mbed-doom"
- "examples/arduino-mbed-rpc"
- "examples/arduino-mxchip-azureiot"
- "examples/arduino-mxchip-filesystem"
- "examples/arduino-mxchip-sensors"
- "examples/arduino-mxchip-wifiscan"
- "examples/cmsis-blink"
- "examples/libopencm3-1bitsy"
- "examples/libopencm3-blink"
- "examples/libopencm3-usb-cdcacm"
- "examples/mbed-rtos-blink-baremetal"
- "examples/mbed-rtos-custom-target"
- "examples/mbed-rtos-ethernet-tls"
- "examples/mbed-rtos-events"
- "examples/mbed-rtos-filesystem"
- "examples/mbed-rtos-mesh-minimal"
- "examples/mbed-rtos-serial"
- "examples/mbed-rtos-usb-keyboard"
- "examples/mbed-rtos-sockets"
- "examples/spl-blink"
- "examples/stm32cube-hal-blink"
- "examples/stm32cube-hal-eeprom-emulation"
- "examples/stm32cube-hal-extmem-boot"
- "examples/stm32cube-hal-iap"
- "examples/stm32cube-hal-lcd"
- "examples/stm32cube-hal-usb-device-dfu"
- "examples/stm32cube-hal-wifi-client"
- "examples/stm32cube-ll-blink"
- "examples/zephyr-blink"
- "examples/zephyr-cpp-synchronization"
- "examples/zephyr-drivers-can"
- "examples/zephyr-net-https-client"
- "examples/zephyr-subsys-usb-hid-mouse"
- "tests/arduino-blink-different-cores"
- "arduino-blink"
- "arduino-external-libs"
- "arduino-internal-libs"
- "arduino-mbed-doom"
- "arduino-mbed-rpc"
- "arduino-mxchip-azureiot"
- "arduino-mxchip-filesystem"
- "arduino-mxchip-sensors"
- "arduino-mxchip-wifiscan"
- "cmsis-blink"
- "libopencm3-1bitsy"
- "libopencm3-blink"
- "libopencm3-usb-cdcacm"
- "mbed-rtos-blink-baremetal"
- "mbed-rtos-custom-target"
- "mbed-rtos-ethernet-tls"
- "mbed-rtos-events"
- "mbed-rtos-filesystem"
- "mbed-rtos-mesh-minimal"
- "mbed-rtos-serial"
- "mbed-rtos-sockets"
- "mbed-rtos-usb-keyboard"
- "spl-blink"
- "stm32cube-hal-blink"
- "stm32cube-hal-eeprom-emulation"
- "stm32cube-hal-extmem-boot"
- "stm32cube-hal-iap"
- "stm32cube-hal-lcd"
- "stm32cube-hal-usb-device-dfu"
- "stm32cube-hal-wifi-client"
- "stm32cube-ll-blink"
- "zephyr-blink"
- "zephyr-cpp-synchronization"
- "zephyr-drivers-can"
- "zephyr-net-https-client"
- "zephyr-subsys-usb-hid-mouse"
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.OSQ_REPO_TOKEN }}
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v3

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: '3.11'
architecture: 'x64'

- name: Install dependencies
run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pip install -U https://github.com/os-q/pio/archive/develop.zip
pio pkg install --global --platform symlink://.
- name: Build examples
working-directory: examples
run: |
pio run -d ${{ matrix.example }}
38 changes: 9 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,15 @@
# ST STM32: development platform for [PlatformIO](https://platformio.org)
# [platform-stm32](https://github.com/os-q/platform-stm32)

[![Build Status](https://github.com/platformio/platform-ststm32/workflows/Examples/badge.svg)](https://github.com/platformio/platform-ststm32/actions)
[![Build Status](https://github.com/os-q/platform-ststm32/workflows/examples/badge.svg)](https://github.com/os-q/platform-ststm32/actions/workflows/examples.yml)

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.

* [Home](https://registry.platformio.org/platforms/platformio/ststm32) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/ststm32.html) (advanced usage, packages, boards, frameworks, etc.)

# Usage

1. [Install PlatformIO](https://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file:

## Stable version

```ini
[env:stable]
platform = ststm32
board = ...
...
切换下载工具
```bash
debug_tool = cmsis-dap
upload_protocol = cmsis-dap
```

## Development version

```ini
[env:development]
platform = https://github.com/platformio/platform-ststm32.git
board = ...
...
```

# Configuration

Please navigate to [documentation](https://docs.platformio.org/page/platforms/ststm32.html).
| spl | arduino | cmsis | libopencm3 | mbed-rtos | cube-hal | zephyr |
| ----- | ------- | ----- | ---------- | --------- | -------- | ------ |
| 2.10201.0 | 4.20701.0 | 2.50900.0 | 1.10000.0 | 6.61700.0 || 2.30600.0 |

0 comments on commit 977fbb0

Please sign in to comment.