-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
29 lines (26 loc) · 874 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[platformio]
default_envs =
xiaomiCyberGear
[env:xiaomiCyberGear]
board = xiaomi_cybergear
framework = arduino
platform = https://github.com/owennewo/platform-gd32.git#cybergear
platform_packages =
framework-arduinogd32@https://github.com/owennewo/ArduinoCore-GD32.git#cybergear
monitor_speed = 115200
build_type = debug
build_unflags =
; -D __SYSTEM_CLOCK_120M_PLL_HXTAL
build_flags =
-DDEFAULT_HWSERIAL_INSTANCE=2
; -D GD32F30X_HD # This chip is high density
; -D __SYSTEM_CLOCK_120M_PLL_HXTAL # I think this is the defaultRE
; -D HXTAL_VALUE=16000000
; -D CAN_DEBUG
-D CAN_HOWMANY=1
-D PIN_CAN0_RX=PB8
-D PIN_CAN0_TX=PB9
lib_deps =
https://github.com/owennewo/SimpleCAN.git#gigadevice_support
https://github.com/owennewo/Arduino-FOC-drivers#infineon-6EDL7141
https://github.com/owennewo/Arduino-FOC#cybergear