forked from raspberrypi/pico-sdk
-
Notifications
You must be signed in to change notification settings - Fork 15
Update to Pico SDK 2.2.0 #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ajf58
wants to merge
227
commits into
zephyrproject-rtos:zephyr
Choose a base branch
from
ajf58:merge-2.2.0
base: zephyr
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix errors breaking extra_[cmake_]configs.py * remove trailing whitespace which is confusing asciidoctor * fix rp2xxx-specific -> rp2xxx_specific * add missing xip_cache funcs to the combined docs * Revert "fix errors breaking extra_[cmake_]configs.py" * Fix typo in #define name * Allow optional whitespace at the start of "commented out" config lines Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com>
* Move rom_data_lookup code into rom_data_lookup_inline Allows ROM data lookup from FLASH/RAM sensitive code * Use rom_data_lookup_inline in flash_devinfo_ptr Fixes bug introduced by raspberrypi#2082 where flash_devinfo_get_cs_size would use rom_data_lookup from flash during a __no_inline_not_in_flash_func
* ta_set_timeout can fail to set an alarm If alarm_pool_irq_handler takes <1us between handling an alarm and calling ta_set_timeout then no alarms will be set as it will appear as if an earlier alarm is already armedi before the target time. Make sure ta_set_timeout always leaves with an alarm set by checking the armed status. Fixes raspberrypi#2118 * ta_disable_irq_handler should unarm its timer
…pi#2150) * convert windows path delimiter to posix (raspberrypi#2149) * add explicite variable assignment for intermediate resource name conversion result (raspberrypi#2149)
remove incorrect pool parameter
We need to do this to avoid work_pending being set twice. Fixes raspberrypi#2101
* Update Clang toolchain used by Bazel * <time.h> include * Sort includes * Use libc timeval definition * Disable unwinder linking for now * Link libm
Signed-off-by: eng33 <eng33@waveshare.com> Co-authored-by: eng33 <eng33@waveshare.com>
* Fix ta_wakes_up_on_or_before Handle target in the past and running for > 2^32 us. Fixes raspberrypi#2186 * Add test for ta_wakes_up_on_or_before fix
Address the review comment to fix conditional compilation syntax: raspberrypi#1795 (review)
* Update cyw43 driver. Fixes raspberrypi#2153 * Update cyw43 in bazel
* Remove deprecated uses of FetchContent_Populate Cannot use MakeAvailable as the files shouldn't be added to the build, so instead uses the full signature for FetchContent_Populate Fixes raspberrypi#2124 * Fix GIT_SUBMODULES_RECURSE for older CMake versions
… faster and hence further on RP2350, breaking a check which was wrong for larger inputs
* update tinyusb to 0.18 * update tinyusb also for bazel
We use a pio and dma to write to the cyw43 chip using spi. Normally you write an address and then read the data from that address, so the pio program does does a write then read. If you just want to write data in the case of uploading firmware we use the fdebug_tx_stall flag to work out if the pio has stalled waiting to write more data. The theory is that this flag will also get set if the bus is busy. So we mistakenly think a write to cyw43 has completed. Wait for the dma write to complete before waiting for the pio to stall. Fixes raspberrypi#2206
* Update btstack v1.6.2 plus one commit * Update bazel for btstack * Build changes for btstack v1.6.2
raspberrypi#2105) * Release the lock in mbedtls_sha256_free if it was not released already. Requires making pico_sha256_unlock include-able. Fixes raspberrypi#2103. * addres lock release API comment * Fix description of pico_sha256_cleanup --------- Co-authored-by: nils <nils@nils> Co-authored-by: Peter Harper <peter.harper@raspberrypi.com>
* Update and expand docs/weblinks_page.md * Add link to RM2 datasheet too * Updated shortlinks
…pberrypi#2586) * Improve error code description for some cyw43 connection methods Fixes raspberrypi#2564 * Apply suggestions from code review Put error description on separate lines for clarity. Co-authored-by: Andrew Scheller <lurch@durge.org> --------- Co-authored-by: Andrew Scheller <lurch@durge.org>
* Improve rom_pick_ab_update_partition docs * Some review fixups Add more `\ref`s and tidy up wording * Move function docs next to rom_pick_ab_partition * Add \return to rom_pick_ab_partition docs * Rename rom_pick_ab_update_partition -> rom_pick_ab_partition_during_update and replace "call"
…nished before async_context cleanup finishes (raspberrypi#2587)
* Improve pico_use_wifi_firmware_partition docs * Replace assert with hard_assert Fixes compilation warning about unused ret variable in release builds * firmware -> wifi_firmware * Maybe improve wording? * Clarify TBYB, and add `-ux` to firmware load
* add some doxygen to hard_assert * typo Co-authored-by: Peter Harper <77111776+peterharperuk@users.noreply.github.com> --------- Co-authored-by: Peter Harper <77111776+peterharperuk@users.noreply.github.com>
- Add missing libraries to docs/index.h - Remove duplicate libraries from docs/index.h - Add new script to match up doxygen groups with the PICO_CONFIG groups
…#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>
Co-authored-by: graham sanderson <graham.sanderson@raspberrypi.com>
Match changes made in 191f5ba to avoid Zephyr's definitions. Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Match changes made in 191f5ba to avoid Zephyr's definitions. Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Raspberry Pi have updated the SDK to 2.2.0 (release notes at https://github.com/raspberrypi/pico-sdk/releases/tag/2.2.0) .
This PR merges in those changes into hal_rpi_pico.
This supersedes #10