1
0
forked from me/IronOS
Commit Graph

49 Commits

Author SHA1 Message Date
discip
73bedf3981 Update GUIThread.cpp 2021-10-28 19:48:14 +02:00
Ben V. Brown
3594604efc Fixes for I2C on Pinecil + USB-PD stack (#1099)
* Remove unused includes

* Adding in submodule

* Move fusb functions to the BSP

* Remove old code

* Creating IronOS PD integration wrapper

* Redirect to wrapper

* pd lib updates

* fix Docker build

* Finish linking across

* Cleanup

* Update Makefile

* Update push.yml

* Update push.yml

* PD -> Compensate for different tick rates

* Update codeql-analysis.yml

* Fix PD #define for @Firebie

* Check irq low at start

* Update BSP.h

* Update main.cpp

* Closer delay

* Update OLED.cpp

* Bugfix trying to start QC too early

* Missing fusb shouldnt hang qc

* Update FreeRTOSConfig.h

* Update the GD drivers

* Update Pinecil IRQ setup

* Redirect printf() to uart

* Update Power.cpp

* Adding extras to PD state

* Update USBPD.cpp

* Delay in printf

* Iterate once before delay on start

* Update usb-pd

* master usb-pd now

* Format gd libs

* Update gd32vf103_bkp.c

* Guard with PD timeout

* Remove CodeQL

* Slow for testing, fix runt pulses at start

* Fix runt pulse in read size 1

* Cleaner probing setup

* Testing delay during stop gen in read 1

* Update I2C driver

* Update gd32vf103_i2c.c

* Cleaning up i2c wrapper a little, given up on dma for rx

* Update preRTOS.cpp

* Update Setup.cpp

* Update MOVThread.cpp

* Slow down UART to work with new clock config

* Better ack setup for 2 byte read

* Cleanup POW_PD so cant be lost in #includes

* tipResistance -> TIP_RESISTANCE

* handle NOP race on len==2

* Update configuration.h

* Dont use neg timeout to mask anymore

* Not required for MHP

* Fix up source display Miniware

* Fix race on PD init

* Update POWThread.cpp

* Update formatting

* MHP format

* Update push.yml

* Faster TS80P I2C

* Bugfix for IRQ handlers

* Correctly handle I2C race on PD access

* Fix CI error (unused var) and MHP IRQ

* Test Pinecil alt ADC mode
2021-10-02 14:48:58 +10:00
Ben V. Brown
9964b6ee31 Use new power names 2021-09-26 07:58:33 +10:00
discip
5105f91621 Update GUIThread.cpp 2021-09-25 03:13:16 +02:00
Ben V. Brown
a936eee83e Define array of Accelerometer names 2021-09-25 10:35:23 +10:00
Ben V. Brown
04fce5d669 Fix enum annocations 2021-09-25 10:31:17 +10:00
Ben V. Brown
55a2cb3f24 Merge branch 'master' into refactor-adc 2021-09-12 19:18:58 +10:00
Ben V. Brown
4b2f350b35 Contrast -> Brightness
As it makes a little more sense in a 1 bit display
2021-09-12 19:14:45 +10:00
Ben V. Brown
8fd2f6e95c Second pass 2021-09-12 14:03:09 +10:00
Ben V. Brown
eb2a748e3f Pass one settings refactor 2021-09-12 13:31:03 +10:00
Ben V. Brown
af0adb0708 Reworking raw adc, handle temp done
Pre seed adc values

Pinecil port

Update PIDThread.cpp

TRGO is more stable for timing (buffered)?
2021-09-11 22:25:57 +10:00
Mel-kior
9aa34348da Change advanced views ( home and soldering ) 2021-08-19 21:46:19 +02:00
Ben V. Brown
966f4d732d Approx thermal runaway config 2021-06-06 08:14:40 +10:00
Ben V. Brown
f752e694df Merge branch 'master' into MHP30 2021-05-08 13:46:56 +10:00
FL550
c8ecbe174f Enable shutdown from sleep mode
If the iron is in sleep mode it is now possible to shutdown with
a long press on the back button without reheating in-between.
2021-05-07 17:23:33 +02:00
Ben V. Brown
532c5136d6 Merge branch 'master' into MHP30 2021-05-05 19:26:59 +10:00
Ben V. Brown
79fa47eb16 Reduce max temp for MHP30 2021-05-05 18:48:12 +10:00
Alvin Wong
9e40449c64 Add menu exit transition animation
Part of which was removed in commit 04d72cb.
2021-05-04 18:14:39 +08:00
Ben V. Brown
dd5daf51e3 Format new content 2021-05-03 22:10:14 +10:00
Ben V. Brown
c20ed926cd Hook some status colours to the LED 2021-05-03 22:00:24 +10:00
Ben V. Brown
5ea2908fa2 Removing timer as wont work & replace with bit bang
Cant keep up with irq
2021-05-03 21:52:18 +10:00
Ben V. Brown
7903df36e5 Create isTipDisconnected function 2021-05-01 16:44:50 +10:00
Ben V. Brown
b817c33181 Update GUIThread.cpp 2021-04-29 21:52:04 +10:00
Ben V. Brown
5114b4243b Turn off sleep mode 2021-04-29 21:43:22 +10:00
Ben V. Brown
b161192691 Merge branch 'master' into messing_with_pd 2021-04-17 10:53:58 +10:00
Alvin Wong
07fb8adb7f Impl. initial translation strings compression 2021-04-12 19:57:29 +08:00
Ben V. Brown
3e7dd3b150 Merge branch 'master' into messing_with_pd 2021-04-10 11:40:31 +10:00
Alvin Wong
7d6d7d11c0 Put translation str indices into a struct 2021-04-09 17:20:24 +08:00
Alvin Wong
82620c685d Change translation strs to be stored in one block 2021-04-09 14:45:33 +08:00
Ben V. Brown
d56332d06b Merge branch 'master' into messing_with_pd 2021-04-05 20:01:40 +10:00
Alvin Wong
33901b688a Change warnUser to use printWholeScreen 2021-04-05 16:40:36 +08:00
Ben V. Brown
77fd9f6a2d Move configuration into inc 2021-04-04 22:48:41 +10:00
Alvin Wong
b2f9eab7fb Refactor font style to be set when printing
Removes the font setting as a global state.
2021-03-21 21:46:12 +08:00
Devydd
00e6e2a8f7 In detailed soldering view add '+' symbol after the temperature to indicate active boost mode (when active) 2021-03-18 17:00:18 +01:00
Ben V. Brown
7fbfde7b33 Correct a few missed time values from the tick rate change (#874)
* Pass over all refs to xTaskGetTickCount()

* That wasn't a second 😓

* Update FreeRTOSConfig.h

* Fix warning in usb code; style; fix slow description
2021-03-15 21:01:09 +11:00
PlayDay
c380cab159 Update GUIThread.cpp 2021-03-08 12:15:52 +01:00
PlayDay
6a81f92efd Update GUIThread.cpp 2021-03-08 12:12:20 +01:00
PlayDay
9449ac896e Fix Battery icon 2021-03-08 12:05:40 +01:00
Ben V. Brown
3e56826e04 Run formatter 2021-02-24 20:30:36 +11:00
Ben V. Brown
2f73c99fa4 Check hall effect sensor is present before threshold 2021-02-24 20:29:26 +11:00
Alvin Wong
47692024c5 Impl. CJK support with zh-TW and yue-HK translations
Also add support for generating font table using the WenQuanYi Bitmap
Song font.
2021-02-07 00:10:38 +08:00
Ben V. Brown
1f6a3ad167 Pinecil uart (#830)
* Creating uart debug handler

* Simpler get raw uV tip

* Update Setup.cpp

* Debug out working. Moved Logo

Need to update docs around logos before merging this in

* Add in current pwm level + fix signed int

* Update moving logo page for pinecil by 64k

* Update TipThermoModel.h
2021-02-02 19:53:19 +11:00
Thomas Weißschuh
15e51f9faa Generate per-language translation sources (#806)
This generates dedicates Translation.cpp files for translation language
and derives all language-specific data from them.

The Makefile is extended to also take care of generating these source
files.
This allows reuse of nearly all object files between builds of different
languages for the same model and regenerating the translation sources if
necessary.
This speeds up the release builds and the normal write-compile-cycle
considerably.
It also eliminates miscompilations when manually building different
languages.
2021-02-02 19:44:34 +11:00
Alvin Wong
dcd40a1bc7 Format code with clang-format 2021-01-26 16:33:21 +08:00
Alvin Wong
ff95a1c0d9 Fix long-press on idle screen immediately changing temp.
Fixes #825
2021-01-26 16:32:54 +08:00
Alvin Wong
e9d0d9bb63 Fix temp. change auto repleat accel. not being reset 2021-01-24 18:37:35 +08:00
Ben V. Brown
2425902fbc Hotfix: BMA Accel wedges I2C if probed too fast after boot
Only an issue on Pinecil as it boots much faster than Miniware units.
2021-01-17 20:13:02 +11:00
Ben V. Brown
f786901da0 Formatting the C/C++ files 2021-01-17 10:48:52 +11:00
Ben V. Brown
184b2c909f ./workspace/TS100 -> ./source/ 2021-01-17 09:43:55 +11:00