aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-12-18 12:15:29 +0100
committerRon Evans <[email protected]>2024-12-19 12:54:25 +0100
commit650776588351aac22c038605b959ae252a7faf6f (patch)
tree710fd9f129372afca7b5e6a917cb963339f8ff43
parenta98e35ebab07acc0be95bea1bbc94d71f089010e (diff)
downloadtinygo-650776588351aac22c038605b959ae252a7faf6f.tar.gz
tinygo-650776588351aac22c038605b959ae252a7faf6f.zip
feature: make RNG implementation shared for rp2040/rp2350
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--src/machine/machine_rp2_rng.go (renamed from src/machine/machine_rp2040_rng.go)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine_rp2040_rng.go b/src/machine/machine_rp2_rng.go
index 1706785d0..e619f0500 100644
--- a/src/machine/machine_rp2040_rng.go
+++ b/src/machine/machine_rp2_rng.go
@@ -1,4 +1,4 @@
-//go:build rp2040
+//go:build rp2040 || rp2350
// Implementation based on code located here:
// https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_lwip/random.c