Paul Fertser
25aee6b661
Move I2CSemaphore creation outside postRToSInit
...
The code assumes that whenever scheduler is running I2CSemaphore is
available. Initialising it in a task might lead to race conditions and
is also not happening at all if the task is disabled (for debugging or
due to lack of need for a particular usecase).
The race condition can't happen with the current code though, as GUI
task has lower priority than the MOV task, and they're the only tasks
that currently use I2C. However, this might change in the future with
the code refactoring or introduction of new features.
2020-08-26 15:07:13 +03:00
Ben V. Brown
9391158399
Re enable accel, fix accel flags & cleanup qc
2020-07-29 22:53:08 +10:00
Ben V. Brown
1f6dfe5da5
MVP
2020-07-22 22:59:20 +10:00
Ben V. Brown
b6c61cfb52
Still testing
2020-07-21 13:39:50 +10:00
Ben V. Brown
4c2fb11d32
Filter returned WFE
2020-06-16 21:25:28 +10:00
Ben V. Brown
2fd06887e8
Better messages flowing
2020-06-16 20:21:26 +10:00
Ben V. Brown
34ae57ee58
Bitbang I2C setup + detect test
2020-06-12 21:10:03 +10:00
Ben V. Brown
441ac7f83a
Move IRQ's for easier tracing
2020-05-30 18:34:49 +10:00
Ben V. Brown
42ebd37bc8
Pull out settings flash calls
2020-05-30 00:05:28 +10:00
Ben V. Brown
22ac8d797b
Update main.cpp
2020-05-29 23:17:23 +10:00
Ben V. Brown
2d8d1ad8da
Move I2C
2020-05-29 23:12:31 +10:00
Ben V. Brown
a32e245789
Split I2C + startup logo
2020-05-29 23:07:59 +10:00
Ben V. Brown
a13f501dfd
More refactoring for the movement thread
2020-05-29 21:54:09 +10:00
Ben V. Brown
6bb56c28ba
Drivers + Threads
2020-05-29 21:49:13 +10:00
Ben V. Brown
8d59b072ef
More shuffle
2020-05-29 21:39:12 +10:00
Ben V. Brown
ef5ba8b650
Move Accel probe into class
2020-05-29 20:46:19 +10:00
Ben V. Brown
4814ae1393
Update main.cpp
2020-05-23 13:42:03 +10:00
Ben V. Brown
3287ee9d78
Change to using setting to control power pulse
2020-05-22 23:30:20 +10:00
Alessandro Gatti
38dbb05bc4
Simplify logo presence check.
2020-05-10 22:41:17 +02:00
firebie
1b60f0c630
Fix autostart sleep
2020-02-14 08:55:38 +02:00
Ben V. Brown
a841608547
Fix race condition around PID temp setpoint
2020-01-18 19:12:53 +11:00
Ben V. Brown
0a671a97ba
Add limiter for setpoint > ADC range
2020-01-18 13:01:51 +11:00
firebie
358726631f
PowerLimit
2020-01-17 21:15:56 +02:00
fatcookies
0591a01c5a
Reduced stack usage in showBootLogoIfavailable().
...
Introduced new function OLED::drawAreaSwapped() for drawing images where
the octets are reveresed endianess in 16-bit words.
2020-01-16 21:58:02 +00:00
Ben V. Brown
d98b1aa76d
Regin the rested voltage to be 9 or 12
2019-12-31 22:44:47 +11:00
Thomas Gimpel
00bf5357c1
Merge branch 'master' into powerPulses
2019-12-28 14:59:36 +01:00
Ben V. Brown
e6a562f8f4
Track if settings were reset
2019-12-28 11:59:56 +11:00
Thomas Gimpel
902fa7f75b
Merge branch 'master' into powerPulses
2019-12-24 10:10:24 +01:00
Ben V. Brown
668e2c0ec0
Squash compiler warnings and keep translation file up to date
2019-12-23 15:10:47 +11:00
Ben V. Brown
c408fc0a7e
tune ts100
2019-12-23 13:25:11 +11:00
Thomas Gimpel
3f45e6a5af
generate power pulses also in soldering and sleep mode
2019-11-24 11:50:51 +01:00
Ben V. Brown
3fea95c6b1
Fix calibration, move to exp moving average
2019-10-08 21:50:50 +11:00
Ben V. Brown
6a39e4bcc8
Work in progress
...
Working, but has temp offset issue slightly.
Could have slightly wrong gain values
2019-10-07 21:11:31 +11:00
Ben V. Brown
64f8ca5c53
Functioning MVP tester
2019-10-07 19:09:21 +11:00
Ben V. Brown
1cf88b2cd6
Rough refactor main control loop to C
2019-10-07 18:58:51 +11:00
Ben V. Brown
4fe8c1654e
Fix build after merge
2019-10-07 16:51:10 +11:00
Alessandro Gatti
5eb3df47df
Speed up accelerometer data intake.
...
The LIS2DH12 driver performed an unnecessary endianness conversion, as
data from the sensor was already coming in little-endian format. The
MMA8652FC driver is now using the rev16 opcode to perform the swap
rather than doing all the bitshuffling operations in multiple steps.
2019-08-29 04:11:38 +02:00
Ben V. Brown
eb3837e529
Re-size stacks
2019-08-19 20:41:27 +10:00
Ben V. Brown
aed7d7b126
Split GUI out for easier management
2019-08-19 20:36:57 +10:00
Ben V. Brown
a49c4e9740
WiP some general cleanup with help of new IDE
...
Static'ing more of the code where possible
2019-08-19 18:53:29 +10:00
Ben V. Brown
7ca613e22b
Migrate :O
2019-08-18 22:24:01 +10:00