William Vinnicombe
cd11286868
Add user callbacks to rom_secure_call
2025-12-04 12:00:30 +00:00
William Vinnicombe
362f83ed2c
Make that work correctly
2025-12-04 10:31:59 +00:00
William Vinnicombe
0f8d15cf13
Add pico_set_security_ram_split for simple split configuration
2025-12-04 10:14:45 +00:00
William Vinnicombe
6ef5d37d99
Improve secure call defines
2025-12-04 10:14:45 +00:00
William Vinnicombe
c606caf65e
Fix libraries
2025-12-04 10:14:45 +00:00
William Vinnicombe
3326a5fb86
Add CMake function docs
2025-12-04 10:14:45 +00:00
William Vinnicombe
4c3543e4e5
Add nonsecure USB support
2025-12-04 10:14:45 +00:00
William Vinnicombe
326e945641
Tidy up runtime init
2025-12-04 10:14:45 +00:00
William Vinnicombe
3d47f3e26b
Add rom_get_owned_partition and rom_roll_qmi_to_partition functions
...
Make rolling XIP to the non-secure partition easier
2025-12-04 10:14:45 +00:00
William Vinnicombe
021b00fbb5
Add secure hardfault handler function
2025-12-04 10:14:45 +00:00
William Vinnicombe
52c22c74d1
Add pico_secure library with non-bootrom-related secure setup code
2025-12-04 10:14:45 +00:00
William Vinnicombe
25e2edd04e
Add pads_bank0 helper functions for E3
2025-12-04 10:14:45 +00:00
William Vinnicombe
249b422876
Add nonsecure PIO support
2025-12-04 10:14:45 +00:00
William Vinnicombe
cad616728f
Initial non-secure support
...
Non-secure side can successfully connect to WiFi
2025-12-04 10:14:45 +00:00
William Vinnicombe
d89c2d85ee
Make it possible to reference default locations in pico_set_linker_script_var variables
...
Means that CMake doesn't need to know the default memory addresses for different platforms
2025-12-04 10:14:26 +00:00
William Vinnicombe
c6cac63a1f
Make overriding ram locations simpler
2025-12-02 17:31:49 +00:00
William Vinnicombe
f6789f888a
More de-duplication
2025-12-02 14:56:53 +00:00
William Vinnicombe
1e865954a6
Separate out rp2_common and platform-specific linker script sections
2025-12-02 14:52:40 +00:00
William Vinnicombe
6dd16d4d32
Add kitchen sink test of custom linker scripts
2025-12-01 20:41:39 +00:00
William Vinnicombe
d7896b82a0
Add customisable heap location, with pico_set_linker_script_var function
2025-12-01 20:40:45 +00:00
William Vinnicombe
b9c20d4ab8
Separate linker scripts out into include files
...
Allows for much simpler custom linker scripts
2025-12-01 19:32:27 +00:00
armandomontanez
8fcd44a171
Forward declare __sev(), __wfe(), __wfi() ( #2658 )
...
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
If the compiler in use offers __sev(), __wfe(), or __wfi(), forward
declare them to be sure they're available for use.
2025-09-15 13:14:08 -05:00
Andrew Scheller
6b395cce04
Fix pico_status_led to change the color of an already-on colored LED ( #2632 )
...
Partially fixes #2630 , as it doesn't take care of the required delay between setting the LED
2025-09-15 13:09:21 -05:00
armandomontanez
87c9c013fe
More robust clobbering of ARM builtins on host ( #2657 )
...
Since ARM hosts have builtins listed in hardware/sync.h, these builtins
should be clobbered. Newer versions of LLVM/Clang emit an error when
clobbering these builtins, so this switches the overrides to use the
same patterns as pico_atomic to clobber the builtins.
2025-09-15 13:04:09 -05:00
Martin Budden
17b914418d
Fix unused parameter warning. ( #2663 )
2025-09-15 12:53:06 -05:00
Andrew Scheller
db75b67533
Fix Multicoore typo ( #2661 )
2025-09-15 12:23:26 -05:00
Earle F. Philhower, III
ad2f4143eb
Fix always-true comparison warning in pio_insn ( #2608 )
...
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
The sideset_bit_count in pio_encode_sideset_opt is unsigned, so any comparison
"sideset_bit_count >= 0" will always be true. GCC with pedantic warnings
will complain when this happens.
Remove the unneeded >=0 portion of the parameter validity check.
Fixes #2607
2025-09-10 10:18:22 -05:00
Rainer Keller
4e1371f5fa
Update instructions.h ( #2647 )
...
Fix copy-paste-error. With RP2350's Hazard3 should never show up, but anyway.
2025-09-10 10:17:10 -05:00
Rainer Keller
d581553414
Correct two typos ( #2648 )
...
* Update sha256_alt.h
Fix trivial copy-paste error in comment
* Update README.md
Another small typo in documentation
2025-09-10 10:16:54 -05:00
will-v-pi
486b78e245
Fix race in gpio_set_irq_enabled_with_callback ( #2635 )
...
The order depends on whether you're enabling or disabling
2025-09-10 10:15:58 -05:00
josch
36f1df6d72
src/boards/include/boards/*.h: remove executable bit ( #2652 )
...
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Board Headers / check-board-headers (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
find src -type f -perm /a+x -name '*.h' -print0 | xargs --null chmod -x
2025-09-08 13:13:35 -05:00
graham sanderson
299fb7db10
fix compiler warning
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
2025-08-27 16:48:57 -05:00
Graham Sanderson
6a3da02ada
remove spurious cmake code, which seems to break some versions of cmake ( #2637 )
2025-08-27 11:16:43 -05:00
Andrew Scheller
adcf8be22f
pico_status_led doxygen typo ( #2636 )
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
2025-08-26 17:36:40 +01:00
Graham Sanderson
b30caca4fd
fix regression caused by moving set_raw_irq_handler_and_unlock() ( #2631 )
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
2025-08-19 08:37:01 -05:00
graham sanderson
1ca77d6afd
start 2.2.1-develop
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
2025-07-29 07:01:55 -05:00
graham sanderson
a1438dff1d
SDK 2.2.0 Release
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Board Headers / check-board-headers (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Multi GCC / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
2025-07-28 23:37:46 -05:00
graham sanderson
b375d7fd38
wow; runtime.c has been missing from host/pico_runtime for a while
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
2025-07-28 23:37:27 -05:00
Graham Sanderson
681574b728
add pico_status_led to host ( #2605 )
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
2025-07-28 19:30:14 -05:00
Peter Harper
ef5bc2c044
Fix build issue with status led ( #2600 )
2025-07-28 15:28:48 -05:00
Andrew Scheller
9b1e125a3e
pico_status_led doxygen improvements ( #2601 )
2025-07-28 15:27:40 -05:00
Graham Sanderson
c493a3a64d
fix errors in generated headers/SVD ( #2599 )
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
2025-07-28 12:22:50 -05:00
el-bert0
3f6f0fc0ef
pico_rand ( #2598 )
2025-07-28 12:00:41 -05:00
el-bert0
4635b37e68
Enable hardware_irq library also in host and not only in rp2_common ( #2596 )
2025-07-28 11:56:56 -05:00
Peter Harper
9227cadf84
add pico_status_led ( #2501 )
...
Co-authored-by: graham sanderson <graham.sanderson@raspberrypi.com>
2025-07-28 11:56:15 -05:00
Graham Sanderson
bb66fdfac0
pico_encode_gpio_wait doc improvement ( #2579 )
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
2025-07-25 09:45:30 -05:00
Graham Sanderson
3461d65d79
add some missing pico_config and pico_cmake_config entries ( #2559 )
2025-07-25 09:44:08 -05:00
graham sanderson
e298fe60f1
merge (discarding changes) one off master fix back into develop
2025-07-25 09:39:00 -05:00
Graham Sanderson
c4e30ce693
Update docs, and add methods for new RP2350 DMA features ( #2588 )
...
* Update docs, and add methods for new RP2350 dma_transfer modes
Update docs, and add methods for handling reversed/double-increment DMA
* Apply suggestions from code review
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
* more review fixes
* add typedefs and rename dma_channel_config to be consistent
* Apply suggestions from code review
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
* Apply suggestions from code review
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
---------
Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
2025-07-25 09:14:58 -05:00
Andrew Scheller
4f5ebb8d26
Refactor extraction-scripts to reduce code-duplication ( #2592 )
...
extract_configs.py now supports reading min, max or default values
from a #define value (which reduces false-positives)
2025-07-25 09:14:31 -05:00