9names
010a5cabf3
Remove redundant field name
2021-04-29 11:19:47 +10:00
9names
f21648de93
Autoformatted using cargo fmt
2021-04-29 11:15:41 +10:00
9names
1b42913077
Remove unneeded unsafe
2021-04-29 11:11:11 +10:00
9names
3bdc338a0d
Merge pull request #29 from tdittr/feature/doc-tests-in-ci
...
Add `cargo test` to CI run and fix an error found by it
2021-04-28 14:02:07 +10:00
9names
f728de5efb
Merge pull request #25 from Nic0w/xosc
...
Working HAL for the XOSC
2021-04-28 14:01:10 +10:00
tdittr
39f02c4a44
Add cargo test
to CI run and fix an error found by it
...
Besides the normal usage of unit-tests this also ensures that
example in doc-comments do at least compile.
2021-04-27 12:08:47 +02:00
Nic0w
2a704a73f0
Adding blocking helper method to setup the XOSC easily.
2021-04-25 16:34:48 +02:00
Nic0w
8f6aea6a31
Fix compilation issues.
2021-04-25 09:03:20 +02:00
Nic0w
72694a07b5
Fix frequency range check.
2021-04-25 08:58:43 +02:00
Nic0w
d5cbd44ade
Fixing calculation bug pointed out by @tdittr
2021-04-25 00:36:46 +02:00
Nic0w
568cafe2d1
Multiple changes related to @tdittr 's comments
2021-04-24 23:38:49 +02:00
Nic0w
ed1e847618
Remove line as it builds fine without it.
2021-04-24 22:26:26 +02:00
Nic0w
d0d9291cde
Working HAL for the XOSC
2021-04-24 13:38:17 +02:00
Jennifer Wilcox
d318d05067
Run cargo fmt
2021-04-17 14:11:47 -05:00
Jan Niehusmann
5494ce7539
rom function git_revision() does return an u32, not a &str
2021-02-15 23:28:13 +00:00
Jan Niehusmann
d6231bd3ec
fix rom_table_lookup
...
It seems like the rom_table_lookup missed one level of
pointer dereferencing.
After comparing it to the working call to reset_usb_boot() in
https://github.com/jannic/rp-microcontroller-rs/blob/master/util/rp2040-panic-usb-boot/src/lib.rs ,
I changed the code until it generated basically the same assembly.
With that change, I was able to successfully call rom_data::reset_to_usb_boot()
I still don't like the type RomTableLookupFn, which just returns
some generic T without any checks, and I think rom_table_lookup
should be unsafe. But as none of those are pub, it doesn't matter too
much. So I just made the changes necessary to make the code work.
2021-02-15 22:16:43 +00:00
Asaf Fisher
913c5fb0b2
rom: Fix type error
2021-02-03 21:49:48 +02:00
Asaf Fisher
1848789ca3
rom: Make rom_funcs functions call function instead of returning it
2021-02-03 21:43:14 +02:00
Asaf Fisher
a9a8df8c79
rom: Add comments to rom content
2021-02-03 15:57:44 +02:00
Asaf Fisher
6eccce595c
rom: Change rom_table_lookup
to use the rom's built in one
2021-02-03 15:57:44 +02:00
Gus Caplan
1c75ed3844
rom: Add rom content
2021-02-03 03:10:00 +02:00
evan
98baabec93
Added skeleton for HAL and updated readme
2021-01-25 15:42:43 -05:00
evan
22a3669a9d
Initial Commit: Updated author information.
2021-01-22 09:18:12 -05:00