1
0
forked from me/IronOS
Commit Graph

442 Commits

Author SHA1 Message Date
Ben V. Brown
b2e52bcb15 Fix build on linux 2018-10-11 15:18:27 +11:00
Ben V. Brown
be414d36e3 Fix QC3 for Ts80 vDiv 2018-10-11 14:59:23 +11:00
Ben V. Brown
7d0af3fc4c TS80 Support Stage 1 (#365)
* Estimated pinout into the ioc file

* Fix Atollic paths to be somewhat more portable

* Add make command

* Add rough calls to ADC2 [untested]

* Using dual ADC injected modes

* Start both ADCs

* Move some IRQ's to ram exec

* Stabilize PID a bit more

* Add in ideas for tip type selection

* Update peripheral setup to support TS80

* Add tiptype formula / settings struct

* Add function ids to the settings menu

* Rough tip selection

* Rough out new cal routine for simple tips

* Hardware test is fairly close for first pass

* Add Simple calibration case [UNTESTED]

This adds the calibration option that uses boiling water to the calibration menu.

This is untested, and may need gain adjustments before use.

* [Feat] Add some QC testing code

* Typo fix

* Add double button press handler for different rising times

* Add hook for jump to sleep mode

* QC for 9V Works!

* Rough out QC handler, trim out old menu help text thats useless

* QC 9V working... Static all the things (Low on ROM)!

* Static all I2C to save space

* Move QC negotiation into background task so it doesnt block the UI

* Input V display works, tune ADC

* QC 3 steps working

* Start tip R measurements

* Impliment tip resistance

* Fix up the accel position, link in auto QC stages

* Fix tip title

* Tip type settings, Static OLED

* Revert I2C callbacks

* Misc Cleanup

* Better Gain value, need to investiate offset

* Add model warning

* Add TS80 Boot Logo (#367)

* Add TS80 Boot Logo

* Refined

* Moved down by 1px

* Add in power selection 18/24W

* Clean up accelerometer, fix TS100 builds, Fix voltage div cal
2018-10-11 14:44:56 +11:00
Julius Vitkauskas
a609d702f5 Fix translations: add three new missing options (#370)
* updated spanish translation

* fix translation of 'blinking'

* print which translation json is being read

* removed PID settings

* #362: updated italian translation

* improved json error reporting in make_translation.py

* fixed extra escape character in LANG_SV

* Update translation definitions and Lithuanian translation

* Fix translations: add three new missing options
2018-10-09 15:35:31 +11:00
Ben V. Brown
5bce2d3b03 Add calibration done messages to language definitions 2018-09-27 21:41:33 +10:00
Ben V. Brown
4317a79bf4 Update missing confirmation after the advanced cal 2018-09-27 21:22:12 +10:00
Kyle Repinski
0c7be326e5 Allow more precise input voltage divider calibration. (#359)
Finer input voltage calibration

Settings divisor is stored as uint16_t, not uint8_t.

* Allow more precise input voltage divider calibration.

The existing code changed the input voltage by multiple
tenths of a volt per adjustment, which is way too coarse.

This commit simply multiplies the ADC value (and its divisor)
by 4, which allows for finer calibration adjustments.

Unfortunately, for safety reasons this requires a settings
version bump. While old stored divider values can be detected
and multiplied by 4 on startup to update them, if the user
downgrades firmware it will happily read the new higher value
and cause all sorts of problems (which could be either reading
higher *or* lower depending on how getInputVoltageX10's
parameter wraps around in old firmware due to incorrect type.
2018-09-20 16:35:33 +10:00
Julius Vitkauskas
54ec20cd9f Update translations and use new translations infrastructure (#357)
* Align Lithuanian translation with text length restrictions

* Make translation generation script work also with Python 3

* Fix compilation error by introducing "OffString" string to translations

* Update translations

* Update remaining translations

* Add Finnish, Dutch, Portuguese and Ukrainian languages

* Add Swedish language, update build script

* Add Norwegian and Serbian (Latin) translations

* Update translation file, add automatically generated file warning

* PIDSETTINGS support. Thanks Andre Bernet (kilrah)

* Update Hungarian translation. Thanks adrianmihalko.
2018-09-18 09:55:52 +10:00
Ben V. Brown
056353ed6a Adding adc2 & new temperature calibration proceedures. [WiP] (#361)
* Add rough calls to ADC2 [untested]

* Using dual ADC injected modes

* Start both ADCs

* Move some IRQ's to ram exec

* Stabilize PID a bit more

* Add in ideas for tip type selection

* Add tiptype formula / settings struct

* Add function ids to the settings menu

* Rough tip selection

* Rough out new cal routine for simple tips

* Hardware test is fairly close for first pass

* Add Simple calibration case [UNTESTED]

This adds the calibration option that uses boiling water to the calibration menu.

This is untested, and may need gain adjustments before use.

* Simple Cal Roughly working

* Rough out advanced cal
2018-09-17 22:18:39 +10:00
David Hilton
b3947ccc1c updated spanish translation (#353) 2018-09-06 14:26:05 +10:00
David Hilton
7ec106729c added missing verb to english translation (#352)
* added missing verb

* Also update Translation.cpp
2018-09-06 14:17:14 +10:00
jonnieZG
4c8a9d7c65 Translation editor (#249)
* Enabled DOUBLE line for Croatian + translation fix

Enabled DOUBLE line Menu for Croatian.
A minor translation fix.

* Added Double line menus for Croatian

Added Double line menus for Croatian. For some reason they were not included in the previous pull request, even though I made them (most probably it was by my mistake).

* Added "Power: " translation for Croatian

* Menu desciption scroll sped up 3x

* Slow scroll

* Additional HR translation fix

* EOL fixed

* Fixed flickering - update only when required

* Reverted to Ralim/ts100 current Translation.c, HR translation fix moved
to translation-hr branch

* Synchronized with Ralim master

* Synchronized with Ralim

* Ralim

* Ralim

* Sync

* - Translation Editor Tool (HTML5)
- Translations Parser (HTML5 tool for extracting initial translations from Translations.cpp to separate JSON files)
- Languages extracted into separate JSON files

* Added make_translation.py pre-compile script that creates Translation.cpp from JSON files. This one is just for single-language version, until we make a multi-lingual one.

* Fixed Lithuanian local language name.

* Fixed _lt.json syntax

* Added 12x16 and 6x8 HTML5 font editor

* Added Icon (16x16), Screen (84x16) and Full-Screen (96x16) sizes to Font Editor

* "Font Editor" changed to "Bitmap Editor"

* Added 24x16 icon size
2018-09-04 08:39:00 +10:00
Igor Feghali
389adcb823 ptbr translation revised (#346)
* pt br translation

* ptbr translation reviewed

* ptbr translation revised

* PT BR translation to double line
2018-08-27 22:56:26 +10:00
Ben V. Brown
25f781d796 Better Paths 2018-08-08 18:47:04 +10:00
Ben V. Brown
f07e53f738 Add atollic files 2018-08-07 21:57:06 +10:00
Ben V. Brown
f716578138 Stop adjust buttons auto-rotating
Closes #270
v2.05.01
2018-07-29 11:57:24 +10:00
Ben V. Brown
8ddfa0e275 Adding Norwegian (bokmål) translation
Merged in #277 locally, may need updates but better to get something in.
Closes #277
2018-07-29 11:40:25 +10:00
Yuri Schaeffer
9127802acc Display seconds until sleep in soldering mode. (#311)
Adds a number indicator to the detailed soldering mode that shows the pending time until the iron goes to sleep.
2018-07-29 11:35:25 +10:00
Ben V. Brown
2494522e85 Fix encoding screwup 2018-07-29 11:35:05 +10:00
Ben V. Brown
3d1d47acee Long overdue additions
Closes #329
Closes #324
Closes #331
Should Close #321
Should Close #301
v2.05
2018-07-27 19:21:12 +10:00
Julius Vitkauskas
e598d1cbbb Update Lithuanian translation (#335) 2018-07-27 16:22:44 +10:00
nils måsén
20d1874aee Add Swedish translation (#318)
* Swedish language
2018-06-20 08:43:12 +10:00
Alessandro Gatti
030a714ff2 Initialise variables before usage / Cleanup (#315) 2018-06-17 09:41:53 +10:00
L0laapk3
67066f218f added dutch translation (#307)
* added dutch translation

* fixed caps

* dutch language improvements

* dutch language improvements
2018-06-02 10:44:26 +10:00
Alessandro Gatti
50fe2bcff1 Shrink GUI code and simplify LCD rotation. (#300)
* Inline more methods in FRToSI2C.

* Shrink down GUI code.

* Simplify LCD rotation handling.

* Extract version headers.
2018-05-26 14:21:42 +10:00
dogtopus
a576f44ba2 Add binary generation (#310) 2018-05-26 14:21:06 +10:00
Ben V. Brown
74de59c235 Update readme 2018-05-25 22:24:20 +10:00
Valmantas Palikša
fc669dc274 Use LTO to save up to 7k of flash (#305) 2018-05-18 18:54:57 +10:00
Ben V. Brown
b0b512030f Fix up menu icons
Sorry this got lost 😠
Fixed now :)
Fixes #214 finally.
2018-05-11 13:10:36 +10:00
Ben V. Brown
48cc1ff8cc Add auto-repeat to temp adjust
Fixes #285
2018-05-11 13:06:10 +10:00
Ben V. Brown
c9a56392a0 Bring back cooling blink
Fixes #289
2018-05-11 13:01:21 +10:00
Ben V. Brown
b6b207568c Delay I2C DMA thread on oled slightly
The flickering on the LCD screen was caused by the OLED DMA taking slightly longer than the delays, so the tail end would flicker if the buffer was cleared before it finished writing.

In future may want to double buffer the LCD.

Fixes #290
2018-05-11 12:54:55 +10:00
Alessandro Gatti
8bf65351ea Shrink OLED driver code. (#296)
* Precompute command header.
* Update data header on-demand.
* Use more aggressive inlining.
* Do not clear number buffer twice.
2018-05-11 12:32:37 +10:00
Alessandro Gatti
215fe8e9e8 Reduce code size for accelerometer support (#288)
* Reduce the LIS2DH12 driver's code size.
* Reduce the MMA8652FC driver's code size.
* Make orientation detection smaller.


* Inlined C++ class constructor.
* De-unroll I2C register writes.
* Removed unused setSensitivity method.
2018-05-10 10:02:29 +10:00
Ben V. Brown
4718efe79b 2.04 bugfixes
Should help with UI lockups
v2.04.1
2018-05-07 21:24:29 +10:00
Ben V. Brown
771f0a1b9e Cleanup LCD on/off commands into buffer 2018-05-06 20:06:16 +10:00
Ben V. Brown
1fef2fb53a Move OLED LCD update to be DMA'ed
Start Cleaning up I2C HAL
2018-05-06 18:56:38 +10:00
Ben V. Brown
bf1fa74d72 Update debug info
Change pin configs
Clean up some code
2018-05-06 18:01:34 +10:00
freetushkan
1ae8b2f216 Additional changes in russian localization (#284)
Changes in russian localization (typos, improvements, machine translation replacements). I'd like to maintain this in the future.
2018-05-05 14:55:15 +10:00
Jan Krupička
98ed6be197 factory reset as last item (again) (#282) 2018-05-05 14:54:48 +10:00
freetushkan
19240f2ae5 Some changes in russian localisation (#276) 2018-04-30 08:58:14 +10:00
Ben V. Brown
dd2fdbcb8e Fix button lockout
Fixes #278
2018-04-28 11:46:07 +10:00
Ben V. Brown
42db57da25 Update power indicator
Fixes and closes #211
Final 2.04 release coming up :)
v2.04
2018-04-27 15:25:58 +10:00
Ben V. Brown
b6351f9696 Add showing the tip temp on idle (#226)
This shows the tip temp on the simple home screen if the temp is > 50C.

This removes the tip temp warning for all users, as now everyone can see the tip temp.

#187
2018-04-27 14:46:59 +10:00
Leonid
bf7f1f5062 typo (#272) 2018-04-20 12:44:07 +10:00
Ben V. Brown
6500eb5eed FI Updates
#267
2018-04-14 18:05:13 +10:00
Ben V. Brown
311d5182eb Cleanup formatting 2018-04-14 17:58:28 +10:00
Ben V. Brown
88ea45d8c8 Fix OLED leftover task calls 2018-04-14 17:05:26 +10:00
Ben V. Brown
576575d7ba More FRToS I2C cleanup 2018-04-14 16:33:16 +10:00
Ben V. Brown
7c1937b412 Adding FreeRToS constructs to I2C driver 2018-04-14 15:05:46 +10:00