Commit graph

546 commits

Author SHA1 Message Date
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
Weird Constructor a7b71bd5aa Fix compilation bug in the documentation 2022-01-09 15:16:01 +01:00
Weird Constructor adfe63f0df Improved the rp_pico pin documentation with aliases, table and cross links. 2022-01-09 15:09:57 +01:00
Weird Constructor 0e3136da11
Add an example for accessing an SD/MMC card via SPI (#258) 2022-01-10 00:16:35 +11:00
Weird Constructor 9e84c961a8 (Hopefully) Improved documentation of bsp_pins!() 2022-01-09 13:50:57 +01:00
Weird Constructor f4a4b80459 remove trailing spaces 2022-01-09 13:31:10 +01:00
Weird Constructor 160099b6d8 Added pin function documentation from the datasheet to rp-pico 2022-01-09 13:24:00 +01:00
Jonathan 'theJPster' Pallant 8d18abdfc7
Merge pull request #254 from 9names/fix_ci_masking_link_errors
Fix ci masking link errors
2022-01-06 20:56:05 +00:00
9names eddf3dc0d4 List examples built as well 2022-01-07 01:22:02 +11:00
Jonathan 'theJPster' Pallant f23ababb1a
Merge pull request #197 from chinoto/pio_sound_send
pio: Fix unsound Send clippy warning
2022-01-06 12:57:26 +00:00
9names 8b9028d97f Do release builds for examples as well 2022-01-04 19:07:48 +11:00
9names 20954f2240 Do cargo build instead of cargo check so we test linking 2022-01-04 19:07:48 +11:00
9names f60828c9a4 CI: Unmask rustc/ld warnings, remove deprecated '--all' 2022-01-04 19:07:48 +11:00
Jonathan 'theJPster' Pallant 78176deffc
Merge pull request #255 from 9names/fix_boot2_in_examples
Remove static BOOT2 decl in BSP examples so they build
2022-01-03 21:43:34 +00:00
9names 0e1fe81384 Remove static BOOT2 decl in BSP examples so they build 2022-01-03 23:07:03 +11:00
David Sawatzke c02984b422 boards/pico: Remove mention of boot select button
The boot selector pin is attached to SPI_SS and not easily read (an
example
https://github.com/raspberrypi/pico-examples/blob/master/picoboard/button/button.c),
since the code reading needs to reside in sram.

Simply fix the documentation
2022-01-02 14:01:23 +11:00
Jonathan 'theJPster' Pallant 43650b3248
Merge pull request #248 from jannic/bump-versions
Bump versions of HAL and BSPs
2021-12-27 11:00:31 +00:00
Jonathan 'theJPster' Pallant 3c2d503844
Merge pull request #247 from rp-rs/uart_irq_example
UART IRQ examples
2021-12-27 10:59:18 +00:00
Jonathan 'theJPster' Pallant ac133acb02
Merge pull request #249 from rp-rs/fix-readme-links
Fix the links in README.md
2021-12-27 10:58:39 +00:00
Jonathan Pallant 67d9da85e6 Fix docs for SerialInfallible. 2021-12-26 20:57:04 +00:00
Jonathan Pallant 55acbdb1b0 Fix build errors in eh_1.0 mode. 2021-12-26 20:56:48 +00:00
Jonathan 'theJPster' Pallant 232ba734fa
Fix the links in README.md 2021-12-26 20:02:26 +00:00
Jan Niehusmann 2f9a950cbe Bump versions of HAL and BSPs
The change to UartPeripheral in #210 was a breaking change:
Bump the version of the HAL and all dependent BSP crates.
2021-12-26 19:52:04 +00:00
Jonathan Pallant 7da16a726f Fixing typos spotted in the review. 2021-12-26 19:39:16 +00:00
Jonathan Pallant (Ferrous Systems) d3bd232885 Added two UART IRQ examples.
They are in the pico BSP as they need the 'rt' feature. Also includes
changes to the UART driver for enabling/disabling interrupts.
2021-12-26 19:33:23 +00:00
9names cc53c1777f
Merge pull request #210 from VictorKoenders/uart-owning-pins
UART owned pins + reader/writer split
2021-12-25 23:46:18 +11:00
Victor Koenders 8f63be0f22
Fixed failing doctest 2021-12-25 09:49:32 +01:00
Victor Koenders 86444448a4
Migrated examples to the new uart system 2021-12-25 09:46:40 +01:00
Victor Koenders c41c273131
Added reader/writer split to UartPeripheral 2021-12-25 09:46:38 +01:00
Victor Koenders 84b8fb05b0
Fixed compile errors on eh1_0_alpha feature 2021-12-25 09:46:34 +01:00
Victor Koenders a8a27672b8
Constraint the uart::pin:: traits to UartDevice 2021-12-25 09:45:57 +01:00
Victor Koenders a4a0bcf987
Added pins to the uart constructor functions 2021-12-25 09:45:54 +01:00
Victor Koenders bdfb4d82c9
Split uart in separate files, introduced a typesystem constraint for valid UART pin configurations 2021-12-25 09:45:45 +01:00
Jonathan 'theJPster' Pallant 3eb65168ff
Fix KB2040/adafruit-kb2040 mix-up in README.
Must have been a bad search/replace when the BSPs were renamed.
2021-12-24 12:16:53 +00:00
Jonathan 'theJPster' Pallant 882d91cd27
Merge pull request #245 from rp-rs/clean-up-bsp
Clean up BSPs
2021-12-24 11:32:12 +00:00
Jonathan Pallant (Ferrous Systems) 6271e8670f rp-pico will be 0.2.0 as 0.1.0 exists already.
@jannic wrote 0.1 a long time ago, and agreed we could take over the
package name.
2021-12-23 11:51:02 +00:00
Jonathan Pallant (Ferrous Systems) 8f0a2788eb Renamed pico to rp-pico. 2021-12-23 11:18:52 +00:00