1
0
forked from me/IronOS
Commit Graph

315 Commits

Author SHA1 Message Date
Ben V. Brown
4fe8c1654e Fix build after merge 2019-10-07 16:51:10 +11:00
Ben V. Brown
bc38132f31 Merge branch 'master' into TweakTS80 2019-10-07 16:40:42 +11:00
Ben V. Brown
144600d531 Merge pull request #499 from agatti/guicleanup
Refactor OLED on/off mechanism.
2019-10-07 16:34:20 +11:00
Alessandro Gatti
5eb3df47df Speed up accelerometer data intake.
The LIS2DH12 driver performed an unnecessary endianness conversion, as
data from the sensor was already coming in little-endian format.  The
MMA8652FC driver is now using the rev16 opcode to perform the swap
rather than doing all the bitshuffling operations in multiple steps.
2019-08-29 04:11:38 +02:00
Alessandro Gatti
b8819b8e73 Refactor OLED on/off mechanism.
Made the display on/off mechanism a bit more self-descriptive by
replacing bare true/false values with an enum with more appropriate
value names.  OLED automatic turn-off logic has been cleaned up,
along with minor updates to the OLED initialisation sequence.
2019-08-28 21:13:39 +02:00
Alessandro Gatti
c26eeb0c2c Remove unused uRender code. 2019-08-23 00:05:31 +02:00
Ben V. Brown
9bdb601742 Fix Debug menu translation 2019-08-19 21:26:24 +10:00
Ben V. Brown
eb3837e529 Re-size stacks 2019-08-19 20:41:27 +10:00
Ben V. Brown
aed7d7b126 Split GUI out for easier management 2019-08-19 20:36:57 +10:00
Ben V. Brown
a49c4e9740 WiP some general cleanup with help of new IDE
Static'ing more of the code where possible
2019-08-19 18:53:29 +10:00
Ben V. Brown
1d4f4822ed Cleanup 2019-08-18 22:32:36 +10:00
Ben V. Brown
7ca613e22b Migrate :O 2019-08-18 22:24:01 +10:00
Alessandro Gatti
495073425e Make build.sh Bash 3.x compatible.
The highest version of bash shipped by vanilla macOS is 3.2, and it will
stay like that for the foreseeable future (bash being removed as default
in 10.15 is a strong indicator for that).

The build.sh script used Bash 4.x syntax for enumerating available
translations - this patch dials back the clock to Bash 3.x making things
work again on macOS and (hopefully) still maintaining functionality on
other platforms that use a newer version of bash.
2019-07-20 00:06:17 +02:00
Ben V. Brown
4347ed2d68 Try and re-tune TS100 and TS80 2019-07-14 11:46:34 +10:00
Ben V. Brown
c5409f4f1b Ts80 Tuned a bit better, Ts100 WiP 2019-07-13 22:54:07 +10:00
Ben V. Brown
74b225ceaa Cleanup IRQ's 2019-07-03 15:33:00 +10:00
Ben V. Brown
f6affb67ca Move Movement filter to history template 2019-07-03 15:32:49 +10:00
Ben V. Brown
3f69dbd5a3 Rework debug menu 2019-07-03 15:32:02 +10:00
Ben V. Brown
b570ebae54 WiP Power limit 2019-06-18 19:32:45 +10:00
Ben V. Brown
884f22c8af All models building 2019-06-18 18:18:17 +10:00
Ben V. Brown
d5eee5f69b Adding helper text & re-enable ts80 pulse 2019-06-18 18:03:26 +10:00
Ben V. Brown
9a2dc5c524 All Strings converted! 2019-06-18 17:52:50 +10:00
Ben V. Brown
d05561bc84 Fix tip selection menu 2019-06-18 08:44:23 +10:00
Ben V. Brown
6b558479e4 Convert over C constants to python aware strings for translation 2019-06-18 08:40:48 +10:00
Ben V. Brown
07f4164a32 Mostly working, still have debugging to go 2019-06-17 21:28:33 +10:00
Ben V. Brown
35ac6d2455 Roughing out first pass on making auto font tables 2019-06-17 18:41:27 +10:00
Jakub Sztandera
c3226110f6 Enable flt-lto-objects for listing generation
I suspect that since -flto was added listing generation wasn't working.
-ffat-lto-objects allows tools like objdump to still work by including
both the internal compiler representation (for LTO) and generated code
in the .o files. It increases the compile time from 12s to 17s on my
machine but I think it is small enough cost for the benefit.

Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
License: MIT
2019-05-07 04:05:23 +02:00
Jakub Sztandera
e8ee66d1c8 Use --specs=nano.specs to enable newlib-nano
Saves 1.6KiB flash.

Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
License: MIT
2019-04-30 20:10:11 +02:00
Ben V. Brown
449e21ae65 Fix build using already variable, updated translations file 2019-01-31 07:25:42 +11:00
Ben V. Brown
1d7dd0b357 Merge branch 'master' of https://github.com/Ralim/ts100 2019-01-26 21:05:28 +11:00
Ben V. Brown
36ea75a6df Fix rotation for TS80 2019-01-26 21:05:18 +11:00
Ben V. Brown
59b57ad80b Merge pull request #426 from federck/patch-19
Minor changes _IT
2019-01-26 19:56:33 +10:00
Ben V. Brown
fa43aebec2 Rotation fix (#432) 2019-01-26 19:42:33 +10:00
Ben V. Brown
3182440854 Fix reading of handle compensation to fix offset tip temperatures 2019-01-26 20:35:39 +11:00
firebie
78e1a1b628 Rotation fix 2019-01-16 16:07:26 +02:00
federck
44f4c12eed Update Translation.cpp 2019-01-02 15:54:37 +01:00
federck
a33b05eb7c Minor changes _IT 2019-01-02 15:33:43 +01:00
Ben V. Brown
9514d3a1db RC2 build
Hopefully helps with #422
Wraps up this round of work  *i hope*
2019-01-01 18:01:55 +11:00
Ben V. Brown
f01ee786ab Less touchy bad tip detection, move tip model text over, at local debug options for atollic 2019-01-01 17:56:54 +11:00
Ben V. Brown
6389c00e1d Fix simple mode crash / lockup from buffer overflow 2019-01-01 17:49:11 +11:00
Ben V. Brown
f023761545 Rebalance ram 2019-01-01 15:15:52 +11:00
Ben V. Brown
9804a989ff Update hardware.c
Fix type on fallback voltage- @dhiltonp
2018-12-29 16:33:59 +11:00
Ben V. Brown
d6b6f2b761 Remove added files from new HAL that break build. 2018-12-29 16:00:51 +11:00
Ben V. Brown
873eb2a1e9 Move to latest HAL release trying to get I2C DMA to be more reliable, and known good point.
Cleans up some redundant calls as well to make some flash room.
2018-12-16 18:13:59 +11:00
Ben V. Brown
b744f51e2d Fix normal solder screen issues, disable I2C DMA pending some testing 2018-12-16 16:16:31 +11:00
Ben V. Brown
8320252eab Merge branch 'master' of https://github.com/Ralim/ts100 2018-11-20 20:28:32 +11:00
Ben V. Brown
fff0ed7581 add vSense lockout 2018-11-20 20:28:30 +11:00
Rockman18
23b8353614 New build.sh script : detect languages with translation_*.json files (#400)
* [Build script] Detect languages with translation_*.json files

* [Build script] Swap model and language in the build loop to avoid full rebuild

* [Build script] Cleaning potential bugs according ShellCheck

* [Build script] Rewrite AVAILABLE_LANGUAGES calculation with @vomindoraan help
2018-11-18 14:09:25 +11:00
Konstantin Đorđević
d052edaf9a Improve consistency in translations, fix language codes, use cyrillicGlyphs, tweak Serbian translation strings (#407)
* Tweak Serbian translations

* Add "cyrillicGlyphs": true to translations that use Cyrillic

* translation_cs_cz.json → translation_cs.json

The correct language code for Czech is CS; CZ is the country code

* Add "cyrillicGlyphs": false to other translations, move "languageLocalName" to top

Also change BG and HU "localLanguageName" to start with a capital letter

* Add missing "languageLocalName" field for Slovak

* Rearrange a few fields so they're in the same order for all languages

* Regenerate translations source file

* Portugues → Português

* translation_dk.json → translation_da.json

DA is the ISO 639-1 code for Danish

* translation_ua.json → translation_uk.json

UK is the ISO 639-1 code for Ukrainian

* Update language codes in build.sh
2018-11-17 11:08:39 +11:00
Ben V. Brown
8e9973a3bf Merge pull request #404 from dhiltonp/master
adjust watts for PWM duty cycle
2018-11-15 18:51:32 +11:00