1
0
forked from me/IronOS

Compare commits

...

391 Commits

Author SHA1 Message Date
Ben V. Brown
372f8e3565 Update Dockerfile 2020-08-29 14:39:46 +10:00
Ben V. Brown
3d3799d414 Prepare v2.11 release 2020-08-29 14:38:56 +10:00
Ben V. Brown
11f3eadfc9 Merge pull request #655 from paulfertser/temp-rfc-patches
RFC patches
2020-08-27 11:06:03 +10:00
Paul Fertser
b331032f30 Makefile: remove duplicated code generation options from LINKER_FLAGS
LINKER_FLAGS already includes CPUFLAGS via CXXFLAGS (and that's the
right way to have the correct options defined at a single place).
2020-08-26 15:07:28 +03:00
Paul Fertser
25aee6b661 Move I2CSemaphore creation outside postRToSInit
The code assumes that whenever scheduler is running I2CSemaphore is
available. Initialising it in a task might lead to race conditions and
is also not happening at all if the task is disabled (for debugging or
due to lack of need for a particular usecase).

The race condition can't happen with the current code though, as GUI
task has lower priority than the MOV task, and they're the only tasks
that currently use I2C. However, this might change in the future with
the code refactoring or introduction of new features.
2020-08-26 15:07:13 +03:00
Paul Fertser
c1dd88ba53 Allow SWD debugging when built with swd_enable=1 2020-08-26 11:54:29 +03:00
Paul Fertser
780f1f35ca Make flash and bootloader sizes configurable
This patch makes allocating special pages automatic and flexible,
allowing flash size and application start offset specification with
linker command line arguments. It should allow easier porting to
different targets and experimentation without adding code complexity.

Many original STM32F103x8 chips have fully functional 128 kiB flash and
so this additional space might come useful for experimentation,
additional optional features etc. Tested on v2.51A board, including
writing and verifying 128 kiB of random data.

Make variables are added to control that, so to build for the full
undocumented flash size and dapboot configured to start the app from 8
kiB offset one can run:

make flash_size=128k bootldr_size=0x2000
2020-08-26 11:53:47 +03:00
Paul Fertser
76099406ef Update FreeRTOS port-specific files to V10.3.1
This updates Cortex-M3 port files to version found in
V10.3.1-kernel-only tag of FreeRTOS-Kernel.

The new upstream release includes memory barriers which are essential
for use with modern optimising compilers. Without those firmware
certainly breaks with -O3 -flto and might be also broken with other
optimisation configurations.

Fixes: d59ec10c4e ("Update FreeRTOS to v10.3.1")
2020-08-26 11:52:05 +03:00
Ben V. Brown
e66fe461d2 Merge pull request #680 from dimitroffs/better-bg-translate
Better Bulgarian language translations
2020-08-20 07:53:18 +10:00
Dimitar Dimitrov
5d358feee9 Small changes after detailed view on a display 2020-08-19 18:18:58 +03:00
Ben V. Brown
09ff363ae5 Update README.md 2020-08-19 15:09:55 +10:00
Dimitar Dimitrov
e92a81c229 Better Bulgarian language translations 2020-08-17 16:42:27 +03:00
Ben V. Brown
138000f4a5 Merge pull request #672 from Ralim/supporting-FUSB302
Adding support for the TS80P using FUSB302 for USB-PD
2020-08-15 17:10:35 +10:00
Ben V. Brown
8faeb4e587 More accurate TS80P peak 12V current draw 2020-08-15 16:41:28 +10:00
Ben V. Brown
b370fcfa6f Fix warnings 2020-08-02 16:36:52 +10:00
Ben V. Brown
e4aab8aa91 Update pd.h 2020-08-02 16:27:34 +10:00
Ben V. Brown
c066ec8ae5 Setup delay not required anymore 2020-08-02 16:18:50 +10:00
Ben V. Brown
026e5cc9c5 NULL pointer checks for race 2020-08-02 16:18:43 +10:00
Ben V. Brown
666c250630 Setup to basically always pick 5V 2020-08-02 16:18:32 +10:00
Ben V. Brown
d73ad0d11c No need to listen to SOP' SOP" now 2020-08-02 16:18:17 +10:00
Ben V. Brown
0d03650726 Correct timings 2020-08-02 16:17:51 +10:00
Ben V. Brown
d47c28b760 Use mutex for priority inversion prevention 2020-08-02 16:17:41 +10:00
Ben V. Brown
e2c5e51fe1 Refactor to 1khz RToS 2020-08-01 21:16:23 +10:00
Ben V. Brown
9391158399 Re enable accel, fix accel flags & cleanup qc 2020-07-29 22:53:08 +10:00
Ben V. Brown
a39185315d Allow query PD for status and remove more cruft from PPS 2020-07-29 22:52:36 +10:00
Ben V. Brown
a59d008d07 Hold off QC until PD is done 2020-07-29 22:52:20 +10:00
Ben V. Brown
d68eb95f50 Cleanup more unrequired logic 2020-07-28 22:27:14 +10:00
Ben V. Brown
b6ee4207dd Dont need to soft reset if timing gives SOP' without SOP following
Easier to wait again and let timeout handle reset
2020-07-28 21:56:50 +10:00
Ben V. Brown
be57c4f58a Update BSP_PD.c 2020-07-28 21:43:42 +10:00
Ben V. Brown
7b41e2fcca Lower min spec to ~27W for 12v neg 2020-07-28 21:28:27 +10:00
Ben V. Brown
1e19fc80f4 Add ts80p to auto build 2020-07-28 21:26:26 +10:00
Ben V. Brown
add65ead9c Drop timer support as not used 2020-07-28 21:26:05 +10:00
Ben V. Brown
0b2311e001 Update config and clean up debugging calls 2020-07-28 21:20:36 +10:00
Ben V. Brown
8f395e2294 Update protocol_tx.cpp 2020-07-28 20:28:36 +10:00
Ben V. Brown
9832b97248 Header updates to match 2020-07-28 20:10:34 +10:00
Ben V. Brown
d35b2bf115 Update protocol_rx.cpp 2020-07-28 20:05:58 +10:00
Ben V. Brown
dd340d3a2b Port from test env cleanups 2020-07-28 20:05:47 +10:00
Ben V. Brown
8eacf50a5b mask stacked reset if another message recieved at the same time 2020-07-28 20:02:32 +10:00
Ben V. Brown
c9a8794fb9 Policy handle already pending message 2020-07-28 20:01:56 +10:00
Ben V. Brown
23ce11a68f Listen for SOP packets too to keep in sync (discard at software layer) 2020-07-28 19:59:28 +10:00
Ben V. Brown
e6d1249c91 Cleanup model selection 2020-07-25 22:28:38 +10:00
Ben V. Brown
f36e78f664 . 2020-07-23 22:49:05 +10:00
Ben V. Brown
ff65e6437b Shrink flash usage _just_ enough 2020-07-23 22:45:00 +10:00
Ben V. Brown
85decdc15b Merge branch 'master' into supporting-FUSB302 2020-07-23 20:26:56 +10:00
Ben V. Brown
b40a21470b Update fusbpd.cpp 2020-07-22 23:09:46 +10:00
Ben V. Brown
9b0a071e9a Cleaning up a bit for ease of integration 2020-07-22 23:06:59 +10:00
Ben V. Brown
1f6dfe5da5 MVP 2020-07-22 22:59:20 +10:00
Ben V. Brown
4441a5ca93 Handle NTC in TS80P 2020-07-22 22:54:55 +10:00
Ben V. Brown
1cebcdc42b Works on SRC only units.. mostly 2020-07-22 22:39:35 +10:00
Ben V. Brown
6097216b24 Port unreliable but starter PD setup 2020-07-22 22:39:20 +10:00
Ben V. Brown
164c402d1c Update I2CBB.cpp 2020-07-22 22:33:18 +10:00
Ben V. Brown
db517a13e8 Merge pull request #670 from pfeerick/patch-1
Upgrading.md - Use file explorer, not alternatives when upgrading on Windows
2020-07-22 22:19:34 +10:00
Peter
237a1b2dea Use native file explorer, not alternatives
Add mention of not using alternative file managers / copy handlers, similar to wiki mention.

Resolves #544
2020-07-22 20:37:11 +10:00
Ben V. Brown
b6c61cfb52 Still testing 2020-07-21 13:39:50 +10:00
Ben V. Brown
1cc4153315 Merge pull request #665 from Swyter/master
Update the Spanish translation to cover the recent UI changes
2020-07-06 21:44:24 +10:00
Swyter
96d368b91a Last tweaks to the Castilian Spanish translation. The power pulse option acts a bit weird, so shorten the string a big. Happy with the rest. 2020-07-05 14:27:00 +02:00
Swyter
93ef2ea2f1 Minor tweaks to the Castilian Spanish translation, to improve the layout, the explanations and to adapt better to the tight space. 2020-07-05 14:00:07 +02:00
Swyter
a48a5ddf84 Update the Spanish translation to cover the recent UI changes. 2020-07-05 12:31:46 +02:00
Ben V. Brown
a81511ceb9 Merge pull request #659 from paulfertser/fix-tempchange-menu
Fix "Temp change short/long" menu display
2020-06-21 10:25:08 +10:00
Ben V. Brown
6cf245f33e Merge pull request #660 from paulfertser/fix-thumb-position
Fix scrollbar thumb position for long menus
2020-06-21 10:23:41 +10:00
Paul Fertser
099d6b8aee Fix scrollbar thumb position for long menus
Advanced settings menu has 9 entries so the thumb ends up being one
pixel high and on the 9th menu it ends up being closer to the middle of
the screen rather than the end. This patch fixes it.
2020-06-21 00:37:15 +03:00
Paul Fertser
021b8e2fc8 Fix "Temp change short/long" menu display
The values are only two digits so do not overwrite the end of the menu
item string.

Fixes: #658.
2020-06-20 23:41:44 +03:00
Ben V. Brown
c70689df7d Hook up IRQ 2020-06-17 18:22:43 +10:00
Ben V. Brown
43b7947645 Update fusbpd.cpp 2020-06-17 18:15:27 +10:00
Ben V. Brown
12e8d2a93d Update hard_reset.cpp 2020-06-17 18:15:22 +10:00
Ben V. Brown
c55b91af6a static state 2020-06-17 18:15:16 +10:00
Ben V. Brown
6d23617670 IRQ int 2020-06-17 18:14:17 +10:00
Ben V. Brown
4c2fb11d32 Filter returned WFE 2020-06-16 21:25:28 +10:00
Ben V. Brown
2fd06887e8 Better messages flowing 2020-06-16 20:21:26 +10:00
Ben V. Brown
54a8aa7ac6 I2C protection 2020-06-16 20:19:06 +10:00
Ben V. Brown
968e22c7dc Add blank flash hex 2020-06-15 18:56:11 +10:00
Ben V. Brown
9ea92a3c17 Disable i2c slave code (shaves off a few hundred bytes) 2020-06-14 21:12:41 +10:00
Ben V. Brown
61f991e423 Fix watchdog timeouts && get unit to boot 2020-06-14 21:12:25 +10:00
Ben V. Brown
f196c5f1c9 Moving PD framework + big thread cleanup 2020-06-14 16:32:11 +10:00
Ben V. Brown
60abcb0d8b Merge pull request #648 from federck/patch-24
IT_translation update
2020-06-13 23:11:17 +10:00
Ben V. Brown
051417d515 Merge pull request #650 from paulfertser/ts100-swd-over-usb
New TS100 v2.51A version allows SWD over USB pins
2020-06-13 23:10:59 +10:00
Ben V. Brown
2c0b14edd4 Culling until fits in code
Does _not_ negotiate correctly :(
2020-06-12 22:13:40 +10:00
Ben V. Brown
34ae57ee58 Bitbang I2C setup + detect test 2020-06-12 21:10:03 +10:00
Ben V. Brown
aa4485d1d9 Merge pull request #652 from radjah/patch-1
Typos and commas
2020-06-12 07:27:16 +10:00
Ben V. Brown
479b9fc670 Merge pull request #651 from pelkat/dev_tpe
Translated remaining CS (czech) strings
2020-06-12 07:26:41 +10:00
Radjah
5444c3f8de Typos and commas
Corrected errors in the text
2020-06-11 18:16:14 +03:00
Ben V. Brown
450ce17935 Import existing FUSB302 library 2020-06-11 23:30:06 +10:00
Tomas Pelka
753310c212 Translated remaining CS (czech) strings 2020-06-11 14:08:21 +02:00
Ben V. Brown
954770373c Starting the roughout 2020-06-11 18:50:36 +10:00
Paul Fertser
d2b05570fc New TS100 v2.51A version allows SWD over USB pins 2020-06-09 23:36:19 +03:00
federck
b3d16df69a Update translation_it.json 2020-06-07 16:40:53 +03:00
federck
30d8490128 Update translation_it.json 2020-06-07 14:11:58 +03:00
federck
05c5e04bed IT_translation update 2020-06-07 13:32:57 +03:00
Ben V. Brown
18a2c0a9ec Merge pull request #644 from Ralim/docs
Updating some of the markdown docs
2020-06-03 12:01:30 +10:00
Ben V. Brown
88caa3f3c7 Merge pull request #645 from Realetive/patch-1
Fix mistakes
2020-06-03 12:01:12 +10:00
Ben V. Brown
316de7cb1e Merge pull request #638 from playday3008/patch-1
Update translation_uk.json
2020-06-03 12:01:01 +10:00
Ben V. Brown
3b4852f8fb Merge pull request #646 from KITT3000/patch-1
Update PL translation
2020-06-03 12:00:23 +10:00
Ziuta
b7ad1ae0cd Update translation_pl.json 2020-06-02 17:24:41 +02:00
Ziuta
9491262e87 Update PL translation 2020-06-02 17:22:41 +02:00
Realetive
9c86cd228c Fix mistakes 2020-06-02 17:43:07 +03:00
PlayDay
dd5d2c955d Merge branch 'master' into patch-1 2020-06-02 15:57:25 +02:00
Ben V. Brown
f28ba93f0e Update README.md 2020-06-02 22:36:43 +10:00
Ben V. Brown
e6129c3456 Update README.md 2020-06-02 22:32:47 +10:00
Ben V. Brown
b3507218ad Update menu.md 2020-06-02 22:32:44 +10:00
Ben V. Brown
7518a2fe7d Create upgrading.md 2020-06-02 22:32:42 +10:00
Ben V. Brown
76f2278516 Merge pull request #643 from Ralim/update-freertos
Update FreeRTOS to v10.3.1
2020-06-02 18:50:13 +10:00
Ben V. Brown
d59ec10c4e Update FreeRTOS to v10.3.1 2020-06-02 18:20:16 +10:00
Ben V. Brown
64d5e8b1af Fix mixtake in I2C probe check 2020-05-30 18:35:15 +10:00
Ben V. Brown
441ac7f83a Move IRQ's for easier tracing 2020-05-30 18:34:49 +10:00
PlayDay
71a09c0014 Update translation_uk.json 2020-05-30 08:07:36 +02:00
PlayDay
4dc1a19230 Update translation_uk.json 2020-05-30 07:46:39 +02:00
PlayDay
76881e6f50 Update translation_uk.json 2020-05-30 07:42:10 +02:00
PlayDay
93c87fd91d Update translation_uk.json
Forgot  ","
2020-05-30 07:29:21 +02:00
PlayDay
abbcd05117 Update translation_uk.json
Don't merge now
2020-05-30 07:24:09 +02:00
Ben V. Brown
cf18863958 Update version for release 2020-05-30 13:57:04 +10:00
Ben V. Brown
6af4494442 Merge pull request #637 from Ralim/update-compiler
Update to newest compiler from ARM
2020-05-30 13:55:41 +10:00
Ben V. Brown
b4384be3ac Update docker-compose.yml 2020-05-30 13:41:24 +10:00
Ben V. Brown
24f6da9b50 Update to newest compiler from ARM 2020-05-30 13:28:21 +10:00
Ben V. Brown
37d03bdb17 Merge pull request #636 from discip/master
Update translation_en.json
2020-05-30 13:05:24 +10:00
Ben V. Brown
1207f65ba9 Merge pull request #634 from Ralim/feat/BSP
Feature: Move board dependant code to be separate
2020-05-30 13:04:45 +10:00
Ben V. Brown
7cff1cdf3b Update Power.cpp 2020-05-30 12:43:49 +10:00
Ben V. Brown
05b43dfa1c Clean up power calls 2020-05-30 12:43:32 +10:00
Ben V. Brown
5bb85a4a32 Pull out more QC hooks 2020-05-30 12:05:11 +10:00
Ben V. Brown
2bcebd473e Cleanup QC Names 2020-05-30 11:46:13 +10:00
Ben V. Brown
e422fe28ae Enable -werror & wrap malloc
Preventing accidental use of dynamic memory
2020-05-30 11:39:58 +10:00
Ben V. Brown
341d7b1d5a Pin ubuntu version 2020-05-30 11:39:28 +10:00
discip
c6c1c07bfb Merge branch 'master' into master 2020-05-30 00:15:19 +02:00
discip
ecd59462d0 Update translation_en.json 2020-05-30 00:13:48 +02:00
Ben V. Brown
a7a97e604f Update Makefile 2020-05-30 00:29:44 +10:00
Ben V. Brown
5ca0d6e670 Update Translation.h 2020-05-30 00:29:18 +10:00
Ben V. Brown
1e420c8b01 Move Vendor drivers 2020-05-30 00:25:23 +10:00
Ben V. Brown
22aba0855d Cleanup I2C and drivers 2020-05-30 00:23:07 +10:00
Ben V. Brown
ed8e5232b6 Finishing up file cleanup 2020-05-30 00:10:23 +10:00
Ben V. Brown
42ebd37bc8 Pull out settings flash calls 2020-05-30 00:05:28 +10:00
Ben V. Brown
22ac8d797b Update main.cpp 2020-05-29 23:17:23 +10:00
Ben V. Brown
7c45b67967 Update includes 2020-05-29 23:13:30 +10:00
Ben V. Brown
2d8d1ad8da Move I2C 2020-05-29 23:12:31 +10:00
Ben V. Brown
a32e245789 Split I2C + startup logo 2020-05-29 23:07:59 +10:00
Ben V. Brown
d2dacf990c Move I2C to drivers 2020-05-29 22:26:21 +10:00
Ben V. Brown
a01e79aa64 Refactor QC logic for TS80 2020-05-29 22:25:43 +10:00
Ben V. Brown
cd5d9df5ed Update BSP.h 2020-05-29 22:00:24 +10:00
Ben V. Brown
7dbbdf348c Update Makefile 2020-05-29 21:55:53 +10:00
Ben V. Brown
a13f501dfd More refactoring for the movement thread 2020-05-29 21:54:09 +10:00
Ben V. Brown
6bb56c28ba Drivers + Threads 2020-05-29 21:49:13 +10:00
Ben V. Brown
8d59b072ef More shuffle 2020-05-29 21:39:12 +10:00
Ben V. Brown
fd700aecb9 Beginnings of the shuffle 2020-05-29 21:39:06 +10:00
Ben V. Brown
ef5ba8b650 Move Accel probe into class 2020-05-29 20:46:19 +10:00
Ben V. Brown
3b0fc9c6f8 Clean up file locations 2020-05-29 20:13:18 +10:00
Ben V. Brown
45614ff397 Merge pull request #606 from Firebie/TipCoeff
Add tip coeff as setting parameter
2020-05-29 19:30:23 +10:00
firebie
7f6a862e50 Add tip coeff as setting parameter 2020-05-28 14:49:03 +03:00
Ben V. Brown
92ce6128ee Merge pull request #623 from Firebie/LoweringMinTemp
Lowering min temp to 10C
2020-05-28 21:26:20 +10:00
firebie
50dc8689cc Lowering min temp to 10C 2020-05-28 14:09:46 +03:00
Ben V. Brown
55cc5fb681 Merge pull request #633 from Zoli002/patch-1
Update translation_hu.json
2020-05-28 09:06:33 +10:00
Zoli002
ea8dac25f8 Update translation_hu.json
Hungarian translation
Power limit
Maximum power
Reverse temp key + -
Temperature change short press
Temperature change long press
Power pulse mode
2020-05-27 20:22:26 +02:00
Ben V. Brown
c5397b843f Merge pull request #632 from Ralim/feat/power-pulse-for-all
Enable Power Pulse for all models
2020-05-24 18:21:46 +10:00
Ben V. Brown
f90d33f350 Merge branch 'master' into feat/power-pulse-for-all 2020-05-23 14:02:37 +10:00
Ben V. Brown
ac7d72d255 Translation update 2020-05-23 13:59:58 +10:00
Ben V. Brown
f45fd087ab Pull default config out 2020-05-23 13:59:51 +10:00
Ben V. Brown
4814ae1393 Update main.cpp 2020-05-23 13:42:03 +10:00
Ben V. Brown
643120d9ca Merge pull request #629 from xobotyi/update_trans_ru
feat: improve Russian translation
2020-05-23 12:16:12 +10:00
Ben V. Brown
c723464987 Merge branch 'master' into update_trans_ru 2020-05-23 10:07:17 +10:00
xobotyi
a5cd898ee5 fix: bugfixes 2020-05-22 17:40:47 +03:00
xobotyi
376724636d fix: bugfixes 2020-05-22 17:30:56 +03:00
Ben V. Brown
1a671dfbdd Update gui.cpp 2020-05-22 23:56:43 +10:00
Ben V. Brown
65e804e54e Add field for power pulse 2020-05-22 23:56:40 +10:00
Ben V. Brown
76721d5f0d Roughing menu calls in 2020-05-22 23:44:22 +10:00
Ben V. Brown
3287ee9d78 Change to using setting to control power pulse 2020-05-22 23:30:20 +10:00
Ben V. Brown
4ec62f8c8f Create settings field for power pulse 2020-05-22 23:30:09 +10:00
Ben V. Brown
a2aa482bcc Merge pull request #621 from apo76/patch-1
Update translation_fr.json
2020-05-22 22:53:11 +10:00
Ben V. Brown
a82f0ef87e Merge branch 'master' into patch-1 2020-05-22 22:46:39 +10:00
xobotyi
5e02819b29 feat: improve Russian translation
Made int more accurate, fixed some translation mistakes.
2020-05-22 11:25:48 +03:00
Ben V. Brown
1adc136367 Merge pull request #624 from agatti/simplify_logo_check
Simplify logo presence check.
2020-05-11 08:00:12 +10:00
Alessandro Gatti
38dbb05bc4 Simplify logo presence check. 2020-05-10 22:41:17 +02:00
apo76
799bc3991b Update translation_fr.json
Translated some messages that were still displayed in English in the French HEX.
2020-05-02 03:14:53 +02:00
Ben V. Brown
16c5b097d3 Merge pull request #614 from PixelPirate/navigation-animations
Navigation animations
2020-04-25 21:26:04 +10:00
Patrick Horlebein
7eb50e6d8a Add documentation 2020-04-25 12:27:54 +02:00
Patrick Horlebein
dbba4f999a Use tabs instead of spaces 2020-04-25 11:46:34 +02:00
Patrick Horlebein
1c2b763d8b Merge branch 'navigation-animations' of github.com:PixelPirate/ts100 into navigation-animations 2020-04-25 11:43:36 +02:00
Patrick Horlebein
d69293342d Add secondary framebuffer, instead of allocating on stack 2020-04-25 11:43:14 +02:00
Patrick Horlebein
b8c822696b Merge branch 'master' of github.com:Ralim/ts100 into navigation-animations 2020-04-25 11:25:13 +02:00
Ben V. Brown
6c17b4ab79 Merge pull request #615 from discip/master
Update translation_en.json
2020-04-22 11:33:26 +10:00
discip
a78e1cd52a Merge branch 'master' into master 2020-04-21 18:26:25 +02:00
discip
2f8eeaa33a Update translation_en.json
unfortunately forgot something
2020-04-21 17:32:36 +02:00
Patrick Horlebein
4395a3402c Merge branch 'master' into navigation-animations 2020-04-21 10:04:09 +02:00
Ben V. Brown
c6f663282a Merge pull request #613 from discip/master
More consistent appearance of the English translation files thanks to @discip
2020-04-21 08:56:13 +10:00
discip
f3723a0326 hopefully consistent appearance (#1)
* Update translation_en.json

The meaning for the 'O parameter' in the scrolling description was missing.

* Update translation_en.json

Proposal for consistent appearance of text.
2020-04-20 23:49:14 +02:00
Patrick Horlebein
3d33a6ea57 Fix whitespaces 2020-04-17 09:46:01 +02:00
Patrick Horlebein
c851554d3e Merge master into navigation-animations 2020-04-17 09:38:16 +02:00
Ben V. Brown
7dbc01bb0d Merge pull request #608 from PixelPirate/scroll-indicator
Add a scrolling indicator thanks to @PixelPirate
2020-04-17 11:05:29 +10:00
Patrick Horlebein
c2ce1372fe Merge master into scroll-indicator 2020-04-16 13:02:59 +02:00
Patrick Horlebein
add8993da5 Use tabs instead of spaces. 2020-04-16 11:16:17 +02:00
Patrick Horlebein
330c4868c2 Fix navigation animation not playing sometimes. 2020-04-06 18:55:48 +02:00
Patrick Horlebein
f3d0bc3965 Simplified animation methods 2020-04-06 18:49:10 +02:00
Patrick Horlebein
172eea4909 Add ease in / out and cleanup animation methods 2020-04-06 17:40:01 +02:00
Patrick Horlebein
bbb724e8f0 Only play navigation animation when menus changed 2020-04-06 17:39:05 +02:00
Patrick Horlebein
ec6140317c Remove secondFrameBuffer and instead add set_framebuffer method 2020-04-06 17:38:24 +02:00
Ben V. Brown
2b4cf54a61 Merge pull request #601 from playday3008/patch-1
Update translation_uk.json
2020-04-06 19:51:23 +10:00
PlayDay
7f89b8a369 Update translation_ru.json 2020-04-06 11:26:31 +02:00
PlayDay
0b3816aee6 Update translation_uk.json 2020-04-06 11:20:12 +02:00
PlayDay
ffa4069b3c Merge branch 'master' into patch-1 2020-04-05 17:18:04 +02:00
Ben V. Brown
9932ce5732 Merge pull request #600 from federck/patch-21
Update translation_it
2020-04-05 10:58:59 +10:00
federck
278663bd0e Update translation_it
*Italian translation update 😀
2020-04-04 19:33:40 +03:00
PlayDay
0911e2943d Update translation_uk.json 2020-04-04 05:11:41 +02:00
Ben V. Brown
fa58e167f1 Update version.h 2020-04-04 13:32:43 +11:00
Ben V. Brown
af822d3816 Create FUNDING.yml 2020-04-04 13:27:17 +11:00
Ben V. Brown
eef2fb8148 Slight reqork of QC logic to bring back older style + mix in another compatability hack 2020-04-04 13:16:28 +11:00
Ben V. Brown
baa9ff66a8 Update TipThermoModel.cpp
Update comments
2020-04-04 13:15:59 +11:00
Ben V. Brown
482d1c5b61 Restore the project files
If we keep removing these, it keeps requiring rebuilding the entire MX+IDE project which is a pain
2020-04-04 12:00:02 +11:00
Ben V. Brown
ad39fe9750 Update .gitignore
Stop blacklisting IDE project configurations
2020-04-04 11:54:38 +11:00
Patrick Horlebein
81abd5eeac Add navigation animations 2020-04-03 22:40:03 +02:00
Patrick Horlebein
07d35cadd9 Draw scrolling indicator 2020-04-03 17:13:10 +02:00
Patrick Horlebein
153772cb68 Add a 2 pixel wide space in menus for scrolling indicator 2020-04-03 17:12:31 +02:00
Patrick Horlebein
74d144eef8 Add method to draw a scrolling indicator 2020-04-03 16:58:53 +02:00
Ben V. Brown
d45b1d7e27 Merge pull request #596 from GeminiServer/PR-git-hash-fix-on-tags
bugfix - git hash returns tags (if set) instead the short hash
2020-03-21 12:13:30 +11:00
GeminiServer
a5a21a8678 bugfix - git hash returns tags (if set) instead the short hash
using "git rev-parse --short=7 HEAD" to be sure we always get the commit hash.
2020-03-21 01:27:55 +01:00
Ben V. Brown
bccaea746c Merge pull request #595 from GeminiServer/PR-#6-Config-Conditional-Disable-Fahrenheit-Support
PR #6 -  Unit - Fahrenheit support in language translations
2020-03-21 10:23:52 +11:00
Ben V. Brown
bf518ca982 Merge branch 'master' into PR-#6-Config-Conditional-Disable-Fahrenheit-Support 2020-03-21 10:15:41 +11:00
Ben V. Brown
df8e157461 Merge pull request #594 from GeminiServer/PR#5.1-Configuration.h-Cleanup
PR#5.1 configuration.h cleanup
2020-03-21 10:15:08 +11:00
Ben V. Brown
f2f92cc7af Merge branch 'master' into PR#5.1-Configuration.h-Cleanup 2020-03-21 10:14:37 +11:00
Ben V. Brown
9b3bfebe4b Merge pull request #593 from GeminiServer/PR#5-Revert-inLeftHandedMode
PR#5- bool inLeftHandedMode is an internal variable. Reverting configuration.h assignment
2020-03-21 10:14:26 +11:00
GeminiServer
ee0767efb8 Unit - Fahrenheit support in language translations
°F Fahrenheit - You will find the default Fahrenheit configuration in the translation_xx.json
 If tempUnitFahrenheit is set to:
   true -  you can switch in menu settings to Fahrenheit or Celsius.
   false - you see only Celsius. All settings are then is in Celsius only.
2020-03-20 20:37:02 +01:00
GeminiServer
797d2c247a Separated Temp change configurations 2020-03-20 12:49:03 +01:00
GeminiServer
050f207684 bool inLeftHandedMode is an internal variable. Reverting configuration.h assignment 2020-03-20 12:30:54 +01:00
Ben V. Brown
f33e05a6c6 Merge pull request #588 from GeminiServer/PR-#4-TS100-Logo-Left
PR #4 - TS100 logo left
2020-03-20 09:52:07 +11:00
Ben V. Brown
c3631c2ef7 Merge branch 'master' into PR-#4-TS100-Logo-Left 2020-03-20 09:45:30 +11:00
Ben V. Brown
e0ec747ebe Merge pull request #587 from GeminiServer/PR-#3-Version-rule-and-format
PR #3 - Firmware build version with short git hash suffix
2020-03-20 09:44:56 +11:00
Erkan Colak
0036e623ab Merge branch 'master' into PR-#4-TS100-Logo-Left 2020-03-19 18:34:13 +01:00
GeminiServer
da84188703 Merge branch 'PR-#3-Version-rule-and-format' into PR-#4-TS100-Logo-Left 2020-03-19 18:20:50 +01:00
GeminiServer
a5ec2bcfa0 Let's try in in python translate script directly, to keep support ci process.
Reverted build.sh
2020-03-19 18:17:20 +01:00
GeminiServer
4aabf770cd Removed BUILD_VERSION from python translation
Add. new version.h, which included now the build version.
Adapted build.sh -  to extract the build version from versioh.h and sends it to translation script.
2020-03-19 00:42:25 +01:00
Ben V. Brown
318b39a858 Merge pull request #586 from GeminiServer/PR-#2-Temp-Steps-and-revert-buttons
PR #2  - Tip temp change short and long press and reverse +- button
2020-03-17 23:16:47 +11:00
Ben V. Brown
6cfda182bd Merge pull request #585 from GeminiServer/PR-#1-Configuration
PR #1 - Unified the default configuration/setting values and parameters into …
2020-03-17 10:04:27 +11:00
GeminiServer
e323de20be Merge branch 'PR-#3-Version-rule-and-format' into PR-#4-TS100-Logo-Left 2020-03-16 12:02:09 +01:00
GeminiServer
9762beb746 Merge branch 'PR-#2-Temp-Steps-and-revert-buttons' into PR-#3-Version-rule-and-format 2020-03-16 12:02:02 +01:00
GeminiServer
070f909dab Merge branch 'PR-#1-Configuration' into PR-#2-Temp-Steps-and-revert-buttons 2020-03-16 12:01:56 +01:00
GeminiServer
04be8fdba3 Fixed - configuration include header 2020-03-16 12:01:45 +01:00
GeminiServer
f2b9c02da3 Merge branch 'PR-#3-Version-rule-and-format' into PR-#4-TS100-Logo-Left 2020-03-16 11:49:45 +01:00
GeminiServer
9d98530eba Merge branch 'PR-#2-Temp-Steps-and-revert-buttons' into PR-#3-Version-rule-and-format 2020-03-16 11:48:58 +01:00
GeminiServer
7f844d9d0b Merge branch 'PR-#1-Configuration' into PR-#2-Temp-Steps-and-revert-buttons 2020-03-16 11:48:42 +01:00
GeminiServer
1f20bf9cef fixed default values and settings 2020-03-16 11:45:00 +01:00
GeminiServer
3fac547fd8 revert reformatings
adapted default values.
2020-03-16 11:43:28 +01:00
GeminiServer
fad365a8b4 TS100 - Bootup Logo - Left 2020-03-15 15:58:59 +01:00
GeminiServer
2e67da06b0 New - Version rule and format. 2020-03-15 15:56:13 +01:00
GeminiServer
2d0e07266e Tip temp change short and long press and reverse +- button to ui configurations
Temperature change short and long press step to UI Soldering settings menu
Reverse button tip temperature plus minus assignment to UI Menu.
2020-03-15 15:50:11 +01:00
GeminiServer
0461fd0a26 Unified the default configuration/setting values and parameters into one header file. 2020-03-15 14:45:52 +01:00
Ben V. Brown
fddf24b7ff Merge pull request #580 from Swyter/master
Update and proofread the Castilian Spanish translation file
2020-02-29 09:43:03 +10:00
Swyter
322573a1dd Final tweaks for the Castilian Spanish translation; adjust some loose ends and workaround the visual glitch in short ResetOKMessage strings (it keeps part of the previously scrolling text onscreen or only draws it partially on top) by right-padding with spaces. Document the undocumented SettingStartSleepOffChar that isn't mentioned anywhere but starts in sleep mode but keeping the tip off. 2020-02-28 02:34:40 +01:00
Swyter
ebb0ba16ec Additional tweaks and polishing for the Castilian Spanish translation after more testing. 2020-02-28 01:22:57 +01:00
Swyter
47f75c64ed Update and proofread the Castilian Spanish translation file; fix a few typos and awkward phrasing by non-natives. Adjust wording to meet the tight space limitations without losing information. Should be good to go. 2020-02-27 23:17:31 +01:00
Ben V. Brown
44e5ceeedf Merge pull request #573 from Firebie/FixAutostartSleepAgain
Fix autostart sleep (again)
2020-02-14 18:04:44 +11:00
firebie
1b60f0c630 Fix autostart sleep 2020-02-14 08:55:38 +02:00
Ben V. Brown
97ea3b871b Merge pull request #579 from augustozanellato/patch-1
Clearing screen before showing settings reset alert
2020-02-13 06:53:33 +11:00
Augusto Zanellato
6cd4bb9376 Clearing screen before showing settings reset alert
It's needed because as of now the alert overlaps the custom bootlogo
2020-02-12 19:50:36 +01:00
Vadym
e0cc415338 Add autocompilation after push with GitHub Actions (#576)
* Create dockerimage.yml

* Delete dockerimage.yml

* Create ccpp.yml

* Update ccpp.yml

* Delete ccpp.yml

* Create dockerimage.yml

* Delete dockerimage.yml

* Create main.yml

* Delete main.yml

* Create ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml

* Update ccpp.yml
2020-02-10 10:31:54 +11:00
Ben V. Brown
7e689c943e Merge pull request #574 from playday3008/patch-1
Update translation_uk.json
2020-02-07 11:36:41 +11:00
Vadym
d30446fea3 Update translation_uk.json 2020-02-07 01:35:07 +01:00
Vadym
e1454411df Update translation_uk.json 2020-02-06 20:03:24 +01:00
Ben V. Brown
a87489fbfb Merge pull request #570 from Firebie/ralim
Fix version screen for autostart T/S
2020-02-05 07:08:17 +11:00
Ben V. Brown
7edfcd3a64 Merge pull request #572 from Firebie/FixAutostartSleep
Fix autostart S
2020-02-05 07:07:40 +11:00
firebie
f7141103d8 Fix autostart S 2020-02-04 09:19:38 +02:00
firebie
c201e2a9cb Fix version screen for autostart T/S 2020-02-03 22:56:07 +02:00
Ben V. Brown
5abb6232cc Merge pull request #561 from ricktendo/patch-2
Further en desc tweaks
2020-01-27 15:11:39 +11:00
Ben V. Brown
317cffb726 Merge pull request #562 from ricktendo/patch-3
Updated es translation with new strings
2020-01-27 15:11:00 +11:00
Ben V. Brown
3a4636243a Merge pull request #563 from Aleks-Z/master
Update translation_ru.json
2020-01-27 15:07:04 +11:00
Alex Z
abf3394931 Update translation_ru.json 2020-01-24 16:28:59 +03:00
Alex Z
9c054e7a67 Update translation_ru.json 2020-01-21 03:01:46 +03:00
Ricardo Cooper
c22f5436ee Updated es translation with new strings
Added new strings, tweaked some existing and translated some un-translated strings
2020-01-18 20:25:28 -06:00
Ricardo Cooper
d7951fa6ee Further en desc tweaks
Removed '<C>' (Centigrade) symbol from SleepTemperature description and further tweaked some descriptions to match/be more similar to each other.
2020-01-18 19:05:56 -06:00
Ben V. Brown
f4b1c082e8 Merge pull request #560 from ricktendo/patch-1
Correct AutoStart desc
2020-01-19 09:20:50 +11:00
Ben V. Brown
7ab757d1e5 Merge pull request #559 from Firebie/FixForVoltageDisplay
Use SymbolVolts instead of V
2020-01-19 09:20:30 +11:00
Ricardo Cooper
aa8e750437 Update translation_en.json 2020-01-18 11:05:17 -06:00
Ricardo Cooper
f2d3a14f43 Correct AutoStart desc
AutoStard desc letters were not correct, I corrected these based on the characters and also fixed some spacing
2020-01-18 10:59:19 -06:00
firebie
36d556d40a SymbolVolts 2020-01-18 14:36:27 +02:00
Ben V. Brown
e725e63b3f Merge pull request #558 from Ralim/fix/acting-as-red-light
Fix Acting as red light + translations around the auto start
2020-01-18 20:35:32 +11:00
Ben V. Brown
e2067971a5 Rework translation format for soldering settings 2020-01-18 20:09:31 +11:00
Ben V. Brown
a841608547 Fix race condition around PID temp setpoint 2020-01-18 19:12:53 +11:00
Ben V. Brown
0384ef70b0 Add slightly more tolerance to temp model to account for noise 2020-01-18 19:12:42 +11:00
Ben V. Brown
b1899c08f9 Remove unused var 2020-01-18 19:12:24 +11:00
Ben V. Brown
08a1e0c7c7 v Bump 2020-01-18 13:54:11 +11:00
Ben V. Brown
4b2e9e38ea Merge pull request #554 from Ralim/fix/remove-tip-dis-and-fix-disp
Fix: Remove tip disconnection warning. Fix leading zeros (again)
2020-01-18 13:24:54 +11:00
Ben V. Brown
0a671a97ba Add limiter for setpoint > ADC range 2020-01-18 13:01:51 +11:00
Ben V. Brown
03d3a20f9d Fix leader zero suppression (again) 2020-01-18 12:44:08 +11:00
Ben V. Brown
78450d8171 Remove bad tip counter 2020-01-18 12:39:10 +11:00
Ben V. Brown
ca1ff599a9 Merge pull request #553 from Firebie/AutoStartFix
Menu autostart fix + Implement power limit option
2020-01-18 12:02:45 +11:00
firebie
61c127cc2d Autostart: Manual/Auto/Sleep 2020-01-17 22:44:33 +02:00
firebie
358726631f PowerLimit 2020-01-17 21:15:56 +02:00
Ben V. Brown
88b64e24c1 Merge pull request #550 from fatcookies/master
Reduced stack usage in showBootLogoIfavailable().
2020-01-17 10:46:47 +11:00
fatcookies
0591a01c5a Reduced stack usage in showBootLogoIfavailable().
Introduced new function OLED::drawAreaSwapped() for drawing images where
the octets are reveresed endianess in 16-bit words.
2020-01-16 21:58:02 +00:00
Ben V. Brown
1ca87a4241 Merge pull request #546 from Cabalist/gitignorecleanup
Gitignorecleanup
2020-01-03 10:09:12 +11:00
Ryan Jarvis
973a3bfe1a Update .gitignore 2020-01-01 21:56:37 -08:00
Ryan Jarvis
9f0cbc17ef Remove IDE settings and cache files 2020-01-01 21:56:28 -08:00
Ben V. Brown
86d60da935 Merge pull request #542 from Ralim/drop-inline
Drop inline on QC as not required
2019-12-31 23:23:56 +11:00
Ben V. Brown
e1a4418599 Update hardware.cpp 2019-12-31 23:23:20 +11:00
Ben V. Brown
0402b7bd2f Merge pull request #541 from Ralim/v2.07
Update make_translation.py
2019-12-31 23:10:28 +11:00
Ben V. Brown
644a3e4349 Update make_translation.py 2019-12-31 23:09:51 +11:00
Ben V. Brown
76a3ec00d0 Merge pull request #540 from Ralim/Fix-dropped-zeros
Fix dropped zeros
2019-12-31 23:06:31 +11:00
Ben V. Brown
a4ccb3ae96 Merge pull request #539 from Ralim/lets-fix-qc
Fixing QC 12V
2019-12-31 23:04:39 +11:00
Ben V. Brown
0d713ae257 Dont suppress zeros 2019-12-31 22:59:04 +11:00
Ben V. Brown
26bf31ae64 Make zero suppression optional 2019-12-31 22:58:52 +11:00
Ben V. Brown
0672d637a4 Update hardware.cpp 2019-12-31 22:54:43 +11:00
Ben V. Brown
6b7567257b Update hardware.cpp 2019-12-31 22:46:23 +11:00
Ben V. Brown
554001a2d4 Cleanup QC 2019-12-31 22:45:00 +11:00
Ben V. Brown
d98b1aa76d Regin the rested voltage to be 9 or 12 2019-12-31 22:44:47 +11:00
Ben V. Brown
7683ad155d Merge pull request #538 from Ralim/fix-temp-symbol
Fix the temp symbol to be used in soldering mode
2019-12-29 16:46:40 +11:00
Ben V. Brown
832940353b Draw nicer temp sybols if current font allows 2019-12-29 16:35:41 +11:00
Ben V. Brown
e82c75258a Add readback for the current font 2019-12-29 16:35:29 +11:00
Ben V. Brown
3040bc5fa4 Merge pull request #523 from thomasgi1/powerPulses
generate power pulses also in soldering and sleep mode
2019-12-29 16:10:19 +11:00
Thomas Gimpel
00bf5357c1 Merge branch 'master' into powerPulses 2019-12-28 14:59:36 +01:00
Ben V. Brown
4626f32ede Merge pull request #535 from Ralim/feat/Settings-Reset-Should-Warn
Show warning message when settings are reset from a firmware update.
2019-12-28 12:36:42 +11:00
Ben V. Brown
ce81a3ee18 Update Translation.cpp 2019-12-28 12:00:44 +11:00
Ben V. Brown
255f7009f2 Display the warning 2019-12-28 12:00:34 +11:00
Ben V. Brown
da882fe27a Export new settings message 2019-12-28 12:00:26 +11:00
Ben V. Brown
2032e8a2f3 Return if settings were reset 2019-12-28 12:00:18 +11:00
Ben V. Brown
e6a562f8f4 Track if settings were reset 2019-12-28 11:59:56 +11:00
Ben V. Brown
97f0dcae36 Cleanup generator code to handle \n in messages 2019-12-28 11:59:43 +11:00
Ben V. Brown
2d5482ecd2 Add new SettingsResetMessage Message 2019-12-28 11:59:33 +11:00
Ben V. Brown
ff69301207 Merge pull request #534 from Ralim/fix-drop-leader-zeros
Fix drop leader zeros
2019-12-28 11:31:25 +11:00
Ben V. Brown
5974ece927 Dont blank entire string if all zero 2019-12-28 11:21:40 +11:00
Ben V. Brown
3ca3b7fcca Delete language.settings.xml 2019-12-28 11:21:21 +11:00
Ben V. Brown
48b32dcf45 Merge pull request #532 from Ralim/menu-should-timeout
Menu should timeout
2019-12-28 11:10:06 +11:00
Ben V. Brown
c1cc64c485 Fix typo 2019-12-28 10:57:40 +11:00
Ben V. Brown
5c2c37604e Merge pull request #533 from Ralim/codeship-update
Codeship update
Re-work the build script to keep temp files that can be kept
2019-12-26 11:31:54 +11:00
Ben V. Brown
b46ae3a7a5 Fix cleaning temp files properly to allow re-use of STM libs 2019-12-26 11:23:36 +11:00
Ben V. Brown
e394ad0a93 Fix line ending mistake 2019-12-26 11:13:42 +11:00
Ben V. Brown
636edcbd50 Drop github-releases, decided against auto releases 2019-12-26 11:04:33 +11:00
Thomas Gimpel
902fa7f75b Merge branch 'master' into powerPulses 2019-12-24 10:10:24 +01:00
Ben V. Brown
7e2ba77d79 Merge pull request #531 from Ralim/nix-leader-zero
Walk over number prints to drop leader zeros
2019-12-24 12:26:36 +11:00
Ben V. Brown
f2337ffc37 Add timeout to the menu display logic 2019-12-24 12:17:02 +11:00
Ben V. Brown
0f707bf323 Dont double save 2019-12-24 12:13:40 +11:00
Ben V. Brown
8e50f16f6c Walk over number prints to drop leader zeros 2019-12-24 12:08:22 +11:00
Ben V. Brown
7e7d31d563 Merge pull request #524 from awigen/update-linux-flash-script
Update Linux flash script
2019-12-24 11:57:27 +11:00
Ben V. Brown
dc3d64444f Merge branch 'master' of https://github.com/Ralim/ts100 2019-12-23 23:05:46 +11:00
Ben V. Brown
3a45014b75 Add build status 2019-12-23 23:04:00 +11:00
Ben V. Brown
ae388031b4 Merge pull request #530 from Ralim/add-build-command
Create build.sh
2019-12-23 22:50:00 +11:00
Ben V. Brown
f33ea7e4d7 Create build.sh 2019-12-23 22:46:58 +11:00
Ben V. Brown
2c121df181 Update codeship-steps.yml 2019-12-23 22:15:53 +11:00
Ben V. Brown
4ccf735351 Merge pull request #529 from Ralim/fix-perm
Fix execute bits
2019-12-23 19:37:59 +11:00
Ben V. Brown
937728b734 Fix execute bits 2019-12-23 08:36:54 +00:00
Ben V. Brown
3554913153 Merge pull request #528 from Ralim/ci-codeship
Setting up CI builds
2019-12-23 19:26:29 +11:00
Ben V. Brown
7b563bf2ba Merge pull request #527 from Ralim/testing-temp-rework
Temperature control system re-write
2019-12-23 19:24:55 +11:00
Ben V. Brown
448b5824ff Prevent reuse causing lang issues due to optimisations 2019-12-23 19:22:16 +11:00
Ben V. Brown
47fb6d2cc1 Update translations, more repeatable sorting 2019-12-23 19:21:53 +11:00
Ben V. Brown
aee37d4c5d Merge branch 'testing-temp-rework' into ci-codeship 2019-12-23 18:46:00 +11:00
Ben V. Brown
cc79fcb4cf Rough pass at builder 2019-12-23 18:36:10 +11:00
Ben V. Brown
51420829f0 update build script 2019-12-23 18:33:24 +11:00
Ben V. Brown
668e2c0ec0 Squash compiler warnings and keep translation file up to date 2019-12-23 15:10:47 +11:00
Ben V. Brown
720f81a0f5 Remove unused thermal model 2019-12-23 15:06:55 +11:00
Ben V. Brown
9e7355adab Update .gitignore 2019-12-23 14:48:34 +11:00
Ben V. Brown
d8f7d660b8 Rough ts80 tuning 2019-12-23 13:33:17 +11:00
Ben V. Brown
c408fc0a7e tune ts100 2019-12-23 13:25:11 +11:00
Ben V. Brown
329f6fdbe7 Fix battery voltage not updating when not soldering 2019-12-23 13:19:48 +11:00
Ben V. Brown
e3434fba9e Update GUIThread.cpp 2019-12-23 13:14:28 +11:00
Alex Wigen
a596ffd5e4 Update Linux flash script
Miwer commented in issue #11 that on Mint 17.3 lsblk does not escape
potentially unsafe characters like it does on Fedora (lsblk v2.32.1). So
broaden the grep match expression to catch both posibilities.
2019-11-30 23:21:04 +10:00
Thomas Gimpel
3f45e6a5af generate power pulses also in soldering and sleep mode 2019-11-24 11:50:51 +01:00
Ben V. Brown
a3faa9fa4a Merge pull request #520 from onovy/master
Update Czech translation
2019-11-09 16:11:14 +11:00
Ondřej Nový
b3f8193fdf Update Czech translation 2019-11-08 20:08:52 +01:00
Ben V. Brown
cad422fba4 Merge pull request #519 from C0rn3j/master
Grammar and other small fixes
2019-11-03 15:14:00 +11:00
C0rn3j
e5171d0ead Grammar and other small fixes 2019-11-02 15:38:34 +01:00
Ben V. Brown
5cfab0ad65 Merge pull request #511 from OliverParoczai/patch-1
Grammar fixes
2019-10-15 18:45:58 +11:00
Paróczai Olivér
d3fbfb9d46 Grammar fixes 2019-10-14 22:38:14 +02:00
Ben V. Brown
3fea95c6b1 Fix calibration, move to exp moving average 2019-10-08 21:50:50 +11:00
Ben V. Brown
6a39e4bcc8 Work in progress
Working, but has temp offset issue slightly.

Could have slightly wrong gain values
2019-10-07 21:11:31 +11:00
Ben V. Brown
3e1abc451c Remove old PID struct 2019-10-07 19:31:02 +11:00
Ben V. Brown
eda0681eb8 Update & Fix translations 2019-10-07 19:09:28 +11:00
Ben V. Brown
64f8ca5c53 Functioning MVP tester 2019-10-07 19:09:21 +11:00
Ben V. Brown
1cf88b2cd6 Rough refactor main control loop to C 2019-10-07 18:58:51 +11:00
Ben V. Brown
c5f6f6d044 Roughing out concept of patent based temp curve 2019-10-07 18:20:09 +11:00
Ben V. Brown
c1db22cb4a Merge pull request #508 from Ralim/TweakTS80
This re-works the movement filter and some IRQ cleanup misc work.
2019-10-07 16:51:46 +11:00
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
Ben V. Brown
e162d20723 Merge pull request #507 from playday3008/patch-1
Fixed translations Ukranian
2019-10-07 16:33:04 +11:00
Вадим
9040d6fe9c Fixed translations 2019-10-06 05:27:52 +02:00
Ben V. Brown
84de602245 Merge pull request #500 from agatti/accelerometer-speedup
Speed up accelerometer driver data processing.
2019-08-29 17:39:09 +10: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
Ben V. Brown
c96f1b528a Merge pull request #496 from aWZHY0yQH81uOYvH/master
changed Python logo converter to use correct line endings on all OSes
2019-08-28 18:50:48 +10:00
aWZHY0yQH81uOYvH
ef88d5ec31 changed Intel HEX gen to use correct line endings on all OSes 2019-08-27 22:58:39 -07:00
Ben V. Brown
481be32c2f Merge pull request #493 from agatti/remove-urender
Remove unused uRender code.
2019-08-27 12:40:54 +10:00
Alessandro Gatti
c26eeb0c2c Remove unused uRender code. 2019-08-23 00:05:31 +02:00
Ben V. Brown
08f7dedd52 Merge pull request #492 from Ralim/STMCubeIDE
Move to STM32CubeIDE
2019-08-19 21:30:37 +10: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
bafe43fc63 Updating documentation 2019-08-19 07:54:16 +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
Ben V. Brown
09ce60f658 Merge pull request #486 from agatti/macos_build_fix
Fix build on macOS
2019-08-16 08:13:54 +10:00
Ben V. Brown
bcae079cd7 Merge pull request #488 from mesutkilic/patch-1
added some turkish translations
2019-08-16 08:13:19 +10:00
Ben V. Brown
a18cca6639 Merge pull request #491 from timecop97/master
changed intel Hex gen to use unix line endings to fix #460
2019-08-16 08:12:34 +10:00
timecop97
379df5b7c1 changed intel Hex gen to use unix line ends 2019-08-15 14:12:02 +01:00
Mesut KILIÇ
27d40d0b36 added some turkish translations 2019-07-23 14:51:05 +03:00
Ben V. Brown
a9dec94476 Merge pull request #487 from pikipirs/master
Slovenian Translation
2019-07-23 19:18:58 +10:00
pikipirs
25c96dab2c Add files via upload 2019-07-23 11:07:10 +02: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
376 changed files with 116767 additions and 315382 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# Ignore all differences in line endings
* -crlf

4
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,4 @@
# These are supported funding model platforms
ko_fi: ralim
custom: https://paypal.me/RalimTek

24
.github/workflows/ccpp.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: C/C++ CI
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: chmod
run: chmod +x build.sh
- name: translation
run: |
cd Translation\ Editor
python3 make_translation.py
- name: make
run: ./build.sh
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:
name: compiled
path: ci/artefacts

137
.gitignore vendored
View File

@@ -53,3 +53,140 @@ Translation Editor/.vscode/
Translation Editor/__pycache__/
*.pyc
workspace/TS100/src/Translation.cpp
*.lst
*.mk
*.list
workspace/TS100/Release/
workspace/TS100/Hexfile/
workspace/RemoteSystemsTempFiles/
workspace/TS100/.settings/
workspace/TS100/TS80/
ci/artefacts/
ci/secrets/unencrypted/
codeship.aes
.vscode/settings.json
# Auto generated files
workspace/TS100/Core/Src/Translation.cpp
workspace/TS100/Core/Inc/unit.h
# IDE configs
.vs/*
.settings/*
..cproject.swp
# Visual Studios
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# Eclipse
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# PyDev specific (Python IDE for Eclipse)
*.pydevproject
# CDT- autotools
.autotools
# Java annotation processor (APT)
.factorypath
# PDT-specific (PHP Development Tools)
.buildpath
# sbteclipse plugin
.target
# Tern plugin
.tern-project
# TeXlipse plugin
.texlipse
# STS (Spring Tool Suite)
.springBeans
# Code Recommenders
.recommenders/
# Annotation Processing
.apt_generated/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
# Jetbrains
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
CoreCompileInputs.cache

View File

@@ -1 +0,0 @@
1f6b9b8bf2c9e759acd19ce919cfeae19b243aa0

View File

@@ -0,0 +1,258 @@
:020000040800F2
:10F8000055AA0DF0F800E808A8A8AC28ECACC80888
:10F81000A828A8A848A88808284808E828C828A828
:10F8200008C828C828A80CC80C0C0C0C0808080824
:10F830000C0C0C0C080C0808080810102020C02024
:10F840002040804000000000000000008080808098
:10F850008080808080808080808080808180158210
:10F86000542A00801F0020202F202F282020252010
:10F870002A2A2A2A27282120282F202F2827282B08
:10F8800020272827282B2027202020202020202048
:10F8900020202020202020204020404040401F20C9
:10F8A0002010081005050505050505050908090AC4
:10F8B000090A090A080A08080808080808080508C3
:10F8C000020500020000000000000000000000002F
:10F8D0000000000000000000000000000000000028
:10F8E0000000000000000000000000000000000018
:10F8F0000000000000000000000000000000000008
:10F9000000000000000000000000000000000000F7
:10F9100000000000000000000000000000000000E7
:10F9200000000000000000000000000000000000D7
:10F9300000000000000000000000000000000000C7
:10F9400000000000000000000000000000000000B7
:10F9500000000000000000000000000000000000A7
:10F960000000000000000000000000000000000097
:10F970000000000000000000000000000000000087
:10F980000000000000000000000000000000000077
:10F990000000000000000000000000000000000067
:10F9A0000000000000000000000000000000000057
:10F9B0000000000000000000000000000000000047
:10F9C0000000000000000000000000000000000037
:10F9D0000000000000000000000000000000000027
:10F9E0000000000000000000000000000000000017
:10F9F0000000000000000000000000000000000007
:10FA000000000000000000000000000000000000F6
:10FA100000000000000000000000000000000000E6
:10FA200000000000000000000000000000000000D6
:10FA300000000000000000000000000000000000C6
:10FA400000000000000000000000000000000000B6
:10FA500000000000000000000000000000000000A6
:10FA60000000000000000000000000000000000096
:10FA70000000000000000000000000000000000086
:10FA80000000000000000000000000000000000076
:10FA90000000000000000000000000000000000066
:10FAA0000000000000000000000000000000000056
:10FAB0000000000000000000000000000000000046
:10FAC0000000000000000000000000000000000036
:10FAD0000000000000000000000000000000000026
:10FAE0000000000000000000000000000000000016
:10FAF0000000000000000000000000000000000006
:10FB000000000000000000000000000000000000F5
:10FB100000000000000000000000000000000000E5
:10FB200000000000000000000000000000000000D5
:10FB300000000000000000000000000000000000C5
:10FB400000000000000000000000000000000000B5
:10FB500000000000000000000000000000000000A5
:10FB60000000000000000000000000000000000095
:10FB70000000000000000000000000000000000085
:10FB80000000000000000000000000000000000075
:10FB90000000000000000000000000000000000065
:10FBA0000000000000000000000000000000000055
:10FBB0000000000000000000000000000000000045
:10FBC0000000000000000000000000000000000035
:10FBD0000000000000000000000000000000000025
:10FBE0000000000000000000000000000000000015
:10FBF0000000000000000000000000000000000005
:10F8000055AA0DF0F800E808A8A8AC28ECACC80888
:10F81000A828A8A848A88808284808E828C828A828
:10F8200008C828C828A80CC80C0C0C0C0808080824
:10F830000C0C0C0C080C0808080810102020C02024
:10F840002040804000000000000000008080808098
:10F850008080808080808080808080808180158210
:10F86000542A00801F0020202F202F282020252010
:10F870002A2A2A2A27282120282F202F2827282B08
:10F8800020272827282B2027202020202020202048
:10F8900020202020202020204020404040401F20C9
:10F8A0002010081005050505050505050908090AC4
:10F8B000090A090A080A08080808080808080508C3
:10F8C000020500020000000000000000000000002F
:10F8D0000000000000000000000000000000000028
:10F8E0000000000000000000000000000000000018
:10F8F0000000000000000000000000000000000008
:10F9000000000000000000000000000000000000F7
:10F9100000000000000000000000000000000000E7
:10F9200000000000000000000000000000000000D7
:10F9300000000000000000000000000000000000C7
:10F9400000000000000000000000000000000000B7
:10F9500000000000000000000000000000000000A7
:10F960000000000000000000000000000000000097
:10F970000000000000000000000000000000000087
:10F980000000000000000000000000000000000077
:10F990000000000000000000000000000000000067
:10F9A0000000000000000000000000000000000057
:10F9B0000000000000000000000000000000000047
:10F9C0000000000000000000000000000000000037
:10F9D0000000000000000000000000000000000027
:10F9E0000000000000000000000000000000000017
:10F9F0000000000000000000000000000000000007
:10FA000000000000000000000000000000000000F6
:10FA100000000000000000000000000000000000E6
:10FA200000000000000000000000000000000000D6
:10FA300000000000000000000000000000000000C6
:10FA400000000000000000000000000000000000B6
:10FA500000000000000000000000000000000000A6
:10FA60000000000000000000000000000000000096
:10FA70000000000000000000000000000000000086
:10FA80000000000000000000000000000000000076
:10FA90000000000000000000000000000000000066
:10FAA0000000000000000000000000000000000056
:10FAB0000000000000000000000000000000000046
:10FAC0000000000000000000000000000000000036
:10FAD0000000000000000000000000000000000026
:10FAE0000000000000000000000000000000000016
:10FAF0000000000000000000000000000000000006
:10FB000000000000000000000000000000000000F5
:10FB100000000000000000000000000000000000E5
:10FB200000000000000000000000000000000000D5
:10FB300000000000000000000000000000000000C5
:10FB400000000000000000000000000000000000B5
:10FB500000000000000000000000000000000000A5
:10FB60000000000000000000000000000000000095
:10FB70000000000000000000000000000000000085
:10FB80000000000000000000000000000000000075
:10FB90000000000000000000000000000000000065
:10FBA0000000000000000000000000000000000055
:10FBB0000000000000000000000000000000000045
:10FBC0000000000000000000000000000000000035
:10FBD0000000000000000000000000000000000025
:10FBE0000000000000000000000000000000000015
:10FBF0000000000000000000000000000000000005
:10F8000055AA0DF0F800E808A8A8AC28ECACC80888
:10F81000A828A8A848A88808284808E828C828A828
:10F8200008C828C828A80CC80C0C0C0C0808080824
:10F830000C0C0C0C080C0808080810102020C02024
:10F840002040804000000000000000008080808098
:10F850008080808080808080808080808180158210
:10F86000542A00801F0020202F202F282020252010
:10F870002A2A2A2A27282120282F202F2827282B08
:10F8800020272827282B2027202020202020202048
:10F8900020202020202020204020404040401F20C9
:10F8A0002010081005050505050505050908090AC4
:10F8B000090A090A080A08080808080808080508C3
:10F8C000020500020000000000000000000000002F
:10F8D0000000000000000000000000000000000028
:10F8E0000000000000000000000000000000000018
:10F8F0000000000000000000000000000000000008
:10F9000000000000000000000000000000000000F7
:10F9100000000000000000000000000000000000E7
:10F9200000000000000000000000000000000000D7
:10F9300000000000000000000000000000000000C7
:10F9400000000000000000000000000000000000B7
:10F9500000000000000000000000000000000000A7
:10F960000000000000000000000000000000000097
:10F970000000000000000000000000000000000087
:10F980000000000000000000000000000000000077
:10F990000000000000000000000000000000000067
:10F9A0000000000000000000000000000000000057
:10F9B0000000000000000000000000000000000047
:10F9C0000000000000000000000000000000000037
:10F9D0000000000000000000000000000000000027
:10F9E0000000000000000000000000000000000017
:10F9F0000000000000000000000000000000000007
:10FA000000000000000000000000000000000000F6
:10FA100000000000000000000000000000000000E6
:10FA200000000000000000000000000000000000D6
:10FA300000000000000000000000000000000000C6
:10FA400000000000000000000000000000000000B6
:10FA500000000000000000000000000000000000A6
:10FA60000000000000000000000000000000000096
:10FA70000000000000000000000000000000000086
:10FA80000000000000000000000000000000000076
:10FA90000000000000000000000000000000000066
:10FAA0000000000000000000000000000000000056
:10FAB0000000000000000000000000000000000046
:10FAC0000000000000000000000000000000000036
:10FAD0000000000000000000000000000000000026
:10FAE0000000000000000000000000000000000016
:10FAF0000000000000000000000000000000000006
:10FB000000000000000000000000000000000000F5
:10FB100000000000000000000000000000000000E5
:10FB200000000000000000000000000000000000D5
:10FB300000000000000000000000000000000000C5
:10FB400000000000000000000000000000000000B5
:10FB500000000000000000000000000000000000A5
:10FB60000000000000000000000000000000000095
:10FB70000000000000000000000000000000000085
:10FB80000000000000000000000000000000000075
:10FB90000000000000000000000000000000000065
:10FBA0000000000000000000000000000000000055
:10FBB0000000000000000000000000000000000045
:10FBC0000000000000000000000000000000000035
:10FBD0000000000000000000000000000000000025
:10FBE0000000000000000000000000000000000015
:10FBF0000000000000000000000000000000000005
:10F8000055AA0DF0F800E808A8A8AC28ECACC80888
:10F81000A828A8A848A88808284808E828C828A828
:10F8200008C828C828A80CC80C0C0C0C0808080824
:10F830000C0C0C0C080C0808080810102020C02024
:10F840002040804000000000000000008080808098
:10F850008080808080808080808080808180158210
:10F86000542A00801F0020202F202F282020252010
:10F870002A2A2A2A27282120282F202F2827282B08
:10F8800020272827282B2027202020202020202048
:10F8900020202020202020204020404040401F20C9
:10F8A0002010081005050505050505050908090AC4
:10F8B000090A090A080A08080808080808080508C3
:10F8C000020500020000000000000000000000002F
:10F8D0000000000000000000000000000000000028
:10F8E0000000000000000000000000000000000018
:10F8F0000000000000000000000000000000000008
:10F9000000000000000000000000000000000000F7
:10F9100000000000000000000000000000000000E7
:10F9200000000000000000000000000000000000D7
:10F9300000000000000000000000000000000000C7
:10F9400000000000000000000000000000000000B7
:10F9500000000000000000000000000000000000A7
:10F960000000000000000000000000000000000097
:10F970000000000000000000000000000000000087
:10F980000000000000000000000000000000000077
:10F990000000000000000000000000000000000067
:10F9A0000000000000000000000000000000000057
:10F9B0000000000000000000000000000000000047
:10F9C0000000000000000000000000000000000037
:10F9D0000000000000000000000000000000000027
:10F9E0000000000000000000000000000000000017
:10F9F0000000000000000000000000000000000007
:10FA000000000000000000000000000000000000F6
:10FA100000000000000000000000000000000000E6
:10FA200000000000000000000000000000000000D6
:10FA300000000000000000000000000000000000C6
:10FA400000000000000000000000000000000000B6
:10FA500000000000000000000000000000000000A6
:10FA60000000000000000000000000000000000096
:10FA70000000000000000000000000000000000086
:10FA80000000000000000000000000000000000076
:10FA90000000000000000000000000000000000066
:10FAA0000000000000000000000000000000000056
:10FAB0000000000000000000000000000000000046
:10FAC0000000000000000000000000000000000036
:10FAD0000000000000000000000000000000000026
:10FAE0000000000000000000000000000000000016
:10FAF0000000000000000000000000000000000006
:10FB000000000000000000000000000000000000F5
:10FB100000000000000000000000000000000000E5
:10FB200000000000000000000000000000000000D5
:10FB300000000000000000000000000000000000C5
:10FB400000000000000000000000000000000000B5
:10FB500000000000000000000000000000000000A5
:10FB60000000000000000000000000000000000095
:10FB70000000000000000000000000000000000085
:10FB80000000000000000000000000000000000075
:10FB90000000000000000000000000000000000065
:10FBA0000000000000000000000000000000000055
:10FBB0000000000000000000000000000000000045
:10FBC0000000000000000000000000000000000035
:10FBD0000000000000000000000000000000000025
:10FBE0000000000000000000000000000000000015
:10FBF0000000000000000000000000000000000005
:00000001FF

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -42,8 +42,8 @@ def intel_hex_line(record_type, offset, data):
for byte in data:
yield "{:02X}".format(byte)
# compute and write checksum (with DOS line ending for compatibility/safety)
yield "{:02X}\r\n".format((((sum(data, # sum data ...
# compute and write checksum (now using unix style line endings for DFU3.45 compatibility
yield "{:02X}\n".format((((sum(data, # sum data ...
record_length # ... and other ...
+ sum(split16(offset)) # ... fields ...
+ record_type) # ... on line
@@ -229,7 +229,7 @@ if __name__ == "__main__":
sys.exit(1)
try:
with open(args.output_filename, 'w') as output:
with open(args.output_filename, 'w', newline='\r\n') as output:
img2hex(args.input_filename,
output,
args.preview,

File diff suppressed because it is too large Load Diff

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM ubuntu:20.04
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
WORKDIR /build
# Setup the ARM GCC toolchain
# Install any needed packages specified in requirements.txt
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
make \
bzip2 \
git \
python3 \
wget && \
apt-get clean
RUN wget -qO- https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 | tar -xj
# Add compiler to the path
ENV PATH "/build/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH"
COPY . /build/source
COPY ./ci /build/ci

2
Flashing/flash_ts100_linux.sh Normal file → Executable file
View File

@@ -37,7 +37,7 @@ function enable_gautomount {
}
function is_attached {
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU\\\\x20Disk'`
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU.*Disk'`
if [ $? -ne 0 ]; then
return 1
fi

View File

@@ -24,21 +24,21 @@ V1.16
V1.15
* Added support for a custom bootup logo to be programmed via the DFU bootloader.
* Added support for a custom bootup logo to be programmed via the DFU bootloader
V1.14
* Changed input voltage cutoff to be based on cell count rather than voltage.
* Changed input voltage cutoff to be based on cell count rather than voltage
V1.13
* Swapped buttons for menu to prevent accidentally changing first menu item
* Added auto key repeat.
* Added auto key repeat
V1.12
* Increases sensitivity options to be 1*9 with 0 off state
* Fixes issue where going from COOL *> soldering can leave screen off.
* Fixes issue where going from COOL *> soldering can leave screen off
V1.11
@@ -85,5 +85,5 @@ V1.03
V1.02
* Adds hold both buttons on IDLE to access the therometer mode.
* Changes the exit soldering mode to be holding both buttons (Like original firmware).
* Adds hold both buttons on IDLE to access the therometer mode
* Changes the exit soldering mode to be holding both buttons (Like original firmware)

View File

@@ -43,4 +43,3 @@ On the idle screen, you can hold the settings button and it will show you the fi
* **Other information**
If submitting graphics to go on the iron, please use BMP or PNG files over JPG.

View File

@@ -2,11 +2,9 @@
Please try and fill out this template where possible, not all fields are required and can be removed.
* **Please check if the PR fulfills these requirements**
- [ ] The commit message make sense
- [ ] The changes have been tested locally
- [ ] New features have been documented in the Wiki
- [ ] I'm willing to maintain this in the future (Totally Optional)
- [] The commit message makes sense
- [] The changes have been tested locally
- [] Are there any breaking changes
* **What kind of change does this PR introduce?**
(Bug fix, feature, docs update, ...)

116
README.md
View File

@@ -1,106 +1,80 @@
# TS100 & TS80 Firmware
[![Codeship Status for ts100](https://app.codeship.com/projects/c77dbfe0-0764-0138-9520-3eb35bdb2b2c/status?branch=master)](https://app.codeship.com/projects/379118)
![C/C++ CI](https://github.com/Ralim/ts100/workflows/C/C++%20CI/badge.svg)
This firmware is a fresh start for these soldering irons. Designed from the ground up as fully featured control software that leaves nothing to be desired.
It originally started back back at the end of 2016 and has since seen vast improvements, especially some very smart work by community members.
# Flexible Soldering iron control Firmware
The firmware supports everything you would expect in the soldering iron, and has the same features as the stock firmware with some nice extras packed in.
There is a comprehensive menu system in the iron that allows for adjustment of all the settings on the unit, and support for various languages is added by the communitiy.
*Please Note, this repo will likely be renaming soon to unire - See issue #639. Old links willcontinue to work, and should redirect. So dont panic :) This is just to better account for the newer soldeing irons being added.*
On the TS100 there are settings to allow you to specify a cutoff voltage for different lithium iron battery packs to protect your power source.
For the TS80 these are removed and replaced with the selection of 18W or 24W depending on what your QC power bank can support.
Otherwise both systems work very similar and should support all the features.
Originally concieved as an alternative firmware for the TS100, this firmware has evolved into a complex soldering iron control firmware.
The firmware implements all of the standard features of a "smart" soldering iron, with lots of little extras and tweaks.
I highly reccomend reading the installation guide fully when installing on your iron.
For soldering irons that are designed to be powered by "smart" power sources (QC and PD), the firmware supports settings around the negotiated power and voltage.
For soldering irons that are designed to be powered by batteries (TS100), settings for a cutoff voltage for battery protection are supported.
There are 25 languages currently supported as of present. When downloading the firmware for your soldering iron take node of the language code in the file name.
This project is considered feature complete for use as a soldering iron, *so please suggest any feature improvements you would like!*
*This firmware does **NOT** support the usb port while running for changing settings. This is done through the onscreen menu only. Logos are edited using the tool or python script and uploaded in DFU mode.*
*This firmware does **NOT** support the USB port while running for changing settings. This is done through the onscreen menu only. Logos are edited using the tool or python script and uploaded in DFU mode.*
## Core Features
## Key Features
* PID iron temperature control
* PID style iron temperature control
* Automatic sleep with selectable sensitivity
* Motion wake support
* Settings menu on the unit
* (TS100) Set a voltage lower limit for Lithium batteries so you dont kill your battery pack
* (TS80 ) Set 18W or 24W settings for your power bank
* All settings saved to flash when you exit the menu
* All settings exposed in intuitive menu
* (TS100) Set a voltage lower limit for Lithium batteries so you don't kill your battery pack
* (TS80) Set 18W or 24W settings for your power bank
* Improved readability Fonts
* Use hardware features to improve reliability
* Can disable movement detection if desired
* Full tip profile calibration
* Boost mode lets you temporarily change the temperature when soldering (ie raise temperature for short periods of time)
* (TS100) Battery charge level indicator if power source set to a lipo cell count.
* (TS80) Power bank operating voltage is displayed.
* Custom boot up logo support.
* Automatic LCD rotation based on orientation
* Boost mode lets you temporarily change the temperature when soldering (i.e. raise the temperature for short periods of time)
* (TS100) Battery charge level indicator if power source set to a lipo cell count
* (TS80) Power bank operating voltage is displayed
* [Custom boot up logo support](upgrading.md)
* Automatic LCD rotation based on the orientation
* Supports both the version 1 and version 2 hardware (different accelerometers)
# Upgrading your iron
This is completely safe, if it goes wrong just put the .hex file from the official website onto the unit and your back to the old firmware. Downloads for the hex files to flash are available on the [releases page.](https://github.com/Ralim/ts100/releases) The file you want is called *(MODEL)_EN.hex* unless you want the translations, they are (MODEL)_*language short name*.hex. Where (MODEL) is either TS100 or TS80.
Officially the bootloader on the iron only works under Windows. However, users have reported that it does work under Mac, and can be made to work under Linux *sometimes*. Details over on the [wiki page](https://github.com/Ralim/ts100/wiki/Upgrading-Firmware).
```
1. Hold the button closest to the tip, and plug in the USB to the computer.
2. The unit will appear as a USB drive.
3. Drag the .hex file onto the USB drive.
4. The unit will disconnect and reconnect.
5. The filename will have changed to end in .RDY or .ERR
6. If it ends with .RDY you're done! Otherwise something went wrong.
7. If it didnt work the first time, try copying the file again without disconnecting the iron, often it will work on the second shot.
8. Disconnect the USB and power up the iron. You're good to go.
```
For the more adventurous out there, you can also load this firmware onto the device using a SWD programmer.
On the bottom of the MCU riser pcb, there are 4 pads for programming.
There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need a SWD programmer to load onto the unit).
For the TS80 the SWD pins are used for the QC negotiation, so you can actually connect to the SWD power via the USB connector
## Setting a custom bootup image
This firmware uses a different method of updating the bootup image.
This removes the need for emulating a USB drive on the iron just to allow for a bootup image to be setup.
There are further instructions on the [wiki](https://github.com/Ralim/ts100/wiki/Logo-Editor).
Instructions are kept on the wiki so that users can update the information if they find extra helpful information.
# Menu System
This new firmware uses a new menu system to allow access to the settings on the device.
When on the main screen, the unit shows prompts for the two most common operations.
* Pressing the button near the tip enters soldering mode
* Pressing the button near the USB enters the settings menu.
* Holding the button near the tip will enter soldering temperature adjust mode (This is the same as the one in the soldering menu, just to let you edit before heating up).
* Holding the button near the USB end will show the firmware version details.
* Pressing the button near the USB enters the settings menu
* Holding the button near the tip will enter soldering temperature adjust mode (This is the same as the one in the soldering menu, just to let you edit before heating up)
* Holding the button near the USB end will show the firmware version details
More details are over in the [Menu information.](menu.md)
Detailed operation details are over in the [Menu information.](menu.md)
## Thanks
If you love this firmware and want to continue my caffeine addiction, you can do so [here](https://paypal.me/RalimTek) (or email me for other options).
I also want to give a shout out to all of the [Fantastic Contributors](https://github.com/Ralim/ts100/graphs/contributors).
If you love this firmware and want to continue my caffeine addiction, you can do so here (or email me for other options) : https://paypal.me/RalimTek
I also want to should out to all of the [Fantastic Contributors](https://github.com/Ralim/ts100/graphs/contributors).
Especially to the following users, who have helped in various ways that are massively appreciated:
Especially to the following users, who have helped in various ways that are massively appreciated.:
* [dhiltonp](https://github.com/dhiltonp)
* [Dhiltonp](https://github.com/dhiltonp)
* [Mrkvozrout](https://github.com/Mrkvozrout)
* [jonnieZG](https://github.com/jonnieZG)
* [federck](https://github.com/federck)
* [jvitkauskas](https://github.com/jvitkauskas)
* [doegox](https://github.com/doegox)
* [perillamint](https://github.com/perillamint)
* [JonnieZG](https://github.com/jonnieZG)
* [Federck](https://github.com/federck)
* [Jvitkauskas](https://github.com/jvitkauskas)
* [Doegox](https://github.com/doegox)
* [Perillamint](https://github.com/perillamint)
* [GeminiServer](https://github.com/GeminiServer)
* [PixelPirate](https://github.com/PixelPirate)
* [Firebie](https://github.com/Firebie)
* [Agatti](https://github.com/agatti)
* [Discip](https://github.com/discip)
## Licence
The code in this repository that is based on the STM tools is under a BSD like licence.
The code created by the community is GNU GPLv3. Unless noted elsewhere.
The FreeRToS is under its own licence.
Other components such as FreeRTOS have their own licence.
## Commercial Use
This software is provided as-is, so I cannot provide any commercial support for the firmware. However you are more than welcome to distribute links to the firmware, or provide irons with this software on them.
Please do not re-host the files, but rather link to this page, so that there are not old versions of the firmware scattered around. If this firmware does make you money, it would be nice to recieve a donation, however there is no enforcement.
This software is provided as-is, so I cannot provide any commercial support for the firmware. However, you are more than welcome to distribute links to the firmware, or provide irons with this software on them.
Please do not re-host the files, but rather link to this page, so that there are no old versions of the firmware scattered around.

View File

@@ -1,12 +1,17 @@
#!/usr/bin/env python3
#coding=utf-8
# coding=utf-8
from __future__ import print_function
import json
import os
import io
from datetime import datetime
import sys
import fontTables
import re
import subprocess
TRANSLATION_CPP = "Translation.cpp"
UNIT_H = "unit.h"
try:
to_unicode = unicode
@@ -28,6 +33,7 @@ def loadJson(fileName, skipFirstLine):
# Reading all language translations into a dictionary by langCode
def readTranslations(jsonDir):
langDict = {}
UnitDict = {}
# Read all translation files from the input dir
for fileName in os.listdir(jsonDir):
@@ -52,14 +58,19 @@ def readTranslations(jsonDir):
except KeyError:
langCodeFromJson = "(missing)"
try:
TempUnitF_FromJson = lang['tempUnitFahrenheit']
except KeyError:
TempUnitF_FromJson = True # Default to true.
# ...cause they should be the same!
if langCode != langCodeFromJson:
raise ValueError("Invalid languageCode " + langCodeFromJson +
" in file " + fileName)
langDict[langCode] = lang
return langDict
UnitDict[langCode] = TempUnitF_FromJson
return langDict, UnitDict
def writeStart(f):
@@ -74,27 +85,46 @@ def writeStart(f):
"""))
def writeStartUnit(f):
f.write(
to_unicode(
"""// WARNING: THIS FILE WAS AUTO GENERATED BY make_translation.py. PLEASE DO NOT EDIT.
/**
* °F Fahrenheit Support
* You will find the default Fahrenheit configuration in the translation_xx.json
* If tempUnitFahrenheit is set to:
* true - you can switch in menu settings to Fahrenheit or Celsius.
* false - you see only Celsius. All settings are then is in Celsius only.
*/
#ifndef _UNIT_H
#define _UNIT_H\n
"""))
def escapeC(s):
return s.replace("\"", "\\\"")
def getConstants():
# Extra constants that are used in the firmware that are shared across all languages
consants =[]
consants.append(('SymbolPlus','+'))
consants.append(('SymbolMinus','-'))
consants.append(('SymbolSpace',' '))
consants.append(('SymbolDot','.'))
consants.append(('SymbolDegC','C'))
consants.append(('SymbolDegF','F'))
consants.append(('SymbolMinutes','M'))
consants.append(('SymbolSeconds','S'))
consants.append(('SymbolWatts','W'))
consants.append(('SymbolVolts','V'))
consants.append(('SymbolDC','DC'))
consants.append(('SymbolCellCount','S'))
consants.append(('SymbolVersionNumber','V2.06'))
consants = []
consants.append(('SymbolPlus', '+'))
consants.append(('SymbolMinus', '-'))
consants.append(('SymbolSpace', ' '))
consants.append(('SymbolDot', '.'))
consants.append(('SymbolDegC', 'C'))
consants.append(('SymbolDegF', 'F'))
consants.append(('SymbolMinutes', 'M'))
consants.append(('SymbolSeconds', 'S'))
consants.append(('SymbolWatts', 'W'))
consants.append(('SymbolVolts', 'V'))
consants.append(('SymbolDC', 'DC'))
consants.append(('SymbolCellCount', 'S'))
consants.append(('SymbolVersionNumber', buildVersion))
return consants
def getTipModelEnumTS80():
constants = []
constants.append("B02")
@@ -103,39 +133,39 @@ def getTipModelEnumTS80():
constants.append("User") # User
return constants
def getTipModelEnumTS100():
constants = []
constants.append("B02")
constants.append("D24")
constants.append("BC2")
constants.append(" C1")
constants.append("TS100")# end of miniware
constants.append("TS100") # end of miniware
constants.append("BC2")
constants.append("Hakko")# end of hakko
constants.append("Hakko") # end of hakko
constants.append("User")
return constants
def getDebugMenuHeaders():
def getDebugMenu():
constants = []
constants.append("DateHere")
constants.append("Heap: ")
constants.append("HWMG: ")
constants.append("HWMP: ")
constants.append("HWMM: ")
constants.append("Time: ")
constants.append("Move: ")
constants.append("RTip: ")
constants.append("CTip: ")
constants.append("Vin: ")
constants.append("THan: ")
constants.append("Model: ")
constants.append("Tres: ")
constants.append(datetime.today().strftime('%d-%m-%y'))
constants.append("HW G ")
constants.append("HW M ")
constants.append("HW P ")
constants.append("Time ")
constants.append("Move ")
constants.append("RTip ")
constants.append("CTip ")
constants.append("CHan ")
constants.append("Vin ")
constants.append("PCB ") # PCB Version AKA IMU version
return constants
def getLetterCounts(defs, lang):
textList = []
#iterate over all strings
# iterate over all strings
obj = lang['menuOptions']
for mod in defs['menuOptions']:
eid = mod['id']
@@ -177,9 +207,9 @@ def getLetterCounts(defs, lang):
constants = getConstants()
for x in constants:
textList.append(x[1])
textList.extend(getDebugMenuHeaders())
textList.extend(getTipModelEnumTS100())
textList.extend(getTipModelEnumTS80())
textList.extend(getDebugMenu())
# collapse all strings down into the composite letters and store totals for these
@@ -188,26 +218,25 @@ def getLetterCounts(defs, lang):
line = line.replace('\n', '').replace('\r', '')
line = line.replace('\\n', '').replace('\\r', '')
if len(line):
#print(line)
# print(line)
for letter in line:
symbolCounts[letter] = symbolCounts.get(letter, 0) + 1
symbolCounts = sorted(
symbolCounts.items(),
key=lambda kv: kv[1]) # swap to Big -> little sort order
key=lambda kv: (kv[1], kv[0])) # swap to Big -> little sort order
symbolCounts = list(map(lambda x: x[0], symbolCounts))
symbolCounts.reverse()
return symbolCounts
def getFontMapAndTable(textList):
# the text list is sorted
# allocate out these in their order as number codes
symbolMap = {}
symbolMap['\n'] = '\\x01'
symbolMap['\n'] = '\\x01' # Force insert the newline char
index = 2 # start at 2, as 0= null terminator,1 = new line
forcedFirstSymbols = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
#enforce numbers are first
# enforce numbers are first
for sym in forcedFirstSymbols:
symbolMap[sym] = "\\x%0.2X" % index
index = index + 1
@@ -230,12 +259,14 @@ def getFontMapAndTable(textList):
print('Missing Large font element for {}'.format(sym))
exit(1)
fontLine = fontTable[sym]
fontTableStrings.append(fontLine + "//{} -> {}".format(symbolMap[sym],sym))
fontTableStrings.append(
fontLine + "//{} -> {}".format(symbolMap[sym], sym))
if sym not in fontSmallTable:
print('Missing Small font element for {}'.format(sym))
exit(1)
fontLine = fontSmallTable[sym]
fontSmallTableStrings.append(fontLine + "//{} -> {}".format(symbolMap[sym],sym))
fontSmallTableStrings.append(
fontLine + "//{} -> {}".format(symbolMap[sym], sym))
for sym in textList:
if sym not in fontTable:
@@ -243,12 +274,14 @@ def getFontMapAndTable(textList):
exit(1)
if sym not in forcedFirstSymbols:
fontLine = fontTable[sym]
fontTableStrings.append(fontLine + "//{} -> {}".format(symbolMap[sym],sym))
fontTableStrings.append(
fontLine + "//{} -> {}".format(symbolMap[sym], sym))
if sym not in fontSmallTable:
print('Missing Small font element for {}'.format(sym))
exit(1)
fontLine = fontSmallTable[sym]
fontSmallTableStrings.append(fontLine + "//{} -> {}".format(symbolMap[sym],sym))
fontSmallTableStrings.append(
fontLine + "//{} -> {}".format(symbolMap[sym], sym))
outputTable = "const uint8_t USER_FONT_12[] = {" + to_unicode("\n")
for line in fontTableStrings:
# join font table int one large string
@@ -266,7 +299,7 @@ def getFontMapAndTable(textList):
def convStr(symbolConversionTable, text):
# convert all of the symbols from the string into escapes for their content
outputString = ""
for c in text.replace('\\r', '').replace('\\n','\n'):
for c in text.replace('\\r', '').replace('\\n', '\n'):
if c not in symbolConversionTable:
print('Missing font definition for {}'.format(c))
else:
@@ -277,7 +310,7 @@ def convStr(symbolConversionTable, text):
def writeLanguage(languageCode, defs, f):
print("Generating block for " + languageCode)
lang = langDict[languageCode]
#Iterate over all of the text to build up the symbols & counts
# Iterate over all of the text to build up the symbols & counts
textList = getLetterCounts(defs, lang)
# From the letter counts, need to make a symbol translator & write out the font
(fontTableText, symbolConversionTable) = getFontMapAndTable(textList)
@@ -291,7 +324,6 @@ def writeLanguage(languageCode, defs, f):
f.write(to_unicode("// ---- " + langName + " ----\n\n"))
# ----- Writing SettingsDescriptions
obj = lang['menuOptions']
f.write(to_unicode("const char* SettingsDescriptions[] = {\n"))
@@ -317,14 +349,15 @@ def writeLanguage(languageCode, defs, f):
for mod in defs['messages']:
eid = mod['id']
if eid not in obj:
sourceText = ""
if 'default' in mod:
sourceText = (mod['default'])
if eid in obj:
sourceText = (obj[eid])
translatedText = convStr(symbolConversionTable, sourceText)
f.write(
to_unicode("const char* " + eid + " = \"" +
convStr(symbolConversionTable, (mod['default'])) + "\";"+ "//{} \n".format(mod['default'])))
else:
f.write(
to_unicode("const char* " + eid + " = \"" +
convStr(symbolConversionTable, (obj[eid])) + "\";"+ "//{} \n".format(obj[eid])))
translatedText + "\";" + "//{} \n".format(sourceText.replace('\n', '_'))))
f.write(to_unicode("\n"))
@@ -336,7 +369,7 @@ def writeLanguage(languageCode, defs, f):
eid = mod['id']
f.write(
to_unicode("const char* " + eid + " = \"" +
convStr(symbolConversionTable, obj[eid]) + "\";"+ "//{} \n".format(obj[eid])))
convStr(symbolConversionTable, obj[eid]) + "\";" + "//{} \n".format(obj[eid])))
f.write(to_unicode("\n"))
@@ -345,7 +378,7 @@ def writeLanguage(languageCode, defs, f):
for x in constants:
f.write(
to_unicode("const char* " + x[0] + " = \"" +
convStr(symbolConversionTable, x[1]) + "\";"+ "//{} \n".format(x[1])))
convStr(symbolConversionTable, x[1]) + "\";" + "//{} \n".format(x[1])))
f.write(to_unicode("\n"))
# Write out tip model strings
@@ -353,21 +386,22 @@ def writeLanguage(languageCode, defs, f):
f.write(to_unicode("const char* TipModelStrings[] = {\n"))
f.write(to_unicode("#ifdef MODEL_TS100\n"))
for c in getTipModelEnumTS100():
f.write(to_unicode("\t \"" + convStr(symbolConversionTable, c) + "\","+ "//{} \n".format(c)))
f.write(to_unicode("\t \"" + convStr(symbolConversionTable,
c) + "\"," + "//{} \n".format(c)))
f.write(to_unicode("#else\n"))
for c in getTipModelEnumTS80():
f.write(to_unicode("\t \"" + convStr(symbolConversionTable, c) + "\","+ "//{} \n".format(c)))
f.write(to_unicode("\t \"" + convStr(symbolConversionTable,
c) + "\"," + "//{} \n".format(c)))
f.write(to_unicode("#endif\n"))
f.write(to_unicode("};\n\n"))
# -- Debugging Menu
# Debug Menu
f.write(to_unicode("const char* DebugMenu[] = {\n"))
for c in getDebugMenuHeaders():
f.write(to_unicode("\t \"" + convStr(symbolConversionTable, c) + "\","+ "//{} \n".format(c)))
for c in getDebugMenu():
f.write(to_unicode("\t \"" + convStr(symbolConversionTable,
c) + "\"," + "//{} \n".format(c)))
f.write(to_unicode("};\n\n"))
# ----- Menu Options
@@ -395,12 +429,12 @@ def writeLanguage(languageCode, defs, f):
convStr(symbolConversionTable, (obj[eid]['text2'][0])) +
"\", \"" +
convStr(symbolConversionTable, (obj[eid]['text2'][1])) +
"\" },"+ "//{} \n".format(obj[eid]['text2'])))
"\" }," + "//{} \n".format(obj[eid]['text2'])))
else:
f.write(
to_unicode("{ \"" +
convStr(symbolConversionTable, (obj[eid]['text'])) +
"\" },"+ "//{} \n".format(obj[eid]['text'])))
"\" }," + "//{} \n".format(obj[eid]['text'])))
if 'feature' in mod:
f.write(to_unicode("#endif\n"))
@@ -419,7 +453,7 @@ def writeLanguage(languageCode, defs, f):
f.write(
to_unicode("\"" +
convStr(symbolConversionTable, (obj[eid]['text2'][0]) +
"\\n" + obj[eid]['text2'][1]) + "\","+ "//{} \n".format(obj[eid]['text2'])))
"\\n" + obj[eid]['text2'][1]) + "\"," + "//{} \n".format(obj[eid]['text2'])))
f.write(to_unicode("};\n\n"))
@@ -436,7 +470,7 @@ def writeLanguage(languageCode, defs, f):
f.write(
to_unicode("\"" +
convStr(symbolConversionTable, (obj[eid]['desc'])) +
"\","+ "//{} \n".format(obj[eid]['desc'])))
"\"," + "//{} \n".format(obj[eid]['desc'])))
f.write(to_unicode("};\n\n"))
@@ -444,10 +478,44 @@ def writeLanguage(languageCode, defs, f):
f.write(to_unicode("#endif\n"))
def writeUnit(languageCode, defs, f, UnitCodes):
print("Generating unit block for " + languageCode)
lang = langDict[languageCode]
unit = UnitDict[UnitCodes]
try:
langName = lang['languageLocalName']
except KeyError:
langName = languageCode
f.write(to_unicode(" #ifdef LANG_" + languageCode + "\n"))
if unit:
f.write(to_unicode(" #define ENABLED_FAHRENHEIT_SUPPORT" + "\n"))
else: f.write(to_unicode(" //#define ENABLED_FAHRENHEIT_SUPPORT" + "\n"))
# ----- Block end
f.write(to_unicode(" #endif /* ---- " + langName + " ---- */\n"))
def readVersion():
with open(os.path.relpath(jsonDir +
"/../workspace/TS100/version.h"),"r") as version_file:
try:
for line in version_file:
if re.findall(r'^.*(?<=(#define)).*(?<=(BUILD_VERSION))', line):
line = re.findall(r'\"(.+?)\"',line)
if line:
version = line[0]
try: version += "."+ subprocess.check_output(
["git","rev-parse", "--short=7", "HEAD"]).strip().decode('ascii').upper()
# --short=7: the shorted hash with 7 digits. Increase/decrease if needed!
except OSError: version += " git"
finally:
if version_file:
version_file.close();
return version
def read_opts():
""" Reading input parameters
First parameter = json directory
Second parameter = target directory
Second parameter = translation directory
Third paramter = unit directory
"""
if len(sys.argv) > 1:
jsonDir = sys.argv[1]
@@ -455,15 +523,21 @@ def read_opts():
jsonDir = "."
if len(sys.argv) > 2:
outFile = sys.argv[2]
outFileTranslationCPP = sys.argv[2]
else:
outDir = os.path.relpath(jsonDir + "/../workspace/TS100/src/")
outFile = os.path.join(outDir, TRANSLATION_CPP)
outDir = os.path.relpath(jsonDir + "/../workspace/TS100/Core/Src")
outFileTranslationCPP = os.path.join(outDir, TRANSLATION_CPP)
if len(sys.argv) > 3:
outFileUnitH = sys.argv[3]
else:
outDir = os.path.relpath(jsonDir + "/../workspace/TS100/Core/Inc")
outFileUnitH = os.path.join(outDir,UNIT_H)
if len(sys.argv) > 4:
raise Exception("Too many parameters!")
return jsonDir, outFile
return jsonDir, outFileTranslationCPP, outFileUnitH
def orderOutput(langDict):
@@ -481,27 +555,37 @@ def orderOutput(langDict):
return mandatoryOrder
def writeTarget(outFile, defs, langCodes):
def writeTarget(outFileTranslationCPP, outFileUnitH, defs, langCodes, UnitCodes):
# Start writing the file
with io.open(outFile, 'w', encoding='utf-8', newline="\n") as f:
with io.open(outFileTranslationCPP, 'w', encoding='utf-8', newline="\n") as f:
writeStart(f)
for langCode in langCodes:
writeLanguage(langCode, defs, f)
with io.open(outFileUnitH, 'w', encoding='utf-8', newline="\n") as f:
writeStartUnit(f)
for langCode, UnitCode in zip(langCodes, UnitCodes):
writeUnit(langCode, defs, f, UnitCode)
f.write(to_unicode("\n#endif /* _UNIT_H */\n"))
if __name__ == "__main__":
try:
jsonDir, outFile = read_opts()
jsonDir, outFileTranslationCPP, outFileUnitH = read_opts()
except:
print("usage: make_translation.py {json dir} {cpp dir}")
sys.exit(1)
print("Making " + outFile + " from " + jsonDir)
try: buildVersion = readVersion()
except: print("error: could not get/extract build version"); sys.exit(1)
langDict = readTranslations(jsonDir)
print("Build version: " + buildVersion)
print("Making " + outFileTranslationCPP + " from " + jsonDir)
print("Making " + outFileUnitH + " from " + jsonDir)
langDict, UnitDict = readTranslations(jsonDir)
defs = loadJson(os.path.join(jsonDir, "translations_def.js"), True)
langCodes = orderOutput(langDict)
writeTarget(outFile, defs, langCodes)
UnitCodes = orderOutput(UnitDict)
writeTarget(outFileTranslationCPP, outFileUnitH, defs, langCodes, UnitCodes)
print("Done")

View File

@@ -3,10 +3,10 @@
"languageLocalName": "Български",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Уверете се, че човката на поялника е със стайна температура преди да продължите!",
"SettingsCalibrationDone": "Калибрацията завършена!",
"SettingsCalibrationWarning": "Уверете се, че върха на поялника е със стайна температура преди да продължите!",
"SettingsResetWarning": "Сигурни ли сте, че искате да върнете фабричните настройки?",
"UVLOWarningString": "Ниско V!",
"UVLOWarningString": "Ниско DC Напрежение",
"UndervoltageString": "Ниско Напрежение",
"InputVoltageString": "Входно V: ",
"WarningTipTempString": "Темп.: ",
@@ -17,18 +17,24 @@
"WarningAdvancedString": "ВНИМАНИЕ! ТОПЛО!",
"SleepingTipAdvancedString": "Връх:",
"IdleTipString": "Връх:",
"IdleSetString": " Set:",
"TipDisconnectedString": "ВРЪХ ЛОША ВРЪЗКА",
"IdleSetString": " Настройка:",
"TipDisconnectedString": "ПРЕКЪСНАТ ВРЪХ",
"SolderingAdvancedPowerPrompt": "Захранване: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"OffString": "Изкл.",
"ResetOKMessage": "Нулиране завършено",
"YourGainMessage": "Усилване:",
"SettingsResetMessage": "Настройките бяха\nнулирани!"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -180,7 +186,7 @@
"Калибриране",
"напрежение?"
],
"desc": "Калибриране на входното напрежение (VIN). Задръжте бутонa за изход"
"desc": "Калибриране на входното напрежение. Задръжте бутонa за изход"
},
"AdvancedSoldering": {
"text": "",
@@ -199,36 +205,92 @@
"desc": "Скорост на движение на този текст"
},
"TipModel": {
"text": "TIPMO",
"text": "",
"text2": [
"Tip",
"Model"
"Модел",
"на връх"
],
"desc": "Tip Model selection"
"desc": "Избор на модел на връх"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text": "",
"text2": [
"Simple",
"Calibration"
"Бърза",
"калибрация"
],
"desc": "Simple Calibration using Hot water"
"desc": "Бърза калибрация с използване на гореща вода"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text": "",
"text2": [
"Advanced",
"Calibration"
"Прецизна",
"калибрация"
],
"desc": "Advanced calibration using thermocouple on the tip"
"desc": "Прецизна калибрация с използване на термо-двойка на върха на поялника"
},
"PowerInput": {
"text": "PWRW",
"text": "",
"text2": [
"Power",
"Wattage"
"Мощност на",
"захранване"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Мощност на избраното захранване"
},
"PowerLimitEnable": {
"text": "",
"text2": [
"Вкл. лимит",
"на мощност?"
],
"desc": "Включване на лимит на мощност"
},
"PowerLimit": {
"text": "",
"text2": [
"Лимит на",
"мощност"
],
"desc": "Максимална мощност на поялника <W>"
},
"ReverseButtonTempChange": {
"text": "",
"text2": [
"Размяна",
"бутони +-?"
],
"desc": "Обръщане на бутоните \"+\" и \"-\" за промяна на температурата на върха на поялника"
},
"TempChangeShortStep": {
"text": "",
"text2": [
"Промяна T",
"бързо?"
],
"desc": "Промяна на температура при бързо натискане на бутон!"
},
"TempChangeLongStep": {
"text": "",
"text2": [
"Промяна Т",
"задържане?"
],
"desc": "Промяна на температура при задържане на бутон!"
},
"PowerPulsePower":{
"text": "",
"text2": [
"Захранващ",
"импулс"
],
"desc": "Поддържане на интензивност на захранващия импулс"
},
"TipGain": {
"text": "",
"text2": [
"Промяна",
"сила връх"
],
"desc": "Усилване на върха на поялника"
}
}
}

122
Translation Editor/translation_cs.json Normal file → Executable file
View File

@@ -3,32 +3,38 @@
"languageLocalName": "Český",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationDone": "Kalibrace dokončena!",
"SettingsCalibrationWarning": "Ujistěte se, že hrot má pokojovou teplotu!",
"SettingsResetWarning": "Opravdu chcete resetovat zařízení do továrního nastavení?",
"UVLOWarningString": "DC LOW",
"UVLOWarningString": "Nízké DC",
"UndervoltageString": "! Nízké napětí !",
"InputVoltageString": "Napětí: ",
"WarningTipTempString": "Teplota: ",
"BadTipString": "BAD TIP",
"BadTipString": "ŠP. HROT",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Režim spánku...",
"WarningSimpleString": "HOT!",
"WarningSimpleString": "PÁLÍ",
"WarningAdvancedString": "!! HORKÝ HROT !!",
"SleepingTipAdvancedString": "Hrot:",
"IdleTipString": "Hrot:",
"IdleSetString": " Cíl:",
"TipDisconnectedString": "HROT NEPŘIPOJEN",
"SolderingAdvancedPowerPrompt": "Ohřev: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"OffString": "Vyp",
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Zisk:",
"SettingsResetMessage": "Tov. nas. obnov."
},
"characters": {
"SettingRightChar": "P",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "P"
"SettingSlowChar": "P",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -37,7 +43,7 @@
"Pájecí",
"nastavení"
],
"desc": "Nastavení pájení (boost, auto start...)"
"desc": "Nastavení pájení (boost, auto start...)."
},
"PowerSavingMenu": {
"text2": [
@@ -58,7 +64,7 @@
"Pokročilé",
"volby"
],
"desc": "Pokročilé volby (detailní obrazovky, kalibrace, tovární nastavení...)"
"desc": "Pokročilé volby (detailní obrazovky, kalibrace, tovární nastavení...)."
}
},
"menuOptions": {
@@ -68,7 +74,7 @@
"Zdroj",
"napájení"
],
"desc": "Při nižším napětí ukončí pájení <DC=10V, ?S=?x3.3V pro LiPo,LiIon...>"
"desc": "Při nižším napětí ukončí pájení <DC=10V, ?S=?x3.3V pro LiPo, LiIon...>."
},
"SleepTemperature": {
"text": "",
@@ -84,7 +90,7 @@
"Čas do",
"r. spánku"
],
"desc": "Čas do režimu spánku <Minut/Sekund>"
"desc": "Čas do režimu spánku <Minut/Sekund>."
},
"ShutdownTimeout": {
"text": "",
@@ -92,7 +98,7 @@
"Čas do",
"vypnutí"
],
"desc": "Čas do automatického vypnutí <Minut>"
"desc": "Čas do automatického vypnutí <Minut>."
},
"MotionSensitivity": {
"text": "",
@@ -100,7 +106,7 @@
"Citlivost",
"det. pohybu"
],
"desc": "Citlivost detekce pohybu <0=Vyp, 1=Min, ... 9=Max>"
"desc": "Citlivost detekce pohybu <0=Vyp, 1=Min, ... 9=Max>."
},
"TemperatureUnit": {
"text": "",
@@ -108,7 +114,7 @@
"Jednotky",
"teploty"
],
"desc": "Jednotky měření teploty <C=Celsius, F=Fahrenheit>"
"desc": "Jednotky měření teploty <C=Celsius, F=Fahrenheit>."
},
"AdvancedIdle": {
"text": "",
@@ -124,7 +130,7 @@
"Orientace",
"obrazovky"
],
"desc": "Orientace obrazovky <A=Auto, L=Levák, P=Pravák>"
"desc": "Orientace obrazovky <A=Auto, L=Levák, P=Pravák>."
},
"BoostEnabled": {
"text": "",
@@ -132,7 +138,7 @@
"Povolit",
"boost"
],
"desc": "Povolit boost držením předního tlačítka při pájení?"
"desc": "Povolit boost podržením předního tlačítka při pájení?"
},
"BoostTemperature": {
"text": "",
@@ -145,7 +151,7 @@
"AutoStart": {
"text": "",
"text2": [
"Auto",
"Automatický",
"start"
],
"desc": "Při startu ihned nahřát hrot?"
@@ -196,39 +202,95 @@
"Rychlost",
"popisků"
],
"desc": "Rychlost skrolování popisků podobných tomuto <P=Pomalu,R=Rychle>"
"desc": "Rychlost posuvu popisků podobných tomuto <P=Pomalu, R=Rychle>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
"Model",
"hrotu"
],
"desc": "Tip Model selection"
"desc": "Výběr modelu hrotu."
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
"Jednoduchá",
"kalibrace"
],
"desc": "Simple Calibration using Hot water"
"desc": "Jednoduchá kalibrace pomocí horké vody."
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
"Pokročilá",
"kalibrace"
],
"desc": "Advanced calibration using thermocouple on the tip"
"desc": "Pokročilá kalibrace pomocí termočlánku na hrotu."
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
"Výkon",
"ve wattech"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Výkon použítého napájecího adaptéru ve wattech."
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Omez. výk.",
"Aktivovat"
],
"desc": "Aktivovat omezení výkonu"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Omezení",
"Výkonu"
],
"desc": "Maximální příkon <Watty>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Prohodit",
"tl. +-?"
],
"desc": "Prohodí tlačítka plus a minus pro změnu teploty hrotu."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Krok teploty",
"krátký?"
],
"desc": "Velikost skoku při změně teploty krátkým stiskem tlačítka!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Krok teploty",
"dlouhý?"
],
"desc": "Velikost skoku při změně teploty dlouhým stiskem tlačítka!"
},
"PowerPulsePower": {
"text": "POWPLS",
"text2": [
"Intenzita",
"Výkon. pulsu"
],
"desc": "Puls pro udržení zařízení v chodu (kvůli power bankám)."
},
"TipGain": {
"text": "TG",
"text2": [
"Změnit",
"zisk hr."
],
"desc": "Zisk hrotu (měření)"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "L",
"SettingStartSleepChar": "D",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "S"
},
"menuDouble": false,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -2,6 +2,7 @@
"languageCode": "DE",
"languageLocalName": "Deutsch",
"cyrillicGlyphs": false,
"tempUnitFahrenheit": false,
"messages": {
"SettingsCalibrationDone": "Kalibrierung abgeschlossen!",
"SettingsCalibrationWarning": "Vor dem Fortfahren muss die Lötspitze vollständig abgekühlt sein!",
@@ -10,7 +11,7 @@
"UndervoltageString": "Unterspannung",
"InputVoltageString": "V Eingang: ",
"WarningTipTempString": "Temperatur: ",
"BadTipString": "DEFEKT",
"BadTipString": "Spitze Defekt",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Ruhemodus...",
"WarningSimpleString": "HEIß",
@@ -21,14 +22,20 @@
"TipDisconnectedString": "Spitze fehlt",
"SolderingAdvancedPowerPrompt": "Leistung: ",
"OffString": "Aus",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Your Gain:",
"SettingsResetMessage": "Einstellungen\nzurück gesetzt!"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -48,7 +55,7 @@
},
"UIMenu": {
"text2": [
"Menü-",
"Anzeige-",
"einstellungen"
],
"desc": "Menüeinstellungen"
@@ -56,14 +63,14 @@
"AdvancedMenu": {
"text2": [
"Erweiterte",
"Einstellungen"
"Optionen"
],
"desc": "Erweiterte Einstellungen"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text": "PWRSC",
"text2": [
"Spannungs-",
"quelle"
@@ -71,15 +78,15 @@
"desc": "Spannungsquelle (Abschaltspannung) <DC=10V, nS=n*3.3V für n LiIon-Zellen>"
},
"SleepTemperature": {
"text": "",
"text": "STMP",
"text2": [
"Ruhetemp-",
"eratur"
],
"desc": "Ruhetemperatur (In der eingestellten Einheit)"
"desc": "Ruhetemperatur"
},
"SleepTimeout": {
"text": "",
"text": "STME",
"text2": [
"Ruhever-",
"zögerung"
@@ -87,7 +94,7 @@
"desc": "Ruhemodus nach <Sekunden/Minuten>"
},
"ShutdownTimeout": {
"text": "",
"text": "SHTME",
"text2": [
"Abschalt-",
"zeit"
@@ -95,7 +102,7 @@
"desc": "Abschalten nach <Minuten>"
},
"MotionSensitivity": {
"text": "",
"text": "MSENSE",
"text2": [
"Bewegungs-",
"empfindlichk."
@@ -103,7 +110,7 @@
"desc": "Bewegungsempfindlichkeit <0=Aus, 1=Minimal ... 9=Maximal>"
},
"TemperatureUnit": {
"text": "",
"text": "TMPUNT",
"text2": [
"Temperatur-",
"einheit"
@@ -111,15 +118,15 @@
"desc": "Temperatureinheit <C=Celsius, F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text": "ADVIDL",
"text2": [
"Detaillierte",
"Ruheansicht"
],
"desc": "Detaillierte Anzeige im Ruhemodus <J=An, N=Aus>"
"desc": "Detaillierte Anzeige im Ruhemodus"
},
"DisplayRotation": {
"text": "",
"text": "DSPROT",
"text2": [
"Anzeige-",
"ausrichtung"
@@ -127,15 +134,15 @@
"desc": "Ausrichtung der Anzeige <A=Automatisch, L=Linkshändig, R=Rechtshändig>"
},
"BoostEnabled": {
"text": "",
"text": "BOOST",
"text2": [
"Boosttaste",
"aktiv?"
],
"desc": "Vordere Taste für Temperaturboost verwenden <J=An, N=Aus>"
"desc": "Vordere Taste lange drücken für Temperatur-Boostmodus beim Löten"
},
"BoostTemperature": {
"text": "",
"text": "BTMP",
"text2": [
"Boosttemp-",
"eratur"
@@ -143,23 +150,23 @@
"desc": "Temperatur im Boostmodus (In der eingestellten Einheit)"
},
"AutoStart": {
"text": "",
"text": "ASTART",
"text2": [
"Start im",
"Lötmodus?"
],
"desc": "Automatischer Start des Lötmodus beim Einschalten der Spannungsversorgung. <J=An, N=Aus>"
"desc": "Automatischer Start-Modus beim Einschalten der Spannungsversorgung. <T=Lötmodus S=Ruhezustand F=Aus>"
},
"CooldownBlink": {
"text": "",
"text": "CLBLNK",
"text2": [
"Abkühl-",
"blinken?"
],
"desc": "Blinkende Temperaturanzeige beim Abkühlen, solange heiß. <J=An, N=Aus>"
"desc": "Blinkende Temperaturanzeige beim Abkühlen, solange heiß ist."
},
"TemperatureCalibration": {
"text": "",
"text": "TMP CAL?",
"text2": [
"Temperatur",
"kalibrieren?"
@@ -167,15 +174,15 @@
"desc": "Kalibrierung der Lötspitzentemperatur"
},
"SettingsReset": {
"text": "",
"text": "RESET?",
"text2": [
"Einstellungen",
"zurücksetzen?"
],
"desc": "Alle Einstellungen zurücksetzen"
"desc": "Einstellungen auf werkseinstellungen zurück setzen"
},
"VoltageCalibration": {
"text": "",
"text": "CAL VIN?",
"text2": [
"Eingangsspannung",
"kalibrieren?"
@@ -183,20 +190,20 @@
"desc": "Kalibrierung der Eingangsspannung. Kurzer Tastendruck zum Einstellen, langer Tastendruck zum Verlassen."
},
"AdvancedSoldering": {
"text": "",
"text": "ADVSLD",
"text2": [
"Detaillierte",
"Lötansicht"
],
"desc": "Detaillierte Anzeige im Lötmodus <J=An, N=Aus>"
"desc": "Detaillierte Anzeige im Lötmodus"
},
"ScrollingSpeed": {
"text": "",
"text": "DESCSP",
"text2": [
"Scroll-",
"geschw."
],
"desc": "Scrollgeschwindigkeit der Texte"
"desc": "Scrollgeschwindigkeit der Texte <S=Langsam F=Schnell>"
},
"TipModel": {
"text": "TIPMO",
@@ -226,9 +233,66 @@
"text": "PWRW",
"text2": [
"Leistungs-",
"aufnahme"
"Aufnahme"
],
"desc": "Leistungsaufnahme der verwendeten Spannungsversorgung"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Leistungs-",
"Limit An"
],
"desc": "Leistungslimit aktivieren"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Leistungs-",
"Limit"
],
"desc": "Maximale aufnahme der Lötspitze <Watt>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Taste +-",
"Umkehren?"
],
"desc": "Temperatur-Änderungs-Tasten-Belegung Plus-Minus umkehren?"
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"T. Schritt",
"Taste kurz?"
],
"desc": "Temperaturwechselschritte bei kurzem Tastendruck!"
}
,
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"T. Schritt",
"Taste Lang?"
],
"desc": "Temperaturwechselschritte bei langem Tastendruck!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -2,14 +2,15 @@
"languageCode": "EN",
"languageLocalName": "English",
"cyrillicGlyphs": false,
"tempUnitFahrenheit": true,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Please ensure the tip is at room temperature before continuing!",
"SettingsCalibrationWarning": "Please ensure the tip is at room temperature, before continuing!",
"SettingsResetWarning": "Are you sure you want to reset settings to default values?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"WarningTipTempString": "Tip temp: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Sleeping...",
@@ -21,43 +22,48 @@
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK",
"YourGainMessage":"Your Gain:"
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Your gain:",
"SettingsResetMessage": "Settings were\nreset!"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
"settings"
],
"desc": "Soldering settings"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
"modes"
],
"desc": "Power saving settings"
},
"UIMenu": {
"text2": [
"User",
"Interface"
"interface"
],
"desc": "User interface settings"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
"options"
],
"desc": "Advanced options"
}
@@ -69,7 +75,7 @@
"Power",
"source"
],
"desc": "Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>"
"desc": "Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell, disable power limit>"
},
"SleepTemperature": {
"text": "STMP",
@@ -77,7 +83,7 @@
"Sleep",
"temp"
],
"desc": "Sleep Temperature <C>"
"desc": "Sleep temperature"
},
"SleepTimeout": {
"text": "STME",
@@ -85,7 +91,7 @@
"Sleep",
"timeout"
],
"desc": "Sleep Timeout <Minutes/Seconds>"
"desc": "Sleep timeout <Minutes/Seconds>"
},
"ShutdownTimeout": {
"text": "SHTME",
@@ -93,7 +99,7 @@
"Shutdown",
"timeout"
],
"desc": "Shutdown Timeout <Minutes>"
"desc": "Shutdown timeout <Minutes>"
},
"MotionSensitivity": {
"text": "MSENSE",
@@ -101,15 +107,15 @@
"Motion",
"sensitivity"
],
"desc": "Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>"
"desc": "Motion sensitivity <0=Off 1=Least sensitive 9=Most sensitive>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Temperature",
"units"
"unit"
],
"desc": "Temperature Unit <C=Celsius F=Fahrenheit>"
"desc": "Temperature unit <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
@@ -117,7 +123,7 @@
"Detailed",
"idle screen"
],
"desc": "Display detailed information in a smaller font on the idle screen."
"desc": "Display detailed information in a smaller font on the idle screen"
},
"DisplayRotation": {
"text": "DSPROT",
@@ -125,15 +131,15 @@
"Display",
"orientation"
],
"desc": "Display Orientation <A. Automatic L. Left Handed R. Right Handed>"
"desc": "Display orientation <A=Automatic L=Left-handed R=Right-handed>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost mode",
"enabled"
"Boost",
"mode"
],
"desc": "Enable front key enters boost mode 450C mode when soldering"
"desc": "Enable front key long press \"boost mode\" when soldering"
},
"BoostTemperature": {
"text": "BTMP",
@@ -141,7 +147,7 @@
"Boost",
"temp"
],
"desc": "Temperature when in \"boost\" mode"
"desc": "Temperature when in \"boost mode\""
},
"AutoStart": {
"text": "ASTART",
@@ -149,7 +155,7 @@
"Auto",
"start"
],
"desc": "Automatically starts the iron into soldering on power up. T=Soldering, S= Sleep mode,F=Off"
"desc": "Automatically starts the iron into soldering on power up <F=Off T=Soldering S=Sleep O=Sleep at room temperature>"
},
"CooldownBlink": {
"text": "CLBLNK",
@@ -157,7 +163,7 @@
"Cooldown",
"blink"
],
"desc": "Blink the temperature on the cooling screen while the tip is still hot."
"desc": "Blink the temperature on the cooling screen while the tip is still hot"
},
"TemperatureCalibration": {
"text": "TMP CAL?",
@@ -165,7 +171,7 @@
"Calibrate",
"temperature?"
],
"desc": "Calibrate tip offset."
"desc": "Calibrate tip offset?"
},
"SettingsReset": {
"text": "RESET?",
@@ -173,7 +179,7 @@
"Factory",
"Reset?"
],
"desc": "Reset all settings"
"desc": "Reset all settings!"
},
"VoltageCalibration": {
"text": "CAL VIN?",
@@ -181,7 +187,7 @@
"Calibrate",
"input voltage?"
],
"desc": "VIN Calibration. Buttons adjust, long press to exit"
"desc": "VIN Calibration <long press to exit>"
},
"AdvancedSoldering": {
"text": "ADVSLD",
@@ -195,31 +201,31 @@
"text": "DESCSP",
"text2": [
"Scrolling",
"Speed"
"speed"
],
"desc": "Speed this text scrolls past at"
"desc": "Speed this text scrolls past at <S=Slow F=Fast>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
"model"
],
"desc": "Tip Model selection"
"desc": "Tip model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
"calibration"
],
"desc": "Simple Calibration using Hot water"
"desc": "Simple calibration using hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
"calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
@@ -227,9 +233,65 @@
"text": "PWRW",
"text2": [
"Power",
"Wattage"
"wattage"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Power wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Enable power",
"limit"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Reverse",
"+ - keys"
],
"desc": "Reverse assignment of temperature adjustment buttons"
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short"
],
"desc": "Temperature change steps on short button press"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long"
],
"desc": "Temperature change steps on long button press"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -1,64 +1,70 @@
{
"languageCode": "ES",
"languageLocalName": "Español",
"languageLocalName": "Castellano",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "¡Asegúrese que la punta esté a temperatura ambiente antes de proceder!",
"SettingsResetWarning": "¿Está seguro de volver a estado de fábrica?",
"UVLOWarningString": "DC BAJO",
"UndervoltageString": "Subtensión",
"InputVoltageString": "V entrada: ",
"WarningTipTempString": "Temp Punta: ",
"BadTipString": "ER PUNTA",
"SettingsCalibrationDone": "¡Calibrada!",
"SettingsCalibrationWarning": "¡Asegúrate que la punta esté a temperatura ambiente antes de empezar!",
"SettingsResetWarning": "¿Quieres restablecer los ajustes?",
"UVLOWarningString": "CC BAJA",
"UndervoltageString": "Voltaje bajo",
"InputVoltageString": "Voltaje: ",
"WarningTipTempString": "Temp punta: ",
"BadTipString": "PT. ROTA",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "En reposo...",
"WarningSimpleString": "TEMP",
"WarningAdvancedString": "¡PUNTA CALIENTE!",
"WarningSimpleString": "QUEMA",
"WarningAdvancedString": LA PUNTA QUEMA!",
"SleepingTipAdvancedString": "Punta:",
"IdleTipString": "Punta:",
"IdleSetString": " Aj:",
"TipDisconnectedString": "SIN PUNTA",
"SolderingAdvancedPowerPrompt": "POTENCIA: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"TipDisconnectedString": "NO HAY PUNTA",
"SolderingAdvancedPowerPrompt": "Potencia: ",
"OffString": " No",
"ResetOKMessage": "Hecho. ",
"YourGainMessage": "Gananc.:",
"SettingsResetMessage": "Ajustes borrados"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "I",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "S",
"SettingStartSleepChar": "R",
"SettingStartSleepOffChar": "F",
"SettingStartNoneChar": "N"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Opciones de",
"Soldadura"
"Ajustes de",
"soldadura"
],
"desc": "Opciones de Soldadura"
"desc": "Ajustes para soldar."
},
"PowerSavingMenu": {
"text2": [
"Modos de",
"Reposo"
"reposo"
],
"desc": "Opciones de ahorro energético"
"desc": "Ajustes de ahorro energético."
},
"UIMenu": {
"text2": [
"Interfaz",
"de Usuario"
"de usuario"
],
"desc": "Opciones de interfaz de usuario"
"desc": "Ajustes de interfaz de usuario."
},
"AdvancedMenu": {
"text2": [
"Opciones",
"Avanzadas"
"Ajustes",
"avanzados"
],
"desc": "Opciones avanzadas"
"desc": "Ajustes avanzados."
}
},
"menuOptions": {
@@ -68,39 +74,39 @@
"Fuente",
"de energía"
],
"desc": "Fuente de energía. Ajusta el límite inferior de voltaje. <DC=10V S=3.3V por celda>"
"desc": "Elige el tipo de fuente para limitar el voltaje <DC 10V> <S 3,3V por pila, ilimitado>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Temp en",
"reposo"
"Temperatura",
"en reposo"
],
"desc": "Temperatura en reposo. <C>"
"desc": "Temperatura de la punta en reposo."
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Tiempo h.",
"reposo"
"Entrar",
"en reposo"
],
"desc": "Tiempo hasta activar reposo. <Minutos>"
"desc": "Tiempo de inactividad para entrar en reposo <min/seg>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Tiempo h.",
"Tiempo de",
"apagado"
],
"desc": "Tiempo hasta apagado. <Minutos>"
"desc": "Tiempo de inactividad para apagarse <en minutos>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Sensibilidad",
"al movimiento"
"Detección de",
"movimiento"
],
"desc": "Sensibilidad del movimiento. <0=Apagado 1=El menos sensible 9=El más sensible>"
"desc": "Tiempo de reacción al agarrar <0=no 1=menos sensible 9=más sensible>"
},
"TemperatureUnit": {
"text": "TMPUNT",
@@ -108,15 +114,15 @@
"Unidad de",
"temperatura"
],
"desc": "Unidad de temperatura."
"desc": "Unidad de temperatura <C=centígrados F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Más info en",
"modo inactivo"
"Info extra en",
"modo reposo"
],
"desc": "Muestra información detallada pequena en la pantalla inactiva."
"desc": "Muestra información detallada en letra pequeña al reposar."
},
"DisplayRotation": {
"text": "DSPROT",
@@ -124,71 +130,71 @@
"Orientación",
"de pantalla"
],
"desc": "Orientación de la pantalla <A=Automático I=Mano izquierda D=Mano derecha>"
"desc": "Orientación de la pantalla <A=automático I=zurdo D=diestro>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost botón",
"activado"
"Con botón de",
"temp. extra"
],
"desc": "Activar el botón \"Boost\" en modo soldadura."
"desc": "Permite mantener pulsado el primer botón (A) al soldar y calentar momentáneamente un poco más."
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Temp en",
"Boost"
"Ajustar la",
"temp. extra"
],
"desc": "Temperatura en modo \"Boost\". <C>"
"desc": "Temperatura momentánea que se alcanza al apretar el botón del modo extra."
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Soldadura",
"Calentar",
"al enchufar"
],
"desc": "Iniciar modo soldadura en el encendido. <V=Sí S=Modo reposo F=No>"
"desc": "Se calienta él solo al arrancar <S=entrar en modo soldar R=solo entrar en reposo F=en reposo pero mantiene la punta fría N=no>"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Parpadea m.",
"enfriamiento"
"Parpadear",
"al enfriar"
],
"desc": "Parpadea la temperatura en el enfriamiento si la punta sigue caliente."
"desc": "La temperatura en pantalla parpadea mientras la punta siga caliente."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Calibrar temp",
"Calibrar temp.",
"de la punta"
],
"desc": "Calibrar desviación térmica de la punta."
"desc": "Calibra la desviación térmica de la punta."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Estado de",
"fábrica"
"Volver a ajustes",
"de fábrica"
],
"desc": "Volver a estado de fábrica."
"desc": "Restablece todos los ajustes a los valores originales."
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Calibrar",
"V entrada"
"Calibrar voltaje",
"de entrada"
],
"desc": "Calibración VIN (Voltaje de entrada). Ajuste con ambos botones, pulsación larga para salir."
"desc": "Calibra VIN. Ajusta con ambos botones y mantén pulsado para salir."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Inf detallada",
"del soldadura"
"Info extra",
"al soldar"
],
"desc": "Mostrar información detallada mientras suelda."
"desc": "Muestra más datos por pantalla cuando se está soldando."
},
"ScrollingSpeed": {
"text": "DESCSP",
@@ -196,39 +202,95 @@
"Velocidad",
"del texto"
],
"desc": "Velocidad de desplazamiento del texto."
"desc": "Velocidad de desplazamiento del texto <R=rápida L=lenta>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
"Modelo de",
"punta"
],
"desc": "Tip Model selection"
"desc": "Elegir el modelo de punta actual."
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
"Calibración",
"simple"
],
"desc": "Simple Calibration using Hot water"
"desc": "Calibración simple con agua caliente."
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
"Calibración",
"avanzada"
],
"desc": "Advanced calibration using thermocouple on the tip"
"desc": "Calibrar con un termopar en la punta; más difícil."
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
"Potencia de",
"entrada"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Potencia en vatios del adaptador de corriente utilizado."
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Limitar la",
"potenc. máx."
],
"desc": "Activa el límite de potencia máxima."
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Ajustar la",
"potenc. máx."
],
"desc": "Elige el límite de potencia máxima del soldador <en vatios>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Invertir",
"botones +/-"
],
"desc": "Intercambia las funciones de subir y bajar la temperatura de los botones +/- para que funcionen al revés."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Cambio temp.",
"puls. cortas"
],
"desc": "Subir y bajar X grados de temperatura con cada pulsación corta de los botones +/-."
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Cambio temp.",
"puls. largas"
],
"desc": "Subir y bajar X grados de temperatura con cada pulsación larga de los botones +/-."
},
"PowerPulsePower": {
"text": "POWPLS",
"text2": [
"Pulsos bat.",
"constantes"
],
"desc": "Aplica unos pulsos necesarios para mantener encendidas ciertas baterías portátiles. En vatios."
},
"TipGain": {
"text": "TG",
"text2": [
"Ajustar ganancia",
"de punta"
],
"desc": "Modificar el valor de ganancia de la punta."
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "KÄRKI ON IRTI",
"SolderingAdvancedPowerPrompt": "Teho: ",
"OffString": "OFF",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "O",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "N",
"SettingSlowChar": "H"
"SettingSlowChar": "H",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -13,22 +13,26 @@
"BadTipString": "PANNE HS",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "En veille...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "ATTENTION! CHAUD",
"WarningSimpleString": "CHAUD!",
"WarningAdvancedString": "ATTENTION! CHAUD!",
"SleepingTipAdvancedString": "Panne:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "PANNE DÉBRANCHÉE",
"SolderingAdvancedPowerPrompt": "Puissance: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "G",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "A",
"SettingStartSleepChar": "V",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "D"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"l'alimentation"
],
"desc": "Puissance de l'alimentation utilisée"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Activer?"
],
"desc": "Activer la limite de puissance"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Puissance",
"Limite"
],
"desc": "Puissance maximale utilisable <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"Inverser?"
],
"desc": "Inversez l'assignation +/- du bouton de changement de température de la pointe."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"Court?"
],
"desc": "Incrément de changement de température sur appui court."
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"Long?"
],
"desc": "Incrément de changement de température sur appui long."
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "VRH NIJE SPOJEN!",
"SolderingAdvancedPowerPrompt": "Snaga: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "B",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"napajanja"
],
"desc": "Snaga modula za napajanje"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "HEGY LEVÉVE",
"SolderingAdvancedPowerPrompt": "Telj: ",
"OffString": "Ki",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "J",
"SettingLeftChar": "B",
"SettingAutoChar": "A",
"SettingFastChar": "G",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": false,
"menuGroups": {
@@ -229,6 +233,62 @@
"teljesítmény"
],
"desc": "A tápegység által leadott teljesítmény"
},
"PowerLimitEnable": {
"text": "TELJH",
"text2": [
"Telj H",
"Bekapcsolva"
],
"desc": "Bemeneti teljesitmény korlátozása"
},
"PowerLimit": {
"text": "TELJM",
"text2": [
"Telj",
"maximum"
],
"desc": "Maximális teljesitmény beállitása <Watts>"
},
"ReverseButtonTempChange": {
"text": "HÖVÁLT",
"text2": [
"GOMB +-",
"Felcseréled?"
],
"desc": "A páka hömérséklet növelés csökkentési gombok felcserélése."
},
"TempChangeShortStep": {
"text": "HÖRÖV",
"text2": [
"Hömérséklet",
"váltás rövid?"
],
"desc": "Hömérséklet váltás rövid gombnyomásrs bekapcsolva!"
},
"TempChangeLongStep": {
"text": "HÖHOS",
"text2": [
"Hömérséklet",
"váltás hosszú?"
],
"desc": "Hömérséklet váltás hosszú gombnyomásrs bekapcsolva!"
},
"PowerPulsePower":{
"text": "TELJP",
"text2": [
"Telj power",
"bank üzem W"
],
"desc": "Powerbank üzemnél nem engedi a powerbankot kikapcsolni idönkénti áram felvételt generál. "
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,20 @@
"TipDisconnectedString": "PUNTA ASSENTE",
"SolderingAdvancedPowerPrompt": "Potenz:",
"OffString": "OFF",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Guad.: ",
"SettingsResetMessage": "Reset effettuato"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "S",
"SettingAutoChar": "A",
"SettingFastChar": "V",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "A",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "D"
},
"menuDouble": true,
"menuGroups": {
@@ -156,7 +162,7 @@
"Avviso",
"punta calda"
],
"desc": "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda"
"desc": "Evidenzia il valore di temperatura durante il raffreddamento se la punta è ancora calda"
},
"TemperatureCalibration": {
"text": "",
@@ -229,6 +235,62 @@
"alimentaz"
],
"desc": "Imposta la potenza massima erogabile dall'alimentatore in uso"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Limitatore",
"di potenza"
],
"desc": "Abilita un limitatore per la potenza massima erogabile al saldatore"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Limite",
"di potenza"
],
"desc": "Imposta il valore di potenza massima erogabile al saldatore <watt>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Inversione",
"tasti"
],
"desc": "Inverti i tasti per impostare la temperatura della punta "
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Cambio temp",
"pressione breve"
],
"desc": "Varia la temperatura della punta attraverso una breve pressione dei tasti"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Cambio temp",
"pressione lunga"
],
"desc": "Varia la temperatura della punta attraverso una lunga pressione dei tasti"
},
"PowerPulsePower": {
"text": "POWPLS",
"text2": [
"Potenza impulso",
"«Keep-Alive»"
],
"desc": "Regola la potenza d'impulso in ingresso al saldatore per prevenire lo standby eventuale dell'alimentatore <watt>"
},
"TipGain": {
"text": "TG",
"text2": [
"Guadagno",
"punta"
],
"desc": "Varia il guadagno della punta"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "ANTGAL ATJUNGTAS",
"SolderingAdvancedPowerPrompt": "Maitinimas: ",
"OffString": "Išj",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "K",
"SettingAutoChar": "A",
"SettingFastChar": "T",
"SettingSlowChar": "N"
"SettingSlowChar": "N",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"vatais"
],
"desc": "Maitinimo bloko galia vatais"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "TIP LOSGEKOPPELD",
"SolderingAdvancedPowerPrompt": "vermogen: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "Punt ONTKOPPELD",
"SolderingAdvancedPowerPrompt": "Vermogen: ",
"OffString": "Uit",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "S",
"SettingSlowChar": "T"
"SettingSlowChar": "T",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"Watt"
],
"desc": "Vermogen van de adapter"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "SPISS FRAKOBLET",
"SolderingAdvancedPowerPrompt": "Effekt: ",
"OffString": "Av",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "H",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "L",
"SettingStartSleepChar": "D",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "I"
},
"menuDouble": false,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -2,9 +2,10 @@
"languageCode": "PL",
"languageLocalName": "Polski",
"cyrillicGlyphs": false,
"tempUnitFahrenheit": false,
"messages": {
"SettingsCalibrationDone": "Kalibracja udana!",
"SettingsCalibrationWarning": "Przed kontynuowaniem upewnij się, że końcówka osiągnela temperature pokojowa!",
"SettingsCalibrationWarning": "Przed kontynuowaniem upewnij się, że końcówka osiągnęła temperaturę pokojową!",
"SettingsResetWarning": "Czy na pewno chcesz przywrócić ustawienia fabryczne?",
"UVLOWarningString": "NISKIE DC",
"UndervoltageString": "Pod napięciem",
@@ -12,7 +13,7 @@
"WarningTipTempString": "Temperatura grota: ",
"BadTipString": "ZŁY GROT",
"SleepingSimpleString": "Zzz!",
"SleepingAdvancedString": "Uspienie...",
"SleepingAdvancedString": "Uśpienie...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "GORĄCA KOŃCÓWKA!",
"SleepingTipAdvancedString": "Grot:",
@@ -21,16 +22,22 @@
"TipDisconnectedString": "GROT ODŁĄCZONY",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Wyłącz",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Twój zysk:",
"SettingsResetMessage": "Ustawienia zostały\nzresetowane!"
},
"characters": {
"SettingRightChar": "P",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingFastChar": "S",
"SettingSlowChar": "W",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "Z",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "B"
},
"menuDouble": false,
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
@@ -84,7 +91,7 @@
"Czas",
"uśpienia"
],
"desc": "Czas uśpienia <Minuty/Sekundy>"
"desc": "Czas uśpienia <minuty/sekundy>"
},
"ShutdownTimeout": {
"text": "SHTME",
@@ -92,7 +99,7 @@
"Czas",
"wyłączenia"
],
"desc": "Czas wyłączenia <Minuty>"
"desc": "Czas wyłączenia <minuty>"
},
"MotionSensitivity": {
"text": "MSENSE",
@@ -100,7 +107,7 @@
"Czułość",
"ruchu"
],
"desc": "Czułość ruchu <0.Wyłączona 1.minimalna 9.maksymalna>"
"desc": "Czułość ruchu <0.Wyłączona 1.Minimalna 9.Maksymalna>"
},
"TemperatureUnit": {
"text": "TMPUNT",
@@ -116,7 +123,7 @@
"Mniejsza",
"czcionka"
],
"desc": "Wyświetla szczegółowe informacje za pomocą mniejszej czcionki na ekranie bezczynnośći <T = wł., N = wył.>"
"desc": "Wyświetla szczegółowe informacje za pomocą mniejszej czcionki na ekranie bezczynności"
},
"DisplayRotation": {
"text": "DSPROT",
@@ -124,15 +131,15 @@
"Orientacja",
"wyświetlacza"
],
"desc": "Orientacja wyświetlacza <A. Automatyczna L. Leworęczna P. Praworęczna>"
"desc": "Orientacja wyświetlacza <A - automatyczna, L - leworęczna, P - praworęczna>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"",
""
"Tryb",
"boost"
],
"desc": "Użyj przycisku przedniego w celu zwiększenia temperatury <T = wł., N = wył.>"
"desc": "Przytrzymaj przedni przycisk podczas lutowania w celu zwiększenia temperatury"
},
"BoostTemperature": {
"text": "BTMP",
@@ -148,7 +155,7 @@
"Automatyczne",
"uruchamianie"
],
"desc": "Automatyczne uruchamianie trybu lutowania po włączeniu zasilania. T=Lutowanie, S= Tryb Uspienia ,N=Wyłącz"
"desc": "Automatyczne uruchamianie trybu lutowania po włączeniu zasilania.<B - wyłączone, T - lutowanie, Z - uśpienie, O - uśpienie w temp. pokojowej"
},
"CooldownBlink": {
"text": "CLBLNK",
@@ -156,7 +163,7 @@
"Migająca",
"temperatura"
],
"desc": "Temperatura na ekranie miga, gdy grot jest jeszcze gorący. <T = wł., N = wył.>"
"desc": "Temperatura na ekranie miga, gdy grot jest jeszcze gorący."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
@@ -169,10 +176,10 @@
"SettingsReset": {
"text": "RESET?",
"text2": [
"",
""
"Ustawienia",
"fabryczne"
],
"desc": "Zresetuj wszystkie ustawienia"
"desc": "Zresetuje wszystkie ustawienia!"
},
"VoltageCalibration": {
"text": "CAL VIN?",
@@ -188,7 +195,7 @@
"Szczegółowe",
"informacje"
],
"desc": "Wyświetl szczegółowe informacje podczas lutowania <T = wł., N = wył.>"
"desc": "Wyświetl szczegółowe informacje podczas lutowania"
},
"ScrollingSpeed": {
"text": "DESCSP",
@@ -210,25 +217,81 @@
"text": "SMPCAL",
"text2": [
"Prosta",
"Kalibracja"
"kalibracja"
],
"desc": "Prosta kalibracja używając gorącej wody"
"desc": "Prosta kalibracja, używając gorącej wody"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Zaawansowana",
"Kalibracja"
"kalibracja"
],
"desc": "Zaawansowana kalibracja za pomocy termopoary na grocie"
"desc": "Zaawansowana kalibracja za pomocą termoelementu na grocie"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Moc",
"Wattach"
"w W"
],
"desc": "Moc używanego zasilacza w Watach"
"desc": "Moc używanego zasilacza w Wattach"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Włącz limit",
"mocy"
],
"desc": "Włącza limit mocy"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Limit",
"mocy"
],
"desc": "Maksymalna moc w W, jakiej może użyć lutownica"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Zamień przyciski",
"+ -"
],
"desc": "Zamienia działanie przycisków zmiany temperatury grotu"
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Szybka zmiana",
"temperatury"
],
"desc": "Zmiany temperatury krok po korku, po krótkim naciśnięciu przycisku"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Wolna zmiana",
"temperatury"
],
"desc": "Zmiany temperatury krok po korku, po długim naciśnięciu przycisku"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Moc pulsu",
"w W"
],
"desc": "Utrzymuj intensywność mocy pulsu"
},
"TipGain": {
"text": "TG",
"text2": [
"Zmodyfikowany",
"zysk grotu"
],
"desc": "Zysk grotu"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "SEM PONTA",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "C",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"Fonte"
],
"desc": "Potência da fonte usada (Watt)"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -3,32 +3,38 @@
"languageLocalName": "Русский",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Калибровка выполнена!",
"SettingsCalibrationWarning": "Убедитесь, что жало остыло до комнатной температуры, прежде чем продолжать!",
"SettingsResetWarning": "Вы действительно хотите сбросить настройки до значений по умолчанию?",
"UVLOWarningString": "АККУМ--",
"UndervoltageString": "Под питанием",
"InputVoltageString": "Питание B: ",
"WarningTipTempString": "Жало t°: ",
"BadTipString": ало--",
"SleepingSimpleString": "Сон ",
"SettingsCalibrationDone": "Калибровка завершена!",
"SettingsCalibrationWarning": "Прежде чем продолжить, пожалуйста, убедитесь, что жало имеет комнатную температуру!",
"SettingsResetWarning": "Вы уверены, что хотите сбросить настройки к значениям по умолчанию?",
"UVLOWarningString": "НАПРЯЖ--",
"UndervoltageString": "Низк. напряжение",
"InputVoltageString": "Питание В: ",
"WarningTipTempString": "Темп. жала: ",
"BadTipString": АЛО--",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Ожидание...",
"WarningSimpleString": " АЙ!",
"WarningAdvancedString": "ВНИМАНИЕ ГОРЯЧО",
"WarningSimpleString": "ГОРЯЧО!",
"WarningAdvancedString": "!!! ГОРЯЧЕЕ ЖАЛО !!!",
"SleepingTipAdvancedString": "Жало:",
"IdleTipString": "Жало:",
"IdleSetString": " ->",
"TipDisconnectedString": ало отключено",
"TipDisconnectedString": АЛО ОТСОЕДИНЕНО",
"SolderingAdvancedPowerPrompt": "Питание: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"OffString": "Выкл.",
"ResetOKMessage": "Сброс OK",
"YourGainMessage": "Прирост:",
"SettingsResetMessage": "Настройки сброшены!"
},
"characters": {
"SettingRightChar": "П",
"SettingLeftChar": "Л",
"SettingAutoChar": "A",
"SettingFastChar": "+",
"SettingSlowChar": "-"
"SettingAutoChar": "А",
"SettingFastChar": "Б",
"SettingSlowChar": "М",
"SettingStartSolderingChar": "П",
"SettingStartSleepChar": "О",
"SettingStartSleepOffChar": "К",
"SettingStartNoneChar": "В"
},
"menuDouble": true,
"menuGroups": {
@@ -41,194 +47,250 @@
},
"PowerSavingMenu": {
"text2": [
"Режим",
"Режимы",
"сна"
],
"desc": "Параметры экономии энергии"
"desc": "Настройки режима ожидания"
},
"UIMenu": {
"text2": [
ользовател",
"интерфейс"
араметры",
"интерфейса"
],
"desc": "Параметры пользовательского интерфейса"
"desc": "Настройки пользовательского интерфейса"
},
"AdvancedMenu": {
"text2": [
"Дополнител.",
"параметры"
"настройки"
],
"desc": "Дополнительные параметры"
"desc": "Дополнительные настройки"
}
},
"menuOptions": {
"PowerSource": {
"text": "ИстП",
"text": "ИстчнПит",
"text2": [
"Источник",
"питания"
],
"desc": "Источник питания. Установка напряжения отключения. <DC 10V> <S 3.3 V на батарею>"
"desc": "Источник питания. Устанавливает напряжение отсечки. <DC 10В> <S 3.3В на ячейку, без лимита мощности>"
},
"SleepTemperature": {
"text": "Тожд",
"text": "ТмпОжд",
"text2": [
"Темпер.",
"сна"
"Темп.",
"ожидания"
],
"desc": "Температура режима ожидания <С>"
"desc": "Температура режима ожидания"
},
"SleepTimeout": {
"text": "Вожд",
"text": "ВрмОжид",
"text2": [
"Таймаут",
"сна"
"ожидания"
],
"desc": "Время до перехода в режим ожидания <Минуты>"
"desc": "Время до перехода в режим ожидания <Минуты/Секунды>"
},
"ShutdownTimeout": {
"text": "Тоткл",
"text": "ВрмОткл",
"text2": [
"Время до",
"отключения"
"Таймаут",
"выключения"
],
"desc": "Время до отключения <Минуты>"
"desc": "Время до отключения паяльника <Минуты>"
},
"MotionSensitivity": {
"text": "ЧувсДв",
"text": "ЧувсАксл",
"text2": [
"Чувст. сенсо-",
"ра движения"
"Чувствительн.",
"акселерометра"
],
"desc": "Акселерометр <0. Выкл. 1. мин. чувствительный 9. макс. чувствительный>"
"desc": "Чувствительность акселерометра <0=Выкл., 1=Мин., 9=Макс.>"
},
"TemperatureUnit": {
"text": "ЕдТемп",
"text2": [
"Формат темпе-",
"ратуры(C°/F°)"
"Единицы",
"температуры"
],
"desc": "В чем измерять температуру"
"desc": "Единицы измерения температуры <C=Цельcия, F=Фаренгейта>"
},
"AdvancedIdle": {
"text": "ИнфОжд",
"text2": [
"Подробный ре-",
"жим ожидания"
"Подробный",
"реж. ожидания"
],
"desc": "Показывать детальную информацию маленьким шрифтом на домашнем экране"
"desc": "Отображать детальную информацию уменьшенным шрифтом на экране ожидания"
},
"DisplayRotation": {
"text": "ПовЭкр",
"text2": [
"Автоповорот",
"Ориентация",
"экрана"
],
"desc": "Ориентация дисплея <A. Автоматический, Л. Левая рука, П. Правая рука>"
"desc": "Ориентация экрана <А=Авто, Л=Левая рука, П=Правая рука>"
},
"BoostEnabled": {
"text": "Турбо",
"text": "Турб",
"text2": [
"Режим",
"Турбо"
"Турбо",
"режим"
],
"desc": "Турбо-режим при удержании кнопки А при пайке "
"desc": "Включить активацию турбо-режима удержанием ближней к жалу кнопки во время пайки"
},
"BoostTemperature": {
"text": "Ттур",
"text": "ТемпТурб",
"text2": [
"Темпер.",
"Турбо"
"t° турбо",
"режима"
],
"desc": "Температура в турбо-режиме"
"desc": "Температура жала в турбо-режиме"
},
"AutoStart": {
"text": "Астарт",
"text": "АвтоРеж",
"text2": [
"Горячий",
"Авто",
"старт"
],
"desc": "Автоматический запуск паяльника при включении питания. T=Нагрев, S=Режим ожидания,F=Выкл."
"desc": "Режим, в котором запускается паяльник при подаче питания <П=Пайка, О=Ожидание, К=Ожидание при комн. темп., В=Выкл.>"
},
"CooldownBlink": {
"text": "Охлажд",
"text": "МигТемп",
"text2": [
"Показ t° при",
"остывании"
"Мигание t°",
"при остывании"
],
"desc": "Показывать температуру на экране охлаждения, пока жало остается горячим."
"desc": "Мигать температурой на экране охлаждения, пока жало еще горячее"
},
"TemperatureCalibration": {
"text": "КалибрТ",
"text": "КалТемп?",
"text2": [
"Калибровка",
"температуры"
],
"desc": "Калибровка термодатчика."
"desc": "Калибровка термодатчика жала"
},
"SettingsReset": {
"text": "СБРОС?",
"text": "Сброс?",
"text2": [
"Сбросить все",
"настройки?"
"Сброс",
"Настроек"
],
"desc": "Сброс всех настроек."
"desc": "Сброс настроек к значеням по умолчанию"
},
"VoltageCalibration": {
"text": "КалибрU?",
"text": "КалНапр",
"text2": [
"Калибровка",
"напряжения"
],
"desc": "Калибровка напряжения входа. Настройка кнопками, нажать и удержать чтобы завершить."
"desc": "Калибровка входного напряжения <длинное нажатие для выхода>"
},
"AdvancedSoldering": {
"text": "ИнфПай",
"text": "ИнфПайк",
"text2": [
"Подробный ре-",
"жим пайки"
"Подробный",
"экран пайки"
],
"desc": "Показывать детальную информацию при пайке."
"desc": "Показывать детальную информацию на экране пайки"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text": "СкорТекс",
"text2": [
"Скорость",
"текста"
],
"desc": "Скорость прокрутки текста"
"desc": "Скорость прокрутки текста <М=медленно, Б=быстро>"
},
"TipModel": {
"text": "TIPMO",
"text": "МодЖала",
"text2": [
"Модель",
"жало"
"жала"
],
"desc": "Выбор модели жало"
"desc": "Выбор модели жала"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text": "УпрКал",
"text2": [
"Простая",
"Упрощенная",
"калибровка"
],
"desc": "Простая калибровка с использованием горячей воды"
"desc": "Упрощенная калибровка с использованием горячей воды"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text": "УлучшКал",
"text2": [
"Подробная",
"Улучшенная",
"калибровка"
],
"desc": "Калибровка с помощью термопары"
"desc": "Улучшенная калибровка с импользованием термопары жала"
},
"PowerInput": {
"text": "PWRW",
"text": "МощнИст",
"text2": [
"Мощность",
"питания"
],
"desc": "Мощность используемого источника питания"
},
"PowerLimitEnable": {
"text": "ВклЛимW",
"text2": [
"Ограничение",
"мощности"
],
"desc": "Включить лимит потребляемой мощности"
},
"PowerLimit": {
"text": "ЗначЛимW",
"text2": [
"Максимальная",
"мощность"
],
"desc": "Максимальная мощность, которую может использовать паяльник <Ватт>"
},
"ReverseButtonTempChange": {
"text": "ИнвКноп",
"text2": [
"Инвертировать",
"кнопки"
],
"desc": "Инвертировать кнопки изменения температуры"
},
"TempChangeShortStep": {
"text": "ШагКорт",
"text2": [
"Шаг темп.",
"кор. наж."
],
"desc": "Шаг изменения температуры при коротком нажатии кнопок"
},
"TempChangeLongStep": {
"text": "ШагДлин",
"text2": [
"Шаг темп.",
"длин. наж."
],
"desc": "Шаг изменения температуры при длинном нажатии кнопок"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Wattage"
"Pulse W"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": false,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -0,0 +1,295 @@
{
"languageCode": "SL",
"languageLocalName": "Slovensko",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibracija opravljena!",
"SettingsCalibrationWarning": "Preden nadaljujete, mora biti konica na sobni temperaturi!",
"SettingsResetWarning": "Ste prepričani, da želite ponastaviti nastavitve na privzete vrednosti?",
"UVLOWarningString": "NIZKA U",
"UndervoltageString": "Nizka napetost",
"InputVoltageString": "Vhodna U: ",
"WarningTipTempString": "Temp. kon.: ",
"BadTipString": "OKVARA K",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Spim...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "!!!VROČA KON.!!!",
"SleepingTipAdvancedString": "Knica:",
"IdleTipString": "Kon:",
"IdleSetString": " nst.:",
"TipDisconnectedString": "KONICA ODSTRANJ.",
"SolderingAdvancedPowerPrompt": "Moč: ",
"OffString": "Izk",
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Ojačan.:"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "L",
"SettingAutoChar": "S",
"SettingFastChar": "H",
"SettingSlowChar": "P",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Nastavitve",
"spajkanja"
],
"desc": "Nastavitve spajkanja"
},
"PowerSavingMenu": {
"text2": [
"Načini",
"spanja"
],
"desc": "Nastavitve varčevanja z energijo"
},
"UIMenu": {
"text2": [
"Uporabniški",
"vmesnik"
],
"desc": "Nastavitve uporabniškega vmesnika"
},
"AdvancedMenu": {
"text2": [
"Napredne",
"možnosti"
],
"desc": "Napredne možnosti"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"Vir",
"napajanja"
],
"desc": "Vir napajanja. Nastavi napetost izklopa. <DC 10V> <S 3.3V na celico>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Temp. med",
"spanjem"
],
"desc": "Temperatura med spanjem <C>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Čas do",
"spanja"
],
"desc": "Čas pred spanjem <minute/sekunde>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Čas do",
"izklopa"
],
"desc": "Čas pred izklopom <minute>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Občutljivost",
"premikanja"
],
"desc": "Občutljivost premikanja <0.izklopljeno 1.najmanj 9.najbolj občutljivo>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Enota za",
"temperaturo"
],
"desc": "Enota za temperaturo <C=celzija F=fahrenheita>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Več info na",
"zaslonu v mir"
],
"desc": "Prikaže več informacij z manjšo pisavo na zaslonu med mirovanjem."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"Orientacija",
"zaslona"
],
"desc": "Orientacija zaslona <S. samodejno L. levo D. desno>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Omogoči",
"boost mode"
],
"desc": "Omogoči, da tipka za naprej zagreje konico na 450C."
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Temperat.",
"v boost"
],
"desc": "Temperatura v \"boost\" načinu"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Samodejni",
"zagon"
],
"desc": "Samodejno segrej konico ob vklopu. T=segrej, S=spanje, F=izklop"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Utripanje med",
"hlajenjem"
],
"desc": "Utripaj temperaturo med hlajenjem, ko je konica še vroča."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Kalibriram",
"temperaturo?"
],
"desc": "Kalibracija temperature na konici."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Tovarniške",
"nastavitve?"
],
"desc": "Ponastavitev vseh nastavitev"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Kalibriram",
"vhodno napetost?"
],
"desc": "Kalibracija VIN. Nastavitve z gumbi, dolgi pritisk za izhod."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Več info na",
"zaslonu spaj."
],
"desc": "Prikaže več informacij z manjšo pisavo na zaslonu med spajkanjem."
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Hitrost",
"besedila"
],
"desc": "Hitrost, s katero se prikazuje besedilo"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Model",
"konice"
],
"desc": "Izbira tipa konice"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Preprosta",
"kalibracija"
],
"desc": "Preprosta kalibracija z vročo vodo."
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Napredna",
"kalibracija"
],
"desc": "Napredna kalibracija s termočlenom na konici"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Moč napajalnega",
"vira"
],
"desc": "Moč v W napajalnega vira"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "ВРХ НИЈЕ СПОЈЕН",
"SolderingAdvancedPowerPrompt": "Снага: ",
"OffString": "Иск",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "Д",
"SettingLeftChar": "Л",
"SettingAutoChar": "А",
"SettingFastChar": "Б",
"SettingSlowChar": "С"
"SettingSlowChar": "С",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"снага"
],
"desc": "Снага напајања у ватима."
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "VRH NIJE SPOJEN",
"SolderingAdvancedPowerPrompt": "Snaga: ",
"OffString": "Isk",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "B",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"snaga"
],
"desc": "Snaga napajanja u vatima."
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -21,14 +21,18 @@
"TipDisconnectedString": "SPETS URTAGEN",
"SolderingAdvancedPowerPrompt": "Ström: ",
"OffString": "Av",
"ResetOKMessage":"Reset OK"
"ResetOKMessage": "Reset OK"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "S",
"SettingSlowChar": "L"
"SettingSlowChar": "L",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": true,
"menuGroups": {
@@ -229,6 +233,62 @@
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -1,64 +1,68 @@
{
"languageCode": "TR",
"languageLocalName": "Türk",
"languageLocalName": "Türkçe",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationDone": "Kalibrasyon tamamlandı!",
"SettingsCalibrationWarning": "Lütfen devam etmeden önce ucun oda sıcaklığında olduğunu garantiye alın!",
"SettingsResetWarning": "Are you sure to reset settings to default values?",
"SettingsResetWarning": "Ayarları varsayılan değerlere sıfırlamak istediğinizden emin misiniz?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"BadTipString": "BAD TIP",
"UndervoltageString": "Düşüş Voltaj",
"InputVoltageString": "Giriş V: ",
"WarningTipTempString": "Uç Sıcaklığı: ",
"BadTipString": "KÖTÜ UÇ",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Uyuyor...",
"WarningSimpleString": "HOT!",
"WarningSimpleString": "SICAK!",
"WarningAdvancedString": "UYARI! UÇ SICAK!",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off",
"ResetOKMessage":"Reset OK"
"SleepingTipAdvancedString": ":",
"IdleTipString": ":",
"IdleSetString": " Ayarla:",
"TipDisconnectedString": "UÇ ÇIKARILDI",
"SolderingAdvancedPowerPrompt": "Güç: ",
"OffString": "Kapalı",
"ResetOKMessage": "Reset Tamam"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
"SettingSlowChar": "S",
"SettingStartSolderingChar": "T",
"SettingStartSleepChar": "S",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "F"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
"Lehimleme",
"Ayarları"
],
"desc": "Soldering settings"
"desc": "Lehimleme Ayarları"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
"Uyku",
"Modları"
],
"desc": "Power Saving Settings"
"desc": "Güç Tasarrufu Ayarları"
},
"UIMenu": {
"text2": [
"User",
"Interface"
"Kullanıcı",
"Arayüzü"
],
"desc": "User Interface settings"
"desc": "Kullanıcı Arayüzü Ayarları"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
"Gelişmiş",
"Ayarlar"
],
"desc": "Advanced options"
"desc": "Gelişmiş Ayarlar"
}
},
"menuOptions": {
@@ -201,34 +205,90 @@
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
"",
"Modeli"
],
"desc": "Tip Model selection"
"desc": " Modeli seçimi"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
"Basit",
"Kalibrasyon"
],
"desc": "Simple Calibration using Hot water"
"desc": "Sıcak su kullanarak basit kalibrasyon"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
"Gelişmiş",
"Kalibrasyon"
],
"desc": "Advanced calibration using thermocouple on the tip"
"desc": "Uçtaki ısı sensörünü kullanarak gelişmiş kalibrasyon"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
"Güç",
"Miktarı(W)"
],
"desc": "Power Wattage of the power adapter used"
"desc": "Kullanılan adaptörün güç miktarı"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"P Limit",
"Enable"
],
"desc": "Enable power limit"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Power",
"Limit"
],
"desc": "Maximum power the iron can use <Watts>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Key +-",
"reverse?"
],
"desc": "Reverse the tip temperature change buttons plus minus assignment."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Temp change",
"short?"
],
"desc": "Temperature change steps on short button press!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Temp change",
"long?"
],
"desc": "Temperature change steps on long button press!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Power",
"Pulse W"
],
"desc": "Keep awake pulse power intensity"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -3,46 +3,52 @@
"languageLocalName": "Українська",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationDone": "Калібрування виконане!",
"SettingsCalibrationWarning": "Переконайтеся, що жало охололо до кімнатної температури, перш ніж продовжувати!",
"SettingsResetWarning": "Ви дійсно хочете скинути налаштування до значень за замовчуванням?",
"SettingsResetWarning": "Ви дійсно хочете скинути налаштування до значень за замовчуванням? <A - Так, В - Ні>",
"UVLOWarningString": "АККУМ--",
"UndervoltageString": "Під живленням",
"UndervoltageString": "Низ. напруга",
"InputVoltageString": "Жив.(B): ",
"WarningTipTempString": "Жало t°: ",
"BadTipString": ало--",
"SleepingSimpleString": "Сон ",
"BadTipString": АЛО--",
"SleepingSimpleString": "ZzZzz",
"SleepingAdvancedString": "Очікування...",
"WarningSimpleString": "АЙ!",
"WarningAdvancedString": "УВАГА ГАРЯЧЕ!",
"WarningSimpleString": "ГАРЯЧЕ!",
"WarningAdvancedString": "!!! ГАРЯЧЕ ЖАЛО !!!",
"SleepingTipAdvancedString": "Жало:",
"IdleTipString": "Жало:",
"IdleSetString": " ->",
"TipDisconnectedString": "Жало вимкнено!",
"SolderingAdvancedPowerPrompt": "Живлення: ",
"OffString": "Вим",
"ResetOKMessage":"Reset OK"
"OffString": "Вимк",
"ResetOKMessage": "Скидання OK",
"YourGainMessage": "Приріст:",
"SettingsResetMessage": "Налаштування скинуті!"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingRightChar": "П",
"SettingLeftChar": "Л",
"SettingAutoChar": "A",
"SettingFastChar": "+",
"SettingSlowChar": "-"
"SettingFastChar": "Ш",
"SettingSlowChar": "П",
"SettingStartSolderingChar": "П",
"SettingStartSleepChar": "О",
"SettingStartSleepOffChar": "К",
"SettingStartNoneChar": "В"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Пайка",
""
"Параметри",
"пайки"
],
"desc": "Налаштування для режиму пайки. Діють при включеному жалі."
},
"PowerSavingMenu": {
"text2": [
"Сон",
""
"Режим",
"сну"
],
"desc": "Налаштування при бездіяльності. Корисно що б не обпектися і з часом не спалити житло."
},
@@ -51,24 +57,24 @@
"Інтерфейс",
""
],
"desc": "Користувальницький інтерфейс."
"desc": "Параметри користувальницького інтерфейсу."
},
"AdvancedMenu": {
"text2": [
"Інші",
""
"Додаткові",
"параметри"
],
"desc": "Розширені налаштування. Додаткові зручності."
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text": "ДжЖив",
"text2": [
"Джерело",
"живлення"
],
"desc": "Установка напруги відключення. <DC - 10V, 3S - 9.9V, 4S - 13.2V, 5S - 16.5V, 6S - 19.8V>"
"desc": "Встановлення напруги відключення. <DC - 10V, 3S - 9.9V, 4S - 13.2V, 5S - 16.5V, 6S - 19.8V>"
},
"SleepTemperature": {
"text": "",
@@ -81,10 +87,10 @@
"SleepTimeout": {
"text": "",
"text2": [
"Таймаут",
"Тайм-аут",
"сну"
],
"desc": "Час до переходу в режим очікування <Доступно отключение>"
"desc": "Час до переходу в режим очікування <Хвилини/Секунди>"
},
"ShutdownTimeout": {
"text": "",
@@ -92,7 +98,7 @@
"Часу до",
"вимкнення"
],
"desc": "Час до відключення <Доступно відключення>"
"desc": "Час до відключення <Хвилини>"
},
"MotionSensitivity": {
"text": "",
@@ -100,7 +106,7 @@
"Чутл. сенсо-",
"ру руху"
],
"desc": "Акселерометр <0 - Викл. 1 хв. чутливості 9 - макс. чутливості>"
"desc": "Акселерометр <0 - Вимк. 1 - мін. чутливості 9 - макс. чутливості>"
},
"TemperatureUnit": {
"text": "",
@@ -116,7 +122,7 @@
"Детальний ре-",
"жим очікуван."
],
"desc": "Показувати детальну в режимі налаштувань <Замість картинки>"
"desc": "Показувати детальну інформацію маленьким шрифтом на домашньому екрані"
},
"DisplayRotation": {
"text": "",
@@ -124,7 +130,7 @@
"Автоповорот",
"екрану"
],
"desc": "Орієнтація дисплея <A - Автоповорот, L - Лівша, R - Правша>"
"desc": "Орієнтація дисплея <A - Автоповорот, Л - Лівша, П - Правша>"
},
"BoostEnabled": {
"text": "",
@@ -148,7 +154,7 @@
"Гарячий",
"старт"
],
"desc": "Автоматичний перехід в режим пайки при включенні живлення."
"desc": "Режим з яким запускається паяльник при подачі живлення <П=Пайка, О=Очікування, К=Очікування при кімн. темп., В=Вимк.>"
},
"CooldownBlink": {
"text": "",
@@ -172,13 +178,13 @@
"Скинути всі",
"налаштування?"
],
"desc": "Скидання всіх параметрів до вихідних значень."
"desc": "Скидання всіх параметрів до стандартних значень."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Калібровка",
"напруга"
"Калібрування",
"напруги"
],
"desc": "Калібрування напруги входу. Налаштувати кнопками, натиснути і утримати щоб завершити."
},
@@ -196,39 +202,95 @@
"Швидкість",
"тексту"
],
"desc": "Швидкість прокрутки тексту"
"desc": "Швидкість прокрутки тексту <П=повільно, Ш=швидко>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
"Модель",
"Жало"
],
"desc": "Tip Model selection"
"desc": "Вибір моделі жала"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
"Просте",
"Калібрування"
],
"desc": "Simple Calibration using Hot water"
"desc": "Просте калібрування з використанням гарячої води"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
"Детальне",
"Калібрування"
],
"desc": "Advanced calibration using thermocouple on the tip"
"desc": "Калібрування за допомогою термопари"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
"Потужність",
"дж. живл."
],
"desc": "Power Wattage of the power adapter used"
"desc": "Потужність джерела живлення в Ватах"
},
"PowerLimitEnable": {
"text": "PLIMEN",
"text2": [
"Ліміт",
"потужності"
],
"desc": "Вмикає обмеження потужності споживання"
},
"PowerLimit": {
"text": "PLIM",
"text2": [
"Макс.",
"потуж."
],
"desc": "Макс. потужність, яку може використовувати паяльник <Ват>"
},
"ReverseButtonTempChange": {
"text": "RVTCHG",
"text2": [
"Інвертувати",
"кнопки +-?"
],
"desc": "Інвертувати кнопки зміни температури."
},
"TempChangeShortStep": {
"text": "TCHGST",
"text2": [
"Зм. темп.",
"коротко?"
],
"desc": "Змінювати температуру при короткому натисканні!"
},
"TempChangeLongStep": {
"text": "TCHGLT",
"text2": [
"Зм. темп.",
"довго?"
],
"desc": "Змінювати температуру при довгому натисканні!"
},
"PowerPulsePower":{
"text": "POWPLS",
"text2": [
"Пульс.",
"Навантаж."
],
"desc": "Деякі PowerBank-и з часом вимк. живлення, якщо пристрій споживає дуже мало енергії (це потрібно щоб паяльник не вимкнувся з часом)"
},
"TipGain": {
"text": "TG",
"text2": [
"Modify",
"tip gain"
],
"desc": "Tip gain"
}
}
}

View File

@@ -88,7 +88,12 @@ var def =
{
"id": "YourGainMessage",
"maxLen": 8,
"default":"Your Gain"
"default": "Your Gain"
},
{
"id": "SettingsResetMessage",
"maxLen": 16,
"default": "Settings were\nreset!"
}
],
"characters": [
@@ -111,6 +116,22 @@ var def =
{
"id": "SettingSlowChar",
"len": 1
},
{
"id": "SettingStartSolderingChar",
"len": 1
},
{
"id": "SettingStartSleepChar",
"len": 1
},
{
"id": "SettingStartSleepOffChar",
"len": 1
},
{
"id": "SettingStartNoneChar",
"len": 1
}
],
"menuGroups": [
@@ -236,6 +257,41 @@ var def =
"id": "PowerInput",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "PowerLimitEnable",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "PowerLimit",
"maxLen": 5,
"maxLen2": 11
},
{
"id": "ReverseButtonTempChange",
"maxLen": 6,
"maxLen2": 16
},
{
"id": "TempChangeShortStep",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "TempChangeLongStep",
"maxLen": 6,
"maxLen2": 16
},
{
"id": "PowerPulsePower",
"maxLen": 6,
"maxLen2": 16
},
{
"id": "TipGain",
"maxLen": 6,
"maxLen2": 8
}
]
}

View File

@@ -3,4 +3,4 @@ If you would like to contribute a translation, use the [Translation Editor](http
[Open a reference language file and optionally a target language file](https://github.com/Ralim/ts100/tree/master/Translation%20Editor).
You can create an issue with your updated json translation, or make your own pull request. If you make a pull request, also run `python3 make_translation.py` to regenerate the source file.
You can create a pull request with the new / updated json configuration file, and this will include this language into the new builds for the firmware.

2
build.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
docker-compose run --rm builder /bin/bash /build/ci/buildAll.sh

13
ci/buildAll.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
set -u
mkdir -p /build/ci/artefacts
# Build STM code
cd /build/source/workspace/TS100/
bash ./build.sh || exit 1
echo "All Firmware built"
# Copy out all the final resulting files we would like to store for the next op
cp -r /build/source/workspace/TS100/Hexfile/*.hex /build/ci/artefacts/
cp -r /build/source/workspace/TS100/Hexfile/*.bin /build/ci/artefacts/

16
ci/secrets/decrypt.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SECRETS="$DIR/encrypted/*.encrypted"
KEY="$DIR/../../codeship.aes"
mkdir -p $DIR/unencrypted
for f in $SECRETS
do
out="${f/.encrypted/.secret}"
out="${out/encrypted/unencrypted}"
echo $out
jet decrypt $f $out --key-path $KEY
done
echo "Done"

View File

@@ -0,0 +1,2 @@
codeship:v2
DUgOERb8iPVn95/DKIw9M7sgNjJlIlsaeE4PFV58tmmBu2sD1ooR7Y0L23bimC9a

8
codeship-services.yml Normal file
View File

@@ -0,0 +1,8 @@
builder:
build:
context: .
dockerfile: Dockerfile
cached: true
encrypted_env_file: ci/secrets/encrypted/deployment.encrypted
volumes:
- ./ci:/ci

6
codeship-steps.yml Normal file
View File

@@ -0,0 +1,6 @@
- type: parallel
name: Build the firmware
steps:
- name: build
service: builder
command: /build/ci/buildAll.sh

20
development.md Normal file
View File

@@ -0,0 +1,20 @@
# Development
Building this software can be performed two ways, using the STMCubeIDE or using command line tools.
## STM Cube IDE
The repository is setup to try and make this painless, when starting the IDE you can import the project by pointing the internal search to the workspace folder of this repository. If you start with a fresh installation, close the welcome screen tab, and then in the left sidebar, there is an option to "import". Select General -> Import existing projects -> Set the top location option to this repositories workspace -> Should find the TS100 project.
## Developing with command line tools & building a release
In the `workspace/TS100` folder there is a makefile that can be used to build the repository using command line tools.
when running the `make` command, specify which model of the device & the language you would like to use.
`make -j8 lang=EN model=TS80`
To build a release instead, run the build.sh script. This will update translations and also build every language for both TS100 and TS80 models.
## Updating languages
To update the language translation files & associated font map, execute the `make_translation.py` code from the translations directory.

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
version: "3"
services:
builder:
stdin_open: true
tty: true
build:
context: .
command: /bin/bash
volumes:
- ./ci:/build/ci
- ./:/build/source

14
menu.md
View File

@@ -1,5 +1,6 @@
# Menu System
In this firmware for these soldering irons, all settings are adjustable on the device itself. This means you do **not** require a computer to change any settings.
## Soldering mode
@@ -24,9 +25,8 @@ Scrolling through the submenu will return you back to its entry location after y
Due to the tolerance on the resistors used for the input voltage divider, some irons can be up to 0.6V out on the voltage measurement.
Please calibrate your iron if you have any issues with the cutoff voltage.
Note that cutoff messages can also be triggered by using a power supply that is too weak and fails under the load of the iron.
This is more critical than before with the new cell count based cutout voltage.
To calibrate your Iron:
To calibrate your iron:
1. Measure the input voltage with a multimeter and note it down.
2. Connect the input to your iron.
@@ -51,11 +51,11 @@ Some tips will have an offset on their readings, to calibrate this out perform t
4. Scroll down to the advanced menu, and then the temperature calibration
5. Press the button to change the option (tip button)
6. The display will start to scroll a warning message to check that the tip is at ambient temperature!
7. Press the button near the tip of the iron to confirm.
7. Press the button near the tip of the iron to confirm
8. The display will go to "...." for a short period of time as the unit measures the tip temperature and the handle temperature and compares them
9. The display will then go back to *TMP CAL*
10. Calibration is done, just exit the settings menu as normal
11. You're done. Enjoy your iron.
11. You're done, enjoy your iron!
### Calibration of custom tip
@@ -63,11 +63,11 @@ There are two methods to calibrate the tip, the simple mode which requires boili
Advanced mode is preffered.
In simple mode you first need to have the tip at room temperature to start, and then when promped place the tip into a cup of boiling water, wait a few seconds and then press a button to confirm.
In simple mode you first need to have the tip at room temperature to start, and then when prompted place the tip into a cup of boiling water, wait a few seconds and then press a button to confirm.
In advanced mode, follow instructions on the screen, you will need to adjust the ranges to find two calibration points by measuing the tip temperature directly. This tends to be significantly more accurate.
In advanced mode, follow instructions on the screen, you will need to adjust the ranges to find two calibration points by measuring the tip temperature directly. This tends to be significantly more accurate.
If you do calibrate your own values for a tip because its missing from the menu or because you think the one in the menu is really wrong, raise an issue on github and I'm happy to look at adding it or revising the existing settings.
If you do calibrate your own values for a tip because it's missing from the menu or because you think the one in the menu is really wrong, raise an issue on github and I'll be happy to look at adding it or revising the existing settings.
### Boost mode

24
power.md Normal file
View File

@@ -0,0 +1,24 @@
# Power & Performance
Both the TS100 and TS80 are PWM controlled resistive heating elements.
This means that the electronics in the handle can only turn the heating element on and off.
This *means* that the power proivded in the tip is 100% controlled by the supply voltage used.
Both irons at their simplest are just a resistor connected to your power source via a switch.
When the switch is on, the power in the resistor is `Current (I) times Volts (V)`.
Current through the resistor is `Volts (V) divided by Resistance (R)`.
Combining these two gives the common equation, power is `Volts (V) squared / Resistance (R)`.
The resistance of the tip is fixed, 8.5 ohms for the TS100 and 4.5 ohms for the TS80.
This means that for both irons, the power delivered to the soldering tip is proportional to the voltage used, squared.
This is why the TS100 performs poorly when run off 12V power supplies.
## Output Control & Regulation
Both soldering irons use a FET to switch the power to the soldering iron tip. This is a P-MOSFET and its controlled via a small transistor circuit, which in turn is controlled via the STM32. The STM32 controls this PWM output proportional to the output from the PID control loop running in the software.
To measure the tip temperature in the iron, the iron has a small op-amp connected across the terminals, this is setup to measure the voltage across the same terminals that are used the power the tip. In order to be able to read the small voltage generated by the thermocouple junction, the irons output must be turned off.
Once the output is turned off (via the FET), the system has a recovery time as the tip capacitance discharges and the op-amp exits saturation. After this delay period, the STM32 ADC samples the output of the op-amp 8 times quickly and then sets a flag to turn the PWM output back on.
This enforces a small dead time in the output signal while this occurs, so there is a balance between sampling the temperature often to maintain stable tip temperature control and sampling less often to increase the maximum power deliverable to the tip

2
start_dev.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
docker-compose run --rm builder

72
upgrading.md Normal file
View File

@@ -0,0 +1,72 @@
# Upgrading your iron
## Miniware irons (TS100, TS80, TS80P)
This is completely safe, but if it goes wrong just put the .hex file from the official website onto the unit and you're back to the old firmware. Downloads for the hex files to flash are available on the [releases page.](https://github.com/Ralim/ts100/releases) The file you want is called *(MODEL)_EN.hex* unless you want the translations, they are (MODEL)_*language short name*.hex. Where (MODEL) is either TS100 or TS80.
Officially the bootloader on the iron only works under Windows (use the built-in File Explorer, as alternative file managers or copy handlers like Teracopy will fail). However, users have reported that it does work under Mac, and can be made to work under Linux *sometimes*. Details over on the [wiki page](https://github.com/Ralim/ts100/wiki/Upgrading-Firmware).
1. Hold the button closest to the tip, and plug in the USB to the computer.
2. The unit will appear as a USB drive.
3. Drag the .hex file onto the USB drive.
4. The unit will disconnect and reconnect.
5. The filename will have changed to end in .RDY or .ERR
6. If it ends with .RDY you're done! Otherwise, something went wrong.
7. If it didn't work the first time, try copying the file again without disconnecting the iron, often it will work on the second shot.
8. Disconnect the USB and power up the iron. You're good to go.
For the more adventurous out there, you can also load this firmware onto the device using an SWD programmer.
On the bottom of the MCU riser PCB, there are 4 pads for programming. On v2.51A PCB revision `USB_D+` is shorted to `SWDIO` and `USB_D-` is shorted to `SWCLK` so debugging works without disassembly (attach while staying in the bootloader). Installing [dapboot from eDesignOSS](https://github.com/eDesignOSS/dapboot) (`make TARGET=TS100 -C src`) is recommended as it allows reliable flashing of binary files with [dfu-util](http://dfu-util.sourceforge.net/).
There is a complete device flash backup included in this repository. (Note this includes the bootloader, so will need an SWD programmer to load onto the unit).
For the TS80 the SWD pins are used for the QC negotiation, so you can actually connect to the SWD power via the USB connector.
### FAQ
#### The file is showing up with the extension `.ERR`
This can occur duing the programming process if any of the checks in the bootloader fail. This is often triggered by anti-virus software or using a non-windows host OS.
First, try just copying the file a second time.
1. Attach the iron in DFU mode
2. Copy the hex file to the device
3. The device disconnects and connects with the `.ERR` file
4. Copy the same hex file again **DO NOT TRY AND DELETE THE OLD ONE**
5. The device will disconnect and reconnect again
6. The device _should_ now have the `.RDY` file
7. Your done.
If this fails, if you are on Mac or Linux reading the wiki page about programming can help. There is also a very long issue thread going through all of the different attempts around this too.
If you are on windows, its often to try another computer (friends, work, partners etc).
#### Device randomly disconnects or does not show up in DFU mode
First, check the USB cable your using has the data pins; test it on another device. There are a surprisingly large number of usb-micro cables that are power _only_.
Secondly, try other USB ports. Often different USB controllers will interact with the units differently due to design quirks in the miniware design.
## Setting a custom bootup image
This firmware uses a different method of updating the bootup image.
This removes the need for emulating a USB drive on the iron just to allow for a bootup image to be setup.
There are further instructions on the [wiki](https://github.com/Ralim/ts100/wiki/Logo-Editor).
Instructions are kept on the wiki so that users can update the information if they find extra helpful information.
## Alternative bootloader
If you are an advanced user, and you have used `usb-dfu` tools before, or you would like to learn; there is an alternative bootloader for these irons.
This will **NOT** show up as a USB storage drive, but instead show up using a standard DFU protocol device. You can then use dfu tools or GUI's to upgrade the iron using the `.bin` files that are posted to the releases page.
To change to dapboot based alternative bootloader, you need to flash the hex file from [here](https://github.com/eDesignOSS/ts100-bl-flasher/releases).
`ts100-stockbl.hex` will reflash the stock bootloader, `ts100-dapboot.hex` will flash the new dapboot based usb bootloader.
Note that this is only reccomended for users who know what they doing. If you dont not understand how this works; please dont flash this.

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>RemoteSystemsTempFiles</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.rse.ui.remoteSystemsTempNature</nature>
</natures>
</projectDescription>

Binary file not shown.

View File

@@ -1,146 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998" name="Debug" parent="fr.ac6.managedbuild.config.gnu.cross.exe.debug" postannouncebuildStep="Generating binary and Printing size information:" postbuildStep="arm-none-eabi-objcopy -O binary &quot;${BuildArtifactFileBaseName}.elf&quot; &quot;${BuildArtifactFileBaseName}.bin&quot;; arm-none-eabi-size &quot;${BuildArtifactFileName}&quot;;arm-none-eabi-objcopy -O ihex &quot;${BuildArtifactFileBaseName}.elf&quot; &quot;${BuildArtifactFileBaseName}.hex&quot;">
<folderInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998." name="/" resourcePath="">
<toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug.35243712" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.debug">
<option id="fr.ac6.managedbuild.option.gnu.cross.mcu.2131093113" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" useByScannerDiscovery="false" value="STM32F103T8Ux" valueType="string"/>
<option id="fr.ac6.managedbuild.option.gnu.cross.board.1847707232" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" useByScannerDiscovery="false" value="ts100" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.317155453" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross"/>
<builder buildPath="${workspace_loc:/TS100}/Debug" id="fr.ac6.managedbuild.builder.gnu.cross.910934658" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="fr.ac6.managedbuild.builder.gnu.cross"/>
<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.319926124" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler">
<option id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.1178790692" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.size" valueType="enumerated"/>
<option id="gnu.c.compiler.option.debugging.level.1214895662" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
<option id="gnu.c.compiler.option.include.paths.1766485383" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/core&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/device&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc/Legacy&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3&quot;"/>
</option>
<option id="gnu.c.compiler.option.preprocessor.def.symbols.2127531885" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="STM32F103T8Ux"/>
<listOptionValue builtIn="false" value="MODEL_TS100"/>
<listOptionValue builtIn="false" value="STM32F1"/>
<listOptionValue builtIn="false" value="STM32"/>
<listOptionValue builtIn="false" value="DEBUG"/>
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F103xB"/>
<listOptionValue builtIn="false" value="USE_RTOS_SYSTICK"/>
</option>
<option id="gnu.c.compiler.option.dialect.std.565083189" name="Language standard" superClass="gnu.c.compiler.option.dialect.std" useByScannerDiscovery="true" value="gnu.c.compiler.dialect.default" valueType="enumerated"/>
<option id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.fdata.338139343" name="Place the data in their own section (-fdata-sections)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.fdata" useByScannerDiscovery="false" value="true" valueType="boolean"/>
<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.176392389" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c"/>
<inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.893418158" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s"/>
</tool>
<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1941847243" name="MCU G++ Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler">
<option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.1283353237" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.size" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.debugging.level.224874042" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
<option id="gnu.cpp.compiler.option.include.paths.1749257477" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/core&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/device&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc/Legacy&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3&quot;"/>
</option>
<option id="gnu.cpp.compiler.option.preprocessor.def.766879664" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="STM32F103T8Ux"/>
<listOptionValue builtIn="false" value="MODEL_TS100"/>
<listOptionValue builtIn="false" value="STM32F1"/>
<listOptionValue builtIn="false" value="STM32"/>
<listOptionValue builtIn="false" value="DEBUG"/>
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F103xB"/>
<listOptionValue builtIn="false" value="USE_RTOS_SYSTICK"/>
</option>
<option id="gnu.cpp.compiler.option.dialect.std.1681974405" name="Language standard" superClass="gnu.cpp.compiler.option.dialect.std" useByScannerDiscovery="true" value="gnu.cpp.compiler.dialect.default" valueType="enumerated"/>
<option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.fdata.1463726438" name="Place the data in their own section (-fdata-sections)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.fdata" useByScannerDiscovery="false" value="true" valueType="boolean"/>
<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.149685854" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp"/>
<inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.1092052043" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s"/>
</tool>
<tool id="fr.ac6.managedbuild.tool.gnu.cross.c.linker.529125565" name="MCU GCC Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.linker"/>
<tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.617418615" name="MCU G++ Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.602897981" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="fr.ac6.managedbuild.tool.gnu.archiver.1863989965" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver"/>
<tool id="fr.ac6.managedbuild.tool.gnu.cross.assembler.2093484706" name="MCU GCC Assembler" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler">
<option id="gnu.both.asm.option.include.paths.1148882090" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/core&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/CMSIS/device&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc/Legacy&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/HAL_Driver/Inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3&quot;"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2116244351" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
<inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.1096324633" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
<fileInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998.1352310611" name="LIS2DH12.hpp" rcbsApplicability="disable" resourcePath="inc/LIS2DH12.hpp" toolsToInvoke=""/>
<sourceEntries>
<entry excluding="Src/stm32f1xx_hal_timebase_tim_template.c|Src/stm32f1xx_hal_timebase_rtc_wakeup_template.c|Src/stm32f1xx_hal_timebase_rtc_alarm_template.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="HAL_Driver"/>
<entry excluding="Third_Party/FreeRTOS/Source/portable/MemMang/heap_1.c|Third_Party/FreeRTOS/Source/portable/MemMang/heap_2.c|Third_Party/FreeRTOS/Source/portable/MemMang/heap_3.c|Third_Party/FreeRTOS/Source/portable/MemMang/heap_5.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="startup"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="TS100.fr.ac6.managedbuild.target.gnu.cross.exe.1768512215" name="Executable" projectType="fr.ac6.managedbuild.target.gnu.cross.exe"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.release.723264573;fr.ac6.managedbuild.config.gnu.cross.exe.release.723264573.;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.1363306495;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.747173367">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998;fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998.;fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1941847243;fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.149685854">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998;fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998.;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.319926124;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.176392389">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.release.723264573;fr.ac6.managedbuild.config.gnu.cross.exe.release.723264573.;fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.1414722294;fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.688034595">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Debug">
<resource resourceType="PROJECT" workspacePath="/TS100"/>
</configuration>
<configuration configurationName="Release">
<resource resourceType="PROJECT" workspacePath="/TS100"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
</cproject>

View File

@@ -1,5 +0,0 @@
/Debug/
/Release/
/Hexfile/
/Objects/

File diff suppressed because one or more lines are too long

View File

@@ -19,10 +19,13 @@
</buildCommand>
</buildSpec>
<natures>
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
<nature>fr.ac6.mcu.ide.core.MCUProjectNature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
</natures>
</projectDescription>

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="fr.ac6.managedbuild.config.gnu.cross.exe.debug.1352500998" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" console="false" env-hash="-283880394950776525" id="fr.ac6.mcu.ide.build.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="Ac6 SW4 STM32 MCU Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
</project>

View File

@@ -1,73 +0,0 @@
eclipse.preferences.version=1
fr.ac6.mcu.ide.source.checker.libnano.problem=Error
fr.ac6.mcu.ide.source.checker.libnano.problem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Float formatting support\\")"}
org.eclipse.cdt.codan.checkers.errnoreturn=Warning
org.eclipse.cdt.codan.checkers.errnoreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No return\\")",implicit\=>false}
org.eclipse.cdt.codan.checkers.errreturnvalue=Error
org.eclipse.cdt.codan.checkers.errreturnvalue.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused return value\\")"}
org.eclipse.cdt.codan.checkers.nocommentinside=-Error
org.eclipse.cdt.codan.checkers.nocommentinside.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Nesting comments\\")"}
org.eclipse.cdt.codan.checkers.nolinecomment=-Error
org.eclipse.cdt.codan.checkers.nolinecomment.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Line comments\\")"}
org.eclipse.cdt.codan.checkers.noreturn=Error
org.eclipse.cdt.codan.checkers.noreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No return value\\")",implicit\=>false}
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Abstract class cannot be instantiated\\")"}
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Ambiguous problem\\")"}
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Assignment in condition\\")"}
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Assignment to itself\\")"}
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No break at end of case\\")",no_break_comment\=>"no break",last_case_param\=>false,empty_case_param\=>false}
org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Catching by reference is recommended\\")",unknown\=>false,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Circular inheritance\\")"}
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization=Warning
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Class members should be properly initialized\\")",skip\=>true}
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Field cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Function cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid arguments\\")"}
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid template argument\\")"}
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Label statement not found\\")"}
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Member declaration not found\\")"}
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Method cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Name convention for function\\")",pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Class has a virtual method and non-virtual destructor\\")"}
org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid overload\\")"}
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid redeclaration\\")"}
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid redefinition\\")"}
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Return with parenthesis\\")"}
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Format String Vulnerability\\")"}
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Statement has no effect\\")",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Suggested parenthesis around expression\\")",paramNot\=>false}
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Suspicious semicolon\\")",else\=>false,afterelse\=>false}
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Type cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused function declaration\\")",macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused static function\\")",macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused variable declaration in file scope\\")",macro\=>true,exceptions\=>("@(\#)","$Id")}
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Symbol is not resolved\\")"}

View File

@@ -1,2 +0,0 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@@ -1,66 +0,0 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceFolder}"
],
"defines": ["STM32F103T8Ux","STM32F1","STM32","USE_HAL_DRIVER","STM32F103xB","USE_RTOS_SYSTICK"],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "STM32",
"includePath": [
"${workspaceFolder}",
"/usr/include/c++/5",
"/usr/include/x86_64-linux-gnu/c++/5",
"/usr/include/c++/5/backward",
"/usr/lib/llvm-5.0/lib/clang/5.0.0/include",
"/usr/local/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include",
"${workspaceFolder}/inc",
"${workspaceFolder}/HAL_Driver/Inc",
"${workspaceFolder}/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS",
"${workspaceFolder}/CMSIS/device",
"${workspaceFolder}/Middlewares/Third_Party/FreeRTOS/Source/include",
"${workspaceFolder}/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"${workspaceFolder}",
"/usr/include/c++/5",
"/usr/include/x86_64-linux-gnu/c++/5",
"/usr/include/c++/5/backward",
"/usr/lib/llvm-5.0/lib/clang/5.0.0/include",
"/usr/local/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"compilerPath": "/usr/bin/clang++-5.0",
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 3
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,58 @@
#include "BSP_Flash.h"
#include "BSP_Power.h"
#include "BSP_QC.h"
#include "Defines.h"
#include "Model_Config.h"
#include "stdint.h"
/*
* BSP.h -- Board Support
*
* This exposes functions that are expected to be implemented to add support for different hardware
*/
#ifndef BSP_BSP_H_
#define BSP_BSP_H_
#ifdef __cplusplus
extern "C" {
#endif
// Called first thing in main() to init the hardware
void preRToSInit();
// Called once the RToS has started for any extra work
void postRToSInit();
// Called to reset the hardware watchdog unit
void resetWatchdog();
// Accepts a output level of 0.. to use to control the tip output PWM
void setTipPWM(uint8_t pulse);
// Returns the Handle temp in C, X10
uint16_t getHandleTemperature();
// Returns the Tip temperature ADC reading in raw units
uint16_t getTipRawTemp(uint8_t refresh);
// Returns the main DC input voltage, using the adjustable divisor + sample flag
uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample);
// Readers for the two buttons
// !! Returns 1 if held down, 0 if released
uint8_t getButtonA();
uint8_t getButtonB();
// This is a work around that will be called if I2C starts to bug out
// This should toggle the SCL line until SDA goes high to end the current transaction
void unstick_I2C();
// Reboot the IC when things go seriously wrong
void reboot();
// If the user has programmed in a bootup logo, draw it to the screen from flash
// Returns 1 if the logo was printed so that the unit waits for the timeout or button
uint8_t showBootLogoIfavailable();
//delay wrapper for delay using the hardware timer (used before RTOS)
void delay_ms(uint16_t count) ;
//Used to allow knowledge of if usb_pd is being used
uint8_t usb_pd_detect();
#ifdef __cplusplus
}
#endif
#endif /* BSP_BSP_H_ */

View File

@@ -0,0 +1,26 @@
/*
* BSP_Flash.h
*
* Created on: 29 May 2020
* Author: Ralim
*/
#include "stdint.h"
#ifndef BSP_BSP_FLASH_H_
#define BSP_BSP_FLASH_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Wrappers to allow read/writing to a sector of flash that we use to store all of the user settings
*
* Should allow reading and writing to the flash
*/
//Erase the flash, then save the buffer. Returns 1 if worked
uint8_t flash_save_buffer(const uint8_t *buffer, const uint16_t length);
void flash_read_buffer(uint8_t *buffer, const uint16_t length);
#ifdef __cplusplus
}
#endif
#endif /* BSP_BSP_FLASH_H_ */

View File

@@ -0,0 +1,16 @@
/*
* BSP_PD.h
*
* Created on: 21 Jul 2020
* Author: Ralim
*/
#ifndef USER_BSP_PD_H_
#define USER_BSP_PD_H_
#include "BSP.h"
/*
* An array of all of the desired voltages & minimum currents in preferred order
*/
extern const uint16_t USB_PD_Desired_Levels[];
extern const uint8_t USB_PD_Desired_Levels_Len;
#endif /* USER_BSP_PD_H_ */

View File

@@ -0,0 +1,24 @@
#include "stdint.h"
/*
* BSP_Power.h -- Board Support for Power control
*
* These functions are hooks used to allow for power control
*
*/
#ifndef BSP_POWER_H_
#define BSP_POWER_H_
#ifdef __cplusplus
extern "C" {
#endif
// Called periodically in the movement handling thread
// Can be used to check any details for the power system
void power_check();
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -0,0 +1,42 @@
/*
* BSP_QC.h
*
* Created on: 29 May 2020
* Author: Ralim
*/
#ifndef BSP_BSP_QC_H_
#define BSP_BSP_QC_H_
#include "stdint.h"
#ifdef __cplusplus
extern "C" {
#endif
// Init GPIO for QC neg
void QC_Init_GPIO();
// Set the DP pin to 0.6V
void QC_DPlusZero_Six();
// Set the DM pin to 0.6V
void QC_DNegZero_Six();
// Set the DP pin to 3.3V
void QC_DPlusThree_Three();
// Set the DM pin to 3.3V
void QC_DNegThree_Three();
// Turn on weak pulldown on the DM pin
// This is used as a helper for some power banks
void QC_DM_PullDown();
// Turn off the pulldown
void QC_DM_No_PullDown();
// Turn on output drivers that were initally disabled to prevent spike through QC disable mode
void QC_Post_Probe_En();
// Check if DM was pulled down
// 1=Pulled down, 0 == pulled high
uint8_t QC_DM_PulledDown();
// Re-sync if required
void QC_resync();
#ifdef __cplusplus
}
#endif
#endif /* BSP_BSP_QC_H_ */

View File

@@ -0,0 +1,19 @@
/*
* Defines.h
*
* Created on: 29 May 2020
* Author: Ralim
*/
#ifndef BSP_DEFINES_H_
#define BSP_DEFINES_H_
enum Orientation {
ORIENTATION_LEFT_HAND = 0, ORIENTATION_RIGHT_HAND = 1, ORIENTATION_FLAT = 3
};
//It is assumed that all hardware implements an 8Hz update period at this time
#define PID_TIM_HZ (8)
#endif /* BSP_DEFINES_H_ */

View File

@@ -0,0 +1,309 @@
//BSP mapping functions
#include <IRQ.h>
#include "BSP.h"
#include "Setup.h"
#include "history.hpp"
#include "Pins.h"
#include "main.hpp"
#include "history.hpp"
#include "Model_Config.h"
#include "I2C_Wrapper.hpp"
volatile uint16_t PWMSafetyTimer = 0;
volatile uint8_t pendingPWM = 0;
//2 second filter (ADC is PID_TIM_HZ Hz)
history<uint16_t, PID_TIM_HZ> rawTempFilter = { { 0 }, 0, 0 };
void resetWatchdog() {
HAL_IWDG_Refresh(&hiwdg);
}
#ifdef TEMP_NTC
//Lookup table for the NTC
//Stored as ADCReading,Temp in degC
static const uint16_t NTCHandleLookup[] = {
//ADC Reading , Temp in C
29189, 0, //
29014, 1, //
28832, 2, //
28644, 3, //
28450, 4, //
28249, 5, //
28042, 6, //
27828, 7, //
27607, 8, //
27380, 9, //
27146, 10, //
26906, 11, //
26660, 12, //
26407, 13, //
26147, 14, //
25882, 15, //
25610, 16, //
25332, 17, //
25049, 18, //
24759, 19, //
24465, 20, //
24164, 21, //
23859, 22, //
23549, 23, //
23234, 24, //
22915, 25, //
22591, 26, //
22264, 27, //
21933, 28, //
21599, 29, //
// 21261, 30, //
// 20921, 31, //
// 20579, 32, //
// 20234, 33, //
// 19888, 34, //
// 19541, 35, //
// 19192, 36, //
// 18843, 37, //
// 18493, 38, //
// 18143, 39, //
// 17793, 40, //
// 17444, 41, //
// 17096, 42, //
// 16750, 43, //
// 16404, 44, //
// 16061, 45, //
// 15719, 46, //
// 15380, 47, //
// 15044, 48, //
// 14710, 49, //
// 14380, 50, //
// 14053, 51, //
// 13729, 52, //
// 13410, 53, //
// 13094, 54, //
// 12782, 55, //
// 12475, 56, //
// 12172, 57, //
// 11874, 58, //
// 11580, 59, //
// 11292, 60, //
};
#endif
uint16_t getHandleTemperature() {
#ifdef TEMP_NTC
//TS80P uses 100k NTC resistors instead
//NTCG104EF104FT1X from TDK
//For now not doing interpolation
int32_t result = getADC(0);
for (uint32_t i = 0; i < (sizeof(NTCHandleLookup) / (2 * sizeof(uint16_t)));
i++) {
if (result > NTCHandleLookup[(i * 2) + 0]) {
return NTCHandleLookup[(i * 2) + 1] * 10;
}
}
return 0;
#endif
#ifdef TEMP_TMP36
// We return the current handle temperature in X10 C
// TMP36 in handle, 0.5V offset and then 10mV per deg C (0.75V @ 25C for
// example) STM32 = 4096 count @ 3.3V input -> But We oversample by 32/(2^2) =
// 8 times oversampling Therefore 32768 is the 3.3V input, so 0.1007080078125
// mV per count So we need to subtract an offset of 0.5V to center on 0C
// (4964.8 counts)
//
int32_t result = getADC(0);
result -= 4965; // remove 0.5V offset
// 10mV per C
// 99.29 counts per Deg C above 0C
result *= 100;
result /= 993;
return result;
#endif
}
uint16_t getTipInstantTemperature() {
uint16_t sum = 0; // 12 bit readings * 8 -> 15 bits
uint16_t readings[8];
//Looking to reject the highest outlier readings.
//As on some hardware these samples can run into the op-amp recovery time
//Once this time is up the signal stabilises quickly, so no need to reject minimums
readings[0] = hadc1.Instance->JDR1;
readings[1] = hadc1.Instance->JDR2;
readings[2] = hadc1.Instance->JDR3;
readings[3] = hadc1.Instance->JDR4;
readings[4] = hadc2.Instance->JDR1;
readings[5] = hadc2.Instance->JDR2;
readings[6] = hadc2.Instance->JDR3;
readings[7] = hadc2.Instance->JDR4;
for (int i = 0; i < 8; i++) {
sum += readings[i];
}
return sum; // 8x over sample
}
uint16_t getTipRawTemp(uint8_t refresh) {
if (refresh) {
uint16_t lastSample = getTipInstantTemperature();
rawTempFilter.update(lastSample);
return lastSample;
} else {
return rawTempFilter.average();
}
}
uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample) {
// ADC maximum is 32767 == 3.3V at input == 28.05V at VIN
// Therefore we can divide down from there
// Multiplying ADC max by 4 for additional calibration options,
// ideal term is 467
#ifdef MODEL_TS100
#define BATTFILTERDEPTH 32
#else
#define BATTFILTERDEPTH 8
#endif
static uint8_t preFillneeded = 10;
static uint32_t samples[BATTFILTERDEPTH];
static uint8_t index = 0;
if (preFillneeded) {
for (uint8_t i = 0; i < BATTFILTERDEPTH; i++)
samples[i] = getADC(1);
preFillneeded--;
}
if (sample) {
samples[index] = getADC(1);
index = (index + 1) % BATTFILTERDEPTH;
}
uint32_t sum = 0;
for (uint8_t i = 0; i < BATTFILTERDEPTH; i++)
sum += samples[i];
sum /= BATTFILTERDEPTH;
if (divisor == 0) {
divisor = 1;
}
return sum * 4 / divisor;
}
void setTipPWM(uint8_t pulse) {
PWMSafetyTimer = 10; // This is decremented in the handler for PWM so that the tip pwm is
// disabled if the PID task is not scheduled often enough.
pendingPWM = pulse;
}
// These are called by the HAL after the corresponding events from the system
// timers.
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// Period has elapsed
if (htim->Instance == TIM2) {
// we want to turn on the output again
PWMSafetyTimer--;
// We decrement this safety value so that lockups in the
// scheduler will not cause the PWM to become locked in an
// active driving state.
// While we could assume this could never happen, its a small price for
// increased safety
htim2.Instance->CCR4 = pendingPWM;
if (htim2.Instance->CCR4 && PWMSafetyTimer) {
HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
} else {
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
}
} else if (htim->Instance == TIM1) {
// STM uses this for internal functions as a counter for timeouts
HAL_IncTick();
}
}
void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) {
// This was a when the PWM for the output has timed out
if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_4) {
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
}
}
void unstick_I2C() {
GPIO_InitTypeDef GPIO_InitStruct;
int timeout = 100;
int timeout_cnt = 0;
// 1. Clear PE bit.
hi2c1.Instance->CR1 &= ~(0x0001);
/**I2C1 GPIO Configuration
PB6 ------> I2C1_SCL
PB7 ------> I2C1_SDA
*/
// 2. Configure the SCL and SDA I/Os as General Purpose Output Open-Drain, High level (Write 1 to GPIOx_ODR).
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Pin = SCL_Pin;
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
GPIO_InitStruct.Pin = SDA_Pin;
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
while (GPIO_PIN_SET != HAL_GPIO_ReadPin(SDA_GPIO_Port, SDA_Pin)) {
//Move clock to release I2C
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_RESET);
asm("nop");
asm("nop");
asm("nop");
asm("nop");
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
timeout_cnt++;
if (timeout_cnt > timeout)
return;
}
// 12. Configure the SCL and SDA I/Os as Alternate function Open-Drain.
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Pin = SCL_Pin;
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = SDA_Pin;
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
// 13. Set SWRST bit in I2Cx_CR1 register.
hi2c1.Instance->CR1 |= 0x8000;
asm("nop");
// 14. Clear SWRST bit in I2Cx_CR1 register.
hi2c1.Instance->CR1 &= ~0x8000;
asm("nop");
// 15. Enable the I2C peripheral by setting the PE bit in I2Cx_CR1 register
hi2c1.Instance->CR1 |= 0x0001;
// Call initialization function.
HAL_I2C_Init(&hi2c1);
}
uint8_t getButtonA() {
return HAL_GPIO_ReadPin(KEY_A_GPIO_Port, KEY_A_Pin) == GPIO_PIN_RESET ?
1 : 0;
}
uint8_t getButtonB() {
return HAL_GPIO_ReadPin(KEY_B_GPIO_Port, KEY_B_Pin) == GPIO_PIN_RESET ?
1 : 0;
}
void reboot() {
NVIC_SystemReset();
}
void delay_ms(uint16_t count) {
HAL_Delay(count);
}

View File

@@ -0,0 +1,22 @@
/*
* BSP_PD.c
*
* Created on: 21 Jul 2020
* Author: Ralim
*/
#include "BSP_PD.h"
#include "Model_Config.h"
#ifdef POW_PD
/*
* An array of all of the desired voltages & minimum currents in preferred order
*/
const uint16_t USB_PD_Desired_Levels[] = {
//mV desired input, mA minimum required current
12000, 2400, //12V @ 2.4A
9000, 2000, //9V @ 2A
5000, 100, //5V @ whatever
};
const uint8_t USB_PD_Desired_Levels_Len = 3;
#endif

View File

@@ -0,0 +1,133 @@
/*
* FRToSI2C.cpp
*
* Created on: 14Apr.,2018
* Author: Ralim
*/
#include <I2C_Wrapper.hpp>
#include "BSP.h"
#include "Setup.h"
#define I2CUSESDMA
SemaphoreHandle_t FRToSI2C::I2CSemaphore;
StaticSemaphore_t FRToSI2C::xSemaphoreBuffer;
void FRToSI2C::CpltCallback() {
hi2c1.State = HAL_I2C_STATE_READY; // Force state reset (even if tx error)
if (I2CSemaphore) {
xSemaphoreGiveFromISR(I2CSemaphore, NULL);
}
}
bool FRToSI2C::Mem_Read(uint16_t DevAddress, uint16_t MemAddress,
uint8_t *pData, uint16_t Size) {
if (I2CSemaphore == NULL) {
// no RToS, run blocking code
HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT,
pData, Size, 5000);
return true;
} else {
// RToS is active, run threading
// Get the mutex so we can use the I2C port
// Wait up to 1 second for the mutex
if (xSemaphoreTake(I2CSemaphore, (TickType_t)500) == pdTRUE) {
#ifdef I2CUSESDMA
if (HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress,
I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
I2C_Unstick();
xSemaphoreGive(I2CSemaphore);
return false;
} else {
xSemaphoreGive(I2CSemaphore);
return true;
}
#else
if (HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT, pData, Size,
5000)==HAL_OK){
xSemaphoreGive(I2CSemaphore);
return true;
}
xSemaphoreGive(I2CSemaphore);
return false;
#endif
} else {
return false;
}
}
}
void FRToSI2C::I2C_RegisterWrite(uint8_t address, uint8_t reg, uint8_t data) {
Mem_Write(address, reg, &data, 1);
}
uint8_t FRToSI2C::I2C_RegisterRead(uint8_t add, uint8_t reg) {
uint8_t tx_data[1];
Mem_Read(add, reg, tx_data, 1);
return tx_data[0];
}
void FRToSI2C::Mem_Write(uint16_t DevAddress, uint16_t MemAddress,
uint8_t *pData, uint16_t Size) {
if (I2CSemaphore == NULL) {
// no RToS, run blocking code
HAL_I2C_Mem_Write(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT,
pData, Size, 5000);
} else {
// RToS is active, run threading
// Get the mutex so we can use the I2C port
// Wait up to 1 second for the mutex
if (xSemaphoreTake(I2CSemaphore, (TickType_t)500) == pdTRUE) {
if (HAL_I2C_Mem_Write(&hi2c1, DevAddress, MemAddress,
I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
I2C_Unstick();
xSemaphoreGive(I2CSemaphore);
}
xSemaphoreGive(I2CSemaphore);
}
}
}
void FRToSI2C::Transmit(uint16_t DevAddress, uint8_t *pData, uint16_t Size) {
if (I2CSemaphore == NULL) {
// no RToS, run blocking code
HAL_I2C_Master_Transmit(&hi2c1, DevAddress, pData, Size, 5000);
} else {
// RToS is active, run threading
// Get the mutex so we can use the I2C port
// Wait up to 1 second for the mutex
if (xSemaphoreTake(I2CSemaphore, (TickType_t)50) == pdTRUE) {
#ifdef I2CUSESDMA
if (HAL_I2C_Master_Transmit_DMA(&hi2c1, DevAddress, pData, Size)
!= HAL_OK) {
I2C_Unstick();
xSemaphoreGive(I2CSemaphore);
}
#else
HAL_I2C_Master_Transmit(&hi2c1, DevAddress, pData, Size, 5000);
xSemaphoreGive(I2CSemaphore);
#endif
} else {
}
}
}
bool FRToSI2C::probe(uint16_t DevAddress) {
uint8_t buffer[1];
return HAL_I2C_Mem_Read(&hi2c1, DevAddress, 0x0F, I2C_MEMADD_SIZE_8BIT,
buffer, 1, 1000) == HAL_OK;
}
void FRToSI2C::I2C_Unstick() {
unstick_I2C();
}

View File

@@ -0,0 +1,49 @@
/*
* IRQ.c
*
* Created on: 30 May 2020
* Author: Ralim
*/
#include "IRQ.h"
#include "int_n.h"
/*
* Catch the IRQ that says that the conversion is done on the temperature
* readings coming in Once these have come in we can unblock the PID so that it
* runs again
*/
void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef *hadc) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
if (hadc == &hadc1) {
if (pidTaskNotification) {
vTaskNotifyGiveFromISR(pidTaskNotification,
&xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}
}
}
void HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *hi2c __unused) {
FRToSI2C::CpltCallback();
}
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
(void)GPIO_Pin;
InterruptHandler::irqCallback();
}

View File

@@ -0,0 +1,32 @@
/*
* Irqs.h
*
* Created on: 30 May 2020
* Author: Ralim
*/
#ifndef BSP_MINIWARE_IRQ_H_
#define BSP_MINIWARE_IRQ_H_
#include "BSP.h"
#include "stm32f1xx_hal.h"
#include "I2C_Wrapper.hpp"
#include "Setup.h"
#include "main.hpp"
#ifdef __cplusplus
extern "C" {
#endif
void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef *hadc);
void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c);
void HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *hi2c);
void HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *hi2c);
void HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c);
void HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *hi2c);
void HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *hi2c);
void HAL_GPIO_EXTI_Callback(uint16_t);
#ifdef __cplusplus
}
#endif
#endif /* BSP_MINIWARE_IRQ_H_ */

View File

@@ -0,0 +1,44 @@
/*
* Model_Config.h
*
* Created on: 25 Jul 2020
* Author: Ralim
*/
#ifndef BSP_MINIWARE_MODEL_CONFIG_H_
#define BSP_MINIWARE_MODEL_CONFIG_H_
/*
* Lookup for mapping features <-> Models
*/
#if defined(MODEL_TS100) + defined(MODEL_TS80)+defined(MODEL_TS80P) > 1
#error "Multiple models defined!"
#elif defined(MODEL_TS100) + defined(MODEL_TS80)+ defined(MODEL_TS80P) == 0
#error "No model defined!"
#endif
#ifdef MODEL_TS100
#define ACCEL_MMA
#define ACCEL_LIS
#define TEMP_TMP36
#endif
#ifdef MODEL_TS80
#define ACCEL_LIS
#define POW_QC
#define TEMP_TMP36
#define LIS_ORI_FLIP
#define OLED_FLIP
#endif
#ifdef MODEL_TS80P
#define ACCEL_LIS
#define POW_PD
#define POW_QC
#define TEMP_NTC
#define I2C_SOFT
#define LIS_ORI_FLIP
#define OLED_FLIP
#endif
#endif /* BSP_MINIWARE_MODEL_CONFIG_H_ */

View File

@@ -1,27 +1,13 @@
/*
* Hardware.h
* Pins.h
*
* Created on: 29Aug.,2017
* Author: Ben V. Brown
* Created on: 29 May 2020
* Author: Ralim
*/
#ifndef HARDWARE_H_
#define HARDWARE_H_
#include "Setup.h"
#include "stm32f1xx_hal.h"
#ifdef __cplusplus
extern "C" {
#endif
enum Orientation {
ORIENTATION_LEFT_HAND = 0, ORIENTATION_RIGHT_HAND = 1, ORIENTATION_FLAT = 3
};
#define PID_TIM_HZ (8)
#if defined(MODEL_TS100) + defined(MODEL_TS80) > 1
#error "Multiple models defined!"
#elif defined(MODEL_TS100) + defined(MODEL_TS80) == 0
#error "No model defined!"
#endif
#ifndef BSP_MINIWARE_PINS_H_
#define BSP_MINIWARE_PINS_H_
#include "Model_Config.h"
#ifdef MODEL_TS100
@@ -54,8 +40,8 @@ enum Orientation {
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#else
#endif
#ifdef MODEL_TS80
// TS80 pin map
#define KEY_B_Pin GPIO_PIN_0
#define KEY_B_GPIO_Port GPIOB
@@ -86,54 +72,52 @@ enum Orientation {
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#define SCL2_Pin GPIO_PIN_5
#define SCL2_GPIO_Port GPIOA
#define SDA2_Pin GPIO_PIN_1
#define SDA2_GPIO_Port GPIOA
#define INT_PD_Pin GPIO_PIN_9
#define INT_PD_GPIO_Port GPIOA
#endif
#ifdef MODEL_TS80P
// TS80P pin map
#define KEY_B_Pin GPIO_PIN_0
#define KEY_B_GPIO_Port GPIOB
#define TMP36_INPUT_Pin GPIO_PIN_4
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
#define TIP_TEMP_Pin GPIO_PIN_3
#define TIP_TEMP_GPIO_Port GPIOA
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
#define VIN_Pin GPIO_PIN_2
#define VIN_GPIO_Port GPIOA
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
#define OLED_RESET_Pin GPIO_PIN_15
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_1
#define KEY_A_GPIO_Port GPIOB
#define INT_Orientation_Pin GPIO_PIN_4
#define INT_Orientation_GPIO_Port GPIOB
#define PWM_Out_Pin GPIO_PIN_6
#define PWM_Out_GPIO_Port GPIOA
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define INT_Movement_Pin GPIO_PIN_5
#define INT_Movement_GPIO_Port GPIOB
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#define SCL2_Pin GPIO_PIN_5
#define SCL2_GPIO_Port GPIOA
#define SDA2_Pin GPIO_PIN_1
#define SDA2_GPIO_Port GPIOA
#define INT_PD_Pin GPIO_PIN_9
#define INT_PD_GPIO_Port GPIOA
#endif
/*
* Keep in a uint8_t range for the ID's
*/
#ifdef MODEL_TS100
enum TipType {
TS_B2 = 0,
TS_D24 = 1,
TS_BC2 = 2,
TS_C1 = 3,
Tip_MiniWare = 4,
HAKKO_BC2 = 4,
Tip_Hakko = 5,
Tip_Custom = 5,
};
#endif
#ifdef MODEL_TS80
enum TipType {
TS_B02 = 0, TS_D25 = 1, Tip_MiniWare = 2, Tip_Custom = 3,
};
#endif
extern uint16_t tipGainCalValue ;
uint16_t lookupTipDefaultCalValue(enum TipType tipID);
uint16_t getHandleTemperature();
uint16_t getTipRawTemp(uint8_t refresh);
uint16_t getInputVoltageX10(uint16_t divisor,uint8_t sample);
void setTipPWM(uint8_t pulse);
uint16_t ctoTipMeasurement(uint16_t temp);
uint16_t tipMeasurementToC(uint16_t raw);
uint16_t ftoTipMeasurement(uint16_t temp);
uint16_t tipMeasurementToF(uint16_t raw);
void seekQC(int16_t Vx10, uint16_t divisor);
void setCalibrationOffset(int16_t offSet);
void setTipType(enum TipType tipType, uint8_t manualCalGain);
uint32_t calculateTipR();
int16_t calculateMaxVoltage(uint8_t useHP);
void startQC(uint16_t divisor); // Tries to negotiate QC for highest voltage, must be run after
// RToS
// This will try for 12V, failing that 9V, failing that 5V
// If input is over 12V returns -1
// If the input is [5-12] Will return the value.
#ifdef __cplusplus
}
#endif
#endif /* HARDWARE_H_ */
#endif /* BSP_MINIWARE_PINS_H_ */

View File

@@ -0,0 +1,36 @@
#include "BSP.h"
#include "BSP_Power.h"
#include "QC3.h"
#include "Settings.h"
#include "Pins.h"
#include "fusbpd.h"
#include "Model_Config.h"
#include "policy_engine.h"
#include "int_n.h"
bool FUSB302_present = false;
void power_check() {
#ifdef POW_PD
if (FUSB302_present) {
//Cant start QC until either PD works or fails
if (PolicyEngine::setupCompleteOrTimedOut() == false) {
return;
}
if (PolicyEngine::pdHasNegotiated()) {
return;
}
}
#endif
#ifdef POW_QC
QC_resync();
#endif
}
uint8_t usb_pd_detect() {
#ifdef POW_PD
FUSB302_present = fusb302_detect();
return FUSB302_present;
#endif
return false;
}

View File

@@ -0,0 +1,76 @@
/*
* QC.c
*
* Created on: 29 May 2020
* Author: Ralim
*/
#include "BSP.h"
#include "Pins.h"
#include "QC3.h"
#include "Settings.h"
#include "stm32f1xx_hal.h"
#include "Model_Config.h"
#ifdef POW_QC
void QC_DPlusZero_Six() {
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_RESET); // pull down D+
}
void QC_DNegZero_Six() {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_10, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET);
}
void QC_DPlusThree_Three() {
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_SET); // pull up D+
}
void QC_DNegThree_Three() {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_10, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_SET);
}
void QC_DM_PullDown() {
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
GPIO_InitStruct.Pin = GPIO_PIN_11;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
}
void QC_DM_No_PullDown() {
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pin = GPIO_PIN_11;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
}
void QC_Init_GPIO() {
// Setup any GPIO into the right states for QC
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Pin = GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_10;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
// Turn off output mode on pins that we can
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
}
void QC_Post_Probe_En() {
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_10;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
}
uint8_t QC_DM_PulledDown() { return HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_11) == GPIO_PIN_RESET ? 1 : 0; }
#endif
void QC_resync() {
#ifdef POW_QC
seekQC((systemSettings.cutoutSetting) ? 120 : 90,
systemSettings.voltageDiv); // Run the QC seek again if we have drifted too much
#endif
}

View File

@@ -0,0 +1,12 @@
# BSP section for STM32F103 based Miniware products
This folder contains the hardware abstractions required for the TS100, TS80 and probably TS80P soldering irons.
## Main abstractions
* Hardware Init
* -> Should contain all bootstrap to bring the hardware up to an operating point
* -> Two functions are required, a pre and post FreeRToS call
* I2C read/write
* Set PWM for the tip
* Links between IRQ's on the system and the calls in the rest of the firmware

View File

@@ -5,6 +5,7 @@
* Author: Ben V. Brown
*/
#include "Setup.h"
#include "Pins.h"
ADC_HandleTypeDef hadc1;
ADC_HandleTypeDef hadc2;
DMA_HandleTypeDef hdma_adc1;
@@ -32,9 +33,9 @@ static void MX_ADC2_Init(void);
void Setup_HAL() {
SystemClock_Config();
#ifndef LOCAL_BUILD
__HAL_AFIO_REMAP_SWJ_DISABLE()
;
#ifndef SWD_ENABLE
__HAL_AFIO_REMAP_SWJ_DISABLE();
#else
__HAL_AFIO_REMAP_SWJ_NOJTAG();
#endif
@@ -136,7 +137,7 @@ static void MX_ADC1_Init(void) {
*/
sConfig.Channel = TMP36_ADC1_CHANNEL;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_239CYCLES_5;
sConfig.SamplingTime = ADC_SAMPLETIME_71CYCLES_5;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
/**Configure Regular Channel
@@ -197,11 +198,10 @@ static void MX_ADC2_Init(void) {
*/
sConfig.Channel = TIP_TEMP_ADC2_CHANNEL;
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.SamplingTime = ADC_SAMPLETIME_239CYCLES_5;
sConfig.SamplingTime = ADC_SAMPLETIME_71CYCLES_5;
HAL_ADC_ConfigChannel(&hadc2, &sConfig);
sConfig.Channel = VIN_ADC2_CHANNEL;
sConfig.Rank = ADC_REGULAR_RANK_2;
sConfig.SamplingTime = ADC_SAMPLETIME_239CYCLES_5;
HAL_ADC_ConfigChannel(&hadc2, &sConfig);
/**Configure Injected Channel
@@ -248,7 +248,7 @@ static void MX_IWDG_Init(void) {
hiwdg.Instance = IWDG;
hiwdg.Init.Prescaler = IWDG_PRESCALER_256;
hiwdg.Init.Reload = 100;
#ifndef LOCAL_BUILD
#ifndef SWD_ENABLE
HAL_IWDG_Init(&hiwdg);
#endif
}
@@ -337,7 +337,7 @@ static void MX_TIM2_Init(void) {
HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig);
sConfigOC.OCMode = TIM_OCMODE_PWM1;
sConfigOC.Pulse = 255 + 13;//13 -> Delay of 5ms
sConfigOC.Pulse = 255 + 13; //13 -> Delay of 5ms
//255 is the largest time period of the drive signal, and then offset ADC sample to be a bit delayed after this
/*
* It takes 4 milliseconds for output to be stable after PWM turns off.
@@ -429,8 +429,10 @@ static void MX_GPIO_Init(void) {
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
#ifdef MODEL_TS100
/* Pull USB lines low to disable, pull down debug too*/
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
#ifndef SWD_ENABLE
/* Pull USB and SWD lines low to prevent enumeration attempts and EMI affecting
* the debug core */
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 | GPIO_PIN_14;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
@@ -438,6 +440,12 @@ static void MX_GPIO_Init(void) {
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_12, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_13, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_14, GPIO_PIN_RESET);
#else
/* Make all lines affecting SWD floating to allow debugging */
GPIO_InitStruct.Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_14 | GPIO_PIN_13;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
#endif
#else
/* TS80 */
/* Leave USB lines open circuit*/
@@ -462,3 +470,8 @@ static void MX_GPIO_Init(void) {
HAL_Delay(30);
HAL_GPIO_WritePin(OLED_RESET_GPIO_Port, OLED_RESET_Pin, GPIO_PIN_SET);
}
#ifdef USE_FULL_ASSERT
void assert_failed(uint8_t* file, uint32_t line){
asm("bkpt");
}
#endif

View File

@@ -11,7 +11,7 @@
#ifdef __cplusplus
extern "C" {
#endif
#include <hardware.h>
#include "stm32f1xx_hal.h"
extern ADC_HandleTypeDef hadc1;
@@ -29,7 +29,7 @@ extern TIM_HandleTypeDef htim3;
void Setup_HAL();
uint16_t getADC(uint8_t channel);
void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim); //Since the hal header file does not define this one
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); //Since the hal header file does not define this one
#ifdef __cplusplus
}

View File

@@ -0,0 +1,27 @@
/*
* Software_I2C.h
*
* Created on: 25 Jul 2020
* Author: Ralim
*/
#ifndef BSP_MINIWARE_SOFTWARE_I2C_H_
#define BSP_MINIWARE_SOFTWARE_I2C_H_
#include "Model_Config.h"
#include "BSP.h"
#include "stm32f1xx_hal.h"
#ifdef I2C_SOFT
#define SOFT_SCL_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
#define SOFT_SCL_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
#define SOFT_SDA_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port,SDA2_Pin)==GPIO_PIN_SET?1:0)
#define SOFT_SCL_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port,SCL2_Pin)==GPIO_PIN_SET?1:0)
#define SOFT_I2C_DELAY() {for(int xx=0;xx<40;xx++){asm("nop");}}
#endif
#endif /* BSP_MINIWARE_SOFTWARE_I2C_H_ */

View File

@@ -10427,6 +10427,8 @@ typedef struct
((INSTANCE) == TIM3) || \
((INSTANCE) == TIM4))
#define IS_TIM_SYNCHRO_INSTANCE(INSTANCE) IS_TIM_MASTER_INSTANCE(INSTANCE)
#define IS_TIM_DMABURST_INSTANCE(INSTANCE)\
(((INSTANCE) == TIM1) || \
((INSTANCE) == TIM2) || \

Some files were not shown because too many files have changed in this diff Show More