Commit graph

465 commits

Author SHA1 Message Date
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
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 c83a31ab2b
Merge pull request #243 from rp-rs/release_030
Set up for 0.3.0 release.
2021-12-20 20:26:42 +00:00
Jonathan Pallant 7278c36e93 Add MSRV 2021-12-20 20:05:40 +00:00
Jonathan Pallant 96c2273dce Noted 0.3.0 includes many bug fixes. 2021-12-20 19:53:15 +00:00
Jonathan Pallant 5701ab431f Revised CHANGELOG.
Added extra items to 0.3.0.
Reformatted 0.2.0 entry.
2021-12-20 19:52:31 +00:00
Jonathan Pallant bebf85d4d9 Set up for 0.3.0 release.
Somehow we already had a bunch of commits talking about 0.3.0, but it
was never released. Hence why this maybe doesn't change as many version
numbers as you might expect.
2021-12-19 19:22:15 +00:00
Jonathan 'theJPster' Pallant e6d19bc59b
Merge pull request #242 from rp-rs/remove-embassy
Comment out embassy traits.
2021-12-19 08:30:20 +00:00
Jonathan Pallant a9f6ab8de4 Comment out embassy traits.
The git dep prevents us from publishing, rp2040-hal, and embassy
aren't doing a release any time soon.
2021-12-18 19:09:37 +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
Pedro Ferreira 24a417f01a
Make fields in UartConfig public (#233)
Otherwise it's impossible to have a configuration which differs from the provided default options.
2021-12-14 10:47:35 +11:00
Jonathan Pallant 31285fe002
Merge pull request #235 from camrbuss/rtic-timer-hal
Update Pico RTIC example to use timer alarm HAL
2021-12-10 13:45:57 +00:00
camrbuss 546ad3799b pico bsp hal pac 2021-12-08 08:20:25 -05:00
9names 427344667e
Add basic multicore FIFO example (#226)
* Add basic multicore fifo example

* Add documentation for multicore

* Send system_clock frequency to core1 over FIFO in example

* Add Stack::new() to HAL. Use Stack::new() in example
2021-12-08 19:34:39 +11: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
Jan Niehusmann b380b3ddf6 Reset UART in new() 2021-12-05 07:05:12 +00: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
Jonathan 'theJPster' Pallant 88bd408bc1
Merge pull request #228 from rp-rs/fix-readme-picoprobe
fix picoprobe/picotool mix up
2021-12-04 13:09:16 +00:00
9names 978f846805 Replace rp2040_hal::pio::PIOExt with bsp::hal::pio::PIOExt in BSPs 2021-12-04 23:53:00 +11:00
Jonathan 'theJPster' Pallant 3f0617b054
fix picoprobe/picotool mix up 2021-12-04 12:44:21 +00:00
9names 6e184a91a7 Replace hal::timer::Timer with hal::Timer or Timer 2021-12-04 17:39:32 +11:00