aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-12-18 12:15:29 +0100
committerdeadprogram <[email protected]>2024-12-18 19:43:16 +0100
commit8ddc359780af4ceb54c38b891c6bfc7f865ac737 (patch)
treeabb8427ad0d25079e099f72e5d70fad718a0d18d
parent37f35f8c910b05e2040433448546f41b34535b32 (diff)
downloadtinygo-8ddc359780af4ceb54c38b891c6bfc7f865ac737.tar.gz
tinygo-8ddc359780af4ceb54c38b891c6bfc7f865ac737.zip
feature: make RNG implementation shared for rp2040/rp2350rp2350-rng
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