aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* cargo: rejigger crate typeBrian Cully2022-11-061-188/+0
| | | | | | | | | | convert to hybrid crate, with arch-dependent stuff as a ‘bin’ crate, with the underlying support in ‘lib’. the reason for this change is to allow for automated unit-testing on the device-independent bits. to facilitate this, a ‘t’ alias is provided which will run the unit tests. this target assumes you're on a linux system, but you can't have everything.
* main: i like unicodeBrian Cully2022-10-311-4/+4
|
* cirque: remove ref to stm32 clock structBrian Cully2022-10-291-1/+1
| | | | i don't want this driver to be hardware dependent.
* led: remove module, it's unnecessaryBrian Cully2022-10-281-6/+4
|
* touchpad now works over spiBrian Cully2022-10-271-5/+5
|
* spi: use 1.5mhz, tweak some loggingBrian Cully2022-10-261-3/+12
|
* spi init: use mode 1 explicitlyBrian Cully2022-10-251-6/+2
|
* pull in cirque driverBrian Cully2022-10-251-1/+10
| | | | seems broken rn, but it's a start.
* convert to gd32f303 (stm32f103) bluepill variantBrian Cully2022-10-251-150/+135
|
* this is also broken, but at least it ain't mineBrian Cully2022-08-271-32/+94
|
* usb peripheral now starting ‘connect()’Brian Cully2022-08-111-5/+31
|
* use ‘nb’ crate instead of custom typeBrian Cully2022-08-081-11/+7
|
* log in panics if possible.Brian Cully2022-08-081-12/+21
|
* update log inteface, add (and use) ‘log!’ macro.Brian Cully2022-08-081-2/+3
|
* importsBrian Cully2022-08-081-2/+2
|
* mark logging functions as unsafeBrian Cully2022-08-081-2/+2
| | | | these are writing to ‘static mut’ variables.
* get serial printing on usart1 (tx: pa2, rx: pa3)Brian Cully2022-08-081-5/+29
|
* Put blink in separate ‘Task’ struct.Brian Cully2022-08-061-49/+11
|
* Blinky on a hardware timer, with ‘wfi’ in between.Brian Cully2022-08-061-11/+82
|
* Move LED to separate module.Brian Cully2022-08-041-34/+11
|
* Get rid of nightly features by using ‘global_asm’.Brian Cully2022-08-031-25/+3
| | | | Now compiles and runs on stable.
* Blinking achieved.Brian Cully2022-08-031-3/+50
|
* Initial bootstrap into ‘main’.Brian Cully2022-08-031-0/+38