1
0
forked from me/IronOS
Commit Graph

71 Commits

Author SHA1 Message Date
Ben V. Brown
a3f037fd1d Include some bias removal based on the target temp to linearise the response a bit more 2020-12-29 10:44:39 +11:00
Ben V. Brown
27bf2a1711 Move to lookuptable for tip calibration 2020-12-28 16:13:30 +11:00
Ben V. Brown
cdeb972593 Cleanup timings in I2C Driver 2020-12-13 16:08:59 +11:00
Ben V. Brown
b63f02d033 Reset some encodings 2020-12-11 19:11:23 +11:00
Ben V. Brown
120a0502d6 The basic NMSIS port 2020-12-10 16:18:44 +11:00
Ben V. Brown
3aeab055bf Merge branch 'master' into pinecil 2020-11-01 14:16:00 +11:00
Ben V. Brown
a1a7eb9e59 Hall Effect sensor working in higher range 2020-10-31 15:45:36 +11:00
Ben V. Brown
1f4ed60838 Wake Halleffect correctly helps..... 2020-10-31 00:15:30 +11:00
Ben V. Brown
ba5bd39e43 Cleanup stubs so that LTO can be used on Pinecil 2020-10-31 00:03:44 +11:00
Mel-kior
f9813ec494 Locking Mode 2020-10-14 01:03:57 +02:00
Ben V. Brown
c8182aa192 Debugging history.hpp compiling odd 2020-10-13 22:08:30 +11:00
Ben V. Brown
58c4ecaea6 Starting hall effect support 2020-10-13 18:46:37 +11:00
Ben V. Brown
c9172f0f9b Move to basic DMA I2C | handle poll FUSB better 2020-09-25 18:50:41 +10:00
Ben V. Brown
088516acea Working auto orientation 2020-09-24 18:06:20 +10:00
Ben V. Brown
e38da13306 Rework _all_ of the I2C
This moves all of the I2C code to IRQ based (not DMA _yet_).
But it does drastically improve reliability, especially of reads.
2020-09-22 21:03:09 +10:00
Ben V. Brown
60e3616c79 Fix PD IRQ 2020-09-20 16:15:55 +10:00
Ben V. Brown
470cae2459 Remove I2C lock2 2020-09-20 16:11:19 +10:00
Ben V. Brown
e6445491bb Move OLED to use bulk setup 2020-09-20 16:09:59 +10:00
Ben V. Brown
ad8df08bb8 Rough pass updating to add BMA223 support 2020-09-18 21:58:36 +10:00
Ben V. Brown
f374787564 Simplify I2C initalisation 2020-09-18 19:50:50 +10:00
Ben V. Brown
adc58ffecf Merge branch 'master' into pinecil 2020-09-17 19:07:55 +10:00
Ben V. Brown
8074255b9e Backport some master changes 2020-09-17 19:05:55 +10:00
Ben V. Brown
023e176c87 Update int_n.cpp 2020-09-05 20:29:57 +10:00
Ben V. Brown
8bacbe49fc Bring back PD 3.0 2020-09-05 20:26:07 +10:00
Ben V. Brown
12cf202338 Remove reset handler 2020-09-05 20:19:12 +10:00
Ben V. Brown
d48b27928a Move I2C initalisations into more logical spots 2020-09-05 20:10:10 +10:00
Ben V. Brown
d9c05db058 I2C wrapper cleanup 2020-09-05 20:04:07 +10:00
Ben V. Brown
275708ee25 Mimimum Buildable 2020-08-18 19:14:15 +10:00
Ben V. Brown
2becaa5eab Further work on Pinecil compile 2020-08-18 18:58:00 +10:00
Ben V. Brown
b370fcfa6f Fix warnings 2020-08-02 16:36:52 +10:00
Ben V. Brown
e4aab8aa91 Update pd.h 2020-08-02 16:27:34 +10:00
Ben V. Brown
c066ec8ae5 Setup delay not required anymore 2020-08-02 16:18:50 +10:00
Ben V. Brown
026e5cc9c5 NULL pointer checks for race 2020-08-02 16:18:43 +10:00
Ben V. Brown
0d03650726 Correct timings 2020-08-02 16:17:51 +10:00
Ben V. Brown
d47c28b760 Use mutex for priority inversion prevention 2020-08-02 16:17:41 +10:00
Ben V. Brown
e2c5e51fe1 Refactor to 1khz RToS 2020-08-01 21:16:23 +10:00
Ben V. Brown
a39185315d Allow query PD for status and remove more cruft from PPS 2020-07-29 22:52:36 +10:00
Ben V. Brown
d68eb95f50 Cleanup more unrequired logic 2020-07-28 22:27:14 +10:00
Ben V. Brown
b6ee4207dd Dont need to soft reset if timing gives SOP' without SOP following
Easier to wait again and let timeout handle reset
2020-07-28 21:56:50 +10:00
Ben V. Brown
0b2311e001 Update config and clean up debugging calls 2020-07-28 21:20:36 +10:00
Ben V. Brown
8f395e2294 Update protocol_tx.cpp 2020-07-28 20:28:36 +10:00
Ben V. Brown
9832b97248 Header updates to match 2020-07-28 20:10:34 +10:00
Ben V. Brown
d35b2bf115 Update protocol_rx.cpp 2020-07-28 20:05:58 +10:00
Ben V. Brown
dd340d3a2b Port from test env cleanups 2020-07-28 20:05:47 +10:00
Ben V. Brown
8eacf50a5b mask stacked reset if another message recieved at the same time 2020-07-28 20:02:32 +10:00
Ben V. Brown
c9a8794fb9 Policy handle already pending message 2020-07-28 20:01:56 +10:00
Ben V. Brown
e6d1249c91 Cleanup model selection 2020-07-25 22:28:38 +10:00
Ben V. Brown
f36e78f664 . 2020-07-23 22:49:05 +10:00
Ben V. Brown
ff65e6437b Shrink flash usage _just_ enough 2020-07-23 22:45:00 +10:00
Ben V. Brown
b40a21470b Update fusbpd.cpp 2020-07-22 23:09:46 +10:00