Commit graph

112 commits

Author SHA1 Message Date
Dylan Ede 6478917e51 Board support for Adafruit Trinkey QT2040 2022-01-15 15:49:52 +00: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 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
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
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 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 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
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
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
Victor Koenders 86444448a4
Migrated examples to the new uart system 2021-12-25 09:46:40 +01: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
Jonathan Pallant 882868c104 Formatting 2021-12-20 21:29:18 +00:00
Jonathan Pallant 4959afe151 Include manufacturer in BSP crate name.
Avoids ambiguity.
2021-12-20 21:28:00 +00:00
Jonathan Pallant 37e7d2e7b6 Update all the BSPs.
Crate names now have hyphens, to match rp2040-hal.
Every BSP has its own CHANGELOG.
Embassy stuff is removed (it blocks publishing on crates.io)
2021-12-20 21:10:10 +00:00
Jonathan 'theJPster' Pallant 53d9dbdf52
Update to pio-rs v0.1.0 (#239)
* Update to PIO 0.1.0

* Update to latest ws2812-pio and i2c-pio.

These depend on pio 0.1.0, avoiding a conflict

* Rename CI tests.

Also check we can cargo build. And remove 'on host tests' that didn't
do anything.

Co-authored-by: Jonathan Pallant <jonathan.pallant@42technology.com>
2021-12-14 10:52:32 +11:00
camrbuss 546ad3799b pico bsp hal pac 2021-12-08 08:20:25 -05:00
camrbuss f2f50d0fc3 update pico rtic example to use timer alarm hal 2021-12-07 19:24:35 -05:00
Jonathan 'theJPster' Pallant 539f6db0f7
Merge pull request #231 from ithinuel/bump-embassy
Bump embassy's dependencies
2021-12-05 18:03:03 +00:00
Jonathan 'theJPster' Pallant b94a5ab885
Merge pull request #232 from jannic/refactor-uart-init
Refactor uart init
2021-12-05 18:02:44 +00:00
Jonathan 'theJPster' Pallant e64f307d47
Merge pull request #227 from 9names/reexport_mod_structs
Re-export mod structs to avoid repeating ourselves
2021-12-05 18:02:30 +00:00
Wilfried Chauveau fee8881801
bump embassy's dependencies 2021-12-05 12:39:25 +00:00
Wilfried Chauveau b363038477 Bump i2c_pio to an API with better inference. 2021-12-05 23:32:57 +11:00
9names 422da14e19
Merge branch 'main' into reexport_mod_structs 2021-12-05 01:04:08 +11:00
9names 0e7abdc705
Make BSPs provide boot2 as a default feature (#153)
* Add boot2 feature. Add boot2 linkage into each BSP optional on feature

* Enable boot2 feature in BSPs by default. Remove boot2 decl from all BSP examples

* Add EXTERN in memory.x for BOOT2_FIRMWARE, rename bootloader static slice to BOOT2_FIRMWARE

* Update new examples and itsy_bitsy BSP to use boot2 feature

* Remove boot2 as a dev-dependency for the BSPs, no longer needed

* Add no_mangle BOOT2_FIRMWARE to adafruit_macropad

* Fix itsy-bitsy blinky - it wasn't using the BSP, so it didn't get BOOT2_FIRMWARE linked in
2021-12-05 01:00:09 +11:00
9names 978f846805 Replace rp2040_hal::pio::PIOExt with bsp::hal::pio::PIOExt in BSPs 2021-12-04 23:53:00 +11:00
9names 6e184a91a7 Replace hal::timer::Timer with hal::Timer or Timer 2021-12-04 17:39:32 +11:00
9names def0ed97f7 Replace uses of hal::watchdog::Watchdog with hal::Watchdog 2021-12-04 17:30:47 +11:00
9names dc8ceffd09 Move uses of sio::Sio to Sio 2021-12-04 16:20:27 +11:00
9names 11aa0b87af Cargo fmt 2021-12-04 15:38:25 +11:00
Jan Niehusmann 26fa532fa3 Refactor Uart initialization 2021-12-03 21:24:50 +00:00
9names 33ff337631
Merge branch 'rp-rs:main' into reexport_mod_structs 2021-12-04 00:43:14 +11:00
Andrew Christiansen 92f7c68d57
BSP for the Adafruit KB2040 (#217)
* Created a BSP for the Adafruit KB2040
2021-12-04 00:12:01 +11:00
9names 55a8b4acf9 Re-export mod structs 2021-12-04 00:04:45 +11:00
Jan Niehusmann de53600199 pico_usb_serial: Handle errors of serial.write()
Fixes: #194
2021-11-29 00:05:03 +11:00
Jonathan 'theJPster' Pallant 4fb005f5b6
Merge pull request #199 from ithinuel/simplify-types
Bump to latest ws2812 driver's revision.
2021-11-22 07:56:21 +00:00
Jonathan Pallant ffffa7368a Set button as pull-up. 2021-11-16 22:47:30 +00:00