23 Commits (8892693344e8c34cb498129ee31ee5159ebbbd0e)

Author SHA1 Message Date
Marc Poulhiès 6eba9ef0c9 Bump cortex-m version 2 years ago
Marc Poulhiès fecf9a654d More modular app
Nearly possible to enable/disable epd,bme and rtc parts.
gpiod ISR still need to be commented, so not only via cargo features.

Rewired rotary switch from PB7 to PC4 as it's shorting the board. Most probably
the pin can't be used like this on the stellaris board (should better check).
2 years ago
Marc Poulhiès e77c53e7e3 Drop support for bme680 crate
Only support the drogue one as it seems to work better.
2 years ago
Marc Poulhiès dea4d2cc61 Switch to RTIC master
Until next release or something breaks.
2 years ago
Marc Poulhiès 9ad839fb87 Migrate to RTIC 0.6 (alpha)
Refactor for RTIC 0.6.
Change tasks priorities as this is most certainly the underlying problem.
Party drop support for bme680 crate, only use drogue's crate now.
2 years ago
Marc Poulhiès 2980f34785 Use upstream rotary-encoder crate 2 years ago
Marc Poulhiès 361ef6e240 Workaround bme680 problem
The sensors becomes unresponsive after some time (can be quick, can be very
long) until a reset is done. Using a soft reset seems to be working, but most
likely there's something incorrect elsewhere.
2 years ago
Marc Poulhiès 31bdc38c89 Use NaiveTime during configuration. 2 years ago
Marc Poulhiès c8e40eb0b7 Fix tm4c123x dep 2 years ago
Marc Poulhiès f8963da904 Use embedded-various-fonts from git 2 years ago
Marc Poulhiès cc814517dd First shot at making conditional compilation for bme680
'usedrogue' cargo feature can be used to use drogue-bme680 instead of bme680.
Currently, works better as it reports a temperature value.
2 years ago
Marc Poulhiès 7fd3fbd96d Refresh Cargo deps, fix a bunch of warnings. 2 years ago
Marc Poulhiès 1229aa7c67 Support for bme680
Init and sensor read using I2C working.
2 years ago
Marc Poulhiès 2ee9387276 Add bme680 support. Only init for now 2 years ago
Marc Poulhiès 0bb506f4cf Refactor some types, add rotary switch handler
Wrap data needed for debouncing a switch in Switch struct.
2 years ago
Marc Poulhiès a89384193b Toggle button works to switch from config to normal mode
There is still an issue when starting with switch in config mode.
Mode change should be refactored.
2 years ago
Marc Poulhiès 499cf81819 Use rotary encoder.
Currently only spawns a task.
2 years ago
Marc Poulhiès a68a66da41 Add rotary encoder + fmt 2 years ago
Marc Poulhiès 340a70f6d4 Use some cfg feature to enable/disable semihosting prints 2 years ago
Marc Poulhiès c8cbc4ed3a WIP for RTIC port 2 years ago
Marc Poulhiès 42dc6c5c5b Use interrupt for triggering alarms
Move away from polling and use interrupts.
Next step would be to add support for hibernation module of TM4C (and fix i2c).
3 years ago
Marc Poulhiès 63e2fee171 Update cargo deps 3 years ago
Marc Poulhiès 23f589a768 First commit for first working version
The smartclock is mostly working as expected. Looks like
there is something not so stable with I2C but that's most
likely cause by tm4c123 hal support crate.

It relies on a modified version of ds323x crate until I
can upstream the change or do these differently.
3 years ago