Revert "all: move stm32 files to separate repository"

This reverts commit 644356c220.
This commit is contained in:
sago35
2022-02-25 19:11:49 +09:00
committed by Ron Evans
parent cbfa85be6a
commit d65e3deccf
76 changed files with 89 additions and 81 deletions
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -3,7 +3,7 @@
package machine
import "tinygo.org/x/device/stm32"
import "device/stm32"
const deviceName = stm32.Device
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
"unsafe"
)
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
"unsafe"
)
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
func getEXTIConfigRegister(pin uint8) *volatile.Register32 {
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
func getEXTIConfigRegister(pin uint8) *volatile.Register32 {
+1 -1
View File
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
func getEXTIConfigRegister(pin uint8) *volatile.Register32 {
@@ -4,8 +4,8 @@
package machine
import (
"device/stm32"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
func getEXTIConfigRegister(pin uint8) *volatile.Register32 {
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
// This variant of the GPIO input interrupt logic is for
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
// This variant of the GPIO input interrupt logic is for
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
//
+1 -1
View File
@@ -7,7 +7,7 @@ package machine
// of MCUs.
import (
"tinygo.org/x/device/stm32"
"device/stm32"
"unsafe"
)
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
"unsafe"
)
+1 -1
View File
@@ -4,7 +4,7 @@
package machine
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
// GPIO for the stm32 families except the stm32f1xx which uses a simpler but
+1 -1
View File
@@ -3,7 +3,7 @@
package machine
import "tinygo.org/x/device/stm32"
import "device/stm32"
var rngInitDone = false
+1 -1
View File
@@ -6,8 +6,8 @@ package machine
// Peripheral abstraction layer for SPI on the stm32 family
import (
"device/stm32"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -7,9 +7,9 @@ package machine
// depending on the size of that register in the MCU's TIM_Type structure.
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
const PWM_MODE1 = 0x6
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for UARTs on the stm32 family.
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for the stm32.
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,10 +6,10 @@ package machine
// Peripheral abstraction layer for the stm32f4
import (
"device/stm32"
"math/bits"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for the stm32f4
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,7 +6,7 @@ package machine
// Peripheral abstraction layer for the stm32f407
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
func CPUFrequency() uint32 {
+1 -1
View File
@@ -6,8 +6,8 @@ package machine
// Peripheral abstraction layer for the stm32l0
import (
"device/stm32"
"runtime/interrupt"
"tinygo.org/x/device/stm32"
)
func CPUFrequency() uint32 {
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for the stm32l0
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for the stm32l0
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -4,9 +4,9 @@
package machine
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,9 +6,9 @@ package machine
// Peripheral abstraction layer for the stm32l5
import (
"device/stm32"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -6,7 +6,7 @@ package machine
// Peripheral abstraction layer for the stm32f407
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
func CPUFrequency() uint32 {
+1 -1
View File
@@ -6,10 +6,10 @@ package machine
// Peripheral abstraction layer for the stm32wle5
import (
"device/stm32"
"math/bits"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
"unsafe"
)
+1 -1
View File
@@ -11,10 +11,10 @@ package runtime
// Output Comparator used for fine-grained sleeps.
import (
"device/stm32"
"machine"
"runtime/interrupt"
"runtime/volatile"
"tinygo.org/x/device/stm32"
)
type timerInfo struct {
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
func init() {
+1 -1
View File
@@ -5,8 +5,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
func init() {
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -3,7 +3,7 @@
package runtime
import "tinygo.org/x/device/stm32"
import "device/stm32"
/*
clock settings
+1 -1
View File
@@ -3,7 +3,7 @@
package runtime
import "tinygo.org/x/device/stm32"
import "device/stm32"
/*
clock settings
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
/*
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (
+1 -1
View File
@@ -4,7 +4,7 @@
package runtime
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
/*
+1 -1
View File
@@ -4,7 +4,7 @@
package runtime
import (
"tinygo.org/x/device/stm32"
"device/stm32"
)
/*
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
/*
+1 -1
View File
@@ -4,8 +4,8 @@
package runtime
import (
"device/stm32"
"machine"
"tinygo.org/x/device/stm32"
)
const (