mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
Improvements for stm32wle targets :
- board/stm32: Add STM32 Nucleo WL55JC board - stm32/stm32wl: Set 48Mhz HSE32/PLL as default Clock, SPI implementation
This commit is contained in:
committed by
Ron Evans
parent
718746dd21
commit
b0fce80b50
@@ -9,8 +9,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
LED1 = PB5
|
||||
LED = LED1 // Default LED
|
||||
// We assume a LED is connected on PB5
|
||||
LED = PB5 // Default LED
|
||||
)
|
||||
|
||||
// SubGhz (SPI3)
|
||||
@@ -46,6 +46,11 @@ var (
|
||||
RxAltFuncSelector: AF7_USART1_2,
|
||||
}
|
||||
DefaultUART = UART0
|
||||
|
||||
// SPI
|
||||
SPI3 = SPI{
|
||||
Bus: stm32.SPI3,
|
||||
}
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user