mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-10-31 18:04:27 +00:00
Merge pull request #110 from erichelgeson/eric/APM32F103C8-support
Add support for the APM32F103C8T6 chip, a clone of the STM32F103
This commit is contained in:
commit
853956e441
@ -29,6 +29,14 @@ board = genericSTM32F103C8
|
||||
board_build.mcu = stm32f103c8t6
|
||||
board_build.core = maple
|
||||
|
||||
[env:APM32F103C8]
|
||||
# The APM32F1's default clock is 96MHz and runs unstable at 72MHz(STM32F1's default)
|
||||
extends = env:STM32F103C8
|
||||
# Explicilty define the multiplier as maple only handles a few cases.
|
||||
build_flags = ${env.build_flags} -DBOARD_RCC_PLLMUL=RCC_PLLMUL_12 #96000000L
|
||||
# Or go all out at 128Mhz, your call :)
|
||||
#board_build.f_cpu = 128000000L
|
||||
|
||||
[env:STM32F103C8-XCVR]
|
||||
extends = env:STM32F103C8
|
||||
build_flags = ${env.build_flags} -DXCVR
|
||||
|
Loading…
Reference in New Issue
Block a user