1
0
forked from me/IronOS
Commit Graph

739 Commits

Author SHA1 Message Date
Ben V. Brown
736bedc51a Scratch 2022-11-20 16:41:46 +11:00
Ben V. Brown
0c18c45490 Import BLE 2022-11-20 16:41:46 +11:00
discip
161b8ba2cb reworked CJC appearance 2022-11-17 00:30:27 +01:00
Ben V. Brown
a15f10e5e7 Merge branch 'dev' into test-slow-i2c 2022-11-07 20:18:57 +11:00
Ben V. Brown
80e7ab3161 Force delay after display state change
So that we backoff if OLED is busy

Update OLED.hpp
2022-11-06 22:53:43 +11:00
Ben V. Brown
7eb9f3f10d Only send on display change 2022-11-06 22:10:09 +11:00
Ben V. Brown
eacb6ac1cd Use ROM 2022-11-06 22:07:55 +11:00
Ben V. Brown
7b600b61d3 Cleanup 2022-11-06 22:07:48 +11:00
Ben V. Brown
d2580a7889 Merge branch 'dev' into test-slow-i2c 2022-11-06 21:32:00 +11:00
Ben V. Brown
6f3a2fb775 Merge branch 'dev' into alvin/cjk-update 2022-11-06 21:12:40 +11:00
discip
680c25ab25 Update Makefile 2022-11-04 23:19:40 +01:00
Alvin Wong
a703a7c2bc Revert "Always use compressed data even for single languages (#1430)"
We're getting "region `RAM' overflowed by 144 bytes" for MHP30_ZH_CN.

This reverts commit 3e939a7d12.
2022-10-25 18:52:54 +08:00
Ben V. Brown
d260ee99df Merge branch 'dev' into test-slow-i2c 2022-10-23 22:59:40 +11:00
discip
ee6ce621a9 Merge branch 'Ralim:dev' into translation_update 2022-10-22 09:59:22 +02:00
Ben V. Brown
3e939a7d12 Always use compressed data even for single languages (#1430)
* Always use compressed data even for single languages

* Update push.yml
2022-10-22 12:26:57 +11:00
Ben V. Brown
bf13020fef Remove debug output meta 2022-10-22 12:01:53 +11:00
Ben V. Brown
30ef41ad5a Update Makefile 2022-10-22 11:54:39 +11:00
Ben V. Brown
17065a38e3 Remove unused 2022-10-22 11:50:13 +11:00
Ben V. Brown
e8fc4c0039 More optimisation flags 2022-10-22 11:46:33 +11:00
Ben V. Brown
849b266d4e Shrink HAL 2022-10-22 11:24:29 +11:00
Ben V. Brown
77930a386c flash api simpler
Update flash.c
2022-10-22 11:24:09 +11:00
Ben V. Brown
23eb7504fb Trimming Miniware 2022-10-22 11:17:27 +11:00
discip
d905dc3d90 Update Translation.h 2022-10-20 22:00:59 +02:00
Ben V. Brown
1a3d6ba219 Fixing up TS80P Build (#1429)
* Silence wchart warning + go back to simple size limiter

Going from smart linker file to basic #defines to make things just easier to debug

* 2 deg c increments for NTC table

* Update cmsis_gcc.h

* Drop special linker

* Update portmacro.h

* Update Makefile
2022-10-20 18:06:05 +11:00
Ben V. Brown
9e66a26b88 Update Setup.cpp 2022-10-07 18:53:27 +11:00
Ben V. Brown
82f49b5f50 Update version.h 2022-09-25 11:34:07 +10:00
Ben V. Brown
4d83f4febc Change 6.2/8 ohm threshold to 4000 2022-09-25 11:11:47 +10:00
discip
c89db78b45 Calibrate CJC at next boot (#1398)
Changes Cold Junction Compensation (Tip Offset / CJC) to be performed during bootup time. (After starting in settings)
2022-09-10 20:52:57 +10:00
Ben V. Brown
19a6e169a7 Update PD for better EPR compatibility 2022-09-07 18:22:52 +10:00
discip
8cee506ede Move Reset Settings to end of the menu (#1401)
* moved_reset_settings

Since in most appliances the reset option is placed somewhere near the end, this might be the way to go for IronOS as well.

Fixed some inconsistencies and a typo along the way.

* rearranged settingGUI to match the actual layout
2022-09-01 21:20:48 +10:00
Ben V. Brown
1245bab1a2 Bump timeout for menu actions (#1384) 2022-08-25 09:17:28 +10:00
discip
b5323d9c77 reorder debug menu . . . (#1380)
* Update DebugMenu.md

* Update make_translation.py

* Update GUIThread.cpp

* Update DebugMenu.md
2022-08-25 09:17:15 +10:00
Ben V. Brown
67d2eda7de Add SC7 accelerometer for MHP30 (#1377) 2022-08-23 09:30:49 +10:00
discip
3a44259735 typo fix (#1368) 2022-08-20 23:01:24 +10:00
Ben V. Brown
1fbcdcdf98 Pinecil V2 (#1341)
* Add SDK

* fork

* massaging makefile

* Drop git module

* Bring in sdk as its broken

Far, Far to much crap to fix with regex now

* Remove bl706

* rf_para_flash_t is missing defs

* Remove crapton of junk

* Remove yet more

* Poking I2C

* Update peripheral_config.h

* Update pinmux_config.h

* Update preRTOS.cpp

* Update main.hpp

* Setup template

* Verbose boot

* I2C ish

* Update I2C_Wrapper.cpp

* Update main.cpp

* Turn off I2C reading for now

* Display running

* Roughing out scheduling timer0

* Starting ADC setup

* Working scheduling of ADC 🎉

* Format adc headers

* Update IRQ.cpp

* Buttons working

* Slow down I2C

* Poking IRQ

* Larger stack required

* Accel on

* Trying to chase down why __libc_init_array isnt working yet

* Working c++

* Cleanup

* Bump stacks

* I2C wake part workaround

* Cleanup

* Working PWM init

* qc draft

* Hookup PWM

* Stable enough ADC

* ADC timing faster + timer without HAL

* Silence

* Remove boot banner

* Tuning in ADC

* Wake PID after ADC

* Remove unused hal

* Draft flash settings

* Working settings save & restore

* Update to prod model

* Cleanup

* NTC thermistor

* Correct adc gain

* Rough tip resistance progress

* Scratch out resistance awareness of the tip

* better adc settings

* Tweaking ADC

* ADC tweaking

* Make adc range scalable

* Update Dockerfile

* Update configuration.h

* Can read same ADC twice in a row

* ADC Setup

* Update PIDThread.cpp

* Lesser adc backoff

* Update USBPD.h

* Add device ID

* Update BSP_Power.h

* Update BSP.cpp

* DrawHex dynamicLength

* Shorter ID padding

* Show validation code

* tip measurement

* Create access for w0w1

* Expose w0 w1

* Enable debug

* crc32

* Device validation

* wip starting epr

* Logic refactor

* Safer PWM Init

* PD cleanups

* Update bl702_pwm.c

* Update power.cpp

* Update usb-pd

* io

* EPR decode

* Better gui for showing pd specs

* Rough handler for capabilities

* EPR

* Fix > 25V input

* Perform pow step after PPS

* Update BSP.cpp

* Fix timer output

* QC3

* Add tip resistance view

* Hold PD negotiation until detection is done for tip res

* Get Thermal mass

* Tip res =0 protection

* Update PIDThread.cpp

* Update GUIThread.cpp

* Rewrite tip resistance measurement

* Update GUIThread.cpp

* Fix fallback

* Far better tip resistance measurement

* Fix QC 0.6V D-

* Convert the interpolator to int32

* Correct the NTC lookup

* Update BSP.cpp

* Update Setup.cpp

* .

Update configuration #defines

More backported functions

* Update usb-pd

* More missed updates

* Refactor BSP

Magic BSP -> PinecilV2
Pine64 BSP -> Pinecil

Update Makefile

* Add Pinecilv2 to CI

* Pinecil v2 multi-lang

Update push.yml

* Update HallSensor.md

* Update README.md

* Fix wrong prestartcheck default

* Fix logo mapping

* Update Makefile

* Remove unused font block

* Style

* Style

* Remove unused timer funcs

* More culling TS80P

* Revert "More culling TS80P"

This reverts commit 2078b89be7.

* Revert "Remove unused timer funcs"

This reverts commit 0c693a89cc.

* Make VBus check maskable

* Remove DMA half transfer

* Drop using brightness and invert icons and go back to text

Saves flash space

* Refactor settings UI drawing descriptions

* Shorten setting function names

* Store bin file assets

* Fix MHP prestart
2022-08-19 15:39:37 +10:00
Ben V. Brown
7fcd2b7c5b Animation non block (#1347)
* Buttons cancel animation

* Button cancels transition

* Update OLED.cpp
2022-08-12 10:36:10 +10:00
discip
e43449011e solves artifacts issue if .gif is exactly 1024 B (#1362)
* solves artifacts issue if .gif is exactly 1024 B

solves https://github.com/Ralim/IronOS-Meta/issues/18

* increased animation speed a tad
2022-08-10 10:16:05 +10:00
Aaronjamt
972d2fffac Allow preheating iron during boot logo
Autostart (if enabled) _before_ showing boot logo (rather than waiting for the entire animation to finish). Only heats if the boot logo is on but not infinite (and autostart is set to heat). Heats to sleep temperature or 75*C, whichever is lower, for safety (and if the iron can get to 75* by the time the logo disappears then this really doesn't matter much). This is purely a preheat if your iron is low-powered and takes a long time to warm and so if autostart is set to heat to soldering temperature, it will start heating the rest of the way once the boot logo disappears.
2022-07-29 10:53:21 -07:00
Ben V. Brown
f1ceb0ec62 Merge branch 'dev' into pd-epr 2022-07-25 17:34:13 +10:00
Ben V. Brown
081290d6be Merge branch 'dev' into ticktype 2022-07-25 17:00:34 +10:00
Ben V. Brown
d47a627b1a Update portmacro 2022-07-25 16:56:37 +10:00
Ben V. Brown
dd239375b1 All Ticks as the right TickType
Update usb-pd
2022-07-25 16:45:29 +10:00
Ben V. Brown
138e3260da Update portmacro.h 2022-07-25 16:41:57 +10:00
nyanpasu64
06e3ca59ea Fix button presses between short and long being ignored entirely 2022-07-24 15:34:39 -07:00
nyanpasu64
c855f4cffe Don't send short-presses after releasing long-presses 2022-07-24 15:16:11 -07:00
nyanpasu64
6d6f42d242 Cleanup getButtonState() 2022-07-24 15:12:27 -07:00
Ben V. Brown
c89a6d855c Update usb-pd 2022-07-19 20:58:47 +10:00
Ben V. Brown
7166dd1f33 Update PD debug to be EPR aware 2022-07-18 22:59:51 +10:00
Ben V. Brown
77af6223a4 Merge in draft EPR 2022-07-18 22:58:01 +10:00
Ben V. Brown
0590f9b3f8 Update usb-pd 2022-07-18 22:55:01 +10:00