Commit Graph

231 Commits

Author SHA1 Message Date
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
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
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
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
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
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 :)
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
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
Ben V. Brown
f599624b6f I2C into nicer wrapper for FreeRToS 2018-04-14 13:37:42 +10:00
Ben V. Brown
cc09157106 Fix UK -> UA for Ukrainian
#261
2018-04-13 17:27:22 +10:00
Ben V. Brown
586267f586 PID retune, ADC Blocks PID properly 2018-04-13 16:19:05 +10:00
Ben V. Brown
f2f20111b6 Force settings reset for 2.04
Also updates FI to #267 but wont be built in releases until string lengths fit.
2018-04-13 10:11:50 +10:00
Ben V. Brown
58061e3c26 Drop SE, add FI 2018-04-13 09:51:03 +10:00
Ben V. Brown
79477685bd Update Settings reset to always zero,
Update GUI for temp setting to round to 10 increments.
2018-04-11 09:58:35 +10:00
Denis Goncharov
a062317e7a Minor corrections of Russian localization (#262)
* Minor corrections of Russian localization

* Russian Translition - Automatic start mode

Changed the description and the header of the "Automatic start mode" mode, since now it is turned on by the checkbox and not by the T/S/F.  
TODO: For other languages, the inaccuracy of this description has remained.

* Russian Translition

Slight fix.

* Ukrainian localization

Added Ukrainian localization. Translation is implemented by natural native speakers.

* LANG_UA -> LANG_UK
2018-04-09 08:00:49 +10:00