alastairpatrick

Results 11 issues of alastairpatrick

Prior to this change, the vcocalc.py script only considered PLL configurations with REFDIV = 1. Sometimes it is beneficial to use PLL configurations with REFDIV > 1. The new version...

This is a feature request. You can assign it to me. I have already written the code and will follow this up with a pull request if there are no...

The source for `dma_channel_abort` from SDK 1.4.0: ```c static inline void dma_channel_abort(uint channel) { check_dma_channel_param(channel); dma_hw->abort = 1u ch[channel].ctrl_trig & DMA_CH0_CTRL_TRIG_BUSY_BITS) tight_loop_contents(); } ``` Note that while it waits for...

documentation
hardware_dma

This partially fixes issue #228. If (and only if) pico_debug is linked with a target, when an unhandled exception occurs, before executing BKPT #0, dump some useful state to stdout....

This patch adds a pico_tls module, which adds support for GCC's __thread, C11's _Thread_local, and C++'s thread_local storage class specifiers. For example: ```c __thread int foo; ``` Different implementations of...

The API does not prevent an attempt to initialize multiple UART stdio driver instances. I can't find any documentation saying this isn't allowed. It would also be possible to implement....

pico_stdio

The signature of stdio_driver_t::in_chars is: ```c int (*in_chars)(char *buf, int len) ``` I would like to add another entry point to stdio_driver_t: ```c int (*in_chars_timeout_us)(char *buf, int len, uint64_t until)...

__get_current_exception is very simple and locating it in a section that is copied to RAM by copy_to_ram builds or making it inline could be justified on that basis alone. However,...

As of SDK 1.4.0 there appears to be no way to change system exception priorities. Example usage: ``` exception_set_priority(SYSTICK_EXCEPTION, 0xFF); ```

missing API