Commit graph

632 commits

Author SHA1 Message Date
Andrew Straw cd15d268f6 run 'cargo fmt' 2022-02-02 22:10:39 +01:00
Andrew Straw a1ed9ef93c example of side setting using PIO 2022-02-01 11:09:09 +01:00
Jonathan 'theJPster' Pallant 354a2a5e5e
Merge pull request #281 from rp-rs/update_pac
Use new spinlock API provide by PAC 0.3.0
2022-01-31 10:40:02 +00:00
9names baff438f53
Merge pull request #279 from jannic/dht11_example
Add an example reading a dht11 sensor
2022-01-31 20:37:44 +11:00
Jonathan 'theJPster' Pallant 4a540d041a Hide spinlock 31. 2022-01-30 16:43:59 +00:00
Jonathan 'theJPster' Pallant efda22c9ea Update spinlock docs. 2022-01-30 16:43:53 +00:00
Jonathan 'theJPster' Pallant f44f5f0e09 Make clippy happy. 2022-01-30 16:12:43 +00:00
Jonathan 'theJPster' Pallant 35a10f2bc6 Clean up critical-section impl.
Adds new `Sio::core()` function.
2022-01-30 16:07:40 +00:00
Jonathan 'theJPster' Pallant 7e2f8d274c Use const generics for spinlocks.
The fewer code-generating macros we have, the better!
2022-01-30 15:56:23 +00:00
Jonathan 'theJPster' Pallant c8c366c23d Use new spinlock API provide by PAC 0.3.0 2022-01-30 12:56:51 +00:00
9names f51a84f070 Use new alarm syntax in pico_rtic example 2022-01-30 23:04:16 +11:00
9names b19f2cc8e5 Use atomic operations for altering Timer interrupts 2022-01-30 22:54:27 +11:00
Jan Niehusmann a9763837a9 Add comment regarding release mode 2022-01-28 22:18:32 +00:00
Jan Niehusmann f6b2e3365e use dht-sensor crate and fix comments 2022-01-28 21:36:30 +00:00
Jan Niehusmann bb6b7706f9 Add dht11 example 2022-01-28 19:44:26 +00:00
Jonathan Pallant 5771f872f2
Merge pull request #269 from 9names/fix_uart_example_clock
Use .freq() to avoid moving clock
2022-01-28 15:03:23 +00:00
Wilfried Chauveau d08bfac989 Fix i2c peripheral mode state machine
The start_det flag is set as soon as a start condition occurs
whereas rd_req flag is only set once the address byte is received.
2022-01-29 00:01:32 +11:00
Alexander Brevig d6bb177fd7 Fix View Demos link by prefixing pico with rp- 2022-01-27 23:30:22 +11:00
Derek Hageman f279945315 Add intrinsics for the hardware divider
Implement intrinsic functions so basic operators use the hardware divider.
2022-01-26 19:37:06 -07:00
Derek Hageman 35704d9799 Change divider delay to explicit NOPs
Use explicit NOPs since cortex_m::asm::delay actually delays for
longer than we need to.
2022-01-26 19:37:06 -07:00
Derek Hageman c2d3b21d91 Make hardware divisor interrupt safe
Copy the pico-sdk logic for save and restore of the hardware divider
for making it interrupt safe.
2022-01-26 19:37:06 -07:00
Jonathan 'theJPster' Pallant c180e7867b
Merge pull request #271 from 9names/kb2040-boot2
Add boot2 feature to kb2040 BSP
2022-01-21 15:42:05 +00:00
9names 57e9943836 Set hw reset bits for watchdog 2022-01-20 21:55:16 +11:00
9names 8b7b0b168b Make boot2 optional 2022-01-20 20:14:09 +11:00
9names 332fe645a8 Add boot2 feature to kb2040 BSP 2022-01-20 20:03:33 +11:00
9names c8b75204ee Use .freq() to avoid moving clock 2022-01-20 18:28:51 +11:00
Jonathan 'theJPster' Pallant 3a0e23c406
Merge pull request #268 from VictorKoenders/default-uart-config
Added `impl Default` for UartConfig
2022-01-18 20:50:01 +00:00
Victor Koenders d6e3c7b615
Set the uart config default baud rate to 115200 2022-01-18 17:28:13 +01:00
Victor Koenders b3b4d9ff6f
Fixed doc test 2022-01-18 11:32:48 +01:00
Victor Koenders 9e75cec551
Added impl Default for UartConfig 2022-01-18 11:17:01 +01:00
Jonathan 'theJPster' Pallant bae3f2c9bc
Merge pull request #266 from dylanede/feature/qt2040
Board support for Adafruit Trinkey QT2040
2022-01-16 14:48:57 +00:00
Dylan Ede 6478917e51 Board support for Adafruit Trinkey QT2040 2022-01-15 15:49:52 +00:00
Jonathan 'theJPster' Pallant 7525040c1b
Merge pull request #267 from rp-rs/add_stamp_to_readme
Add missing Solder Party Stamp to top README
2022-01-15 12:00:15 +00:00
Jonathan 'theJPster' Pallant a8b84fa4f8 Add missing Solder Party Stamp to top README
-
2022-01-14 19:52:39 +00:00
Wilfried Chauveau 7840d0f833 embassy-traits: Fix unexpected restart on repeated read. 2022-01-13 19:28:23 +11:00
Jonathan 'theJPster' Pallant ce7c9f4be3
Merge pull request #264 from WeirdConstructor/pico_i2c_oled_text_display_ssd1306_example
Pico i2c oled text display ssd1306 example
2022-01-12 22:03:58 +00:00
Weird Constructor 3f9535cc1f Cleaned up the code and made it more idiomatic. 2022-01-12 21:48:22 +01:00
Jonathan 'theJPster' Pallant d3c9c3b4e2
Merge pull request #263 from WeirdConstructor/fix_alarm_schedule_race_cond
Fix alarm schedule race condition
2022-01-12 20:07:59 +00:00
Jonathan 'theJPster' Pallant f7b8abfeb0
Merge pull request #259 from WeirdConstructor/pico_board_documentation
Added pin function documentation from the datasheet to rp-pico
2022-01-12 20:05:11 +00:00
Weird Constructor e22540be20 Mention the assumed display size of 128x64. 2022-01-12 19:28:51 +01:00
Weird Constructor 2f1e77d0b2 Added documentation for the OLED example and fixed formatting. 2022-01-12 19:25:06 +01:00
Weird Constructor 2f418bbf8f Add an example for using the SSD1306 I2C display driver crate with the Raspberry Pi Pico 2022-01-12 19:25:06 +01:00
Weird Constructor fdc36d30cc
Merge branch 'rp-rs:main' into fix_alarm_schedule_race_cond 2022-01-12 16:27:32 +01:00
Weird Constructor 7a23247ca1 Fix alarm schedule() race condition. 2022-01-12 06:41:03 +01:00
Jonathan 'theJPster' Pallant 0cb171ffc8
Merge pull request #261 from jkristell/solderparty-stamp
Add Solder Party RP2040 Stamp board
2022-01-11 20:58:02 +00:00
Jonathan 'theJPster' Pallant 7a86e7d638
Merge pull request #260 from WeirdConstructor/pico_ws2812_led_example
Add Raspberry Pi Pico WS2812 LED example
2022-01-11 20:54:27 +00:00
Weird Constructor 0b31054429 Formatted the tables in the comments properly. 2022-01-09 22:14:34 +01:00
Weird Constructor 5b07c09cfb Removed weird rom function usage, reformulated comments and cleaned up hsv2rgb() code. 2022-01-09 22:02:31 +01:00
Johan 21a4fde0c8 Add Solder Party RP2040 Stamp board 2022-01-09 21:52:45 +01:00
Weird Constructor 2b49bc6b60 Add Raspberry Pi Pico WS2812 LED example 2022-01-09 15:27:29 +01:00