machine/rp2350: extending support to include the rp2350b

This commit is contained in:
soypat
2025-02-09 21:12:22 -03:00
committed by Ron Evans
parent e7118e5bda
commit 0ec1cb1e19
10 changed files with 133 additions and 69 deletions
-6
View File
@@ -13,12 +13,6 @@ func CPUFrequency() uint32 {
return 125 * MHz
}
// Returns the period of a clock cycle for the raspberry pi pico in nanoseconds.
// Used in PWM API.
func cpuPeriod() uint32 {
return 1e9 / CPUFrequency()
}
// clockIndex identifies a hardware clock
type clockIndex uint8