Skip to content

Commit b95effb

Browse files
authored
machine: bump rp2350 CPUFrequency to 150 MHz (#4766)
Leave rp2040 speed bump to 200 MHz for a future change, because it requires bumping the core voltage as well[0]. [0] https://github.com/raspberrypi/pico-sdk/releases/tag/2.1.1
1 parent 92c130c commit b95effb

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/machine/machine_rp2_2040.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
)
1010

1111
const (
12+
cpuFreq = 125 * MHz
1213
_NUMBANK0_GPIOS = 30
1314
_NUMBANK0_IRQS = 4
1415
_NUMIRQ = 32

src/machine/machine_rp2_2350.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
)
1010

1111
const (
12+
cpuFreq = 150 * MHz
1213
_NUMBANK0_GPIOS = 48
1314
_NUMBANK0_IRQS = 6
1415
rp2350ExtraReg = 1

src/machine/machine_rp2_clocks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
func CPUFrequency() uint32 {
13-
return 125 * MHz
13+
return cpuFreq
1414
}
1515

1616
// clockIndex identifies a hardware clock

0 commit comments

Comments
 (0)