-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
22 lines (19 loc) · 900 Bytes
/
platformio.ini
File metadata and controls
22 lines (19 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; ===================================================================================
; PlatformIO Project Configuration File
; ===================================================================================
; Project: CH32V003 Joypad Calibrator
; Author: Stefan Wagner
; Year: 2023
; URL: https://github.com/wagiminator
; ===================================================================================
; Install PlatformIO and CH32V:
; https://pio-ch32v.readthedocs.io/en/latest/
; https://github.com/Community-PIO-CH32V/platform-ch32v
; ===================================================================================
[env:CH32V003]
platform = https://github.com/Community-PIO-CH32V/platform-ch32v.git
board = genericCH32V003J4M6
build_flags = -I. -D F_CPU=12000000
board_build.ldscript = $PROJECT_DIR/ld/ch32v003.ld
board_build.use_lto = yes
upload_protocol = minichlink