Commit graph

14 commits

Author SHA1 Message Date
Thomas Gilligan a03305b57f Bump rp2040-hal to v0.8 across the boards 2023-02-15 14:54:32 +11:00
Jan Niehusmann 672989b941 Use correct version number for rp2040-hal in changelog files 2022-12-11 21:41:40 +00:00
Jan Niehusmann cec511699c Update CHANGELOGs of BSP crates 2022-12-11 14:03:35 +00:00
Jan Niehusmann fd99957e2f Bump versions of BSP crates 2022-12-11 10:51:30 +00:00
Jan Niehusmann 160d0921ab Update dependencies
rp2040-hal = "0.7.0"
ws2812-pio = "0.5.0"
i2c-pio = "0.5.0"

The versions of the individual BSP crates are not yet updated.
2022-12-11 10:45:45 +00:00
Jan Niehusmann 4edb185ce0 Fix repository links in Cargo.toml of board crates 2022-12-11 10:33:01 +00:00
Jan Niehusmann 8c202ca325 Fix links to board crates 2022-12-11 09:57:50 +00:00
Jan Niehusmann 89d4083dca Move board crates to separate repository rp-hal-boards 2022-12-10 13:06:23 +00:00
Jan Niehusmann d1377acc19
Update dependencies on defmt-rtt to 0.4.0 (#504)
Version 0.3.0 depends on deprecated critical-section 0.2
2022-11-25 09:05:04 +00:00
9names 2d31d91ba1 Add rom-func-cache as a default feature in BSPs 2022-10-03 19:52:10 +11:00
9names 0cd990c3c1 Comment and pass-through HAL features in BSPs 2022-10-03 12:04:58 +11:00
Paul Daniel Faria 4f440d286d Update Servo 2040 board examples in README
Add the PWM Servo example to the readme.
Fix typo in rainbow animation.
Add images to boath examples showing working examples.
2022-09-21 18:00:37 +10:00
Paul Daniel Faria d3b0156269 Fix servo example in rp2040-servo, remove unusable aliases.
The servo example included phase correction, which does not work with the
provided divider. Updated comments to explain numbers and also explain
alternate calculation with phase correction enabled.

Remove unusable aliases from all servo pins. The board includes a 180 Ohm
resistor on all servo data pins, which makes the lines not very usable for
Spi, Uart or I2C. The aliases were removed given they will rarely, if ever,
be used with this board.
2022-09-21 18:00:37 +10:00
Paul Daniel Faria 19e2fbea1c
Add the Pimoroni Servo 2040 board (#450)
* Add the Pimoroni Servo 2040 board

This PR adds the board support package and two simple examples.
* Animates a rainbow wheel across the RGB LEDs on the board.
* Moves a servo that's connected to GPIO0 back and forth.

* Format pimoroni-servo2040 board files

* Use us_to_duty function in servo example, clean up comments.

* Fix bad types

* Add Servo2040 description to top-level readme
2022-09-17 12:04:16 +01:00