-
Notifications
You must be signed in to change notification settings - Fork 15
Update 2.0.0 #6
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
Update 2.0.0 #6
Conversation
…pberrypi#1227) Co-authored-by: David Thacher <davidethacher@gmail.com>
…BUS_PERF_COUNTER=1 (raspberrypi#1246)
…t be included by libraries (raspberrypi#1250)
Co-authored-by: Peter Harper <peter.harper@raspberrypi.com>
* Make sure BT device address is set. * Change cyw43_hal_generate_laa_mac to match MicroPython
If you just want to link to pico_btstack_flash_bank_headers to include the header file you also have to link to pico_btstack_base_headers. ENABLE_CLASSIC and ENABLE_BLE are used in header files so should be added by the headers library Fixes raspberrypi#1271
…i#1285) * Fix various non-GCC warnings (no effect on GCC) * Reduce use of typeof since non GCC compilers may not support it * Introduce PICO_C_COMPILER_IS_GNU, PICO_C_COMPILER_IS_CLANG, PICO_C_COMPILER_IS_IAR to CMake as if (CMAKE_C_COMPILER_ID STREQUAL "xxx") is a bit verbose * Use "unified_asm" macro for all inline asm (it is "volatile __asm" on GNU with a .syntex unified) * Use NOLOAD instead of COPY in linker scripts (arguably more correct anyway) * Use the same style for setting _etext in all 4 linker scripts (to the beginning of .data). Clang aligns .data on a 16 byte boundary. Note ideally we'd add a new symbol __data_source, however that would break backwards compatibility with existing user linker scripts * Use "a" for .stack, .heap sections because clang complains otherwise, and they are explicitly NOLOAD anyway * Avoid duplicating __sev, __wfe, __wfi which Clang sometimes seems to provide as built-ins * Add missing kitchen_sink_blocked_ram binary * Allow build with LLVM Embedded Toolchain Form ARM v 14.0.0 (unsupported atm)
This was changed to use the same algorithm as MP. This function is used to set the wifi mac if OTP is unset (which shouldn't ever be the case). But if it does occur, changing the mac might cause issues, so lets play safe and revert the change.
…#1259) Co-authored-by: Paul Grayson <paul@pololu.com>
… and some other misc changes (raspberrypi#1295) * switch all .S files to unified asm, and use a new macro `pico_default_asm_setup` to setup compiler to help porting to other compilers. Also some minor tweaks: * switch some code to use more recent helper methods (e.g. busy_wait_at_least_n_cycles) * add documentation to host divider header (I had this ages ago and never promoted) * fixup erroneous docs about 32p32 values in all divider headers * fix some compiler warnings * rename recently added `unified_asm` macro to `pico_default_asm`
If PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS is passed to cmake, use it to set the build macro of the same name. Fixes raspberrypi#1210
Bluetooth needs a tempoarary buffer to load firmware. Micropython won't work safely with malloc and free so allow these calls to be changed by using cyw43_malloc / cyw43_free macros.
This fixes build on newer versions of GCC(13.0.1)
…rrypi#1272) * Allow pre-processor overrides for Clock/PLL setup * Use `_KHZ` rather than `_MHZ` for `XOSC_` `SYS_CLOCK_` etc definitions (`_MHZ` versions are provided for compatibility when `_KHZ` is a multiple of 1000) Co-authored-by: graham sanderson <graham.sanderson@raspberrypi.com>
The process for reading VBUS and VSYS on Pico and Pico W is different. It's hard to write code that compiles for both devices. Add some configuration to the board files. Fixes raspberrypi#1222
…ming schema of other gpio functions
* Small whitespace fixup * typo bugfix * Small refactoring of check_board_header.py * Make structure of rp2040_interface_pins.json more explicit, so that it can be more easily extended * Move definition of valid-pins from python to json * Check that each interface includes all (minimally) expected pins Note that UART_CTS, UART_RTS & SPI_CSN are classed as optional * Split "expected_functions" into "required" (all of these pins must be present) and "one_of" (at least one of these pins must be present)
Always write the path as "abosolute" (relative to the root of pico-sdk) as that makes searching for it (when building the RP2040 datasheet) much faster. This matches the behaviour of extract_build_defines.py and extract_cmake_configs.py
If __weak is already defined, do not define it again. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Zephyr manages the IRQ of GPIO, so there is no need to check it in the SDK. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
- Added a note about preventing the redefinition of `__weak.` - Added a note about disabling sanity check the GPIO IRQ status Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
I don't have merge permissions, so could you please merge as previous time? |
"This branch cannot be rebased due to conflicts"? |
I used the |
@cfriedt @carlescufi @henrikbrixandersen The PR for Pico2 support zephyrproject-rtos/zephyr#77368 is progressing, As with past updates, the changes are being incorporated using merge, and a conflict would occur if you were to rebase. |
Update to version 2.0.0.
__weak.