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
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
9names
6ab9cd7ed3
Generate sev in sio.fifo.write()
2021-12-04 00:42:46 +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
9names
a7d5dc2bee
Add safety docs from atsamd-rs to GPIO traits
2021-12-03 23:42:45 +11:00
Gus Caplan
5dafe3985f
use user-provided stack for core 1
...
Fixes: https://github.com/rp-rs/rp-hal/issues/218
2021-12-03 20:24:53 +11:00
9names
d84e641390
Add simple interrupt_disable+spinlock critical-section impl ( #151 )
...
* Add basic interrupt_disable+spinlock critical-section
* Update impl based on feedback from jannic
* Get rid of count variable, switch to AtomicU8 for lock state
* Remove interrupt::disable that isn't necessary for safety
* Rename variables, re-write most of the comments
* Add fences to ensure ordering
2021-12-02 00:03:41 +11:00
devsnek
e1f99443d9
multicore ( #89 )
...
mvp multicore implementation
Co-authored-by: Jan Niehusmann <jan@gondor.com>
2021-12-01 23:52:53 +11:00
Trangar
f68f148d12
Added RtcClock DateTime and alarms ( #213 )
...
* Added RealTimeClock, DateTime and RTC alarms
* Improved documentation on weird behaviors in the RealTimeClock
* Fixed incorrect leap_year_check in RealTimeClock
* Fixed rtc-datetime PR feedback
2021-11-29 21:15:20 +11:00
Jan Niehusmann
de53600199
pico_usb_serial: Handle errors of serial.write()
...
Fixes : #194
2021-11-29 00:05:03 +11:00
Jan Niehusmann
05e072025d
Change references to probe-run-rp back to upstream probe-run
2021-11-29 00:03:58 +11:00
Jonathan 'theJPster' Pallant
fad1dfa259
Merge pull request #191 from jannic/rename-set_instruction
...
Rename set_instruction to exec_instruction
2021-11-25 19:08:13 +00:00
Jonathan 'theJPster' Pallant
3a3280575f
Merge pull request #204 from rp-rs/add_sio_fifo
...
Add SIO FIFO
2021-11-25 19:05:40 +00:00
Jan Niehusmann
bb8531445e
Fix fmt
...
Thats what happens when editing files directly on github...
2021-11-25 16:44:57 +00:00
Jan Niehusmann
15c162757f
Update docs in rp2040-hal/src/pio.rs
...
Co-authored-by: Wilfried Chauveau <wilfried.chauveau@ithinuel.me>
2021-11-25 17:38:18 +01:00
Jonathan Pallant (Ferrous Systems)
69255f7b8c
Fix wfe/sev semantics.
...
We must sev on write, so the other core can wfe on read.
2021-11-25 15:14:03 +00:00
Jonathan Pallant (Ferrous Systems)
e9694bbb91
Use released 0.2.0 PAC.
2021-11-25 14:45:28 +00:00
Jonathan Pallant
ed860ed106
Merge pull request #208 from VictorKoenders/spinlock
...
Added spinlocks
2021-11-25 14:44:46 +00:00
Jonathan Pallant
968e49aa03
Merge pull request #198 from VictorKoenders/alarm
...
Added timer alarms
2021-11-25 14:33:06 +00:00
Jonathan Pallant
292a6f13c8
Merge pull request #205 from jannic/eh-1_alpha6
...
Update eh1_0_alpha feature for embedded-hal 1.0.0-alpha.6
2021-11-25 14:30:02 +00:00
Victor Koenders
111b355da2
Fixed error in spinlock's documentation
2021-11-24 11:59:43 +01:00
Victor Koenders
88fbc38f8b
Added spinlocks
2021-11-24 08:19:42 +01:00