Compare commits

...

335 Commits

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

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

* [Build script] Cleaning potential bugs according ShellCheck

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

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

* translation_cs_cz.json → translation_cs.json

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

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

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

* Add missing "languageLocalName" field for Slovak

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

* Regenerate translations source file

* Portugues → Português

* translation_dk.json → translation_da.json

DA is the ISO 639-1 code for Danish

* translation_ua.json → translation_uk.json

UK is the ISO 639-1 code for Ukrainian

* Update language codes in build.sh
2018-11-17 11:08:39 +11:00
jonnieZG
262ca9b0af Croatian translation update (#405)
* Enabled DOUBLE line for Croatian + translation fix

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

* Added Double line menus for Croatian

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

* Added "Power: " translation for Croatian

* Menu desciption scroll sped up 3x

* Slow scroll

* Additional HR translation fix

* EOL fixed

* Fixed flickering - update only when required

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

* Synchronized with Ralim master

* Synchronized with Ralim

* Ralim

* Ralim

* Sync

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

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

* Fixed Lithuanian local language name.

* Fixed _lt.json syntax

* Added 12x16 and 6x8 HTML5 font editor

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

* "Font Editor" changed to "Bitmap Editor"

* Added 24x16 icon size

* Croatian translation update

* Merged

* Croatian translation update
2018-11-15 18:54:30 +11:00
Ben V. Brown
8e9973a3bf Merge pull request #404 from dhiltonp/master
adjust watts for PWM duty cycle
2018-11-15 18:51:32 +11:00
Ben V. Brown
70827de12a Merge pull request #406 from Rockman18/cyrillic
Add cyrillic parameter for font selection in json language files
2018-11-15 18:51:11 +11:00
Rockman18
845dcd4bc6 Add cyrillic parameter for font selection in json language files 2018-11-15 02:36:00 +01:00
David Hilton
0fb402a857 adjust watts for PWM duty cycle 2018-11-14 08:40:05 -07:00
Ben V. Brown
bc2446126f Merge pull request #403 from vomindoraan/translation_serbian
Add Serbian Cyrillic translation and update Serbian Latin translation
2018-11-13 13:18:56 +11:00
Konstantin Đorđević
87ea446022 Regenerate translations source file 2018-11-13 03:07:41 +01:00
Konstantin Đorđević
096e38c6b1 Update Serbian Latin based on Serbian Cyrillic 2018-11-13 03:07:40 +01:00
Konstantin Đorđević
4de4547d54 Add Serbian Cyrillic translation 2018-11-13 03:07:40 +01:00
Konstantin Đorđević
0a42712313 translation_sr.json → translation_sr_latn.json 2018-11-12 02:55:27 +01:00
Ben V. Brown
6a1572de81 Slow PWM drive to reduce some handle heating, Improve PWM power for ts80, add ts80 pulse for keep awake 2018-11-11 20:43:35 +11:00
Ben V. Brown
5b882c819c Merge branch 'master' of https://github.com/Ralim/ts100 2018-11-11 09:28:13 +11:00
Ben V. Brown
d5beab76bb TS80 Tuning fairly well now 2018-11-11 09:26:30 +11:00
Ben V. Brown
4b539f09b6 Merge pull request #402 from dhiltonp/master
improve comments in PID tuning
2018-11-10 10:34:19 +11:00
David P Hilton
ad4569fc4b improve comments in PID tuning 2018-11-09 07:53:06 -07:00
Ben V. Brown
f4e2de4608 Fix not resetting average calculation
Should help with #366
2018-11-09 14:13:28 +11:00
Ben V. Brown
c83174862a Tweak pwm timings, improve Voltage init for more stable startup 2018-11-09 13:14:20 +11:00
Ben V. Brown
18a8461b99 Merge pull request #399 from Rockman18/french
French translation improvements
2018-11-06 12:09:17 +11:00
Rockman18
02b12d28f3 French translation improvements
[x] Update translation_fr.json
[x] Generate Translation.cpp
2018-11-06 01:56:07 +01:00
Ben V. Brown
307b5e9ef3 Merge pull request #398 from WerVa/patch-2
Update translation_pl.json
2018-11-02 14:33:56 +11:00
WerVa
cc163ab310 Update translation_pl.json 2018-11-02 01:40:35 +01:00
Ben V. Brown
ab6dc6c152 Merge pull request #396 from dhiltonp/watts
PID in watts fixes
2018-10-30 16:49:30 +11:00
David P Hilton
f081f766cb Merge remote-tracking branch 'upstream/master' into watts 2018-10-29 23:07:58 -06:00
David P Hilton
ddf3e4f7d3 fix overflow in tempError 2018-10-29 23:05:12 -06:00
David P Hilton
766073e208 fix negative rawC 2018-10-29 23:04:59 -06:00
Ben V. Brown
aa51dc4dbe Merge pull request #358 from dhiltonp/watts
Changes the PID to work in watts instead of a raw PWM output, making the output automatically compensated for voltage and much, much smoother.
2018-10-30 11:25:04 +11:00
David P Hilton
73f07489fe PID works with max PWM of 255 2018-10-29 08:19:44 -06:00
David P Hilton
43d11fa8f8 Merge remote-tracking branch 'upstream/master' into watts 2018-10-29 07:34:22 -06:00
Ben V. Brown
12c2080637 Merge branch 'master' of https://github.com/Ralim/ts100 2018-10-29 21:22:07 +11:00
Ben V. Brown
6b96474ab5 Trim in QC3 timings 2018-10-29 21:21:39 +11:00
Berre1959
e1f9d33699 Update translation_vl.json (#392)
* Update translation_vl.json

Deze vertaling is geen wijziging van de Nederlandse vertaling; ze is bedoeld voor Vlaamse gebruikers en wordt aangeboden als een nieuwe vertaling.  Dit is de eerste versie die nog moet worden getest op de TS-100.

* Restore NL translation & generate NL_BE source
2018-10-29 21:00:07 +11:00
Ben V. Brown
02bdf450b2 Increase PWM output range to 0-255
For #358
Also fixes #394
2018-10-29 20:55:40 +11:00
David P Hilton
6a3ca96815 moved debugNumber into OLED class 2018-10-28 21:51:49 -06:00
David P Hilton
76b460cd77 PID rework - use watts 2018-10-28 21:47:58 -06:00
David P Hilton
febf55ad43 Merge remote-tracking branch 'upstream/master' into powertemp-rework 2018-10-28 16:57:58 -06:00
David Hilton
81e87c86d0 remove hardcoded MODEL_TS80 (#393)
* remove hardcoded MODEL_TS80

* #define MODEL_TS100 in sw4stm32/atollic config

* whitespace fix

* use sum of 'defined' instead of logic

* only print handle temp, not PCBVersion

* whitespace fix
2018-10-29 08:48:04 +11:00
David P Hilton
3c94324811 use sum of 'defined' instead of logic 2018-10-28 10:35:19 -06:00
David P Hilton
ce671282a6 remove hardcoded MODEL_TS80 2018-10-28 10:16:37 -06:00
David Hilton
ffeacca74d update Translation.cpp before build (#391) 2018-10-26 11:09:27 +11:00
David Hilton
9b99bfcfaa update russian json file, re-build Translation.cpp (#390) 2018-10-26 09:51:43 +11:00
Marcus "Chaosblog
61d1ee5b82 Keep Translation.cpp and json-files in sync (#385)
The russish and the italian translations in the json files and the Translation.cpp were not in sync.
2018-10-26 09:51:31 +11:00
David Hilton
8f61a7429b #377 - update install instructions to mention teracopy (#388) 2018-10-26 09:50:20 +11:00
Balazs Keresztury
8d66a07a42 Added new Hungarian strings and fixed some old ones (#387)
* Updated Hungarian translation json

* Fixed Hungarian translation name

* Ran make_translation.py to update Hungarian strings

* Reverted changes in other languages in translation.cpp
2018-10-26 09:50:04 +11:00
David Hilton
d0368a3de6 basic instructions on using the html Translation Editor (#389) 2018-10-25 14:47:10 +11:00
Marcus "Chaosblog
0165e6be51 updated german translation (#380) 2018-10-23 17:16:48 +11:00
Julius Vitkauskas
4d66df5b15 Fix translations (#379)
* Fix translations

* Update Italian translation
2018-10-19 13:48:46 +11:00
Ben V. Brown
d442a1d185 Fix: Ts80 Divisor links 2018-10-18 14:20:27 +11:00
Ben V. Brown
60a951f56f Fix temperature getting bumped off screen
This fixes the temp gettting bumped because I forgot to reset OLED::cursor_y after writing.

Fixes #376 (hopefully)
2018-10-17 08:22:04 +11:00
Philippe Teuwen
15f365d2bd Fix checksum computation in python_logo_converter (#371) 2018-10-17 07:28:03 +11:00
federck
40907a384e Update translation_it.json (#372) 2018-10-17 07:27:36 +11:00
Lennart Wilde
3fc9e5e4c2 Fixed incorrect Voltage Reading of the TS80 because of Calibration Value (#375)
Capping
2018-10-17 07:27:04 +11:00
Ben V. Brown
2e210da7a6 Add TS80 to build.sh 2018-10-11 15:38:25 +11:00
Ben V. Brown
b2e52bcb15 Fix build on linux 2018-10-11 15:18:27 +11:00
Ben V. Brown
be414d36e3 Fix QC3 for Ts80 vDiv 2018-10-11 14:59:23 +11:00
Ben V. Brown
7d0af3fc4c TS80 Support Stage 1 (#365)
* Estimated pinout into the ioc file

* Fix Atollic paths to be somewhat more portable

* Add make command

* Add rough calls to ADC2 [untested]

* Using dual ADC injected modes

* Start both ADCs

* Move some IRQ's to ram exec

* Stabilize PID a bit more

* Add in ideas for tip type selection

* Update peripheral setup to support TS80

* Add tiptype formula / settings struct

* Add function ids to the settings menu

* Rough tip selection

* Rough out new cal routine for simple tips

* Hardware test is fairly close for first pass

* Add Simple calibration case [UNTESTED]

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

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

* [Feat] Add some QC testing code

* Typo fix

* Add double button press handler for different rising times

* Add hook for jump to sleep mode

* QC for 9V Works!

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

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

* Static all I2C to save space

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

* Input V display works, tune ADC

* QC 3 steps working

* Start tip R measurements

* Impliment tip resistance

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

* Fix tip title

* Tip type settings, Static OLED

* Revert I2C callbacks

* Misc Cleanup

* Better Gain value, need to investiate offset

* Add model warning

* Add TS80 Boot Logo (#367)

* Add TS80 Boot Logo

* Refined

* Moved down by 1px

* Add in power selection 18/24W

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

* fix translation of 'blinking'

* print which translation json is being read

* removed PID settings

* #362: updated italian translation

* improved json error reporting in make_translation.py

* fixed extra escape character in LANG_SV

* Update translation definitions and Lithuanian translation

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

Settings divisor is stored as uint16_t, not uint8_t.

* Allow more precise input voltage divider calibration.

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

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

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

* Make translation generation script work also with Python 3

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

* Update translations

* Update remaining translations

* Add Finnish, Dutch, Portuguese and Ukrainian languages

* Add Swedish language, update build script

* Add Norwegian and Serbian (Latin) translations

* Update translation file, add automatically generated file warning

* PIDSETTINGS support. Thanks Andre Bernet (kilrah)

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

* Using dual ADC injected modes

* Start both ADCs

* Move some IRQ's to ram exec

* Stabilize PID a bit more

* Add in ideas for tip type selection

* Add tiptype formula / settings struct

* Add function ids to the settings menu

* Rough tip selection

* Rough out new cal routine for simple tips

* Hardware test is fairly close for first pass

* Add Simple calibration case [UNTESTED]

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

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

* Simple Cal Roughly working

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

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

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

* Added Double line menus for Croatian

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

* Added "Power: " translation for Croatian

* Menu desciption scroll sped up 3x

* Slow scroll

* Additional HR translation fix

* EOL fixed

* Fixed flickering - update only when required

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

* Synchronized with Ralim master

* Synchronized with Ralim

* Ralim

* Ralim

* Sync

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

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

* Fixed Lithuanian local language name.

* Fixed _lt.json syntax

* Added 12x16 and 6x8 HTML5 font editor

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

* "Font Editor" changed to "Bitmap Editor"

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

* ptbr translation reviewed

* ptbr translation revised

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

* fixed caps

* dutch language improvements

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

* Shrink down GUI code.

* Simplify LCD rotation handling.

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

In future may want to double buffer the LCD.

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


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

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

#187
2018-04-27 14:46:59 +10:00
Leonid
bf7f1f5062 typo (#272) 2018-04-20 12:44:07 +10:00
Ben V. Brown
6500eb5eed FI Updates
#267
2018-04-14 18:05:13 +10:00
Ben V. Brown
311d5182eb Cleanup formatting 2018-04-14 17:58:28 +10:00
Ben V. Brown
88ea45d8c8 Fix OLED leftover task calls 2018-04-14 17:05:26 +10:00
Ben V. Brown
576575d7ba More FRToS I2C cleanup 2018-04-14 16:33:16 +10:00
Ben V. Brown
7c1937b412 Adding FreeRToS constructs to I2C driver 2018-04-14 15:05:46 +10:00
Ben V. Brown
f599624b6f I2C into nicer wrapper for FreeRToS 2018-04-14 13:37:42 +10:00
Ben V. Brown
cc09157106 Fix UK -> UA for Ukrainian
#261
2018-04-13 17:27:22 +10:00
Ben V. Brown
586267f586 PID retune, ADC Blocks PID properly 2018-04-13 16:19:05 +10:00
Ben V. Brown
f2f20111b6 Force settings reset for 2.04
Also updates FI to #267 but wont be built in releases until string lengths fit.
2018-04-13 10:11:50 +10:00
Ben V. Brown
58061e3c26 Drop SE, add FI 2018-04-13 09:51:03 +10:00
Ben V. Brown
f04cca8677 Create LICENSE 2018-04-11 11:46:40 +10:00
Ben V. Brown
79477685bd Update Settings reset to always zero,
Update GUI for temp setting to round to 10 increments.
2018-04-11 09:58:35 +10:00
Denis Goncharov
a062317e7a Minor corrections of Russian localization (#262)
* Minor corrections of Russian localization

* Russian Translition - Automatic start mode

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

* Russian Translition

Slight fix.

* Ukrainian localization

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

* LANG_UA -> LANG_UK
2018-04-09 08:00:49 +10:00
Denis Goncharov
2928e4d39c add UK (#265) 2018-04-09 08:00:32 +10:00
Ben V. Brown
c9cfe965ef Add more F support, protect I2C on accel2 orientation 2018-04-06 13:13:37 +10:00
federck
080ca31890 Update Translation.cpp (#260)
* Update Translation.cpp

Fixes russian double line string + italian readjustments

* Fix for sizings + uniformed indent
2018-03-31 21:01:19 +11:00
Ben V. Brown
e94bcfc2b8 Update translation
Closes #255
2018-03-31 16:39:23 +11:00
Ben V. Brown
8eadb98496 Enable SWD back, Add Off mode for Sleep 2018-03-30 19:16:38 +11:00
Ben V. Brown
fe5ee91104 Swap breakpoints to resets to try and prevent lockups 2018-03-29 21:36:16 +11:00
Ángel González
762236b485 Spanish translation updated (#253) 2018-03-29 21:16:40 +11:00
Ben V. Brown
c4230d79bf Update Build Script
Fixes #252
2018-03-25 11:33:24 +11:00
Ben V. Brown
03b2bede4d Fix #231 2018-03-23 13:14:59 +11:00
Ben V. Brown
37d5cf1e70 ADC Timing alignment bought in 2018-03-23 12:57:06 +11:00
Ben V. Brown
85869d507e Add lockouts for no accel 2018-03-23 10:02:35 +11:00
Ben V. Brown
6c34675083 Sleep screen check bug
Should fix #248
2018-03-23 10:00:07 +11:00
federck
b4235bea75 Translation.cpp revised and reformatted (#250)
* Translation.cpp revised and reformatted

* Update Translation.cpp
2018-03-23 09:38:41 +11:00
gkrystev
ecf6e8aeb4 Bulgarian translation update (#236)
Updated translation for Bulgarian with the latest version of Translation.cpp
2018-03-19 12:47:48 +11:00
federck
174380bcb0 Update italian translation.cpp (#242)
* Update Translation.cpp
2018-03-19 12:47:13 +11:00
jonnieZG
96ab173c4b Menu Navigation - Long-Press Speed Ramping (#238)
Exponential button acceleration from @jonnieZG
2018-03-19 07:22:42 +11:00
Jan Krupička
fb6981dbe3 Updated czech translation (#241) 2018-03-18 21:37:36 +11:00
Julius Vitkauskas
30be520692 Add Lithuanian language (#239) 2018-03-18 21:36:38 +11:00
jonnieZG
ebab60c79b Translation HR update (#237)
* Enabled DOUBLE line for Croatian + translation fix
2018-03-18 12:36:50 +11:00
The-M1k3y
bf445e9b26 updated german translation (#234) 2018-03-16 10:57:58 +11:00
jonnieZG
8f6a65825d Translation hr (#232)
* Croatian translation updated
2018-03-16 10:47:07 +11:00
Ben V. Brown
0d2bfb9a29 Fix Menu / RC2
#214
New Icons
Fix Hold to scroll timer with a lockout
Fix Menu lengths

New French Translation Closes #228

Fix confirmation message scroll speed
Fix translations.cpp
2018-03-14 23:21:29 +11:00
Ben V. Brown
fcfa44a949 Layered menu (#229)
* Split menu handling,speed up OLED

* Split menu apart

Split menu apart.
Next to add icons etc

* Finished main menu re-layout

* Added menu option for scroll speed

* Speed up scroll settings, pad translations
2018-03-14 22:11:04 +11:00
Ben V. Brown
17c0d15a8b Add issue and pull request templates 2018-03-12 17:04:11 +11:00
jonnieZG
719953a2bf Croatian translation corrections, enabled DOUBLE-line menus (#220)
* Enabled DOUBLE line for Croatian + translation fix

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

* Added Double line menus for Croatian

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

* Added "Power: " translation for Croatian

* Menu desciption scroll sped up 3x

* Slow scroll

* Additional HR translation fix

* EOL fixed

* Fixed flickering - update only when required

* HR translation improvement.

* Added "Are you sure...?" translation
2018-03-11 13:12:59 +11:00
jonnieZG
33edf6ba76 Description scroll speed parametrized + smooth scroll in userConfirmation (#221)
* Enabled DOUBLE line for Croatian + translation fix

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

* Added Double line menus for Croatian

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

* Added "Power: " translation for Croatian

* Menu desciption scroll sped up 3x

* Slow scroll

* Additional HR translation fix

* EOL fixed

* Fixed flickering - update only when required

* Parametrized description scrolling speed

* Synchronized Translation.c with original Ralim master

* Removed unnecessary check

* lcd.refresh() in description scroll called only when required

* Smooth scrolling also implemented in userConfirmation() method

* Variable messageSpeedFactor renamed to messageSpeedFactor

* Variable renamed
2018-03-11 13:12:49 +11:00
Shawn Anastasio
fbd730760b Fix display sleep on idle, addresses #223 (#224) 2018-03-10 11:34:09 +11:00
Jan Krupička
b46c17078b Adjust left limit for drawing (#219)
* adjust left limit for drawing

do draw area also if part just of it is visible - e.g. do not skip whole letter in rolling description if half of it can be shown

* render just visible area part

* fix visible area part computation
2018-03-07 12:01:59 +11:00
jonnieZG
a30569eda2 Fast menu scroll (#218)
* Enabled DOUBLE line for Croatian
* Menu desciption scroll sped 
* Better description smooth-scrolling routine.
* Tearing fixed. The screen will update only when required.
2018-03-05 23:06:43 +11:00
Jan Krupička
677b278478 Use unicode chars U2713/U2717 as true/false in menu (#183)
* Use checkbox for true/false menu options
2018-03-03 22:33:59 +11:00
Ben V. Brown
57949a7937 Bump I2C speed back up 2018-03-03 21:20:01 +11:00
Ben V. Brown
f14ea321a7 Add detailed soldering screen
This adds a detailed soldering screen to take a step towards #181
2018-03-03 16:20:01 +11:00
Ben V. Brown
aef8f5f5bb LIS2DH - Adding support for the new accelerometer (#216)
+ Creates a new driver for the LIS2DH accelerometer
+ Fixes timing issues since we're already touching a chunk of code

The LIS2DH driver should output similar numbers to the old MMA accelerometer.

Fixes #202
Fixes #189
2018-03-03 15:43:10 +11:00
Jan Krupička
3ce0cc0d99 Logos (#197)
* added HEX for removing logo
- flash this HEX to remove logo
* Added 001_TS100 logo
2018-02-26 11:07:01 +11:00
Ben V. Brown
5e30152f40 Detect PCB Version
This probes the I2C bus to look for the MMA model accelerometer or if the new one is present.
2018-02-25 14:26:10 +11:00
federck
5b0eb3fb0d [FIX] Italian translation (#195) 2018-02-23 11:31:26 +11:00
Igor Feghali
f26da12948 pt br translation (#207) 2018-02-09 09:31:35 +11:00
Ben V. Brown
b47098e9c2 Add lockout for #187
Fix first part of #188
2018-01-26 12:50:00 +11:00
Ben V. Brown
653c71ba2d Remove unused I2C DMA
Slow down I2C to 50kHz
Adjust ADC timing
2018-01-26 12:42:38 +11:00
Ben V. Brown
715be0b0b6 Move watchdog resets to only be in PID 2018-01-26 12:30:09 +11:00
Jan Krupička
93869b979e Fix comments (translation max lengths) (#196)
* fix translation max length comments

* fix comments

* fix logo address in comment
2018-01-10 08:34:35 +11:00
federck
2281dbd5ad Italian translation (#192) 2018-01-09 07:55:43 +11:00
jonnieZG
7ba3818cdb Croatian Language: Double-line menus + some minor translation corrections (#186)
* Croatian: Double-line Menus + minor corrections

* Updated main.css - externalizing string

Externalized strings:
"Undervoltage"
"Input V: "
"DC LOW" (Using previously unused ULOWarningString)
"Tip Temp: " (At temperature warning)
"Tip:" (At sleeping advanced)
"Tip:" (At idle screen)
" Set:" (At idle screen)
"BAD TIP"
"Tip Disconnected!" (changed to "TIP DISCONNECTED" due to <=16 limit)

* Update Translation.c - Externalized strings

Externalized strings:
"Undervoltage"
"Input V: "
"DC LOW" (Using previously unused ULOWarningString)
"Tip Temp: " (At temperature warning)
"Tip:" (At sleeping advanced)
"Tip:" (At idle screen)
" Set:" (At idle screen)
"BAD TIP"
"Tip Disconnected!" (changed to "TIP DISCONNECTED" due to <=16 limit)

Max string length corrected from 17 to 16.

* Update Translation.h - Externalized strings

Externalized strings:
"Undervoltage"
"Input V: "
"DC LOW" (Using previously unused ULOWarningString)
"Tip Temp: " (At temperature warning)
"Tip:" (At sleeping advanced)
"Tip:" (At idle screen)
" Set:" (At idle screen)
"BAD TIP"
"Tip Disconnected!" (changed to "TIP DISCONNECTED" due to <=16 limit)
2018-01-08 22:28:13 +11:00
Jan Krupička
84305ce0a9 Update translation cs_CZ (#185)
- updated to mach current codebase
- added diacritics
2018-01-03 10:40:02 +11:00
Jan Krupička
b01525272a Menu factory reset last (#184)
* Factory reset is the last menu option

* English translation fix - little char in second word

Unifies big/small first chars in english translation
2018-01-03 08:04:30 +11:00
Rockman18
a787a2bb6c French translation - improvements (#174) 2017-12-24 22:34:48 +11:00
federck
9166723b29 [FIX] italian translation (#164)
* Update Translation.c
2017-12-24 21:43:16 +11:00
Rockman18
fe1b50f658 Proposal for using checkbox instead of True/False (#177)
Replace True/False icons with checkbox symbols :)
2017-12-24 21:39:16 +11:00
matmemo
beb6b59889 Add letter U+0111 to FONT_6x8 (#176) 2017-12-24 21:36:05 +11:00
matmemo
c0614e7bd6 Add utf-8 capable 6x8 pixel small font (redone) (#173)
* Add small 6x8 font with utf8 extended charset.

The font data is created from the CasioNostalgia font by zdimension
found at: https://fontstruct.com/fontstructions/show/1193786/casionostalgia

* Cleanup Font.h

The font data should be untouched.

This commit does:

  * whitespace cleanup
  * some cosmetic changes to the comments
  * removing commas at the end of array declarations

* Update OLED.cpp to use utf8 capable FONT_6x8

* Remove ASCII6x8 from Font.h

Removed because all glyphs from ASCII6x8 are now contained in FONT_6x8.

* Fix char offset for UTF-8 page 0xc3
2017-12-23 19:38:58 +11:00
matmemo
db17385947 Added SettingsResetWarning string and small updates in German translation (#165)
* Update German translation to double lines in settings
2017-12-21 23:37:32 +11:00
Ben V. Brown
90c0bf9683 Fix GUI storage address (same as settings bug) 2017-12-21 23:34:57 +11:00
matmemo
1bc62adc6c Changed starting address for saving the device settings in flash. (#172)
According to the linker script the settings should go on the last
available page of the devices flash rom. This should be page 63
starting at 0x800fc00.
2017-12-21 23:29:11 +11:00
Jan Krupička
d9b65701c8 Fix menu descriptions (merge first) (#166)
* reformatting

- for better readability
- to lower the risk of misdefining arrays...

* fix description array definitions

* remove accidentally pushed lang definition

* enhance czech translation
2017-12-18 22:34:42 +11:00
Rockman18
f01a2d3505 French Translation - Double Line Mode (#161) 2017-12-16 22:36:16 +11:00
matmemo
549c5aa6b9 Update German translation to double lines in settings (#160) 2017-12-16 19:45:52 +11:00
Jan Krupička
538a741912 Unify behavior of menu items with questions/warnings (#157) 2017-12-16 09:31:50 +11:00
Ben V. Brown
4c0ba72542 Update Makefile and build script 2017-12-14 21:59:09 +11:00
Ben V. Brown
b2f97933fd Making rough Makefile 2017-12-13 22:07:25 +11:00
Ben V. Brown
c618cd0665 Fix old ts100 Folder 2017-12-13 20:07:43 +11:00
Ben V. Brown
9f581cb28e Fix file locations again 2017-12-13 12:32:14 +11:00
Jan Krupička
bc7558bdd9 Updated menu items to double lines (#151)
More readable double lined short names. Formatted whitespaces of english text.
2017-12-13 11:53:19 +11:00
Ben V. Brown
2d90f218dc Fixup lower/uppercase 2017-12-13 11:51:44 +11:00
Ben V. Brown
662b39cbd4 V2.01 roundup 2017-12-12 13:37:08 +11:00
Ben V. Brown
39295c9705 Adding Polish support
Closes #132 afaik.
2017-12-12 13:34:53 +11:00
Ben V. Brown
87c2ed4f53 Add Danish
Closes #96
2017-12-12 13:27:50 +11:00
Ben V. Brown
3c2e8765f2 manually merge in dual line settings 2017-12-12 12:25:26 +11:00
Ben V. Brown
5b4ed06013 Prevent PID winding up on lower temps
Should help with #116
2017-12-12 11:55:56 +11:00
Ben V. Brown
c5c89a516e Pixel by Pixel scrolling
Closes #140
2017-12-12 11:53:43 +11:00
Ben V. Brown
9d536c4d25 Merge branch 'master' of https://github.com/Ralim/ts100 2017-12-12 11:40:20 +11:00
Ben V. Brown
c68dee6ff3 Update README.md
Closes #133
2017-12-12 11:35:36 +11:00
Ben V. Brown
121feef977 Add Turkish translation
Should close #130
Need to test glyph support
2017-12-12 11:33:26 +11:00
Ben V. Brown
17e7d92463 Fix Menu not handling some languages
Should close #125
2017-12-12 11:31:22 +11:00
Ben V. Brown
b0e20b9e2f Slow temp, add #124
Closes #124
2017-12-12 11:26:00 +11:00
Jan Krupička
0f4ceb131c Add czech translation (#138)
* Added czech translation

Added czech translation (locale cs_CZ)

* Make simple sleep screen more readable

Add gap between "zzz" and temperature for better readability.

* Adjusted czech translation

Modified texts after testing on real device to fix char issues and increase readability
2017-12-12 11:16:02 +11:00
Jan Krupička
1447b1cad8 Fix oled draw c2 section (#147)
* format

* compensate for chars excluded from font

fixes #146

* added comment to explain magic 32

consolidate whitespaces in this method (really spaces should be used everywhere instead of tabs (exception for makefile) )
2017-12-12 11:14:16 +11:00
Ángel González
d03443e783 Updated es_ES translation (#141) 2017-12-12 11:12:19 +11:00
Ben V. Brown
40516cd5b1 Update more langs 2017-11-24 22:44:35 +11:00
Jose Riha
21b766bf96 Add Slovak translation (#136) 2017-11-23 20:05:13 +11:00
Ryan Jarvis
b6c193309d Python3 and PEP8 (#131) 2017-11-19 14:44:24 +11:00
Jacopo Jannone
53399f5866 Updated Italian translations (#126) 2017-11-16 19:31:47 +11:00
eucalyptux
d0aaea8d6f Update Translation.c (#121)
Updated french translation.
2017-11-06 11:00:06 +11:00
matmemo
d0f56ae4ff Update german translation in Translation.c (#122) 2017-11-06 10:59:13 +11:00
Ben V. Brown
dfa4c6e65b Merge branch 'v2.0' 2017-11-04 15:21:58 +11:00
Ben V. Brown
ed2f0db7f0 Merge branch 'master' into v2.0
Cleaned up the old branch
2017-11-04 15:21:15 +11:00
Ben V. Brown
7cc0fd7c84 Bring in translations for the final 2.0 prep 2017-11-04 15:16:00 +11:00
Ben V. Brown
afa8257bce Add rough russian 2017-11-04 14:37:47 +11:00
Ben V. Brown
d7a9e1a9ea Patch #117 sleep temp min() 2017-11-04 14:18:44 +11:00
Ben V. Brown
fd92271121 Patching Filter Depth
Fixes #115
2017-10-29 10:01:16 +11:00
Ben V. Brown
812fbcd902 Putting guards on I2C 2017-10-28 13:19:20 +11:00
Ben V. Brown
3bf52cfc69 Increase filter on temp & add batt filter 2017-10-22 21:07:33 +11:00
Ben V. Brown
3b8cd980a7 Fix warning bug
#94
2017-10-19 09:34:35 +11:00
Ben V. Brown
88b874681b Fix settings button handling 2017-10-18 20:15:23 +11:00
Ben V. Brown
046f2df6a1 Fixing up settings
Split advanced settings
Fix menu button handling
2017-10-18 19:43:55 +11:00
Ben V. Brown
aec760e4e7 Revert font table split for now 2017-10-07 12:19:46 +11:00
Ben V. Brown
ee9029703b Translation note 2017-10-07 11:58:19 +11:00
Ben V. Brown
64dbd7d32e Tidy up fonts ready for translations 2017-10-07 11:52:52 +11:00
Ben V. Brown
7933d0d37e Update readme 2017-10-06 21:38:28 +11:00
Ben V. Brown
58a89b67d4 Add voltage calibration 2017-10-06 21:35:50 +11:00
Ben V. Brown
cef4db8531 Closes #103 2017-10-06 16:38:13 +11:00
Ben V. Brown
835ef5d7de New graphics for the idle screen 2017-10-06 09:10:30 +11:00
Ben V. Brown
8b8e2a1f10 Add in C/F in more places #94 2017-10-03 09:28:01 +11:00
Ben V. Brown
bb75817e83 Degrees D support, New idle logo 2017-10-01 13:30:30 +11:00
Maelremrem
1bcdf42315 Added link to a french article (#100)
Added link to a french article with instructions
2017-09-30 12:51:31 +10:00
Ben V. Brown
a0e99374b5 Font bounds check, trying to get Russian working 2017-09-28 15:23:57 +10:00
Ben V. Brown
0bdf570edc Move build info to long hold B 2017-09-28 12:38:24 +10:00
Ben V. Brown
43c5ca855c UTF8 handling, Cyrillic font, bring over old translations 2017-09-27 21:14:18 +10:00
Ben V. Brown
daa04d0c80 update readme again... 2017-09-27 11:41:55 +10:00
Ben V. Brown
77204f306e Update readme, cleanup files 2017-09-27 11:41:37 +10:00
Ben V. Brown
82a5ed042d Add new font glyphs, fix sceen rotation on soldering mode. 2017-09-27 11:29:16 +10:00
Ben V. Brown
830433d854 Reduce sensivity to make it much more usable. 2017-09-27 09:52:10 +10:00
Ben V. Brown
e351527dd2 Add tip compensation support 2017-09-27 09:42:39 +10:00
Uncle Fedor
43b6d37bc6 Added Cyrillic font (#98) 2017-09-27 08:58:05 +10:00
Ben V. Brown
fb08e8b56c Tune timer and PID rates 2017-09-26 19:43:52 +10:00
Henrik Pejer
bcf78dff4c Swedish translation (#92)
* Adding Swedish translation
2017-09-19 19:54:06 +10:00
Ben V. Brown
0e7e304f4e Patch to handle UTF slightly better.
Not perfect but working for now
2017-09-17 12:21:25 +10:00
Ben V. Brown
0aae546dc9 Update strings to be more uniform
closes #89
Also includes the new Italian translation
closes #88
2017-09-17 11:50:44 +10:00
Ben V. Brown
d726734792 Update 2.0 readme to mention its in development 2017-09-12 13:13:55 +10:00
Ben V. Brown
347968e4ef Fillout settings functions
Settings menu works
Movement working & TMP calibrated
Tip reading sensibily
Accuracy seems ok
Trimmed down overshoot by biasing integral
Saving to flash working, detailed idle
Sleep mode
Description scrolls
Building for DFU working
Motion detection update
Use manual alg instead, using highpass filter, then sum current change vs rolling average
Re-shuffle the pwm code organisation
2017-09-12 12:59:06 +10:00
Maelremrem
2bf06caa09 Added french language (#84)
* Added french language

Add the french translation for all the strings <maelremrem>
2017-09-09 23:13:21 +10:00
Ben V. Brown
a766d1d779 New cube project add to git 2017-08-29 22:36:32 +10:00
thanks4opensource
c1ab76260f Python version of Logo Editor/TS100 Logo Editor (#78) 2017-08-29 20:06:00 +10:00
Ben V. Brown
6cc2dfe238 Fix jumping into cooldown accidentally
Final commit for 1.17
2017-08-26 16:54:09 +10:00
Ben V. Brown
0ae32506e9 Fix the blinking display on cooling screen 2017-08-23 13:15:01 +10:00
Ben V. Brown
bb174c7639 Fix #62 2017-08-13 22:47:01 +10:00
Ben V. Brown
1d602bd9a1 Add display inversion for cooling 2017-08-13 12:48:16 +10:00
Ben V. Brown
a9da6d511b Add German #60 2017-08-13 12:39:04 +10:00
Ben V. Brown
4f0e3560b9 Fix #62 2017-08-13 12:36:00 +10:00
Ben V. Brown
8b112e7f7d Add little C and F logos & arrow for boost 2017-08-11 17:04:09 +10:00
Ben V. Brown
37f36b960c Merge branch 'master' of https://github.com/Ralim/ts100 2017-08-11 16:31:10 +10:00
Ben V. Brown
c5c1171112 Fix font erroring char. Add accel lockout for autostart.
Helps for the following issues:
#51
#38
2017-08-11 16:31:04 +10:00
Ben V. Brown
109b3436e6 Update README.md 2017-08-11 14:51:51 +10:00
Ben V. Brown
088b98c131 Update README.md 2017-08-11 14:25:04 +10:00
Ben V. Brown
ea1b0e2ae3 Link in latin extended font 2017-08-11 14:20:41 +10:00
Ben V. Brown
92ee55ebd5 Annotate font table 2017-08-11 14:06:26 +10:00
Ben V. Brown
f0e1498e92 Fix screen blink
Fixes #56
2017-08-10 17:34:01 +10:00
Ángel González
6c56f98928 Translated strings to es_ES (#55)
Thanks to @Aglezabad
2017-08-09 19:52:01 +10:00
Ben V. Brown
d2efa0dc05 Add early exit to settings menu
Adds pressing both buttons to exit settings menu. #53
2017-08-09 15:14:06 +10:00
Ben V. Brown
f3c1fafccc Documentation cleanup 2017-08-09 10:34:24 +10:00
Ben V. Brown
220775ed1f Merge branch 'master' of https://github.com/Ralim/ts100 2017-08-09 10:28:54 +10:00
Ben V. Brown
c3d672c0dd Adding in lower sleep times
#46
Adding in smaller times for sleep
2017-08-09 10:28:51 +10:00
Alex Wigen
57c0bf4dc1 Fix typo in Linux flasher script (#49) 2017-08-09 10:13:18 +10:00
Ben V. Brown
9969c66520 Add ability to start into sleep 2017-08-09 10:07:34 +10:00
Ben V. Brown
8cc7d452ce Adjust key timings & patch flashing
Patch to help improve #52
Fixes #50
2017-08-09 10:01:38 +10:00
Ben V. Brown
c0f2a4991a Add blinking temp
Adds blinking temp
#39
2017-08-08 21:00:41 +10:00
Ben V. Brown
1822cece90 Massively better font
Moved to a newer font.
First stage of improving screen
2017-08-08 18:09:07 +10:00
Ben V. Brown
42e6818114 Convert IMU to IRQ for rotation
This moves the rotation detection to use the IRQ2 line. Fixes #44
2017-08-08 16:38:21 +10:00
Ben V. Brown
a10947cdac Moving more text into strings.c/.h 2017-08-08 10:49:15 +10:00
Ben V. Brown
48040acbcc Add autostart
Adds autostart option.
Only works on first power up, so if the settings wrong you can still easily change it 😄
Fixes #43
2017-08-06 22:21:57 +10:00
Ben V. Brown
f1aa331168 Converted menu over to strings.h mostly 2017-08-06 20:41:34 +10:00
Ben V. Brown
de0059bd08 Moving strings (more) 2017-08-05 22:51:54 +10:00
Alex Wigen
f8f20bee5c Add flash script for Linux (#40)
* Add flash script for Linux

* Add credit and link to github
2017-08-05 20:34:43 +10:00
Ben V. Brown
90599a8ae6 Retune PID, improve response rate slightly. (But slightly more oscillation) 2017-08-02 21:38:42 +10:00
Ben V. Brown
b0264be3c5 Better button auto-repeat 2017-07-30 21:25:27 +10:00
Ben V. Brown
4fb7a70e3c More explicit left handed checks 2017-07-30 20:02:58 +10:00
Ben V. Brown
535a1b3aa9 Making the auto-flip less sensitive #34 2017-07-27 20:29:17 +10:00
Ben V. Brown
5a26bf413a Update README.md 2017-07-27 11:52:28 +10:00
Ben V. Brown
1cbcba924f Adding auto-rotation to the screen
Adds auto rotation support using the proper orientation detection. (Not
using raw values).
Should Fix and close #29
2017-07-27 11:46:04 +10:00
Ben V. Brown
af9b8dca29 Working rough indicator of power 2017-07-26 22:05:54 +10:00
Ben V. Brown
965a0890cb Add toggle for power display 2017-07-26 09:47:26 +10:00
mkninc
2e823b6594 Quick fix for multiple definition of structs (#33) 2017-07-26 09:18:41 +10:00
Ben V. Brown
56f31b02aa pre-work for power display 2017-07-26 09:18:07 +10:00
Ben V. Brown
2d260bd62c Add youtube link 2017-07-25 10:08:01 +10:00
Ben V. Brown
379eb68ce4 Update README.md 2017-07-25 09:48:22 +10:00
Ben V. Brown
f077c0241f Fix order of definitions for some variables 2017-07-25 08:28:33 +10:00
Ben V. Brown
7bedad5d51 Fix readme error 2017-07-24 23:08:08 +10:00
Ben V. Brown
8a503f84e2 Cleaning up files
Fixing warnings
Add powerDisplayToggle
2017-07-24 23:03:56 +10:00
Ben V. Brown
f89fd5c651 Merge branch 'master' of github.com:Ralim/ts100 2017-07-24 22:55:49 +10:00
Ben V. Brown
3983bf8590 Fix buttons in left handed mode when user is changing the temperature.
As pointed out in #29

Clear the leftover temperature unit on the sleep screen.
2017-07-24 22:54:30 +10:00
Ben V. Brown
c1fb867fa9 Update README.md 2017-07-23 17:22:01 +10:00
Ben V. Brown
2c5a83c134 Tiny patch for as mentioned in #30 2017-07-23 17:03:17 +10:00
Ben V. Brown
cb8bc643c4 Adding support for boot up Logo's (#32)
This brings across a set of commits to support loading boot up images from a specific location in flash. And also creating a generator tool to make files to put images in said position.
2017-07-23 16:54:12 +10:00
Ben V. Brown
967d62f826 Update README.md 2017-07-22 12:47:08 +10:00
Ben V. Brown
f95678a66b Update README.md 2017-07-22 12:41:18 +10:00
Ben V. Brown
77c79c7241 Update README.md 2017-07-22 12:35:46 +10:00
Ben V. Brown
baa4979a96 V1.14 - Adds battery icon to cell selection
Relivant to #29 and #30
2017-07-22 12:20:36 +10:00
Ben V. Brown
2a5f4e6d89 Updating cutoff voltage to DC/3.5V*cell count
Working on progress for:
#29 #30
2017-07-22 11:19:23 +10:00
Ben V. Brown
c50b33e142 Small font reference 2017-07-22 10:54:47 +10:00
Ben V. Brown
c8f49d173a Add key auto-repeat 2017-07-12 22:18:13 +10:00
Ben V. Brown
e6f343c8c3 Include rough schematic I started on 2017-07-12 20:18:51 +10:00
Ben V. Brown
f844200b1b 1.13 alpha, testing new sensitivity & alternate button layout 2017-07-12 20:18:20 +10:00
Ben V. Brown
5802a254d0 Rename Flash Backup.hex to DO NOT FLASH_Flash Backup.hex 2017-07-11 19:59:29 +10:00
Ben V. Brown
615912836a Update README.md 2017-07-11 19:58:49 +10:00
Ben V. Brown
b793b61bb6 V1.12 - decreased step size for sensitivity
Collapsed motion being enabled into the motion sensitivity menu. Fixing
#20
More options for the sensitivity as well.
2017-07-11 19:52:29 +10:00
Ben V. Brown
52e3247f7e Fix #19
Prevent skipping from cool straight to soldering without turning oled
back on.
2017-07-11 18:22:49 +10:00
Ben V. Brown
16ecf486c2 Update README.md 2017-07-10 19:51:55 +10:00
Ben V. Brown
aa2fe7b31b Update README.md 2017-07-10 19:41:13 +10:00
Ben V. Brown
a40ad665fe Bugfix sensitivity options typo + add more options
Changes sensitivity scale to be more precise.
Fixes #17
2017-07-10 19:31:48 +10:00
Ben V. Brown
54356d53a9 Update README.md 2017-07-08 23:26:41 +10:00
Ben V. Brown
d536fb33de V1.11 - Adding a Boost mode
Allows users to enable a boost mode.
This allows you to hold down the button near the tip while soldering to
temporarily boost the soldering temperature.
Closes #10
2017-07-08 23:16:02 +10:00
Ben V. Brown
fa717b2741 Inital work on boost mode 2017-07-08 22:36:49 +10:00
Ben V. Brown
0a7b6145af V1.10.2
Closes #16
Fixes pressing a button to exit the settings prompts
2017-07-08 18:12:28 +10:00
Ben V. Brown
7b4f467eec Increase pre PID filtering, reducing display flicker
Also improve movement sensitivities to be less extreme ramp up
2017-07-07 23:22:20 +10:00
Ben V. Brown
f72fc36427 Update README.md 2017-07-07 22:23:05 +10:00
Ben V. Brown
3c6151385f Update display speeds and rounding 2017-07-07 21:31:08 +10:00
Ben V. Brown
03f063cbf2 Add short summary messages for settings 2017-07-07 20:48:03 +10:00
Ben V. Brown
a9e9fb63bf Update README.md 2017-07-07 19:41:37 +10:00
Ben V. Brown
6bbade318d Fix default settings for displaymode to fast 2017-07-07 19:29:15 +10:00
Ben V. Brown
f3156e88dc V1.09 - Add display update mode
Adds the following modes for display update:
Fast (old style)
Slow (1Hz)
Rounded (Only shows to 10C increments)
None (No temp, just symbol)
2017-07-07 19:20:52 +10:00
Ben V. Brown
13603d8db6 Update README.md 2017-06-17 15:47:15 +10:00
Ben V. Brown
551853360c Tested bugfix for menu count being wrong 2017-06-09 21:15:53 +10:00
Adriano
711a3e9182 Update Settings.h (#8)
Options are 7 now.
Fix options menu not showing last option
2017-06-09 21:08:01 +10:00
403 changed files with 332824 additions and 41938 deletions

12
.gitignore vendored
View File

@@ -37,3 +37,15 @@ workspace/.metadata/*
workspace/ts100/.settings/language.settings.xml
workspace/ts100/.cproject
TS100/KiCad/TS100.bak
Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/
Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/
workspace/ts100/ts100.xml
workspace/ts100_old/*
*.cache
workspace/TS100/.settings/language.settings.xml
workspace/TS100A/Release/TS100A.map
workspace/TS100A/Release/TS100A.list
workspace/TS100A/Release/TS100A.hex
workspace/TS100A/.settings/language.settings.xml
workspace/TS100A/.metadata/

View File

@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.15
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TS100 Logo Editor", "TS100 Logo Editor\TS100 Logo Editor.csproj", "{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,8 @@
<Properties StartupItem="TS100 Logo Editor/TS100 Logo Editor.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>

View File

@@ -0,0 +1,209 @@
namespace TS100_Logo_Editor
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btnLoadImage = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.cbInvertImage = new System.Windows.Forms.CheckBox();
this.gbScaling = new System.Windows.Forms.GroupBox();
this.rbScaleStretch = new System.Windows.Forms.RadioButton();
this.rbScaleFit = new System.Windows.Forms.RadioButton();
this.pbImage = new System.Windows.Forms.PictureBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.btnSaveHex = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.gbScaling.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbImage)).BeginInit();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btnLoadImage);
this.groupBox1.Location = new System.Drawing.Point(20, 20);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox1.Size = new System.Drawing.Size(300, 217);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "1. Load source Image";
//
// btnLoadImage
//
this.btnLoadImage.Location = new System.Drawing.Point(10, 31);
this.btnLoadImage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnLoadImage.Name = "btnLoadImage";
this.btnLoadImage.Size = new System.Drawing.Size(280, 35);
this.btnLoadImage.TabIndex = 0;
this.btnLoadImage.Text = "Load Image";
this.btnLoadImage.UseVisualStyleBackColor = true;
this.btnLoadImage.Click += new System.EventHandler(this.btnLoadImage_Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.cbInvertImage);
this.groupBox2.Controls.Add(this.gbScaling);
this.groupBox2.Controls.Add(this.pbImage);
this.groupBox2.Location = new System.Drawing.Point(330, 20);
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox2.Size = new System.Drawing.Size(300, 217);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "2. Adjust image";
//
// cbInvertImage
//
this.cbInvertImage.AutoSize = true;
this.cbInvertImage.Location = new System.Drawing.Point(138, 122);
this.cbInvertImage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cbInvertImage.Name = "cbInvertImage";
this.cbInvertImage.Size = new System.Drawing.Size(75, 24);
this.cbInvertImage.TabIndex = 2;
this.cbInvertImage.Text = "Invert";
this.cbInvertImage.UseVisualStyleBackColor = true;
this.cbInvertImage.CheckedChanged += new System.EventHandler(this.cbInvertImage_CheckedChanged);
//
// gbScaling
//
this.gbScaling.Controls.Add(this.rbScaleStretch);
this.gbScaling.Controls.Add(this.rbScaleFit);
this.gbScaling.Location = new System.Drawing.Point(9, 91);
this.gbScaling.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbScaling.Name = "gbScaling";
this.gbScaling.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbScaling.Size = new System.Drawing.Size(120, 117);
this.gbScaling.TabIndex = 1;
this.gbScaling.TabStop = false;
this.gbScaling.Text = "Scaling";
//
// rbScaleStretch
//
this.rbScaleStretch.AutoSize = true;
this.rbScaleStretch.Location = new System.Drawing.Point(10, 68);
this.rbScaleStretch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.rbScaleStretch.Name = "rbScaleStretch";
this.rbScaleStretch.Size = new System.Drawing.Size(86, 24);
this.rbScaleStretch.TabIndex = 1;
this.rbScaleStretch.Text = "Stretch";
this.rbScaleStretch.UseVisualStyleBackColor = true;
this.rbScaleStretch.CheckedChanged += new System.EventHandler(this.rbScaleStretch_CheckedChanged);
//
// rbScaleFit
//
this.rbScaleFit.AutoSize = true;
this.rbScaleFit.Checked = true;
this.rbScaleFit.Location = new System.Drawing.Point(10, 31);
this.rbScaleFit.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.rbScaleFit.Name = "rbScaleFit";
this.rbScaleFit.Size = new System.Drawing.Size(52, 24);
this.rbScaleFit.TabIndex = 0;
this.rbScaleFit.TabStop = true;
this.rbScaleFit.Text = "Fit";
this.rbScaleFit.UseVisualStyleBackColor = true;
this.rbScaleFit.CheckedChanged += new System.EventHandler(this.rbScaleFit_CheckedChanged);
//
// pbImage
//
this.pbImage.BackColor = System.Drawing.Color.Black;
this.pbImage.Location = new System.Drawing.Point(4, 31);
this.pbImage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.pbImage.Name = "pbImage";
this.pbImage.Size = new System.Drawing.Size(192, 32);
this.pbImage.TabIndex = 0;
this.pbImage.TabStop = false;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.btnSaveHex);
this.groupBox3.Location = new System.Drawing.Point(640, 20);
this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBox3.Size = new System.Drawing.Size(300, 217);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "3. Export";
//
// btnSaveHex
//
this.btnSaveHex.Location = new System.Drawing.Point(8, 91);
this.btnSaveHex.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnSaveHex.Name = "btnSaveHex";
this.btnSaveHex.Size = new System.Drawing.Size(280, 35);
this.btnSaveHex.TabIndex = 0;
this.btnSaveHex.Text = "Save DFU File";
this.btnSaveHex.UseVisualStyleBackColor = true;
this.btnSaveHex.Click += new System.EventHandler(this.btnSaveHex_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(963, 265);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "Form1";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "TS100 Custom Logo editor";
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.gbScaling.ResumeLayout(false);
this.gbScaling.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbImage)).EndInit();
this.groupBox3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btnLoadImage;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.CheckBox cbInvertImage;
private System.Windows.Forms.GroupBox gbScaling;
private System.Windows.Forms.RadioButton rbScaleStretch;
private System.Windows.Forms.RadioButton rbScaleFit;
private System.Windows.Forms.PictureBox pbImage;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button btnSaveHex;
}
}

View File

@@ -0,0 +1,169 @@

using System;
using System.Drawing;
using System.Windows.Forms;
namespace TS100_Logo_Editor
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
Image sourceImage;
const int LCDWidth = 96;
Bitmap PureBMP;
private void btnLoadImage_Click(object sender, EventArgs e)
{
//load in an image
OpenFileDialog dlg = new OpenFileDialog();
dlg.Title = "Select Image";
dlg.Filter = "Image files (*.jpg, *.jpeg, *.bmp, *.png) | *.jpg; *.jpeg; *.bmp; *.png";
if (dlg.ShowDialog() == DialogResult.OK)
{
//user has selected an image
string filename = dlg.FileName;
sourceImage = Image.FromFile(filename);
reDrawPreview();
}
}
private void reDrawPreview()
{
PureBMP = new Bitmap(LCDWidth, 16);
//scale mode
if (rbScaleFit.Checked)
{
//fit
float scalefactor = Math.Min((float)PureBMP.Width / (float)sourceImage.Width, (float)PureBMP.Height / (float)sourceImage.Height);
using (Graphics g = Graphics.FromImage(PureBMP))
{
g.DrawImage(sourceImage, new RectangleF(0, 0, sourceImage.Width * scalefactor, sourceImage.Height * scalefactor));
}
}
else
{
//draw image stretched
using (Graphics g = Graphics.FromImage(PureBMP))
{
g.DrawImage(sourceImage, new RectangleF(0, 0, LCDWidth, 16));
}
}
//We now have our downsampled colour image
//apply inversion
if (cbInvertImage.Checked)
{
for (int y = 0; (y <= (PureBMP.Height - 1)); y++)
{
for (int x = 0; (x <= (PureBMP.Width - 1)); x++)
{
Color inv = PureBMP.GetPixel(x, y);
inv = Color.FromArgb(255, (255 - inv.R), (255 - inv.G), (255 - inv.B));
PureBMP.SetPixel(x, y, inv);
}
}
}
//Threshold image
PureBMP = GrayScale(PureBMP);
//draw image at 2x scale
Bitmap bBig = new Bitmap(pbImage.Width, pbImage.Height);
using (Graphics g = Graphics.FromImage(bBig))
{
g.DrawImage(PureBMP, new RectangleF(0, 0, pbImage.Width, pbImage.Height));
}
pbImage.Image = bBig;
}
public Bitmap GrayScale(Bitmap Bmp)
{
int rgb;
Color c;
for (int y = 0; y < Bmp.Height; y++)
for (int x = 0; x < Bmp.Width; x++)
{
c = Bmp.GetPixel(x, y);
rgb = (int)((c.R + c.G + c.B) / 3);
if (rgb > 128)
rgb = 0xFF;
else
rgb = 0x00;
Bmp.SetPixel(x, y, Color.FromArgb(rgb, rgb, rgb));
}
return Bmp;
}
private void rbScaleStretch_CheckedChanged(object sender, EventArgs e)
{
reDrawPreview();
}
private void rbScaleFit_CheckedChanged(object sender, EventArgs e)
{
reDrawPreview();
}
private void cbInvertImage_CheckedChanged(object sender, EventArgs e)
{
reDrawPreview();
}
private void btnSaveHex_Click(object sender, EventArgs e)
{
Bitmap bmp = PureBMP;
//convert image to byte array
byte[] data = new byte[1024];
data[0] = 0xAA;
data[1] = 0x55;
data[2] = 0xF0;
data[3] = 0x0D;
for (int i = 0; i < (LCDWidth * 16 / 8); i++)
{
//loop through all the bytes
byte b = 0;//local byte
//i sets the starting column
for (int y = 0; y < 8; y++)
{
var px = bmp.GetPixel(i % LCDWidth, (i / LCDWidth) == 1 ? 8 + y : y);
//we loop down the picture
//LSB is the top, MSB is the bottom
if (px.R >= 128)
{
//pixel is white
b |= (byte)(1 << y);
}
}
data[i + 4] = b;
}
//We should now have the byte array that represents the image in the LCD format.
//We now send this off to be encoded by the Intel Encoder
//Flip all uint16_t pairs
for (int i = 0; i < data.Length; i += 2)
{
//we need to swap each pair
byte temp = data[i];
data[i] = data[i + 1];
data[i + 1] = temp;
}
string outputHexFile = IntelHex.IntelHex.encode(data, 0x0800F800, 16, true, true);//16 bytes is the only format the DFU seems to support //0x0800F800
//^ This string now just needs to be written out to a text file :)
SaveFileDialog dlg = new SaveFileDialog();
dlg.Title = "Save DFU File";
dlg.AddExtension = true;
dlg.DefaultExt = ".hex";
dlg.Filter = "Hex Files(*.hex)|*.hex";
if (dlg.ShowDialog() == DialogResult.OK)
{
//The user has selected where they want to save the file
using (var fs = new System.IO.StreamWriter(dlg.FileName))
{
fs.Write(outputHexFile);
}
}
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,96 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
namespace IntelHex
{
public class IntelHex
{
public static string encode(byte[] data, UInt32 startingAddress, int bytesPerLine, bool header = true,bool Addbloat=false)
{
//We are taking the byte array and encoding it into the wanted hex file contents (aka string of data).
//First create the starting base address record
//:020000040800F2
string Output = "";
if (header)
{
//Set the upper 16 bits of the address space
Output += getHighAddressSetLine((UInt16)(startingAddress >> 16));
}
//Now loop through all the data that we were given
for (UInt32 index = 0; index < data.Length; index = (UInt32)(index + bytesPerLine))
{
//We want to read from data[index] to data[index+bytesPerLine-1]
UInt32 currentAddress = (UInt32)(startingAddress + index);
if ((currentAddress >> 16) != (startingAddress >> 16))
{
Output += getHighAddressSetLine((UInt16)(currentAddress >> 16));
//The address has rolled over the 64K boundry, so write a new high address change line
}
//We should now be good for the higher part of the address
Output += encodeDataLine((UInt16)(currentAddress & 0xFFFF), data, index, bytesPerLine);
}
if(Addbloat)
{
//Repeat the instructs a stack of times to get around filesize minimums
for(int x=0;x<3;x++)
{
for (UInt32 index = 0; index < data.Length; index = (UInt32)(index + bytesPerLine))
{
//We want to read from data[index] to data[index+bytesPerLine-1]
UInt32 currentAddress = (UInt32)(startingAddress + index);
if ((currentAddress >> 16) != (startingAddress >> 16))
{
Output += getHighAddressSetLine((UInt16)(currentAddress >> 16));
//The address has rolled over the 64K boundry, so write a new high address change line
}
//We should now be good for the higher part of the address
Output += encodeDataLine((UInt16)(currentAddress & 0xFFFF), data, index, bytesPerLine);
}
}
}
//We have now written out all the data lines
Output += ":00000001FF\r\n";//End of file marker
return Output;
}
private static string encodeDataLine(UInt16 address, byte[] data, UInt32 startindex, int bytes)
{
string line = ":";
line += bytes.ToString("X2");//add the marker of line length
line += address.ToString("X4");//write the address
line += "00";//Data line
//Next copy bytes bytes
for (int i = 0; i < bytes; i++)
{
if ((startindex + i) < data.Length)
line += data[startindex + i].ToString("X2");
else
line += "FF";//pad images out with FF
}
line += checksumLine(line);//Adds checksum and EOL
return line;
}
private static string getHighAddressSetLine(UInt16 HighAddress)
{
string Output = "";
Output += ":02000004" + (HighAddress).ToString("X4");
Output += checksumLine(Output);
return Output;
}
private static string checksumLine(string line)
{
//We want to convert the string line to each byte and sum.
byte sum = 0;
for (int i = 1; i < line.Length; i += 2)
{
byte b = byte.Parse((line.Substring(i, 2)), System.Globalization.NumberStyles.HexNumber);
sum += b;
}
byte checksum = (byte)(((byte)0) - sum);//invert
return checksum.ToString("X2") + "\r\n";
}
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TS100_Logo_Editor
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TS100 Logo Editor")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TS100 Logo Editor")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("206c8aef-3be6-44e9-a1b0-25bf3805f1cb")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TS100_Logo_Editor.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TS100_Logo_Editor.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TS100_Logo_Editor.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{206C8AEF-3BE6-44E9-A1B0-25BF3805F1CB}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>TS100_Logo_Editor</RootNamespace>
<AssemblyName>TS100 Logo Editor</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>TS100_Logo_Editor.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="IntelHex.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

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

View File

@@ -0,0 +1,258 @@
:020000040800F2
:10F8000055AA0DF080002A54821580818080808066
:10F8100080808080808080808080808000000000E8
:10F82000000000004080402020C020201010080868
:10F8300008080C080C0C0C0C080808080C0C0C0C24
:10F84000E80CA8A8A828E8A8C808A828A8A848A834
:10F850008808284808E828C828A80CCC28CC28A85C
:10F8600008C800F80200050208050808080808088A
:10F8700008080A080A090A090A0908090505050508
:10F880000505050510081020201F4040404020407D
:10F890002020202020202020202020202020202068
:10F8A00020202F202F28202025202A2A2A2A2728F6
:10F8B0002120282F202F2827282B20272827282BD6
:10F8C0002027001F000000000000000000000000D2
: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
:10F8000055AA0DF080002A54821580818080808066
:10F8100080808080808080808080808000000000E8
:10F82000000000004080402020C020201010080868
:10F8300008080C080C0C0C0C080808080C0C0C0C24
:10F84000E80CA8A8A828E8A8C808A828A8A848A834
:10F850008808284808E828C828A80CCC28CC28A85C
:10F8600008C800F80200050208050808080808088A
:10F8700008080A080A090A090A0908090505050508
:10F880000505050510081020201F4040404020407D
:10F890002020202020202020202020202020202068
:10F8A00020202F202F28202025202A2A2A2A2728F6
:10F8B0002120282F202F2827282B20272827282BD6
:10F8C0002027001F000000000000000000000000D2
: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
:10F8000055AA0DF080002A54821580818080808066
:10F8100080808080808080808080808000000000E8
:10F82000000000004080402020C020201010080868
:10F8300008080C080C0C0C0C080808080C0C0C0C24
:10F84000E80CA8A8A828E8A8C808A828A8A848A834
:10F850008808284808E828C828A80CCC28CC28A85C
:10F8600008C800F80200050208050808080808088A
:10F8700008080A080A090A090A0908090505050508
:10F880000505050510081020201F4040404020407D
:10F890002020202020202020202020202020202068
:10F8A00020202F202F28202025202A2A2A2A2728F6
:10F8B0002120282F202F2827282B20272827282BD6
:10F8C0002027001F000000000000000000000000D2
: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
:10F8000055AA0DF080002A54821580818080808066
:10F8100080808080808080808080808000000000E8
:10F82000000000004080402020C020201010080868
:10F8300008080C080C0C0C0C080808080C0C0C0C24
:10F84000E80CA8A8A828E8A8C808A828A8A848A834
:10F850008808284808E828C828A80CCC28CC28A85C
:10F8600008C800F80200050208050808080808088A
:10F8700008080A080A090A090A0908090505050508
:10F880000505050510081020201F4040404020407D
:10F890002020202020202020202020202020202068
:10F8A00020202F202F28202025202A2A2A2A2728F6
:10F8B0002120282F202F2827282B20272827282BD6
:10F8C0002027001F000000000000000000000000D2
: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: 408 B

View File

@@ -0,0 +1,258 @@
:020000040800F2
:10F8000055AA0DF07FFFD5AB7DEA7F7E7F7FFF7F1E
:10F81000FFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFF78
:10F820007F7FBFBFDFBFEFDF0FEFEF0FAFAFAFAF38
:10F83000EFEFAFAFAFAFAFAF0FEF6FEFAFAFAFAFB8
:10F84000AFAF2FAFAFAFAFAFAFAF6FAF6FEFAFAF88
:10F85000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFB8
:10F86000EF6FFF1FFDFFFAFDF7FAF7F7F7F7FAF76B
:10F87000FAFAFAFAFAFAFAFAFAFAFAFAFAFAF0FAF2
:10F88000F7F7EFEFDFEFBFDF80BFBF80AAAAAAAA1A
:10F89000BFBFAAAAAAAAAAAA80BFB0BFADAFAAAA90
:10F8A000ADAFA2AAADAAAAAFADAAB0AFB0BFAFAF7D
:10F8B000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF58
:10F8C000BFB0FFC00000000000000000000000000A
: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
:10F8000055AA0DF07FFFD5AB7DEA7F7E7F7FFF7F1E
:10F81000FFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFF78
:10F820007F7FBFBFDFBFEFDF0FEFEF0FAFAFAFAF38
:10F83000EFEFAFAFAFAFAFAF0FEF6FEFAFAFAFAFB8
:10F84000AFAF2FAFAFAFAFAFAFAF6FAF6FEFAFAF88
:10F85000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFB8
:10F86000EF6FFF1FFDFFFAFDF7FAF7F7F7F7FAF76B
:10F87000FAFAFAFAFAFAFAFAFAFAFAFAFAFAF0FAF2
:10F88000F7F7EFEFDFEFBFDF80BFBF80AAAAAAAA1A
:10F89000BFBFAAAAAAAAAAAA80BFB0BFADAFAAAA90
:10F8A000ADAFA2AAADAAAAAFADAAB0AFB0BFAFAF7D
:10F8B000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF58
:10F8C000BFB0FFC00000000000000000000000000A
: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
:10F8000055AA0DF07FFFD5AB7DEA7F7E7F7FFF7F1E
:10F81000FFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFF78
:10F820007F7FBFBFDFBFEFDF0FEFEF0FAFAFAFAF38
:10F83000EFEFAFAFAFAFAFAF0FEF6FEFAFAFAFAFB8
:10F84000AFAF2FAFAFAFAFAFAFAF6FAF6FEFAFAF88
:10F85000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFB8
:10F86000EF6FFF1FFDFFFAFDF7FAF7F7F7F7FAF76B
:10F87000FAFAFAFAFAFAFAFAFAFAFAFAFAFAF0FAF2
:10F88000F7F7EFEFDFEFBFDF80BFBF80AAAAAAAA1A
:10F89000BFBFAAAAAAAAAAAA80BFB0BFADAFAAAA90
:10F8A000ADAFA2AAADAAAAAFADAAB0AFB0BFAFAF7D
:10F8B000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF58
:10F8C000BFB0FFC00000000000000000000000000A
: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
:10F8000055AA0DF07FFFD5AB7DEA7F7E7F7FFF7F1E
:10F81000FFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFF78
:10F820007F7FBFBFDFBFEFDF0FEFEF0FAFAFAFAF38
:10F83000EFEFAFAFAFAFAFAF0FEF6FEFAFAFAFAFB8
:10F84000AFAF2FAFAFAFAFAFAFAF6FAF6FEFAFAF88
:10F85000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFB8
:10F86000EF6FFF1FFDFFFAFDF7FAF7F7F7F7FAF76B
:10F87000FAFAFAFAFAFAFAFAFAFAFAFAFAFAF0FAF2
:10F88000F7F7EFEFDFEFBFDF80BFBF80AAAAAAAA1A
:10F89000BFBFAAAAAAAAAAAA80BFB0BFADAFAAAA90
:10F8A000ADAFA2AAADAAAAAFADAAB0AFB0BFAFAF7D
:10F8B000AFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAF58
:10F8C000BFB0FFC00000000000000000000000000A
: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: 15 KiB

View File

@@ -0,0 +1,258 @@
:020000040800F2
:10F8000000000000000000000000000000000000F8
:10F8100000000000000000000000000000000000E8
:10F8200000000000000000000000000000000000D8
:10F8300000000000000000000000000000000000C8
:10F8400000000000000000000000000000000000B8
:10F8500000000000000000000000000000000000A8
:10F860000000000000000000000000000000000098
:10F870000000000000000000000000000000000088
:10F880000000000000000000000000000000000078
:10F890000000000000000000000000000000000068
:10F8A0000000000000000000000000000000000058
:10F8B0000000000000000000000000000000000048
:10F8C0000000000000000000000000000000000038
: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
:10F8000000000000000000000000000000000000F8
:10F8100000000000000000000000000000000000E8
:10F8200000000000000000000000000000000000D8
:10F8300000000000000000000000000000000000C8
:10F8400000000000000000000000000000000000B8
:10F8500000000000000000000000000000000000A8
:10F860000000000000000000000000000000000098
:10F870000000000000000000000000000000000088
:10F880000000000000000000000000000000000078
:10F890000000000000000000000000000000000068
:10F8A0000000000000000000000000000000000058
:10F8B0000000000000000000000000000000000048
:10F8C0000000000000000000000000000000000038
: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
:10F8000000000000000000000000000000000000F8
:10F8100000000000000000000000000000000000E8
:10F8200000000000000000000000000000000000D8
:10F8300000000000000000000000000000000000C8
:10F8400000000000000000000000000000000000B8
:10F8500000000000000000000000000000000000A8
:10F860000000000000000000000000000000000098
:10F870000000000000000000000000000000000088
:10F880000000000000000000000000000000000078
:10F890000000000000000000000000000000000068
:10F8A0000000000000000000000000000000000058
:10F8B0000000000000000000000000000000000048
:10F8C0000000000000000000000000000000000038
: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
:10F8000000000000000000000000000000000000F8
:10F8100000000000000000000000000000000000E8
:10F8200000000000000000000000000000000000D8
:10F8300000000000000000000000000000000000C8
:10F8400000000000000000000000000000000000B8
:10F8500000000000000000000000000000000000A8
:10F860000000000000000000000000000000000098
:10F870000000000000000000000000000000000088
:10F880000000000000000000000000000000000078
:10F890000000000000000000000000000000000068
:10F8A0000000000000000000000000000000000058
:10F8B0000000000000000000000000000000000048
:10F8C0000000000000000000000000000000000038
: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

View File

@@ -0,0 +1,242 @@
#!/usr/bin/env python
# coding=utf-8
from __future__ import division
import os
import sys
try:
from PIL import Image, ImageOps
except ImportError as error:
raise ImportError("{}: {} requres Python Imaging Library (PIL). "
"Install with `pip` or OS-specific package "
"management tool."
.format(error, sys.argv[0]))
VERSION_STRING = '0.01'
LCD_WIDTH = 96
LCD_HEIGHT = 16
LCD_NUM_BYTES = LCD_WIDTH * LCD_HEIGHT // 8
LCD_PADDED_SIZE = 1024
INTELHEX_DATA_RECORD = 0x00
INTELHEX_END_OF_FILE_RECORD = 0x01
INTELHEX_EXTENDED_LINEAR_ADDRESS_RECORD = 0x04
INTELHEX_BYTES_PER_LINE = 16
INTELHEX_MINIMUM_SIZE = 4096
def split16(word):
"""return high and low byte of 16-bit word value as tuple"""
return (word >> 8) & 0xff, word & 0xff
def intel_hex_line(file, record_type, offset, data):
"""write a line of data in Intel hex format"""
# length, address offset, record type
record_length = len(data)
file.write(':{:02X}{:04X}{:02X}'.format(record_length, offset, record_type))
# data
map(lambda byte: file.write("{:02X}".format(byte)), data)
# compute and write checksum (with DOS line ending for compatibility/safety)
file.write("{:02X}\r\n"
.format((((sum(data, # sum data ...
record_length # ... and other ...
+ sum(split16(offset)) # ... fields ...
+ record_type) # ... on line
& 0xff) # low 8 bits
^ 0xff) # two's ...
+ 1) # ... complement
& 0xff)) # low 8 bits
def intel_hex(file, bytes_, start_address=0x0):
"""write block of data in Intel hex format"""
if len(bytes_) % INTELHEX_BYTES_PER_LINE != 0:
raise ValueError("Program error: Size of LCD data is not evenly divisible by {}"
.format(INTELHEX_BYTES_PER_LINE))
address_lo = start_address & 0xffff
address_hi = (start_address >> 16) & 0xffff
intel_hex_line(file,
INTELHEX_EXTENDED_LINEAR_ADDRESS_RECORD,
0,
split16(address_hi))
size_written = 0
while size_written < INTELHEX_MINIMUM_SIZE:
offset = address_lo
for line_start in range(0, len(bytes_), INTELHEX_BYTES_PER_LINE):
intel_hex_line(file,
INTELHEX_DATA_RECORD,
offset,
bytes_[line_start:line_start + INTELHEX_BYTES_PER_LINE])
size_written += INTELHEX_BYTES_PER_LINE
if size_written >= INTELHEX_MINIMUM_SIZE:
break
offset += INTELHEX_BYTES_PER_LINE
intel_hex_line(file, INTELHEX_END_OF_FILE_RECORD, 0, ())
def img2hex(input_filename,
output_file,
preview_filename=None,
threshold=128,
dither=False,
negative=False):
"""
Convert 'input_filename' image file into Intel hex format with data
formatted for display on TS100 LCD and file object.
Input image is converted from color or grayscale to black-and-white,
and resized to fit TS100 LCD screen as necessary.
Optionally write resized/thresholded/black-and-white preview image
to file specified by name.
Optional `threshold' argument 8 bit value; grayscale pixels greater than
this become 1 (white) in output, less than become 0 (black).
Unless optional `dither', in which case PIL grayscale-to-black/white
dithering algorithm used.
Optional `negative' inverts black/white regardless of input image type
or other options.
"""
try:
image = Image.open(input_filename)
except BaseException as e:
raise IOError("error reading image file \"{}\": {}".format(input_filename, e))
# convert to luminance
# do even if already black/white because PIL can't invert 1-bit so
# can't just pass thru in case --negative flag
# also resizing works better in luminance than black/white
# also no information loss converting black/white to grayscale
if image.mode != 'L':
image = image.convert('L')
if image.size != (LCD_WIDTH, LCD_HEIGHT):
image = image.resize((LCD_WIDTH, LCD_HEIGHT), Image.BICUBIC)
if negative:
image = ImageOps.invert(image)
threshold = 255 - threshold # have to invert threshold
if dither:
image = image.convert('1')
else:
image = image.point(lambda pixel: 0 if pixel < threshold else 1, '1')
if preview_filename:
image.save(preview_filename)
''' DEBUG
for row in range(LCD_HEIGHT):
for column in range(LCD_WIDTH):
if image.getpixel((column, row)): sys.stderr.write('1')
else: sys.stderr.write('0')
sys.stderr.write('\n')
'''
# pad to this size (also will be repeated in output Intel hex file)
data = [0] * LCD_PADDED_SIZE
# magic/undocumented/required header in endian-reverse byte order
data[0] = 0x55
data[1] = 0xAA
data[2] = 0x0D
data[3] = 0xF0
# convert to TS100 LCD format
for ndx in range(LCD_WIDTH * 16 // 8):
bottom_half_offset = 0 if ndx < LCD_WIDTH else 8
byte = 0
for y in range(8):
if image.getpixel((ndx % LCD_WIDTH, y + bottom_half_offset)):
byte |= 1 << y
# store in endian-reversed byte order
data[4 + ndx + (1 if ndx % 2 == 0 else -1)] = byte
intel_hex(output_file, data, 0x0800F800)
def parse_commandline():
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
description="Convert image file for display on TS100 LCD "
"at startup")
def zero_to_255(text):
value = int(text)
if not 0 <= value <= 255:
raise argparse.ArgumentTypeError("must be integer from 0 to 255 ")
return value
parser.add_argument('input_filename',
help="input image file")
parser.add_argument('output_filename',
help="output Intel hex file")
parser.add_argument('-p', '--preview',
help="filename of image preview (same data as "
"Intel hex file, as will appear on TS100 LCD)")
parser.add_argument('-n', '--negative',
action='store_true',
help="photo negative: exchange black and white "
"in output")
parser.add_argument('-t', '--threshold',
type=zero_to_255,
default=128,
help="0 to 255: gray (or color converted to gray) "
"above this becomes white, below becomes black; "
"ignored if using --dither")
parser.add_argument('-d', '--dither',
action='store_true',
help="use dithering (speckling) to convert gray or "
"color to black and white")
parser.add_argument('-f', '--force',
action='store_true',
help="force overwriting of existing files")
parser.add_argument('-v', '--version',
action='version',
version="%(prog)s version " + VERSION_STRING,
help="print version info")
return parser.parse_args()
if __name__ == "__main__":
import argparse
args = parse_commandline()
if os.path.exists(args.output_filename) and not args.force:
sys.stderr.write("Won't overwrite existing file \"{}\" (use --force "
"option to override)\n"
.format(args.output_filename))
sys.exit(1)
if args.preview and os.path.exists(args.preview) and not args.force:
sys.stderr.write("Won't overwrite existing file \"{}\" (use --force "
"option to override)\n"
.format(args.preview))
sys.exit(1)
try:
with open(args.output_filename, 'w') as output:
img2hex(args.input_filename,
output,
args.preview,
args.threshold,
args.dither,
args.negative)
except BaseException as error:
sys.stderr.write("Error converting file: {}\n".format(error))
sys.exit(1)

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

View File

@@ -0,0 +1,392 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:stm32
LIBS:mma8652fc
LIBS:switches
LIBS:TS100-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 2
Title "TS100 Soldering Iron Schematic"
Date ""
Rev "2.46"
Comp ""
Comment1 ""
Comment2 ""
Comment3 "Converted by Ben V. Brown"
Comment4 "KiCad port of published schematic"
$EndDescr
$Comp
L STM32F103T8Ux U4
U 1 1 591D59BB
P 5600 3550
F 0 "U4" H 3200 4675 50 0000 L BNN
F 1 "STM32F103T8Ux" H 8000 4675 50 0000 R BNN
F 2 "Housings_DFN_QFN:QFN-36-1EP_6x6mm_Pitch0.5mm" H 8000 4625 50 0001 R TNN
F 3 "" H 5600 3550 50 0001 C CNN
F 4 "-" H 5600 3550 60 0001 C CNN "bom_partno"
1 5600 3550
1 0 0 -1
$EndComp
$Comp
L GND #PWR206
U 1 1 591D5AD3
P 5600 4850
F 0 "#PWR206" H 5600 4600 50 0001 C CNN
F 1 "GND" H 5600 4700 50 0000 C CNN
F 2 "" H 5600 4850 50 0001 C CNN
F 3 "" H 5600 4850 50 0001 C CNN
1 5600 4850
1 0 0 -1
$EndComp
$Comp
L C C30
U 1 1 591D5BA8
P 1450 4700
F 0 "C30" H 1475 4800 50 0000 L CNN
F 1 "103" H 1475 4600 50 0000 L CNN
F 2 "" H 1488 4550 50 0001 C CNN
F 3 "" H 1450 4700 50 0001 C CNN
1 1450 4700
1 0 0 -1
$EndComp
$Comp
L R R23
U 1 1 591D5BDF
P 1700 4700
F 0 "R23" V 1780 4700 50 0000 C CNN
F 1 "15K" V 1700 4700 50 0000 C CNN
F 2 "" V 1630 4700 50 0001 C CNN
F 3 "" H 1700 4700 50 0001 C CNN
1 1700 4700
1 0 0 -1
$EndComp
Wire Wire Line
5800 4850 5800 4650
Wire Wire Line
5600 4850 5600 4650
Wire Wire Line
5700 4650 5700 4850
Connection ~ 5700 4850
Wire Wire Line
5500 4850 5500 4650
Connection ~ 5600 4850
Wire Wire Line
5400 4850 5400 4650
Connection ~ 5500 4850
Wire Wire Line
3100 2950 1350 2950
Wire Wire Line
1350 2950 1350 4850
Connection ~ 5400 4850
Wire Wire Line
1450 4550 1450 3550
Wire Wire Line
1450 3550 3100 3550
Wire Wire Line
1350 4850 9000 4850
Connection ~ 1450 4850
Text HLabel 8100 4050 2 60 Input ~ 0
SWDIO
Text HLabel 8100 4150 2 60 Input ~ 0
SWCLK
Text HLabel 8100 3850 2 60 Input ~ 0
USB_D-
Text HLabel 8100 3950 2 60 Input ~ 0
USB_D+
Wire Wire Line
1700 4550 1700 3750
Wire Wire Line
1700 3750 3100 3750
Connection ~ 1700 4850
Text HLabel 8100 3650 2 60 Input ~ 0
K1
Text HLabel 8100 3550 2 60 Input ~ 0
nCR
Text HLabel 9000 3450 2 60 Input ~ 0
TMP36
Wire Wire Line
5400 2350 5700 2350
Connection ~ 5500 2350
Connection ~ 5600 2350
$Comp
L VDD #PWR205
U 1 1 591D5F85
P 5550 2350
F 0 "#PWR205" H 5550 2200 50 0001 C CNN
F 1 "VDD" H 5550 2500 50 0000 C CNN
F 2 "" H 5550 2350 50 0001 C CNN
F 3 "" H 5550 2350 50 0001 C CNN
1 5550 2350
1 0 0 -1
$EndComp
Connection ~ 5550 2350
Text HLabel 8100 3350 2 60 Input ~ 0
K2
$Comp
L C C29
U 1 1 591D61F5
P 9000 4700
F 0 "C29" H 9025 4800 50 0000 L CNN
F 1 "103" H 9025 4600 50 0000 L CNN
F 2 "" H 9038 4550 50 0001 C CNN
F 3 "" H 9000 4700 50 0001 C CNN
1 9000 4700
1 0 0 -1
$EndComp
Connection ~ 5800 4850
Wire Wire Line
9000 4550 9000 3450
Wire Wire Line
9000 3450 8100 3450
Text HLabel 3100 4150 0 60 Input ~ 0
SCL
Text HLabel 3100 4250 0 60 Input ~ 0
SDA
Text HLabel 3100 3950 0 60 Input ~ 0
Po
Text HLabel 3100 3650 0 60 Input ~ 0
Vb
$Comp
L R R25
U 1 1 591D65E3
P 1950 2600
F 0 "R25" V 2030 2600 50 0000 C CNN
F 1 "15K" V 1950 2600 50 0000 C CNN
F 2 "" V 1880 2600 50 0001 C CNN
F 3 "" H 1950 2600 50 0001 C CNN
1 1950 2600
1 0 0 -1
$EndComp
$Comp
L C C17
U 1 1 591D663E
P 1950 4700
F 0 "C17" H 1975 4800 50 0000 L CNN
F 1 "105" H 1975 4600 50 0000 L CNN
F 2 "" H 1988 4550 50 0001 C CNN
F 3 "" H 1950 4700 50 0001 C CNN
1 1950 4700
1 0 0 -1
$EndComp
Wire Wire Line
1950 4550 1950 2750
Wire Wire Line
1950 2750 3100 2750
$Comp
L VDD #PWR201
U 1 1 591D66BF
P 1950 2450
F 0 "#PWR201" H 1950 2300 50 0001 C CNN
F 1 "VDD" H 1950 2600 50 0000 C CNN
F 2 "" H 1950 2450 50 0001 C CNN
F 3 "" H 1950 2450 50 0001 C CNN
1 1950 2450
1 0 0 -1
$EndComp
$Comp
L MMA8652FC U3
U 1 1 591D6A94
P 3750 6350
F 0 "U3" H 3400 5950 60 0000 C CNN
F 1 "MMA8652FC" H 3950 5950 60 0000 C CNN
F 2 "" H 3550 6100 60 0001 C CNN
F 3 "" H 3550 6100 60 0000 C CNN
1 3750 6350
1 0 0 -1
$EndComp
$Comp
L GND #PWR204
U 1 1 591D6B9E
P 4650 6700
F 0 "#PWR204" H 4650 6450 50 0001 C CNN
F 1 "GND" H 4650 6550 50 0000 C CNN
F 2 "" H 4650 6700 50 0001 C CNN
F 3 "" H 4650 6700 50 0001 C CNN
1 4650 6700
1 0 0 -1
$EndComp
Wire Wire Line
4500 6600 4650 6600
Wire Wire Line
4650 6400 4650 6700
Wire Wire Line
4500 6400 4650 6400
Connection ~ 4650 6600
Wire Wire Line
4500 6500 4650 6500
Connection ~ 4650 6500
$Comp
L VDD #PWR203
U 1 1 591D6DA1
P 4650 5900
F 0 "#PWR203" H 4650 5750 50 0001 C CNN
F 1 "VDD" H 4650 6050 50 0000 C CNN
F 2 "" H 4650 5900 50 0001 C CNN
F 3 "" H 4650 5900 50 0001 C CNN
1 4650 5900
1 0 0 -1
$EndComp
Wire Wire Line
4650 5900 4650 6200
Wire Wire Line
4650 6100 4500 6100
Wire Wire Line
4650 6200 4500 6200
Connection ~ 4650 6100
$Comp
L C C22
U 1 1 591D70DB
P 2250 6550
F 0 "C22" H 2275 6650 50 0000 L CNN
F 1 "104" H 2275 6450 50 0000 L CNN
F 2 "" H 2288 6400 50 0001 C CNN
F 3 "" H 2250 6550 50 0001 C CNN
1 2250 6550
1 0 0 -1
$EndComp
Text HLabel 3050 6350 0 60 Input ~ 0
SDA
Text HLabel 3050 6250 0 60 Input ~ 0
SCL
Wire Wire Line
2250 6400 2250 6100
Wire Wire Line
2250 6100 3050 6100
$Comp
L GND #PWR202
U 1 1 591D735E
P 2250 6700
F 0 "#PWR202" H 2250 6450 50 0001 C CNN
F 1 "GND" H 2250 6550 50 0000 C CNN
F 2 "" H 2250 6700 50 0001 C CNN
F 3 "" H 2250 6700 50 0001 C CNN
1 2250 6700
1 0 0 -1
$EndComp
$Comp
L C C18
U 1 1 591D7528
P 8200 5800
F 0 "C18" H 8225 5900 50 0000 L CNN
F 1 "105" H 8225 5700 50 0000 L CNN
F 2 "" H 8238 5650 50 0001 C CNN
F 3 "" H 8200 5800 50 0001 C CNN
1 8200 5800
1 0 0 -1
$EndComp
$Comp
L C C19
U 1 1 591D75B9
P 8500 5800
F 0 "C19" H 8525 5900 50 0000 L CNN
F 1 "105" H 8525 5700 50 0000 L CNN
F 2 "" H 8538 5650 50 0001 C CNN
F 3 "" H 8500 5800 50 0001 C CNN
1 8500 5800
1 0 0 -1
$EndComp
$Comp
L C C20
U 1 1 591D75EF
P 8800 5800
F 0 "C20" H 8825 5900 50 0000 L CNN
F 1 "105" H 8825 5700 50 0000 L CNN
F 2 "" H 8838 5650 50 0001 C CNN
F 3 "" H 8800 5800 50 0001 C CNN
1 8800 5800
1 0 0 -1
$EndComp
$Comp
L C C25
U 1 1 591D7626
P 9100 5800
F 0 "C25" H 9125 5900 50 0000 L CNN
F 1 "104" H 9125 5700 50 0000 L CNN
F 2 "" H 9138 5650 50 0001 C CNN
F 3 "" H 9100 5800 50 0001 C CNN
1 9100 5800
1 0 0 -1
$EndComp
$Comp
L C C21
U 1 1 591D7668
P 9400 5800
F 0 "C21" H 9425 5900 50 0000 L CNN
F 1 "105" H 9425 5700 50 0000 L CNN
F 2 "" H 9438 5650 50 0001 C CNN
F 3 "" H 9400 5800 50 0001 C CNN
1 9400 5800
1 0 0 -1
$EndComp
Wire Wire Line
8200 5950 9400 5950
Connection ~ 8500 5950
Connection ~ 8800 5950
Connection ~ 9100 5950
Wire Wire Line
8200 5650 9400 5650
Connection ~ 9100 5650
Connection ~ 8800 5650
Connection ~ 8500 5650
$Comp
L GND #PWR208
U 1 1 591D78AD
P 8800 5950
F 0 "#PWR208" H 8800 5700 50 0001 C CNN
F 1 "GND" H 8800 5800 50 0000 C CNN
F 2 "" H 8800 5950 50 0001 C CNN
F 3 "" H 8800 5950 50 0001 C CNN
1 8800 5950
1 0 0 -1
$EndComp
$Comp
L VDD #PWR207
U 1 1 591D78DF
P 8800 5650
F 0 "#PWR207" H 8800 5500 50 0001 C CNN
F 1 "VDD" H 8800 5800 50 0000 C CNN
F 2 "" H 8800 5650 50 0001 C CNN
F 3 "" H 8800 5650 50 0001 C CNN
1 8800 5650
1 0 0 -1
$EndComp
Text Label 3050 6600 2 60 ~ 0
ACC_INT2
Text Label 3050 6500 2 60 ~ 0
ACC_INT1
Text Label 3100 3850 2 60 ~ 0
ACC_INT2
Text Label 3100 4050 2 60 ~ 0
ACC_INT1
$EndSCHEMATC

View File

@@ -0,0 +1,63 @@
update=18/05/2017 9:29:06 PM
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[general]
version=1
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
LibName30=stm32
LibName31=mma8652fc
LibName32=switches

View File

@@ -0,0 +1,151 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:stm32
LIBS:mma8652fc
LIBS:switches
LIBS:TS100-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 2
Title "TS100 Soldering Iron Schematic"
Date "2017-05-18"
Rev "2.46"
Comp ""
Comment1 ""
Comment2 ""
Comment3 "Converted by Ben V. Brown"
Comment4 "KiCad port of published schematic"
$EndDescr
$Sheet
S 1450 1000 1450 1850
U 591D5966
F0 "STM32 & Accel Sub Board" 60
F1 "MCU_SubBoard.sch" 60
F2 "SWDIO" I R 2900 1100 60
F3 "SWCLK" I R 2900 1200 60
F4 "USB_D-" I R 2900 1350 60
F5 "USB_D+" I R 2900 1450 60
F6 "K1" I R 2900 1650 60
F7 "nCR" I R 2900 2150 60
F8 "TMP36" I R 2900 2250 60
F9 "K2" I R 2900 1750 60
F10 "SCL" I R 2900 2550 60
F11 "SDA" I R 2900 2650 60
F12 "Po" I R 2900 2050 60
F13 "Vb" I R 2900 1950 60
$EndSheet
$Comp
L BARREL_JACK J101
U 1 1 591D8B75
P 1600 3600
F 0 "J101" H 1600 3795 50 0000 C CNN
F 1 "BARREL_JACK" H 1600 3445 50 0000 C CNN
F 2 "" H 1600 3600 50 0001 C CNN
F 3 "" H 1600 3600 50 0001 C CNN
1 1600 3600
1 0 0 -1
$EndComp
Text Label 1900 3500 0 60 ~ 0
VIN
$Comp
L GND #PWR103
U 1 1 591D8F24
P 2000 3800
F 0 "#PWR103" H 2000 3550 50 0001 C CNN
F 1 "GND" H 2000 3650 50 0000 C CNN
F 2 "" H 2000 3800 50 0001 C CNN
F 3 "" H 2000 3800 50 0001 C CNN
1 2000 3800
1 0 0 -1
$EndComp
Wire Wire Line
1900 3600 2000 3600
Wire Wire Line
2000 3600 2000 3800
Wire Wire Line
1900 3700 2000 3700
Connection ~ 2000 3700
$Comp
L SW_Push SW1
U 1 1 591D9BC6
P 1400 4550
F 0 "SW1" H 1450 4650 50 0000 L CNN
F 1 "SW_Push" H 1400 4490 50 0000 C CNN
F 2 "" H 1400 4750 50 0001 C CNN
F 3 "" H 1400 4750 50 0001 C CNN
F 4 "-" H 1400 4550 60 0001 C CNN "bom_partno"
1 1400 4550
0 1 1 0
$EndComp
$Comp
L SW_Push SW101
U 1 1 591DA371
P 1700 4550
F 0 "SW101" H 1750 4650 50 0000 L CNN
F 1 "SW_Push" H 1700 4490 50 0000 C CNN
F 2 "" H 1700 4750 50 0001 C CNN
F 3 "" H 1700 4750 50 0001 C CNN
1 1700 4550
0 1 1 0
$EndComp
$Comp
L GND #PWR102
U 1 1 591DA3DA
P 1700 4750
F 0 "#PWR102" H 1700 4500 50 0001 C CNN
F 1 "GND" H 1700 4600 50 0000 C CNN
F 2 "" H 1700 4750 50 0001 C CNN
F 3 "" H 1700 4750 50 0001 C CNN
1 1700 4750
1 0 0 -1
$EndComp
$Comp
L GND #PWR101
U 1 1 591DA436
P 1400 4750
F 0 "#PWR101" H 1400 4500 50 0001 C CNN
F 1 "GND" H 1400 4600 50 0000 C CNN
F 2 "" H 1400 4750 50 0001 C CNN
F 3 "" H 1400 4750 50 0001 C CNN
1 1400 4750
1 0 0 -1
$EndComp
Text Label 1400 4350 0 60 ~ 0
K1
Text Label 1700 4350 0 60 ~ 0
K2
Text Label 2900 1750 0 60 ~ 0
K2
Text Label 2900 1650 0 60 ~ 0
K1
$EndSCHEMATC

View File

@@ -0,0 +1,326 @@
#MicroXplorer Configuration settings - do not modify
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_7
ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_9
ADC1.Channel-2\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC1.Channel-3\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC1.Channel-4\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC1.Channel-5\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC1.ContinuousConvMode=ENABLE
ADC1.DataAlign=ADC_DATAALIGN_RIGHT
ADC1.DiscontinuousConvMode=DISABLE
ADC1.EnableAnalogWatchDog=false
ADC1.EnableRegularConversion=ENABLE
ADC1.ExternalTrigConv=ADC_SOFTWARE_START
ADC1.ExternalTrigInjecConv=ADC_EXTERNALTRIGINJECCONV_T2_CC1
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,ExternalTrigConv,InjNumberOfConversion,EnableAnalogWatchDog,Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,master,Rank-2\#ChannelInjectedConversion,Channel-2\#ChannelInjectedConversion,SamplingTime-2\#ChannelInjectedConversion,InjectedOffset-2\#ChannelInjectedConversion,Rank-3\#ChannelInjectedConversion,Channel-3\#ChannelInjectedConversion,SamplingTime-3\#ChannelInjectedConversion,InjectedOffset-3\#ChannelInjectedConversion,Rank-4\#ChannelInjectedConversion,Channel-4\#ChannelInjectedConversion,SamplingTime-4\#ChannelInjectedConversion,InjectedOffset-4\#ChannelInjectedConversion,Rank-5\#ChannelInjectedConversion,Channel-5\#ChannelInjectedConversion,SamplingTime-5\#ChannelInjectedConversion,InjectedOffset-5\#ChannelInjectedConversion,ExternalTrigInjecConv,InjectedConvMode,Mode
ADC1.InjNumberOfConversion=4
ADC1.InjectedConvMode=None
ADC1.InjectedOffset-2\#ChannelInjectedConversion=0
ADC1.InjectedOffset-3\#ChannelInjectedConversion=0
ADC1.InjectedOffset-4\#ChannelInjectedConversion=0
ADC1.InjectedOffset-5\#ChannelInjectedConversion=0
ADC1.Mode=ADC_DUALMODE_REGSIMULT_INJECSIMULT
ADC1.NbrOfConversion=2
ADC1.NbrOfConversionFlag=1
ADC1.Rank-0\#ChannelRegularConversion=1
ADC1.Rank-1\#ChannelRegularConversion=2
ADC1.Rank-2\#ChannelInjectedConversion=1
ADC1.Rank-3\#ChannelInjectedConversion=2
ADC1.Rank-4\#ChannelInjectedConversion=3
ADC1.Rank-5\#ChannelInjectedConversion=4
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_239CYCLES_5
ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLETIME_239CYCLES_5
ADC1.SamplingTime-2\#ChannelInjectedConversion=ADC_SAMPLETIME_239CYCLES_5
ADC1.SamplingTime-3\#ChannelInjectedConversion=ADC_SAMPLETIME_71CYCLES_5
ADC1.SamplingTime-4\#ChannelInjectedConversion=ADC_SAMPLETIME_239CYCLES_5
ADC1.SamplingTime-5\#ChannelInjectedConversion=ADC_SAMPLETIME_71CYCLES_5
ADC1.ScanConvMode=ADC_SCAN_ENABLE
ADC1.master=1
ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_8
ADC2.Channel-1\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC2.Channel-2\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC2.Channel-3\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC2.Channel-4\#ChannelInjectedConversion=ADC_CHANNEL_8
ADC2.ContinuousConvMode=DISABLE
ADC2.DataAlign=ADC_DATAALIGN_RIGHT
ADC2.DiscontinuousConvMode=DISABLE
ADC2.EnableAnalogWatchDog=false
ADC2.EnableRegularConversion=ENABLE
ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,Rank-1\#ChannelInjectedConversion,Channel-1\#ChannelInjectedConversion,SamplingTime-1\#ChannelInjectedConversion,InjectedOffset-1\#ChannelInjectedConversion,Rank-2\#ChannelInjectedConversion,Channel-2\#ChannelInjectedConversion,SamplingTime-2\#ChannelInjectedConversion,InjectedOffset-2\#ChannelInjectedConversion,Rank-3\#ChannelInjectedConversion,Channel-3\#ChannelInjectedConversion,SamplingTime-3\#ChannelInjectedConversion,InjectedOffset-3\#ChannelInjectedConversion,Rank-4\#ChannelInjectedConversion,Channel-4\#ChannelInjectedConversion,SamplingTime-4\#ChannelInjectedConversion,InjectedOffset-4\#ChannelInjectedConversion,InjNumberOfConversion,Mode,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,InjectedConvMode,EnableAnalogWatchDog
ADC2.InjNumberOfConversion=4
ADC2.InjectedConvMode=None
ADC2.InjectedOffset-1\#ChannelInjectedConversion=0
ADC2.InjectedOffset-2\#ChannelInjectedConversion=0
ADC2.InjectedOffset-3\#ChannelInjectedConversion=0
ADC2.InjectedOffset-4\#ChannelInjectedConversion=0
ADC2.Mode=ADC_DUALMODE_REGSIMULT_INJECSIMULT
ADC2.NbrOfConversion=1
ADC2.NbrOfConversionFlag=1
ADC2.Rank-0\#ChannelRegularConversion=1
ADC2.Rank-1\#ChannelInjectedConversion=1
ADC2.Rank-2\#ChannelInjectedConversion=2
ADC2.Rank-3\#ChannelInjectedConversion=3
ADC2.Rank-4\#ChannelInjectedConversion=4
ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-1\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-2\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-3\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-4\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.ScanConvMode=ADC_SCAN_ENABLE
Dma.ADC1.2.Direction=DMA_PERIPH_TO_MEMORY
Dma.ADC1.2.Instance=DMA1_Channel1
Dma.ADC1.2.MemDataAlignment=DMA_MDATAALIGN_HALFWORD
Dma.ADC1.2.MemInc=DMA_MINC_ENABLE
Dma.ADC1.2.Mode=DMA_CIRCULAR
Dma.ADC1.2.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD
Dma.ADC1.2.PeriphInc=DMA_PINC_DISABLE
Dma.ADC1.2.Priority=DMA_PRIORITY_VERY_HIGH
Dma.ADC1.2.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.I2C1_RX.0.Direction=DMA_PERIPH_TO_MEMORY
Dma.I2C1_RX.0.Instance=DMA1_Channel7
Dma.I2C1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.I2C1_RX.0.MemInc=DMA_MINC_ENABLE
Dma.I2C1_RX.0.Mode=DMA_NORMAL
Dma.I2C1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.I2C1_RX.0.PeriphInc=DMA_PINC_DISABLE
Dma.I2C1_RX.0.Priority=DMA_PRIORITY_MEDIUM
Dma.I2C1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.I2C1_TX.1.Direction=DMA_MEMORY_TO_PERIPH
Dma.I2C1_TX.1.Instance=DMA1_Channel6
Dma.I2C1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.I2C1_TX.1.MemInc=DMA_MINC_ENABLE
Dma.I2C1_TX.1.Mode=DMA_NORMAL
Dma.I2C1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.I2C1_TX.1.PeriphInc=DMA_PINC_DISABLE
Dma.I2C1_TX.1.Priority=DMA_PRIORITY_MEDIUM
Dma.I2C1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.Request0=I2C1_RX
Dma.Request1=I2C1_TX
Dma.Request2=ADC1
Dma.RequestsNb=3
FREERTOS.FootprintOK=true
FREERTOS.INCLUDE_vTaskDelete=0
FREERTOS.IPParameters=Tasks01,configTICK_RATE_HZ,configMAX_PRIORITIES,configMINIMAL_STACK_SIZE,configTOTAL_HEAP_SIZE,INCLUDE_vTaskDelete,FootprintOK
FREERTOS.Tasks01=GUITask,0,512,StartGUITask,Default,NULL,Dynamic,NULL,NULL;PIDTask,0,256,StartPIDTask,Default,NULL,Dynamic,NULL,NULL;ROTTask,-2,256,StartRotationTask,Default,NULL,Dynamic,NULL,NULL
FREERTOS.configMAX_PRIORITIES=4
FREERTOS.configMINIMAL_STACK_SIZE=256
FREERTOS.configTICK_RATE_HZ=100
FREERTOS.configTOTAL_HEAP_SIZE=10240
File.Version=6
I2C1.DutyCycle=I2C_DUTYCYCLE_2
I2C1.I2C_Mode=I2C_Fast
I2C1.IPParameters=I2C_Mode,DutyCycle
IWDG.IPParameters=Prescaler
IWDG.Prescaler=IWDG_PRESCALER_256
KeepUserPlacement=false
Mcu.Family=STM32F1
Mcu.IP0=ADC1
Mcu.IP1=ADC2
Mcu.IP10=TIM3
Mcu.IP2=DMA
Mcu.IP3=FREERTOS
Mcu.IP4=I2C1
Mcu.IP5=IWDG
Mcu.IP6=NVIC
Mcu.IP7=RCC
Mcu.IP8=SYS
Mcu.IP9=TIM2
Mcu.IPNb=11
Mcu.Name=STM32F103T(8-B)Ux
Mcu.Package=VFQFPN36
Mcu.Pin0=PA6
Mcu.Pin1=PA7
Mcu.Pin10=PB5
Mcu.Pin11=PB6
Mcu.Pin12=PB7
Mcu.Pin13=VP_FREERTOS_VS_ENABLE
Mcu.Pin14=VP_IWDG_VS_IWDG
Mcu.Pin15=VP_SYS_VS_tim1
Mcu.Pin16=VP_TIM2_VS_ClockSourceINT
Mcu.Pin17=VP_TIM2_VS_no_output1
Mcu.Pin18=VP_TIM2_VS_no_output3
Mcu.Pin19=VP_TIM3_VS_ClockSourceINT
Mcu.Pin2=PB0
Mcu.Pin20=VP_TIM3_VS_no_output4
Mcu.Pin3=PB1
Mcu.Pin4=PA8
Mcu.Pin5=PA9
Mcu.Pin6=PA13
Mcu.Pin7=PA14
Mcu.Pin8=PB3
Mcu.Pin9=PB4
Mcu.PinsNb=21
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32F103T8Ux
MxCube.Version=4.26.0
MxDb.Version=DB.4.0.260
NVIC.ADC1_2_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.DMA1_Channel1_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.DMA1_Channel6_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.DMA1_Channel7_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.I2C1_ER_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.I2C1_EV_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:true
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:true
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:true\:true
NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.TimeBase=TIM1_UP_IRQn
NVIC.TimeBaseIP=TIM1
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
PA13.Locked=true
PA13.Mode=Serial_Wire
PA13.Signal=SYS_JTMS-SWDIO
PA14.Locked=true
PA14.Mode=Serial_Wire
PA14.Signal=SYS_JTCK-SWCLK
PA6.GPIOParameters=GPIO_Label
PA6.GPIO_Label=KEY_B
PA6.Locked=true
PA6.Signal=GPIO_Input
PA7.GPIOParameters=GPIO_Label
PA7.GPIO_Label=TMP36_INPUT
PA7.Locked=true
PA7.Signal=ADCx_IN7
PA8.GPIOParameters=GPIO_Label
PA8.GPIO_Label=OLED_RESET
PA8.Locked=true
PA8.Signal=GPIO_Output
PA9.GPIOParameters=GPIO_Label
PA9.GPIO_Label=KEY_A
PA9.Locked=true
PA9.Signal=GPIO_Input
PB0.GPIOParameters=GPIO_Label
PB0.GPIO_Label=TIP_TEMP
PB0.Locked=true
PB0.Signal=ADCx_IN8
PB1.GPIOParameters=GPIO_Label
PB1.GPIO_Label=VIN
PB1.Locked=true
PB1.Signal=ADCx_IN9
PB3.GPIOParameters=GPIO_Label
PB3.GPIO_Label=INT_Orientation
PB3.Locked=true
PB3.Signal=GPXTI3
PB4.GPIOParameters=GPIO_Label
PB4.GPIO_Label=PWM Out
PB4.Locked=true
PB4.Signal=S_TIM3_CH1
PB5.GPIOParameters=GPIO_Label
PB5.GPIO_Label=INT_Movement
PB5.Locked=true
PB5.Signal=GPXTI5
PB6.GPIOParameters=GPIO_Label
PB6.GPIO_Label=SCL
PB6.Mode=I2C
PB6.Signal=I2C1_SCL
PB7.GPIOParameters=GPIO_Label
PB7.GPIO_Label=SDA
PB7.Mode=I2C
PB7.Signal=I2C1_SDA
PCC.Checker=false
PCC.Line=STM32F103
PCC.MCU=STM32F103T(8-B)Ux
PCC.PartNumber=STM32F103T8Ux
PCC.Seq0=0
PCC.Series=STM32F1
PCC.Temperature=25
PCC.Vdd=3.3
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
ProjectManager.CompilerOptimize=3
ProjectManager.ComputerToolchain=false
ProjectManager.CoupleFile=false
ProjectManager.CustomerFirmwarePackage=
ProjectManager.DefaultFWLocation=true
ProjectManager.DeletePrevious=true
ProjectManager.DeviceId=STM32F103T8Ux
ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.6.1
ProjectManager.FreePins=true
ProjectManager.HalAssertFull=false
ProjectManager.HeapSize=0x200
ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=1
ProjectManager.MainLocation=Src
ProjectManager.PreviousToolchain=TrueSTUDIO
ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=TS100.ioc
ProjectManager.ProjectName=TS100
ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=TrueSTUDIO
ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=true
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-SystemClock_Config-RCC-false-HAL-true,6-MX_TIM3_Init-TIM3-false-HAL-true,7-MX_IWDG_Init-IWDG-false-HAL-true,8-MX_TIM2_Init-TIM2-false-HAL-true,9-MX_ADC2_Init-ADC2-false-HAL-true
RCC.ADCFreqValue=8000000
RCC.ADCPresc=RCC_ADCPCLK2_DIV8
RCC.AHBFreq_Value=64000000
RCC.APB1CLKDivider=RCC_HCLK_DIV16
RCC.APB1Freq_Value=4000000
RCC.APB1TimFreq_Value=8000000
RCC.APB2Freq_Value=64000000
RCC.APB2TimFreq_Value=64000000
RCC.FCLKCortexFreq_Value=64000000
RCC.FamilyName=M
RCC.HCLKFreq_Value=64000000
RCC.IPParameters=ADCFreqValue,ADCPresc,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSourceVirtual,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,USBPrescaler
RCC.MCOFreq_Value=64000000
RCC.PLLCLKFreq_Value=64000000
RCC.PLLMCOFreq_Value=32000000
RCC.PLLMUL=RCC_PLL_MUL16
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI_DIV2
RCC.SYSCLKFreq_VALUE=64000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.TimSysFreq_Value=64000000
RCC.USBFreq_Value=42666666.666666664
RCC.USBPrescaler=RCC_USBCLKSOURCE_PLL_DIV1_5
SH.ADCx_IN7.0=ADC1_IN7,IN7
SH.ADCx_IN7.ConfNb=1
SH.ADCx_IN8.0=ADC1_IN8,IN8
SH.ADCx_IN8.1=ADC2_IN8,IN8
SH.ADCx_IN8.ConfNb=2
SH.ADCx_IN9.0=ADC2_IN9
SH.ADCx_IN9.1=ADC1_IN9,IN9
SH.ADCx_IN9.ConfNb=2
SH.GPXTI3.0=GPIO_EXTI3
SH.GPXTI3.ConfNb=1
SH.GPXTI5.0=GPIO_EXTI5
SH.GPXTI5.ConfNb=1
SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1
SH.S_TIM3_CH1.ConfNb=1
TIM2.Channel-PWM\ Generation1\ No\ Output=TIM_CHANNEL_1
TIM2.Channel-PWM\ Generation3\ No\ Output=TIM_CHANNEL_3
TIM2.IPParameters=Channel-PWM Generation1 No Output,Channel-PWM Generation3 No Output
TIM3.Channel-Output\ Compare4\ No\ Output=TIM_CHANNEL_4
TIM3.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
TIM3.ClockDivision=TIM_CLOCKDIVISION_DIV4
TIM3.IPParameters=Channel-PWM Generation1 CH1,OCFastMode_PWM-PWM Generation1 CH1,ClockDivision,Prescaler,Period,Channel-Output Compare4 No Output,OCMode_4,Pulse-Output Compare4 No Output
TIM3.OCFastMode_PWM-PWM\ Generation1\ CH1=TIM_OCFAST_ENABLE
TIM3.OCMode_4=TIM_OCMODE_ACTIVE
TIM3.Period=65535
TIM3.Prescaler=2000
TIM3.Pulse-Output\ Compare4\ No\ Output=65000
VP_FREERTOS_VS_ENABLE.Mode=Enabled
VP_FREERTOS_VS_ENABLE.Signal=FREERTOS_VS_ENABLE
VP_IWDG_VS_IWDG.Mode=IWDG_Activate
VP_IWDG_VS_IWDG.Signal=IWDG_VS_IWDG
VP_SYS_VS_tim1.Mode=TIM1
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
VP_TIM2_VS_ClockSourceINT.Mode=Internal
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
VP_TIM2_VS_no_output1.Mode=PWM Generation1 No Output
VP_TIM2_VS_no_output1.Signal=TIM2_VS_no_output1
VP_TIM2_VS_no_output3.Mode=PWM Generation3 No Output
VP_TIM2_VS_no_output3.Signal=TIM2_VS_no_output3
VP_TIM3_VS_ClockSourceINT.Mode=Internal
VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
VP_TIM3_VS_no_output4.Mode=Output Compare4 No Output
VP_TIM3_VS_no_output4.Signal=TIM3_VS_no_output4
board=TS100

View File

@@ -0,0 +1,515 @@
:020000040800F2
:2000000020310020E52E00088D2E00088F2E0008912E0008932E0008952E00080000000071
:20002000000000000000000000000000972E0008992E0008000000009B2E00089D2E000880
:20004000252F0008292F00082D2F0008312F0008352F0008392F00083D2F0008412F000850
:20006000452F0008492F00084D2F0008512F0008552F0008592F00085D2F0008612F000830
:20008000652F0008692F00086D2F0008712F00089F2E0008792F00087D2F0008812F0008E7
:2000A000852F0008892F00088D2F0008912F0008952F0008992F00089D2F0008A12F0008F0
:2000C000A52F0008A92F0008AD2F0008B12F0008B52F0008B92F0008BD2F0008C12F0008D0
:2000E000C52F0008C92F0008CD2F0008D12F0008D52F0008D92F0008DD2F0008E12F0008B0
:20010000E52F0008E92F0008ED2F0008F12F0008F52F0008F92F0008FD2F0008013000088E
:2001200005300008093000080D3000081130000870B500F08FFEDFF8144804F510553C350F
:200140000146284600F016FC4FF40051204600F0D1FE04F200464FF4B0720FF650213046A2
:2001600000F0F2FE0B222946304600F0EDFE0FF6CC4518222946204600F0E6FE1822294610
:2001800004F5007000F0E0FEDFF8C407C4F81604A0220FF6783104F5C06000F0D5FE5022F2
:2001A0000FF6084104F5006000F0CEFE40220FF64C4104F5206000F0C7FE42F20C20011940
:2001C0000022CA760A774A7602518A600A61CA6070BD70B50C46DFF87467B4F5805F03D1F8
:2001E00000F044F830460EE0B4F5205F04D100F03DF806F5007006E0B4F5804F07D100F0BC
:2002000035F806F58060BDE8704000F08DBEB4F51A4F2AD300F02AF806F5C06000F084FE98
:200220004FF40072314606F508503C3000F08CFE42F2272085196978B9B9DFF81817098856
:20024000825D32B9B4F52A4F00D271B100F0A2F90AE0012A09D111B1B4F51C4F02D2B4F5F1
:200260002C4F02D300F08BFA687070BD4FF400720146704710B50446080004D14FF4007260
:200280000FF228713DE0DFF8C416B0F5805F08BF4FF4007235D0B0F5205F04D14FF4007243
:2002A00001F500712DE0B0F5804F04D14FF4007201F5806125E0B0F5004F05D100F02DF811
:2002C000A0220FF648211CE0B0F5024F05D100F024F850220FF6D42113E06FF402421218EA
:2002E00041F2FF739A4205D200F017F840220FF60C3106E0B0F51A4F08D34FF4007201F589
:20030000C0612046BDE8104000F00EBE4FF400712046BDE8104000F053BE4FF4007120467B
:2003200000F04EBE2DE9F84F4FF02008DFF81C5642F227277C194FF4085908EB050000F20F
:200340000046002030733078E52818BF002800F0E580F07A202840F0E180307A482826D137
:20036000707A452804BFB07A582840F0D08000F0DDF800207855607820B102280DD00428AB
:2003800006D010E05220307244207072592009E0452030725220707204E04E2030724F201D
:2003A00070725420B072F07D401CF075B4E041285AD1707A442804BFB07A52285BD100F096
:2003C000B5F800207855607049F805004FF0020A95F80006302804BF95F8010678281ED151
:2003E0000AEB050090F80006A0F13001C9B20A2922BFA0F14101C9B2062922BFA0F16101D3
:20040000C9B206290BD259F805104FEA011B49F805B000F0DAF9584449F8050003E0607844
:2004200040F0040060700AF1010ABAF10A0FCFDB6078A0B959F80500DFF81C15884202D316
:2004400000F00FFD18B94E2030724F2004E001207855532030724520707254205BE045200E
:2004600030725220707256E0422820D1707A492804BFB07A4E284AD100F058F8785D28B926
:200480004E2030724F207072542004E052203072442070725920B072785D022804BF0020CC
:2004A0007855785D012837D10220785534E053280DD1707A452804BFB07A542827D1785D80
:2004C00060BB5520307253207072452023E0522805D1707A44281AD1B07A59280EE0552886
:2004E00005D1707A532812D1B07A452806E0452806D1707A52280AD1B07A522807D10DE075
:200500004E2801BF707A4F28B07A542806D04520307252207072B0720320607008F1200837
:20052000B8F5007FFFF609AFBDE8F18FB07EF17E00EB01200005000DDFF8181408804FF434
:200540007A7000F041BD70B542F20C25DFF8FC63AC19207F03281BD100F0F5FD0028FBD1B2
:2005600000F03FFD4FF4C87000F02EFD012000F038FD00F0F5FD002020776076A060A8510B
:20058000DFF8D00300210180E07E022808BFE17670BD00002DE9F04742F20424DFF8AC53BD
:2005A00066190020F060306900EB0509F068401942F2242A0AEB050742F2292879780E29D9
:2005C00056D8DFE801F0080C131B1F2C324146595F757B838A0090F800063A2874E000F006
:2005E000CBF80001B0770020306173E096F81E8000F0C2F84044B077B07F5DE000F0BCF87B
:2006000000010AE054F8058000F0B6F8404460516059F17F4118F177000260515AE000F084
:20062000ABF800010AF8050054E01AF8058000F0A3F840440AF8050060591AF8051008182E
:200640006051F07F081837E000F096F80001707740E096F81D8000F08FF840447077F07F41
:20066000717F0818F0777878401C7870B07F002876D17878801C72E000F07EF8000108F8EC
:20068000090027E018F809A000F076F8504408F809003069F17F421918F802205118F1772F
:2006A000401C3061B17F884214D27878401E56E000F060F808EB0010F0770BE000F05AF80A
:2006C0004044F077F07F002846D103E090F800060D2841D17878401C41E090F800060A289C
:2006E0003AD10020F870707F042805D17879B979090401EB00607060707F012837D068BBE8
:2007000060597168081860519349884201D202202EE0002001E03069801C30613069B17F3D
:2007200088421BD26159401800F03BFD31694A1960590818491CB37F994218F8021008BF97
:2007400041F47F4104D04244527801EB022189B200F016FD0428DED0042009E00020787044
:20076000F068401CF060B0F5007FFFF41CAF0020BDE8F08796F81F8090F8000625E0F8B5EA
:200780000024724D05F508564FF408577859F168081800F006FD601990F8001690F8010699
:2007A00001EB002189B27859F268101800F0E8FCF168891CF160042801D00420F2BDA41CEB
:2007C000B4F5007FE2D30020F2BD10B585B0044600A80FF2C411112200F0B6FBA4F16100E1
:2007E000C0B21A2838BF203C002000A9415CE4B2A14204D0401CC0B21028F6D3002005B09B
:2008000010BD2DE9F04142F21824504D6619534F327A2AB940023860480278600120307248
:20082000307A012831D1605978B905F5005839684046FFF71FFD40229821404600F0C6FC1B
:200840004FF4E070605140200CE040229821B868401900F5005000F0B9FC605940386051A8
:20086000B8684030B8604021012000F05AFD3021012000F0E0FC38684030386078684038C9
:2008800078603748816840398160786838B96051B860386033480321017000203072BDE815
:2008A000F0812DE9F04142F21C24284D6259403266192D4F33792BB94002386048027860E3
:2008C00001203071307901282FD1002027490AE05B1903F5005310F801C083F800C0401CEB
:2008E00063595B1C635163599342F1D3DFF88080B8F800003968411839607A68101A7860BE
:20090000C00507D100206051A1F5007105F50050FFF75FFC12488168B8F80020891A816030
:200920004FF44051022000F097FC786800281EBF0C480078042806D100206051012100F0A7
:2009400057FE00203071BDE8F0810000EC010020188DDD40102D002000400008D82C0020D3
:20096000C82C0020942C0020E42C0020342C0020962C00201C2221FA02F303F00F030A2B69
:20098000ACBF3733303300F8013B121F53B2002BF1D50021017070473031323334353637DF
:2009A000383941424344454600000000EB3C904D53444F53352E3000020108000200020052
:2009C00010F80C00010001000000000000000000000029A298E46C4E4F204E414D45202030
:2009E0002020464154313220202033C98ED1BCF07B8ED9B800208EC0FCBD007C384E247DAE
:200A0000248BC199E83C01721C83EB3A66A11C7C26663B07268A57FC750680CA028856025B
:200A200080C31073EB33C98A461098F7661603461C13561E03460E13D18B7611608946FCBA
:200A40008956FEB82000F7E68B5E0B03C348F7F30146FC114EFE61BF0000E8E600723926B9
:200A6000382D741760B10BBEA17DF3A66174324E740983C7203BFB72E6EBDCA0FB7DB47D1B
:200A80008BF0AC9840740C487413B40EBB0700CD10EBEFA0FD7DEBE6A0FC7DEBE1CD16CD4D
:200AA00019268B551A52B001BB0000E83B0072E85B8A5624BE0B7C8BFCC746F03D7DC746D3
:200AC000F4297D8CD9894EF2894EF6C606967DCBEA030000200FB6C8668B46F86603461C43
:200AE000668BD066C1EA10EB5E0FB6C84A4A8A460D32E4F7E20346FC1356FEEB4A52500655
:200B0000536A016A10918B4618969233D2F7F691F7F64287CAF7761A8AF28AE8C0CC020AEB
:200B2000CCB80102807E020E7504B4428BF48A5624CD136161720B40750142035E0B4975ED
:200B400006F8C341BB000060666A00EBB04E544C44522020202020200D0A52656D6F766544
:200B6000206469736B73206F72206F74686572206D656469612EFF0D0A4469736B2065720E
:200B8000726F72FF0D0A507265737320616E79206B657920746F20726573746172740D0ACF
:200BA00000000000000000ACCBD855AA4446552056335F34325F44080000000000000000EF
:200BC00000008A5A794500000000000042200049006E0066006F000F007272006D006100C4
:200BE000740069006F0000006E00000001530079007300740065000F00726D0020005600BE
:200C00006F006C00750000006D00650053595354454D7E3120202016005E63705D455D4533
:200C2000000064705D45020000000000412E005F002E00540072000F007F610073006800B0
:200C40006500730000000000FFFFFFFF7E3120202020202054524122004A8A5A794579459E
:200C600000008A5A7945050000100000E552415348457E3145464D1200478A5A7945794525
:200C800000008A5A7945040000000000412E0054007200610073000F002568006500730031
:200CA0000000FFFFFFFF0000FFFFFFFF5452415348457E312020201200478A5A79457945AD
:200CC00000008A5A7945040000000000412E0066007300650076000F00DA65006E0074001B
:200CE0007300640000000000FFFFFFFF46534556454E7E3120202012004D8A5A794579458C
:200D000000008A5A79450D00000000002E2020202020202020202010005E63705D455D4531
:200D2000000064705D450200000000002E2E20202020202020202010005E63705D455D453A
:200D4000000064705D4500000000000042470075006900640000000F00FFFFFFFFFFFFFF4A
:200D6000FFFFFFFFFFFF0000FFFFFFFF0149006E006400650078000F00FF65007200560049
:200D80006F006C00750000006D006500494E444558457E3120202020007263705D455D45BC
:200DA000000064705D4503004C0000007B00380031004200320031003700330033002D001B
:200DC00036003800440039002D0034003000350039002D0041003500370033002D004500AA
:200DE000410030004400320033003200450039003300320031007D00000000002E20202088
:200E0000202020202020203200478A5A7945794500008A5A79450400000000002E2E2020D7
:200E2000202020202020201000478A5A7945794500008A5A7945000000000000F8FFFFFF84
:200E4000FFFFFF6F0007800009A0000BC000FFFFFFFF0F00234801684268511880684018F9
:200E6000704710B5FFF7F6FF1F490C6800F006F8844201D1012010BD002010BD0A231B4A3C
:200E800001461B48FFE7F0B503F11506C3F14304C3F151050A330EE0C0EB40105F1003EB86
:200EA00097774FEAA70CA3EB8C07FF0021FA07F7FFB238185B1C1BB2B342EDDB0DE0C0EB65
:200EC0004010631004EB93739B10A4EB8301C90022FA01F1C9B20818641C24B2AC42EEDB1D
:200EE000F0BD0000E8F7FF1FFC3F0008011020D502DEC0DE002200F0BDBB10B450F8041BCC
:200F000081B102681218001D50F8043BDC0744BFA9F10104E31852F8044B43F8044B091F9C
:200F2000F9D1EBE710BC704762B38B0708D0521E11F8013B00F8013B00F024808B07F6D13D
:200F4000830740F0208000BF103A07D330B4B1E83810103AA0E83810F9D230BC530724BF81
:200F6000B1E80810A0E8081044BF51F8043B40F8043BD20724BF31F8022B20F8022B44BFC4
:200F80000B7803707047083A07D3B1E80810083A40F8043B40F804CBF7D25307E4E750F8E1
:200FA000041B61B150F8042BD30744BFA9F101039A18002342F8043B091FFAD1EFE7704740
:200FC000002200F071BB000000214FF6FF7302E04D4A1360491C40F2DC5242439142F7D328
:200FE00070474A494FF400620A614FF480520A61002808680AD120F4404040F440500860E4
:20100000086820F4402040F4403009E020F4804040F430400860086820F4802040F43020D7
:201020000860704780F308887047704738B500F06BFB102000F0E0FB354C207820B10220D6
:2010400000F0D4FB082502E000F0D0FB002531484168314A11434160016841F08071016064
:20106000012000F06AFB012000F06AFB392000F094FB0028FAD0207800B1022000F063FB01
:2010800000F068FBA842FBD10121142000F06AFB012140F20C6000F06EFB01214FF400001E
:2010A00000F072FB207820B10120BDE8324000F056BB31BD80B501464FF0006000F047FCF5
:2010C0004FF4A06000F012FC14208DF8000002208DF8010000208DF8020001208DF803001E
:2010E00000A800F008FC01BD0C484FF6FF71C1600B4A02600B4A42600B48C1600B49016095
:201100004FF08831416070470C10014004080140E8010020001002400A846800000801403B
:201120008888880884B4BB8B000C0140884883440948012101600021016041604FF4E05142
:20114000064A118005E0044801210160002141600321016000207047405C0040142D00209F
:201160000448C0610221017203490162034A426208680047A02C0020D800002030010020E0
:2011800038B504460D46104800F0A0FB05281CBF342000F07AFB29462046BDE8344000F043
:2011A0005BBB10B50446A0050CD1074800F08EFB05281CBF342000F068FB2046BDE81040B6
:2011C00000F02EBB10BD0000A086010010B5490001F1804101F5C041521C521009E010F8C9
:2011E000013B10F8014B43EA042321F8023B891C521EF4D110BD490001F1804101F5C0411B
:20120000521C521004E051F8043B20F8023B521EF9D170474FF6F8710840DFF89011086076
:20122000704710B5DFF8882152F8203048F68F142340194324E010B5DFF8742152F82030A9
:2012400048F6BF742340CC0648BF83F01003890648BF83F020030FE010B5DFF8542152F8E5
:2012600020304BF68F742340CC0448BF83F48053890448BF83F4005343F4004141F08001CE
:2012800042F8201010BDDFF8281151F820204BF68F731A4082F4405242F4004209E0DFF8A1
:2012A000101151F8202048F68F631A4042F40042FFE742F0800241F820207047DFF8F010E1
:2012C00051F8202052040AD551F8202048F68F731A4042F4404242F0800241F82020704791
:2012E000334951F8202052060AD551F8202048F68F731A4042F4004242F0C00241F82020AA
:20130000704738E0294A126892B202EBC000294A37E03BE02549096889B201EBC000254947
:201320003AE0224A126892B202EBC000224A2AE01E4A126892B202EBC000204A02EB4000DC
:201340003F2909D34A091F23194208BF521E1204910941F4004105E04A08C90748BF521C80
:2013600012049109016070471049096889B201EBC000124914E00D4A126892B202EBC000E3
:201380000F4A4908490042F8101070470749096889B201EBC0000A4951F8100080B270470C
:2013A00051F810008005800D70470000505C0040005C004008600040046000400C6000408B
:2013C000006000400106090C41EA10207047000080B5964890F82010022909D018D3042958
:2013E00002D00ED3052913D1002180F820100CE0C17B28290CD1816A406ABDE8044000F09B
:20140000FEBA0121002000F0F3F84FF440512BE101BD38B5854CE57B0220FFF7A5FF60849B
:201420000246D8218248FFF7E6FE94F8200010B1012803D00AE0BDE8314013E02A2D06D13D
:20144000A16A606ABDE8344000F003BB022000F0F9F82421052000F0CDFA00210220BDE8E4
:201460003440C5E010B5714C628C1AB170492046FFF76AFD6F4861684160A1688160608CA5
:201480001F2806D0022000F0DDF8002020601A218DE0E27B282A18BF2A2A0FD1607CA17C4D
:2014A000090441EA0060E17C40EA0120217D08436062A07DE17D41EA0020A06220685E494A
:2014C000884270D15D480068617B884204D3A07B401EC0B2102804D3022000F0B3F824217B
:2014E00065E0606AA16A002A49D0032A2BD0082A18BF0A2A53D0122A29D0152A4FD01A2A30
:201500002DD01B2A27D01D2A49D01E2A23D0232A2DD0252A2FD0282A35D02A2A37D02F2A54
:2015200039D0552A3BD05A2A1DD0882A18BF8A2A35D08F2A18BF9E2A31D0A82A1CBFAA2A8B
:20154000AF2A2CD02FE0BDE8104000F04BBABDE8104000F011BABDE8104000F04FBABDE87A
:20156000104000F037BABDE8104000F037BABDE8104000F010BABDE8104000F01BBABDE856
:20158000104000F0A5BABDE8104000F038BABDE8104000F05EBABDE8104000F083BABDE811
:2015A000104000F09ABA022000F04CF82021052000F020FA00210120BDE8104018E010B5DD
:2015C0000C4622469821FFF701FE21460120FFF7A8FE30210120FFF72EFE1448032180F8F3
:2015E000201014488168091B81600021017310BD10B50C460F4B1249196018730D22982157
:201600001846FFF7E3FD0D210120FFF78AFE0748052180F8201044B1042180F82010302199
:201620000120BDE81040FFF706BE10BD742C0020342C0020C82C002055534243002D00203F
:201640005553425380B518B1022807D00AD301BD10210120BDE80440FFF7EDBD1021012086
:20166000FFF7E9FD4FF480510220BDE80440FFF7F3BD000000B500BF130096469446103943
:2016800028BFA0E80C50FAD85FEA417C28BF0CC048BF40F8042BC90728BF20F8022B48BF83
:2016A00000F8012B00BD0000401810F0030308D0C91A1FD3DB0748BF00F8012D28BF20F830
:2016C000022D130030B414461546103928BF20E93C00FAD8490728BF20E90C0048BF40F85D
:2016E000042D890028BF20F8022D48BF00F8012D30BC7047C91818BF00F8012DCB0728BF9B
:2017000000F8012D704700002E48016841F00101016041682C4A1140416001682B4A114039
:201720000160016821F480210160416821F4FE0141604FF41F0181607047254908607047E2
:2017400025490860704723490A68920850EA8200086070471F48006800F00C0070471F49BF
:20176000086070471E4A0029116814BF084321EA0000106070471B4A0029116814BF0843CB
:2017800021EA000010607047174A0029116814BF084321EA00001060704700214209094B04
:2017A000012A08BF1A6803D0022A0CBF1A6A5A6A012300F01F0003FA00F0024218BF012146
:2017C00008467047001002400000FFF8FFFFF6FE000042420410024060004242D8004242AF
:2017E00014100240181002401C100240DFF8C4100A6802F0380206E0DFF8B8100A6822F059
:2018000010020A600A68104308607047FFE7DFF8A800DFF8A8100160DFF8A4100160704770
:2018200038B5054600F015F804280DD1DFF89440206840F002002060656000F006F8216848
:2018400041F6FD721140216032BD206840F0400020604FF4302039E070B504460D4600F04B
:2018600011F804280CD1174E306840F001003060258000F007F8316841F6FE7211403160E2
:2018800070BD08804FF4005020E00F490860704704200D490A68D20701D5012070470A68A4
:2018A000520701D5022070470968C90648BF03207047000000200240042002402301674567
:2018C000AB89EFCD102002400C20024010B5FFE70446FFF7DDFF03E02CB1FFF7D9FF641E61
:2018E0000128F9D004B9052010BD00001B4908431B490860704770B503781A460121C478B7
:20190000ECB1174B1B6803F4E063C3F5E0631B0A4478C3F10405AC4085780F2626FA03F33E
:201920002B4023431B010F4C1355007842110E4B00F01F0001FA00F043F8220070BD5011EE
:201940000A4A03F01F03994042F8201070BD084A1140084307490860704700000000FA0552
:201960000CED00E000E400E000E100E080E100E080FFFF1F08ED00E07449087CC00702D577
:201980007348052105E00FF2E410C97C252928BF2421FFF714BE6F48002181800221817117
:2019A0000021C1714172022181720021C1720C21FFF705BE6848002101800F218170FF213E
:2019C000C17000218180022181710021C1710821FFF7F5BD04216148FFF7F1BD0821604838
:2019E000FFF7EDBD5948C17C132928BF12215D48FFF7E5BD5B4A90701173704769E070B588
:201A000004460D46584E3078C0B92A462146282000F076F8C8B14D48007B000603D502205C
:201A2000307029460CE00220FFF70CFE00F00EF801210120BDE87040FFF7DABD022804D16F
:201A40002046BDE87040FEF7DCBE70BD24210520D0E710B5444C2278EAB90A4601462A207B
:201A600000F04EF8E8B13948007B000608D4012020704FF440510220BDE81040FFF7ECBB80
:201A80000020FFF7DFFDFFF7E1FF00210120BDE81040FFF7ADBD012A04BFBDE81040FEF70F
:201AA00000BF10BD80B52948816829B9007C400702D40121002006E00220FFF7C3FDFFF79A
:201AC000C5FF00210120FFE7BDE80440FFF790BD00BF01210020FFF78BBD80B51B4881682E
:201AE00009B9002004E0007B00064CBF00200220FFF7A8FD2021FFF7AAFF00210120E3E7CB
:201B000080B55118B1F5805F09D92A2804BF0220FFF798FD0020FFF795FD21210BE00B49D5
:201B20008968B1EB422F0ED02A280CBF02200020FFF788FD2421FFF78AFF00210120FFF7F3
:201B400057FD002002BD012002BD0000742C0020EC2C0020BC010020F42C0020E401002058
:201B6000D8010020A8010020942C002000800202200000005669727475616C204446552019
:201B80004469736B20202020202020202020202010B5DFF8884700B92BE000F096F8006825
:201BA000804720680A3010BD80B5DFF870070068C178DFF86C2752788A420CD38278002AA8
:201BC00004BF8288002A06D1817200F07EF840688047002002BD022002BD10B5DFF83C4790
:201BE00000B906E000F071F88068804720680C3010BD206801210182002010BD10B5DFF8F7
:201C00001C472068C1784079DFF8182712689269904721688A7A92B1002804BF0879002821
:201C20000DD1887858B900F050F8C068804720684179C1722068C1780173002010BD0220D5
:201C400010BD1CB5DFF8D416096810B90220088239E0DFF8D44600202080087800227F2331
:201C6000184215D1487A81064CBF42F0020102F0FD0121702178400654BF01F0FE0041F008
:201C80000100207000F021F800698047204616BD00F07F03012BF9D000F07F00022812D15E
:201CA000487900F00F0142F0010200F088FA05D500F030001028E5D12270E3E700F44050F4
:201CC000B0F5805FF7E7002016BDDFF8600600687047F8B5DFF844060068017811F07F0123
:201CE00004D1417A01F0DF0141724FE0022901BF41880029017900294AD1417921F08005B6
:201D0000DFF82C460A0654F825204CBF02F0300202F44052DFF808361B789D4238D2002A67
:201D20001CBF807A002833D0080654F825000BD500F03000102825D12846FFF7D1FA302176
:201D40002846FFF778FA1DE000F44050B0F5805F18D148F280064BF68F7745B900F0BDFA13
:201D60002068384080F44050304320600AE02846FFF7A4FA54F82500384080F44050304320
:201D800044F82500FFF7A1FF406980470020F2BD0220F2BD38B5DFF884050268537923F0A6
:201DA0008000DFF88C151C0651F820404CBF04F0300404F44054DFF868552D78A84206D2A6
:201DC000558825B9002C1CBF927A002A01D1022032BD48F280021B0651F8203005D548F69A
:201DE000BF74234083F0100304E04BF68F74234083F480531A4341F82020FFF766FF8069D8
:201E00008047002032BD80B5DFF810050068417A41F020014172FFF758FFC0698047002046
:201E200002BDDFF8F8241268538A20B98888C01A108200207047086818187047F8B5DFF892
:201E4000DC54286800F110042688A168080018BF002E14D0A088864288BF0646304688474D
:201E600007462088801B20806088301860800020FFF750FA324601463846FFF7BCF9DFF803
:201E8000B464208850B1DFF8B0044FF44051018000210020FFF745FA3020308028682188F2
:201EA000A288914228BF032101D211B105210172F1BD06210172DFF88404006880B2DFF8D4
:201EC0008014002241F8102030203080F1BD2DE9F843DFF84844206800F110063188DFF862
:201EE0005454002904BF007A042816D1DFF85404017801290DD1DFF84414096889B2DFF85F
:201F00004024002342F8113030212980042703702CE007271020288028E0B6F8048088450E
:201F200005D30427414588BF4146884600E002274046B168884781460020FFF7EAF94246BD
:201F400001464846FFF742F941460020FFF7E9F93088A0EB08003080708840447080302045
:201F60002880DFF8D4034FF44051018020680772BDE8F18338B5DFF8A44320684578017833
:201F80007F22114238D1092D02D1FFF70DFE47E0052D1BD1C17880294FD28178002901BF10
:201FA00081880029807A002847D10620DFF88C13096889B2DFF88823002342F81130DFF876
:201FC000741330220A802168087231BD032D08D1C178012904BF8088002823D1FFF713FF52
:201FE0001EE0012D04BFC17801291BD18188C9B9407A80060DD415E001F07F00012804D194
:020000040800F2
:202000000B2D0FD1FFF7FAFD0AE002280AD1012D02D1FFF75EFE03E0032D03D1FFF7BAFEE4
:202020000028C2D02846BF49096849698847032808BF0920C7D00028B7D00820C3E738B55E
:20204000B64D28684178B74C062913D101787F2211422AD18078012802D12068C16968E0C8
:20206000022802D12068016A63E003281DD12068416A5EE000293DD14188002904BFC1886E
:20208000022912D1017981B901787F22114204BF8288002A2CD001F07F02012A10D100F0B0
:2020A00089F810B92868807A10BB28684078216809698847032845D128680921017231BD13
:2020C00001F07F010229F0D1407900F00F0100F0700200F074F84CBF00F0300000F440507D
:2020E0008F4B1B789942E0D2002ADED10028DCD095491EE0082905D100787F210842D4D14F
:20210000924916E00A2902BF017801F07F010129CBD1817A0029C8D04188002901BF017962
:202120000029C1880129C0D100F044F80028BCD187490800B9D028680022428281610020B8
:202140008847002029680A8A4FF6FF739A4208BF092004D0022818BF002A02D10820087274
:2021600031BD087800061ED5C88800902368009C944202D2009808820FE082420DD293F808
:202180002C00704C824238BF002005D392FBF0F500FB152008B90120207093F82C008882CF
:2021A000BDE8314093E60320087263484FF44051018031BD002140792268926910475C4BA8
:2021C000000653F82100704738B55C48006880B2604931F81000400000F1804000F5C040E3
:2021E0004E4C21680A7A092A14D010F8012B0A70216810F8012B4A70851C35F8040BFFF729
:20220000E1F8216848802888FFF7DCF821688880A888C8802068012101722068C08810B95B
:20222000FFF7A8FE01E0FFF70AFFBDE831403EE010B53A4C2068017A022918BF042904D19C
:20224000FFF745FE2068007A14E0062911D14178052902BF01787F22114206D1C07800F02A
:2022600042F8FFF732FD006A80472E48006880688047082017E010B5284C2068007A0228BD
:2022800018BF04280ED0032818BF052804D1FFF7D5FD2068007A06E0072803D121480068D5
:2022A000C0688047082021680872BDE8104080B500F013F819480068017A082906D11E492C
:2022C0004FF480520A801B4910220A80007A092801D1012002BD002002BD1F4890F82C10D8
:2022E0000020FFF725B870B50D4909780022104B48F68F760BE0D4B253F824503540254322
:2023000045F4004545F0800543F82450521C8A42F1D340F080001149086070BDBC2C002031
:20232000E0010020C02C0020082D0020C42C0020005C00400E2D00200C2D0020505C0040EF
:2023400004600040172D0020431C0008911B0008DB1B000808600040D80000204C5C0040D4
:2023600070470000F8B58478303CE4B20A2C38BF2246C478303CE4B20A2C38BF234600781A
:202380003038C0B20A2838BF01460024534818250FF2A016271805FB014C1CF806C087F85B
:2023A00060C005FB024C1CF806C087F890C005FB034C1CF806C087F8A8C0641C182CE9DB6E
:2023C00000240C2201460C206043C0B200F004F8641C082CF5DBF1BD70B504460D461646E7
:2023E000002100F04BF8761C2946F0B200F035F805460121204600F041F82946F0B2BDE817
:2024000070402AE03749086037483C2202700968C9B2334800F09AB910B58CB000A80FF277
:20242000DC013022FEF790FD2E2200F03CF82F4C4FF48071204600F006FA0220FEF7C4FD9A
:202440004FF48071204600F0FCF90220FEF7BCFD2E20FFF7D7FF0CB010BD10B50C4620490A
:2024600040220A70012203E014F8013B5354521C8242F9DBFFF7C6FF204610BD30B583B07F
:2024800000AA0FF2A80330CB30C28DF80500012904BFB1208DF80100082200F004F80820ED
:2024A000FFF7B0FF37BD00A90D48FEF73DBD10B500212020FFF7E2FF094C00F019F88020A3
:2024C000FFF7A0FF01212020FFF7D8FF00F010F88020BDE8104095E700000000000000200F
:2024E00034260020FC2C0020162D002000080140402020707F21601CFEF762BD80AE80D5CB
:20250000805280A8800F80C880D38000804080A1808D801480DA8002808180E080D980F18E
:2025200080DB803080A480A680AF000080B080218020807F00E010080810E00000000000B7
:20254000000F102020100F0000000000001010F800000000000000000020203F2020000026
:2025600000000000007008080888700000000000003028242221300000000000003008882C
:2025800088483000000000000018202020110E00000000000000C02010F8000000000000BC
:2025A00000070424243F24000000000000F8088888080800000000000019212020110E00AC
:2025C0000000000000E010888818000000000000000F112020110E0000000000003808081C
:2025E000C8380800000000000000003F000000000000000000708808088870000000000094
:20260000001C222121221C000000000000E010080810E000000000000000312222110F0077
:20262000000000000000000000000000000000000030300000000000000000007047424AF7
:20264000012903D10146104600F0FBB819B90146104600F0F8B8704780B501210820FFF701
:202660008AF8C020ADF8000014208DF8030003208DF8020000A9344800F07EF800F00EF86C
:2026800000F055F800F056F800F057F8002100F04FF800F052F800F001F801BD00214020C6
:2026A000CDE780B5FFF7FAFF002100F041F800F044F800F03FF800F040F800F038F800F06D
:2026C0003CF8FFF7EBFF0520BDE80240B6E738B50446082508E000F02BF800F02EF800F0D8
:2026E00029F800F02AF864002846451EC0B230B1FFF7D4FF20064CBF01210021EBE7FFF71A
:20270000CDFF00F014F8FF2400F017F800F017F848B900F00FF800F010F8FFF7BFFF00F03C
:202720000CF8012032BD641EEED1002032BD0121802084E70121402081E705207EE78021F3
:20274000014800F077B80000000C014070B504460D461646FFF780FF7000C0B201E014F862
:20276000010BFFF7B4FF2846451EC0B20028F6D1BDE8704095E700002DE9F0410022CC78F4
:2027800004F00F03E40644BF8C7823430C8801250F26E7B217B3D0F800C005FA02F7BE4606
:2027A0000EEA0408F04514D14FEA820E06FA0EF82CEA080C03FA0EFE4EEA0C0C91F803E03D
:2027C000BEF1280F08BF476103D0BEF1480F08BF0761521C082AE0D3C0F800C0B4F5807F29
:2027E00026D3D0F804C0002202F1080705FA07F7BE460EEA0408F04515D14FEA820E06FA47
:202800000EF82CEA080C03FA0EFE4EEA0C0C91F803E0BEF1280F08BF476191F803E0BEF153
:20282000480F08BF0761521C082ADDD3C0F804C0BDE8F08100228068084218BF012210468C
:2028400070470161704741617047000080B500F0F8F88B48006800218172FEF769FC8948C0
:20286000002141604FF40441874A1180016087480021016001BD10B58548002181728048CE
:2028800000688449C97941720020FEF7C3FC4FF400710020FEF7C5FC20210020FEF7CBFC93
:2028A00018210020FEF72EFD7B4C00F042F858210020FEF726FD0020FEF7F1FC0020FEF7E6
:2028C000E2FC00210120FEF7ACFC98210120FEF718FD20210120FEF7AEFC00210120FEF71F
:2028E000BBFC00210220FEF79CFCD8210220FEF709FD94F82C100220FEF71AFD4FF4405171
:202900000220FEF7A9FC00210220FEF794FC00F010F80020FEF7B7FC0020FFF7E4FC5B48DA
:20292000012101605D485E4901605E480021017010BD94F82C100020FEF7FABC50480068CF
:20294000807A00B9704780B55048052101600120FEF7C6FC0220FEF7B1FC524800210170F1
:2029600001BD4E4800684E4988421CBF0220FEF769BE704745480421016070477047704732
:2029800080B53F4909680A7802F07F02212A08BFFE280BD14888002801BF88880028C888C0
:2029A000012803D10FF28900020001D1022002BD88610020488200F03BF8002002BD80B5D1
:2029C0002F4909680A7802F07F02212A08BFFF2815D14888002804BF888800280FD1C888D7
:2029E00068B90120FEF77CFC0220FEF767FC2B482B4901602B4800210170002002BD022060
:202A000002BD00290CBF0028022070472649FFF708BA2649FFF705BA19490968C978062974
:202A200001DB00207047224A02EBC101FFF7F9B928B91348006801210182002070471D489B
:202A400070471D4801684268806801B9704710B51A4B99700C0A1C710C0C9C71090E197251
:202A60009A72110A1973110C9973110E19749874010A1975010C9975000E187610BD0000A5
:202A8000BC2C0020405C0040142D0020042D0020A02C0020E42C0008D8000020742C0020E4
:202AA00055534243942C0020C8010020D001002008010020002D0020E8F7FF1F5401002047
:202AC0002DE9F84F0020ADF8000040F68F7848F60F7B48F28006444F444CDFF81491DFF899
:202AE00014A14BF6BF7525E054F82010ADF80010BDF8001009040BD554F8201008EA010154
:202B000044F820103C4901EB800050F8040C8047BDF8000000060DD599F8000054F820108F
:202B20000BEA010144F82010344901EB800050F8040C8047606CAAF80000000452D5BAF8DF
:202B4000000010F00F0089F80000CDD120683880388800F030007880388800F44050388033
:202B60002068284080F4005080F0200030432060BAF80000C006206805D40BEA00002060D0
:202B8000FFF756FB16E0ADF80000BDF80000000506D5206808EA00002060FFF715FB09E0D5
:202BA000BDF800000004C5D5206808EA00002060FFF761FB206828403988C90448BF80F47D
:202BC00080503988890448BF80F400507988C90648BF80F010007988890648BF80F020008E
:202BE00030432060BDE8F18F0C2D0020005C0040182D0020122D00208C01002070010020C6
:202C00002E48016841F00101016041682C4A1140416001682B4A11400160016821F4802181
:202C20000160416821F4FE0141604FF41F0181600021026842F4803202600268491C920358
:202C400002D4B1F5A06FF8D10168890330D51E490A6842F010020A600A68920892000A6097
:202C60000A6842F002020A604168416041684160416841F480614160416821F47C11416062
:202C8000416841F4E8114160016841F08071016001688901FCD541688908890041604168FF
:202CA00041F002014160416801F00C010829FAD106484FF000610160704700000010024044
:202CC0000000FFF8FFFFF6FE0020024008ED00E0120100020000004083042057000201027C
:202CE0000301000009022000010100C0320904000002080650040705810240000007050263
:202D000002400000040309042603530054004D006900630072006F0065006C0065006300FA
:202D2000740072006F006E0069006300730000002603530054004D003300320020004D00A2
:202D40006100730073002000530074006F007200610067006500000010035300540020005D
:202D60004D00610073007300FEF760F9FEF7BCF91A48006880070ED5FEF773F8184801686A
:202D8000184A1140B1F1005F04D144680068FEF749F9A047FEE70A20FEF716F90020FEF750
:202DA00020F9C820FEF710F90120FEF71AF90020FEF780F9FEF7D4F9FDF7BAF9FFF72CFBD7
:202DC000FFF775FB0FF22000FFF7CCFAFEF71EFDFDF7A8FAFDF7B7FBF8E70000080C014030
:202DE000004000080000FF2F332E34350000000070B50D4C0D4D286820800D4E20883188CF
:202E00000840400505D50B48406880474FF6FF302860208831880840000444BFBDE8704088
:202E2000FFF74EBE70BD0000122D0020445C0040142D0020D8000020FEF7CABAFEF7E9BABA
:202E400010B5074979441831064C7C44163404E0081D0A68511888470146A142F8D110BD88
:202E6000080000002800000037E1FFFF302B0000EC0100200000000083E0FFFFEC01000056
:202E80009401000000000020000000007047FEE7FEE7FEE7FEE77047704770477047FFF760
:202EA000A7BF000000F009F8002801D0FFF7C8FF0020FFF759FF00F002F80120704700F0E5
:202EC00001B800000746384600F002F8FBE70000C046C046024A11001820ABBEFBE700BFF7
:202EE000260002000148804701480047012C0008F52E0008C046C046C046C046FFF7D2FFCB
:202F0000FFF7C4BFFFF7C3BFFFF7C2BFFFF7C1BFFFF7C0BFFFF7BFBFFFF7BEBFFFF7BDBF05
:202F2000FFF7BCBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF3B
:202F4000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFD9
:202F6000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF793BFFFF7FEBFFFF7FEBF24
:202F8000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF99
:202FA000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF79
:202FC000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF59
:202FE000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF39
:20300000FFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBFFFF7FEBF04FC040404040C0810E000001D
:20302000407F404040406020180F000004FC8484848484E40C100000407F40000000000394
:203040000000000004FC04000000000004FC0400001F204040404040201F000000000000AA
:20306000606000000000000000000000606000000000000000780404040404887800000044
:20308000006050484442414070000000000000000000000000000000006060000000000001
:2030A0000000000000E018080404040818E00000000F302040404020300F0000000000087E
:2030C00008FC00000000000000000040407F4040400000000000000000000000000000002D
:2030E0000000000000000000000000004D280008772800087D2900087F290008812900089C
:20310000BF290008032A00080D2A0008132A0008192A00080000000040000000042D000842
:2031200004000000082D000826000000302D000826000000540100201A000000582D000881
:2031400010000000612300083D2900086123000861230008612300086329000861230008A1
:2031600061230008752900081A03530054004D003300320031003000000000000000000046
:2031800000000000392E000861230008612300086123000861230008612300086123000878
:2031A000612300083D2E0008612300086123000861230008612300086123000870000000E4
:2031C0000000000A000000000000000000000000000000080000000002000000D02C0008D7
:2031E00012000000E42C000820000000000600000000000003010000030000000100000077
:20320000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCE
:20322000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAE
:20324000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8E
:20326000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6E
:20328000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4E
:2032A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2E
:2032C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0E
:2032E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEE
:20330000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCD
:20332000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAD
:20334000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8D
:20336000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6D
:20338000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4D
:2033A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2D
:2033C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0D
:2033E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFED
:20340000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCC
:20342000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAC
:20344000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8C
:20346000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C
:20348000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4C
:2034A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2C
:2034C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0C
:2034E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC
:20350000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCB
:20352000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAB
:20354000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8B
:20356000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6B
:20358000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4B
:2035A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2B
:2035C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0B
:2035E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEB
:20360000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCA
:20362000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAA
:20364000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8A
:20366000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6A
:20368000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4A
:2036A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2A
:2036C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0A
:2036E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEA
:20370000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC9
:20372000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA9
:20374000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF89
:20376000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF69
:20378000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF49
:2037A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF29
:2037C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF09
:2037E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9
:20380000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC8
:20382000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA8
:20384000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF88
:20386000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF68
:20388000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF48
:2038A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF28
:2038C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF08
:2038E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE8
:20390000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7
:20392000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA7
:20394000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF87
:20396000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF67
:20398000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF47
:2039A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF27
:2039C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF07
:2039E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE7
:203A0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC6
:203A2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA6
:203A4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF86
:203A6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF66
:203A8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF46
:203AA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF26
:203AC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF06
:203AE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE6
:203B0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC5
:203B2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA5
:203B4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF85
:203B6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF65
:203B8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF45
:203BA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF25
:203BC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF05
:203BE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5
:203C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC4
:203C2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA4
:203C4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF84
:203C6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF64
:203C8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF44
:203CA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF24
:203CC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF04
:203CE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE4
:203D0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC3
:203D2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA3
:203D4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF83
:203D6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF63
:203D8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF43
:203DA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF23
:203DC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03
:203DE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3
:203E0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC2
:203E2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA2
:203E4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF82
:203E6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF62
:203E8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF42
:203EA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF22
:203EC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF02
:203EE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2
:203F0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC1
:203F2000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA1
:203F4000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF81
:203F6000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF61
:203F8000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF41
:203FA000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF21
:203FC000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF01
:203FE000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1
:00000001FF

View File

@@ -0,0 +1,348 @@
#MicroXplorer Configuration settings - do not modify
ADC1.Channel-31\#ChannelRegularConversion=ADC_CHANNEL_4
ADC1.Channel-32\#ChannelInjectedConversion=ADC_CHANNEL_2
ADC1.Channel-33\#ChannelInjectedConversion=ADC_CHANNEL_2
ADC1.Channel-34\#ChannelInjectedConversion=ADC_CHANNEL_2
ADC1.Channel-35\#ChannelInjectedConversion=ADC_CHANNEL_2
ADC1.ContinuousConvMode=DISABLE
ADC1.DataAlign=ADC_DATAALIGN_RIGHT
ADC1.DiscontinuousConvMode=DISABLE
ADC1.EnableAnalogWatchDog=false
ADC1.EnableRegularConversion=ENABLE
ADC1.ExternalTrigConv=ADC_SOFTWARE_START
ADC1.ExternalTrigInjecConv=ADC_INJECTED_SOFTWARE_START
ADC1.IPParameters=Rank-31\#ChannelRegularConversion,Channel-31\#ChannelRegularConversion,SamplingTime-31\#ChannelRegularConversion,NbrOfConversionFlag,master,Rank-32\#ChannelInjectedConversion,Channel-32\#ChannelInjectedConversion,SamplingTime-32\#ChannelInjectedConversion,InjectedOffset-32\#ChannelInjectedConversion,Rank-33\#ChannelInjectedConversion,Channel-33\#ChannelInjectedConversion,SamplingTime-33\#ChannelInjectedConversion,InjectedOffset-33\#ChannelInjectedConversion,Rank-34\#ChannelInjectedConversion,Channel-34\#ChannelInjectedConversion,SamplingTime-34\#ChannelInjectedConversion,InjectedOffset-34\#ChannelInjectedConversion,Rank-35\#ChannelInjectedConversion,Channel-35\#ChannelInjectedConversion,SamplingTime-35\#ChannelInjectedConversion,InjectedOffset-35\#ChannelInjectedConversion,InjNumberOfConversion,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,ExternalTrigConv,ExternalTrigInjecConv,InjectedConvMode,EnableAnalogWatchDog
ADC1.InjNumberOfConversion=4
ADC1.InjectedConvMode=None
ADC1.InjectedOffset-32\#ChannelInjectedConversion=0
ADC1.InjectedOffset-33\#ChannelInjectedConversion=0
ADC1.InjectedOffset-34\#ChannelInjectedConversion=0
ADC1.InjectedOffset-35\#ChannelInjectedConversion=0
ADC1.NbrOfConversion=1
ADC1.NbrOfConversionFlag=1
ADC1.Rank-31\#ChannelRegularConversion=1
ADC1.Rank-32\#ChannelInjectedConversion=1
ADC1.Rank-33\#ChannelInjectedConversion=2
ADC1.Rank-34\#ChannelInjectedConversion=3
ADC1.Rank-35\#ChannelInjectedConversion=4
ADC1.SamplingTime-31\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.SamplingTime-32\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.SamplingTime-33\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.SamplingTime-34\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.SamplingTime-35\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.ScanConvMode=ADC_SCAN_ENABLE
ADC1.master=1
ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_3
ADC2.Channel-1\#ChannelInjectedConversion=ADC_CHANNEL_3
ADC2.Channel-2\#ChannelInjectedConversion=ADC_CHANNEL_3
ADC2.Channel-3\#ChannelInjectedConversion=ADC_CHANNEL_3
ADC2.Channel-4\#ChannelInjectedConversion=ADC_CHANNEL_3
ADC2.ContinuousConvMode=DISABLE
ADC2.DataAlign=ADC_DATAALIGN_RIGHT
ADC2.DiscontinuousConvMode=DISABLE
ADC2.EnableAnalogWatchDog=false
ADC2.EnableRegularConversion=ENABLE
ADC2.ExternalTrigConv=ADC_SOFTWARE_START
ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,Rank-1\#ChannelInjectedConversion,Channel-1\#ChannelInjectedConversion,SamplingTime-1\#ChannelInjectedConversion,InjectedOffset-1\#ChannelInjectedConversion,Rank-2\#ChannelInjectedConversion,Channel-2\#ChannelInjectedConversion,SamplingTime-2\#ChannelInjectedConversion,InjectedOffset-2\#ChannelInjectedConversion,Rank-3\#ChannelInjectedConversion,Channel-3\#ChannelInjectedConversion,SamplingTime-3\#ChannelInjectedConversion,InjectedOffset-3\#ChannelInjectedConversion,Rank-4\#ChannelInjectedConversion,Channel-4\#ChannelInjectedConversion,SamplingTime-4\#ChannelInjectedConversion,InjectedOffset-4\#ChannelInjectedConversion,InjNumberOfConversion,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,ExternalTrigConv,EnableAnalogWatchDog
ADC2.InjNumberOfConversion=0
ADC2.InjectedOffset-1\#ChannelInjectedConversion=0
ADC2.InjectedOffset-2\#ChannelInjectedConversion=0
ADC2.InjectedOffset-3\#ChannelInjectedConversion=0
ADC2.InjectedOffset-4\#ChannelInjectedConversion=0
ADC2.NbrOfConversion=1
ADC2.NbrOfConversionFlag=1
ADC2.Rank-0\#ChannelRegularConversion=1
ADC2.Rank-1\#ChannelInjectedConversion=1
ADC2.Rank-2\#ChannelInjectedConversion=2
ADC2.Rank-3\#ChannelInjectedConversion=3
ADC2.Rank-4\#ChannelInjectedConversion=4
ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-1\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-2\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-3\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.SamplingTime-4\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5
ADC2.ScanConvMode=ADC_SCAN_DISABLE
Dma.I2C1_RX.0.Direction=DMA_PERIPH_TO_MEMORY
Dma.I2C1_RX.0.Instance=DMA1_Channel7
Dma.I2C1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.I2C1_RX.0.MemInc=DMA_MINC_ENABLE
Dma.I2C1_RX.0.Mode=DMA_NORMAL
Dma.I2C1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.I2C1_RX.0.PeriphInc=DMA_PINC_DISABLE
Dma.I2C1_RX.0.Priority=DMA_PRIORITY_MEDIUM
Dma.I2C1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.I2C1_TX.1.Direction=DMA_MEMORY_TO_PERIPH
Dma.I2C1_TX.1.Instance=DMA1_Channel6
Dma.I2C1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.I2C1_TX.1.MemInc=DMA_MINC_ENABLE
Dma.I2C1_TX.1.Mode=DMA_NORMAL
Dma.I2C1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.I2C1_TX.1.PeriphInc=DMA_PINC_DISABLE
Dma.I2C1_TX.1.Priority=DMA_PRIORITY_MEDIUM
Dma.I2C1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.Request0=I2C1_RX
Dma.Request1=I2C1_TX
Dma.RequestsNb=2
FREERTOS.FootprintOK=true
FREERTOS.INCLUDE_vTaskDelete=0
FREERTOS.IPParameters=Tasks01,configTICK_RATE_HZ,configMAX_PRIORITIES,configMINIMAL_STACK_SIZE,configTOTAL_HEAP_SIZE,INCLUDE_vTaskDelete,FootprintOK
FREERTOS.Tasks01=GUITask,0,512,StartGUITask,Default,NULL,Dynamic,NULL,NULL;PIDTask,0,256,StartPIDTask,Default,NULL,Dynamic,NULL,NULL;ROTTask,-2,256,StartRotationTask,Default,NULL,Dynamic,NULL,NULL
FREERTOS.configMAX_PRIORITIES=4
FREERTOS.configMINIMAL_STACK_SIZE=256
FREERTOS.configTICK_RATE_HZ=100
FREERTOS.configTOTAL_HEAP_SIZE=10240
File.Version=6
I2C1.DutyCycle=I2C_DUTYCYCLE_2
I2C1.I2C_Mode=I2C_Fast
I2C1.IPParameters=I2C_Mode,DutyCycle
IWDG.IPParameters=Prescaler
IWDG.Prescaler=IWDG_PRESCALER_256
KeepUserPlacement=false
Mcu.Family=STM32F1
Mcu.IP0=ADC1
Mcu.IP1=ADC2
Mcu.IP10=TIM3
Mcu.IP2=DMA
Mcu.IP3=FREERTOS
Mcu.IP4=I2C1
Mcu.IP5=IWDG
Mcu.IP6=NVIC
Mcu.IP7=RCC
Mcu.IP8=SYS
Mcu.IP9=TIM2
Mcu.IPNb=11
Mcu.Name=STM32F103T(8-B)Ux
Mcu.Package=VFQFPN36
Mcu.Pin0=PA0-WKUP
Mcu.Pin1=PA2
Mcu.Pin10=PA11
Mcu.Pin11=PA12
Mcu.Pin12=PA13
Mcu.Pin13=PA14
Mcu.Pin14=PA15
Mcu.Pin15=PB3
Mcu.Pin16=PB4
Mcu.Pin17=PB5
Mcu.Pin18=PB6
Mcu.Pin19=PB7
Mcu.Pin2=PA3
Mcu.Pin20=VP_FREERTOS_VS_ENABLE
Mcu.Pin21=VP_IWDG_VS_IWDG
Mcu.Pin22=VP_SYS_VS_ND
Mcu.Pin23=VP_SYS_VS_tim1
Mcu.Pin24=VP_TIM2_VS_ClockSourceINT
Mcu.Pin25=VP_TIM2_VS_no_output1
Mcu.Pin26=VP_TIM2_VS_no_output3
Mcu.Pin27=VP_TIM3_VS_ClockSourceINT
Mcu.Pin28=VP_TIM3_VS_no_output4
Mcu.Pin3=PA4
Mcu.Pin4=PA6
Mcu.Pin5=PB0
Mcu.Pin6=PB1
Mcu.Pin7=PA8
Mcu.Pin8=PA9
Mcu.Pin9=PA10
Mcu.PinsNb=29
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32F103T8Ux
MxCube.Version=4.26.0
MxDb.Version=DB.4.0.260
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.DMA1_Channel6_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.DMA1_Channel7_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.I2C1_ER_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.I2C1_EV_IRQn=true\:5\:0\:false\:false\:true\:true\:true
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:true
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:true
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:true\:true
NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.TimeBase=TIM1_UP_IRQn
NVIC.TimeBaseIP=TIM1
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true
PA0-WKUP.GPIOParameters=GPIO_Label
PA0-WKUP.GPIO_Label=RM
PA0-WKUP.Locked=true
PA0-WKUP.Signal=GPIO_Output
PA10.GPIOParameters=GPIO_Label
PA10.GPIO_Label=QC_DM_11K
PA10.Locked=true
PA10.Signal=GPIO_Output
PA11.GPIOParameters=GPIO_Label
PA11.GPIO_Label=USB_DM
PA11.Locked=true
PA11.Signal=GPIO_Analog
PA12.GPIOParameters=GPIO_Label
PA12.GPIO_Label=USB_DP
PA12.Locked=true
PA12.Signal=GPIO_Analog
PA13.GPIOParameters=GPIO_Label
PA13.GPIO_Label=QC_DP_SENSE
PA13.Locked=true
PA13.Signal=GPIO_Input
PA14.GPIOParameters=GPIO_Label
PA14.GPIO_Label=QC_DM_SENSE
PA14.Locked=true
PA14.Signal=GPIO_Input
PA15.GPIOParameters=GPIO_Label
PA15.GPIO_Label=OLED_RESET
PA15.Locked=true
PA15.Signal=GPIO_Output
PA2.GPIOParameters=GPIO_Label
PA2.GPIO_Label=ADC_VIN
PA2.Locked=true
PA2.Signal=ADCx_IN2
PA3.GPIOParameters=GPIO_Label
PA3.GPIO_Label=ADC_TIP
PA3.Locked=true
PA3.Signal=ADCx_IN3
PA4.GPIOParameters=GPIO_Label
PA4.GPIO_Label=ADC_TMP36
PA4.Locked=true
PA4.Signal=ADCx_IN4
PA6.GPIOParameters=GPIO_Label
PA6.GPIO_Label=PWM Out
PA6.Locked=true
PA6.Signal=S_TIM3_CH1
PA8.GPIOParameters=GPIO_Label
PA8.GPIO_Label=QC_DM_3K
PA8.Locked=true
PA8.Signal=GPIO_Output
PA9.GPIOParameters=GPIO_Label
PA9.GPIO_Label=MODEL_SEL
PA9.Locked=true
PA9.Signal=GPIO_Input
PB0.GPIOParameters=GPIO_Label
PB0.GPIO_Label=KEY_A
PB0.Locked=true
PB0.Signal=GPIO_Input
PB1.GPIOParameters=GPIO_Label
PB1.GPIO_Label=KEY_B
PB1.Locked=true
PB1.Signal=GPIO_Input
PB3.GPIOParameters=GPIO_Label
PB3.GPIO_Label=QC_DP_3K
PB3.Locked=true
PB3.Signal=GPIO_Output
PB4.GPIOParameters=GPIO_Label
PB4.GPIO_Label=IMU_INT2
PB4.Locked=true
PB4.Signal=GPXTI4
PB5.GPIOParameters=GPIO_Label
PB5.GPIO_Label=IMU_INT1
PB5.Locked=true
PB5.Signal=GPXTI5
PB6.GPIOParameters=GPIO_Label
PB6.GPIO_Label=SCL
PB6.Mode=I2C
PB6.Signal=I2C1_SCL
PB7.GPIOParameters=GPIO_Label
PB7.GPIO_Label=SDA
PB7.Mode=I2C
PB7.Signal=I2C1_SDA
PCC.Checker=false
PCC.Line=STM32F103
PCC.MCU=STM32F103T(8-B)Ux
PCC.PartNumber=STM32F103T8Ux
PCC.Seq0=0
PCC.Series=STM32F1
PCC.Temperature=25
PCC.Vdd=3.3
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
ProjectManager.CompilerOptimize=3
ProjectManager.ComputerToolchain=false
ProjectManager.CoupleFile=false
ProjectManager.CustomerFirmwarePackage=
ProjectManager.DefaultFWLocation=true
ProjectManager.DeletePrevious=true
ProjectManager.DeviceId=STM32F103T8Ux
ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.6.1
ProjectManager.FreePins=true
ProjectManager.HalAssertFull=false
ProjectManager.HeapSize=0x200
ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=1
ProjectManager.MainLocation=Src
ProjectManager.PreviousToolchain=SW4STM32
ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=TS80.ioc
ProjectManager.ProjectName=TS80
ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=SW4STM32
ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=false
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_I2C1_Init-I2C1-false-HAL-true,4-SystemClock_Config-RCC-false-HAL-true,5-MX_TIM3_Init-TIM3-false-HAL-true,6-MX_IWDG_Init-IWDG-false-HAL-true,7-MX_TIM2_Init-TIM2-false-HAL-true,8-MX_ADC1_Init-ADC1-false-HAL-true,9-MX_ADC2_Init-ADC2-false-HAL-true
RCC.ADCFreqValue=8000000
RCC.ADCPresc=RCC_ADCPCLK2_DIV8
RCC.AHBFreq_Value=64000000
RCC.APB1CLKDivider=RCC_HCLK_DIV16
RCC.APB1Freq_Value=4000000
RCC.APB1TimFreq_Value=8000000
RCC.APB2Freq_Value=64000000
RCC.APB2TimFreq_Value=64000000
RCC.FCLKCortexFreq_Value=64000000
RCC.FamilyName=M
RCC.HCLKFreq_Value=64000000
RCC.IPParameters=ADCFreqValue,ADCPresc,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSourceVirtual,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,USBPrescaler
RCC.MCOFreq_Value=64000000
RCC.PLLCLKFreq_Value=64000000
RCC.PLLMCOFreq_Value=32000000
RCC.PLLMUL=RCC_PLL_MUL16
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI_DIV2
RCC.SYSCLKFreq_VALUE=64000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.TimSysFreq_Value=64000000
RCC.USBFreq_Value=42666666.666666664
RCC.USBPrescaler=RCC_USBCLKSOURCE_PLL_DIV1_5
SH.ADCx_IN2.0=ADC1_IN2,IN2
SH.ADCx_IN2.ConfNb=1
SH.ADCx_IN3.0=ADC1_IN3,IN3
SH.ADCx_IN3.1=ADC2_IN3,IN3
SH.ADCx_IN3.ConfNb=2
SH.ADCx_IN4.0=ADC1_IN4,IN4
SH.ADCx_IN4.ConfNb=1
SH.GPXTI4.0=GPIO_EXTI4
SH.GPXTI4.ConfNb=1
SH.GPXTI5.0=GPIO_EXTI5
SH.GPXTI5.ConfNb=1
SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1
SH.S_TIM3_CH1.ConfNb=1
TIM2.Channel-PWM\ Generation1\ No\ Output=TIM_CHANNEL_1
TIM2.Channel-PWM\ Generation3\ No\ Output=TIM_CHANNEL_3
TIM2.IPParameters=Channel-PWM Generation1 No Output,Channel-PWM Generation3 No Output
TIM3.Channel-Output\ Compare4\ No\ Output=TIM_CHANNEL_4
TIM3.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
TIM3.ClockDivision=TIM_CLOCKDIVISION_DIV4
TIM3.IPParameters=Channel-PWM Generation1 CH1,OCFastMode_PWM-PWM Generation1 CH1,ClockDivision,Prescaler,Period,Channel-Output Compare4 No Output,OCMode_4,Pulse-Output Compare4 No Output
TIM3.OCFastMode_PWM-PWM\ Generation1\ CH1=TIM_OCFAST_ENABLE
TIM3.OCMode_4=TIM_OCMODE_ACTIVE
TIM3.Period=65535
TIM3.Prescaler=2000
TIM3.Pulse-Output\ Compare4\ No\ Output=65000
VP_FREERTOS_VS_ENABLE.Mode=Enabled
VP_FREERTOS_VS_ENABLE.Signal=FREERTOS_VS_ENABLE
VP_IWDG_VS_IWDG.Mode=IWDG_Activate
VP_IWDG_VS_IWDG.Signal=IWDG_VS_IWDG
VP_SYS_VS_ND.Mode=No_Debug
VP_SYS_VS_ND.Signal=SYS_VS_ND
VP_SYS_VS_tim1.Mode=TIM1
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
VP_TIM2_VS_ClockSourceINT.Mode=Internal
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
VP_TIM2_VS_no_output1.Mode=PWM Generation1 No Output
VP_TIM2_VS_no_output1.Signal=TIM2_VS_no_output1
VP_TIM2_VS_no_output3.Mode=PWM Generation3 No Output
VP_TIM2_VS_no_output3.Signal=TIM2_VS_no_output3
VP_TIM3_VS_ClockSourceINT.Mode=Internal
VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
VP_TIM3_VS_no_output4.Mode=Output Compare4 No Output
VP_TIM3_VS_no_output4.Signal=TIM3_VS_no_output4
board=TS100

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,130 @@
#!/bin/bash
# TS100 Flasher for Linux by Alex Wigen (https://github.com/awigen)
DIR_TMP="/tmp/ts100"
function usage() {
echo
echo "#################"
echo "# TS100 Flasher #"
echo "#################"
echo
echo " Usage: $0 <HEXFILE>"
echo
echo "This script has been tested to work on Fedora."
echo "If you experience any issues please open a ticket at:"
echo "https://github.com/Ralim/ts100/issues/new"
echo
}
GAUTOMOUNT=0
function disable_gautomount {
GSETTINGS=`which gsettings`
if [ $? -ne 0 ]; then
return 1
fi
gsettings get org.gnome.desktop.media-handling automount | grep true > /dev/null
if [ $? -eq 0 ]; then
GAUTOMOUNT=1
gsettings set org.gnome.desktop.media-handling automount false
fi
}
function enable_gautomount {
if [ "$GAUTOMOUNT" -ne 0 ]; then
gsettings set org.gnome.desktop.media-handling automount true
fi
}
function is_attached {
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU\\\\x20Disk'`
if [ $? -ne 0 ]; then
return 1
fi
DEVICE=`echo $output | awk '{print "/dev/"$1}'`
}
instructions="not printed"
function wait_for_ts100 {
is_attached
while [ $? -ne 0 ]; do
if [ "$instructions" = "not printed" ]; then
echo
echo "#####################################################"
echo "# Waiting for TS100 config disk device to appear #"
echo "# #"
echo "# Connect the soldering iron with a USB cable while #"
echo "# holding the button closest to the tip pressed #"
echo "#####################################################"
echo
instructions="printed"
fi
sleep 0.1
is_attached
done
}
function mount_ts100 {
mkdir -p "$DIR_TMP"
sudo mount -t msdos -o uid=$UID "$DEVICE" "$DIR_TMP"
if [ $? -ne 0 ]; then
echo "Failed to mount $DEVICE on $DIR_TMP"
exit 1
fi
}
function umount_ts100 {
mountpoint "$DIR_TMP" > /dev/null && sudo umount "$DIR_TMP"
if [ $? -ne 0 ]; then
echo "Failed to unmount $DIR_TMP"
exit 1
fi
rmdir "$DIR_TMP"
}
function cleanup {
enable_gautomount
if [ -d "$DIR_TMP" ]; then
umount_ts100
fi
}
trap cleanup EXIT
if [ "$#" -ne 1 ]; then
echo "Please provide a HEX file to flash"
usage
exit 1
fi
if [ ! -f "$1" ]; then
echo "'$1' is not a regular file, please provide a HEX file to flash"
usage
exit 1
fi
if [ `head -c1 "$1"` != ":" ] || [ `tail -n1 "$1" | head -c1` != ":" ]; then
echo "'$1' doesn't look like a valid HEX file. Please provide a HEX file to flash"
usage
exit 1
fi
disable_gautomount
wait_for_ts100
echo "Found TS100 config disk device on $DEVICE"
mount_ts100
echo "Mounted config disk drive, flashing..."
cp -v "$1" "$DIR_TMP/ts100.hex"
sync
echo "Waiting for TS100 to flash"
sleep 5
echo "Remounting config disk drive"
umount_ts100
wait_for_ts100
mount_ts100
echo "Flash result: "
ls "$DIR_TMP"/ts100*

89
History.md Normal file
View File

@@ -0,0 +1,89 @@
# Version Changes
V2.00
* Complete re-write of the low layer system to use the STM32 HAL for easier development
* This allowed easier setup for the new ADC auto measuring system
* Better tip PWM control
* Moved to FreeRTOS for scheduling
* Complete re-write from blank
* Added detailed screen views
* Added smaller font for said screen views
V1.17
* Added blinking cooldown display
* Allowed smaller sleep timeout values
* New font!
* Automatic startup option
V1.16
* Added automatic rotation support
* Added power display graph
V1.15
* 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.
V1.13
* Swapped buttons for menu to prevent accidentally changing first menu item
* 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.
V1.11
* Boost mode
* Change sensitivity options to be 1*8
V1.10
* Adds help text to settings
* Improves settings for the display update rate
V1.09
* Adds display modes, for slowing down or simplifying the display
V1.08
* Fix settings menu not showing flip display
V1.07
* Adds shutdown time to automatically shutdown the iron after inactivity
V1.06
* Changes H and C when the iron is heating to the minidso chevron like images
V1.05
* Adds ability to calibrate the input voltage measurement
V1.04
* Increased accuracy of the temperature control
* Improved PID response slightly
* Allows temperature offset calibration
* Nicer idle screen
V1.03
* Improved Button handling
* Ability to set motion sensitivity
* DC voltmeter page shows input voltage
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).

46
ISSUE_TEMPLATE.md Normal file
View File

@@ -0,0 +1,46 @@
Please edit this template and fill out all the information you can (where relevant). Failure to provide essential information can delay the response you receive.
* **I'm submitting a ...**
- [ ] Bug report
- [ ] Feature request
- [ ] Translation
* **Do you want to request a *feature* or report a *bug*?**
* **What is the current behavior?**
* **What is the expected behavior?**
* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem**
***Steps to reproduce:***
1.
2.
3.
***Video of problem if hard to reproduce***
* **What is the motivation / use case for changing the behavior?**
* **What are you running:**
On the idle screen, you can hold the settings button and it will show you the firmware version.
- Firmware Version: 2.x
- PCB Version: (1/2)
- Power Supply (Voltage and Current Rating) :
* **Other information**
If submitting graphics to go on the iron, please use BMP or PNG files over JPG.

674
LICENSE Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

29
PULL_REQUEST_TEMPLATE.md Normal file
View File

@@ -0,0 +1,29 @@
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)
* **What kind of change does this PR introduce?**
(Bug fix, feature, docs update, ...)
* **What is the current behavior?**
(You can also link to an open issue here)
* **What is the new behavior (if this is a feature change)?**
* **Does this PR introduce a breaking change?**
(What changes might users need to make in their application due to this PR?)
* **Other information**:

167
README.md
View File

@@ -1,88 +1,139 @@
# TS100
This is a complete re-write of the open source software for the ts100 soldering iron.
This project is feature complete for use as a soldering iron, but is still open to ideas and suggestions.
This project was started to remove the need for USB for changing system settings.
In the latest official firmware they have also added a settings menu system, so it is still worth comparing the two firmwares to select your preferred option.
This is a complete rewrite of the open source software for the ts100 soldering iron.
The version two fork of this code has no shared code with the original firmware from Miniware (E-design) group.
This project is considered feature complete for use as a soldering iron, *so please suggest any feature improvements you would like!*
A short(ish) video that goes through every single menu option in the firmware is available [over here](https://www.youtube.com/watch?v=WlnpboYfxNk).
This video was created on an earlier 1.x version of the firmware, so alot has changed but should be fairly intuitive as the menu has vastly improved.
*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.*
*Please note that when running the iron off a Lithium battery pack, the Iron is only rated to 24V input. So using a fully charged 6S battery *slightly* exceeds this rating, and is done so at your own risk.
Please calibrate your irons voltage reading when you are using a lithium battery after any firmware upgrades.*
## Features
* Soldering / Temperature control
* Full PID iron temperature control
* PID iron temperature control
* Automatic sleep with selectable sensitivity
* Motion wake support
* Settings menu
* Input voltage UVLO measurement for battery powered use
* All settings saved
* Settings menu on the unit
* Set a voltage lower limit for Lithium batteries so you dont kill your battery pack
* All settings saved to flash when you exit the menu
* Improved readability Fonts
* Use hardware features to improve reliability
* Can disable movement detection if desired
* Calibration of the temperature offset
* Calibration of the thermocouple offset
* Boost mode lets you temporarily change the temperature when soldering (ie raise temperature for short periods of time)
* Battery charge level indicatior if power source set to a lipo cell count.
* Custom bootup logo support
* Automatic LCD rotation based on orientation
* Supports both the version 1 and version 2 hardware
# Upgrading your ts100 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)
**You will need a windows computer (7,8,10 tested), using the normal windows explorer to load the firmware.
The bootloader does not appear to work under mac or linux at the moment.**
## Upgrading your ts100 iron
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 your done! Otherwise something went wrong.
7. Disconnect the USB and power up the iron. You're good to go.
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 *ts100_EN.hex* unless you want the translations, they are ts100_*language short name*.hex.
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. Disable Teracopy or other Explorer replacements.
2. Hold the button closest to the tip, and plug in the USB to the computer.
3. The unit will appear as a USB drive.
4. Drag the .hex file onto the USB drive.
5. The unit will disconnect and reconnect.
6. The filename will have changed to end in .RDY (=success) or .ERR (=error)
7. If it ends with .RDY you're done! Otherwise something went wrong, retry. E.g. try to copy the firmware with the windows command line tool "copy" instead of explorer
8. Disconnect the USB and power up the iron. You're good to go.
For the more adventurerous 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). Please do not use the backup of the bootloader for anything malicious, its only saved here for those who are tinkering with their iron and decide to replace it.
# New Menu System
## 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.
## New 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 power input enters the settings menu.
-> Pressing both buttons together enters the Extras menu
* 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.
## Soldering mode
In this mode the iron works as you would expect, pressing either button will take you to a temperature change screen. Use each button to go up and down in temperature. Pressing both buttons will exit you from the temperature menu (or wait 3 seconds and it will time out).
Pressing both buttons will also exit the soldering mode.
In this mode the iron works as you would expect, pressing either button will take you to a temperature change screen.
Use each button to go up and down in temperature. Pressing both buttons will exit you from the temperature menu (or wait 3 seconds and it will time out).
Pressing both buttons or holding the button near the USB will exit the soldering mode.
Holding the button at the front of the iron will enter boost mode (if enabled).
## Settings Menu
This menu allows you to cycle through all the options and set their values.
The button near the tip cycles through the options, and the one near the usb changes the selected option.
Note that settings are not saved until you exit the menu, and some settings such as screen flip do not apply until a power cycle is applied.
The button near the USB cycles through the options, and the one near the tip changes the selected option.
Note that settings are not saved until you exit the menu.
If you leave the unit alone (ie don't press any buttons) on a setting, after 3 seconds the screen will scroll a rough description of the setting.
* UVCO -> Undervoltage cut out level, settable in 1V increments from 10-24V
* SLTME -> Sleep time, how long it takes before the unit goes to sleep
* STMP -> The temperature the unit drops to in sleep mode
* SHTME -> Shutdown Time, how long the unit will wait after movement before shutting down completely
* MOTION -> Wether motion detection is enabled or not
* TMPUNIT -> Temperature unit, C or F
* FLPDSP -> Flip display for left handed users
* SENSE -> Motion Sensitivity, H is more sensitive. L is lowest sensitivity (ie takes more movement to trigger)
The menu is arranged so that the most often used settings are first.
With submenu's being selected to enter using the front button (as if you were going to change the setting).
Scrolling through the submenu will return you back to its entry location after you scroll through all of the options.
## Extras Menu
This menu defaults to showing the current temperature on the tip.
Pressing the button near the iron tip will show the current input voltage. Pressing the other button while this is show will allow you to calibrate the reading if your iron is like mine and is not overly accurate out of the factory. (Press buttons to change measurement up and down, press both to exit and save).
### Calibrating input voltage
Pressing the button near the usb enters the temperature offset setting menu, when the iron is cold, pressing the other button will start the unit calibrating for any offset in the tip temperature.
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.
# Version Changes:
V1.06
- Changes H and C when the iron is heating to the minidso chevron like images
To calibrate your Iron:
V1.05
- Adds ability to calibrate the input voltage measurement
1. Measure the input voltage with a multimeter and note it down.
2. Connect the input to your iron.
3. Enter the settings menu
4. Under the advanced submenu
5. Select the calibrate voltage option
6. Use the front and back buttons to adjust the displayed voltage to minimise the error to your origional measurement
7. Hold both buttons to save and exit to the menu
V1.04
- Increased accuracy of the temperature control
- Improved PID response slightly
- Allows temperature offset calibration
- Nicer idle screen
### Calibrating tip offset
V1.03
- Improved Button handling
- Ability to set motion sensitivity
- DC voltmeter page shows input voltage
Some tips will have an offset on their readings, to calibrate this out perform the following steps:
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).
1. Connect power to your iron
2. Make sure the tip is at room temperature (ie. wait for a fair while after using the iron before calibration)
3. Enter the settings menu
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.
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.
### Boost mode
This allows you to change the front key (one near the tip) to become a boost button when you hold it for > 2 seconds. This allows you to set this button to change the soldering temperature for short periods. For example when soldering a big joint and you want to boost the temperature a bit.
The boost temperature is set in the settings menu.
## Thanks
If you love this firmware and want to continue my caffine addiction, you can do so here (or email me for other options) : https://paypal.me/RalimTek
## Licence
The code in this repository that is based on the STM tools is under a BSD like licence.
The code created by the communitiy is GNU GPLv3.
The FreeRToS is under its 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.

BIN
TS100.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -1,173 +0,0 @@
#MicroXplorer Configuration settings - do not modify
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_7
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master
ADC1.NbrOfConversionFlag=1
ADC1.Rank-0\#ChannelRegularConversion=1
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.master=1
ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_9
ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag
ADC2.NbrOfConversionFlag=1
ADC2.Rank-0\#ChannelRegularConversion=1
ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
File.Version=6
KeepUserPlacement=false
Mcu.Family=STM32F1
Mcu.IP0=ADC1
Mcu.IP1=ADC2
Mcu.IP2=I2C1
Mcu.IP3=NVIC
Mcu.IP4=RCC
Mcu.IP5=SYS
Mcu.IP6=USB
Mcu.IPNb=7
Mcu.Name=STM32F103T(8-B)Ux
Mcu.Package=VFQFPN36
Mcu.Pin0=PA6
Mcu.Pin1=PA7
Mcu.Pin10=PB3
Mcu.Pin11=PB4
Mcu.Pin12=PB5
Mcu.Pin13=PB6
Mcu.Pin14=PB7
Mcu.Pin15=VP_SYS_VS_Systick
Mcu.Pin2=PB0
Mcu.Pin3=PB1
Mcu.Pin4=PA8
Mcu.Pin5=PA9
Mcu.Pin6=PA11
Mcu.Pin7=PA12
Mcu.Pin8=PA13
Mcu.Pin9=PA14
Mcu.PinsNb=16
Mcu.UserConstants=
Mcu.UserName=STM32F103T8Ux
MxCube.Version=4.16.1
MxDb.Version=DB.4.0.161
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true
PA11.Mode=Device
PA11.Signal=USB_DM
PA12.Mode=Device
PA12.Signal=USB_DP
PA13.Locked=true
PA13.Mode=Serial_Wire
PA13.Signal=SYS_JTMS-SWDIO
PA14.Locked=true
PA14.Mode=Serial_Wire
PA14.Signal=SYS_JTCK-SWCLK
PA6.GPIOParameters=GPIO_Label
PA6.GPIO_Label=K2
PA6.Locked=true
PA6.Signal=GPIO_Input
PA7.GPIOParameters=GPIO_Label
PA7.GPIO_Label=TMP36_INPUT
PA7.Locked=true
PA7.Signal=ADCx_IN7
PA8.GPIOParameters=GPIO_Label
PA8.GPIO_Label=OLED_RESET
PA8.Locked=true
PA8.Signal=GPIO_Output
PA9.GPIOParameters=GPIO_Label
PA9.GPIO_Label=K1
PA9.Locked=true
PA9.Signal=GPIO_Input
PB0.GPIOParameters=GPIO_Label
PB0.GPIO_Label=IRON_TEMP
PB0.Locked=true
PB0.Signal=ADCx_IN8
PB1.GPIOParameters=GPIO_Label
PB1.GPIO_Label=Vb_DC_VOLTAGE
PB1.Locked=true
PB1.Signal=ADCx_IN9
PB3.GPIOParameters=GPIO_Label
PB3.GPIO_Label=INT2
PB3.Locked=true
PB3.Signal=GPXTI3
PB4.GPIOParameters=GPIO_Label
PB4.GPIO_Label=Po_IRON_POWER_CONTROL
PB4.Locked=true
PB4.Signal=GPIO_Output
PB5.GPIOParameters=GPIO_Label
PB5.GPIO_Label=INT1
PB5.Locked=true
PB5.Signal=GPXTI5
PB6.Mode=I2C
PB6.Signal=I2C1_SCL
PB7.Mode=I2C
PB7.Signal=I2C1_SDA
PCC.Checker=false
PCC.Line=STM32F103
PCC.MCU=STM32F103T(8-B)Ux
PCC.MXVersion=4.16.1
PCC.PartNumber=STM32F103T8Ux
PCC.Seq0=0
PCC.Series=STM32F1
PCC.Temperature=25
PCC.Vdd=3.3
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
ProjectManager.CompilerOptimize=2
ProjectManager.ComputerToolchain=false
ProjectManager.CoupleFile=false
ProjectManager.DeletePrevious=true
ProjectManager.DeviceId=STM32F103T8Ux
ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.4.0
ProjectManager.FreePins=false
ProjectManager.HalAssertFull=true
ProjectManager.HeapSize=0x200
ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=1
ProjectManager.PreviousToolchain=SW4STM32
ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=TS100.ioc
ProjectManager.ProjectName=TS100
ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=SW4STM32
ProjectManager.ToolChainLocation=C\:\\Users\\Ralim\\Repo\\ts100\\TS100
ProjectManager.UnderRoot=true
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false,2-MX_I2C1_Init-I2C1-false,3-MX_ADC2_Init-ADC2-false,4-MX_USB_PCD_Init-USB-false,5-MX_ADC1_Init-ADC1-false
RCC.ADCFreqValue=12000000
RCC.ADCPresc=RCC_ADCPCLK2_DIV4
RCC.AHBFreq_Value=48000000
RCC.APB1CLKDivider=RCC_HCLK_DIV2
RCC.APB1Freq_Value=24000000
RCC.APB1TimFreq_Value=48000000
RCC.APB2Freq_Value=48000000
RCC.APB2TimFreq_Value=48000000
RCC.FCLKCortexFreq_Value=48000000
RCC.FamilyName=M
RCC.HCLKFreq_Value=48000000
RCC.IPParameters=ADCFreqValue,ADCPresc,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSource,PLLSourceVirtual,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value
RCC.MCOFreq_Value=48000000
RCC.PLLCLKFreq_Value=48000000
RCC.PLLMCOFreq_Value=24000000
RCC.PLLMUL=RCC_PLL_MUL12
RCC.PLLSource=RCC_PLLSOURCE_HSI_DIV2
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI_DIV2
RCC.SYSCLKFreq_VALUE=48000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.TimSysFreq_Value=48000000
RCC.USBFreq_Value=48000000
SH.ADCx_IN7.0=ADC1_IN7,IN7
SH.ADCx_IN7.ConfNb=1
SH.ADCx_IN8.0=ADC1_IN8,IN8
SH.ADCx_IN8.ConfNb=1
SH.ADCx_IN9.0=ADC2_IN9,IN9
SH.ADCx_IN9.ConfNb=1
SH.GPXTI3.0=GPIO_EXTI3
SH.GPXTI3.ConfNb=1
SH.GPXTI5.0=GPIO_EXTI5
SH.GPXTI5.ConfNb=1
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
board=TS100

View File

@@ -0,0 +1,245 @@
<!doctype html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="translations_commons.js"></script>
<title>TS100 Bitmap Editor</title>
<style>
.matrix {
display: inline-block;
padding: 0px 0px 1px 1px ;
background-color: #666;
margin-top: 1em;
margin-bottom: 1em;
}
.matrix * {
font-size:0;
}
.c {
margin:1px 1px 0px 0px;
display: inline-block;
background-color: #fff;
height:10px;
width: 10px;
}
.x {
background-color: #000;
}
.header {
}
.data input, .data textarea {
margin-top: 1em;
width: 100%;
}
.actions {
}
</style>
<script>
var ink, pressed, ev;
function mousedown(e) {
c = window.event.target;
classes = c.className.split(" ");
if (classes.indexOf("c")<0) {
return;
}
ink = classes.indexOf("x")<0;
pressed = true;
ev = e;
enter(e);
}
function mouseup(e) {
ev = e;
pressed = false;
}
function enter(e) {
if (!pressed) {
return;
}
ev = e;
c = window.event.target;
paint(c, ink);
stringFromMatrix();
}
function paint(c, ink) {
var cellInk = isInk(c);
if (ink) {
if (!cellInk) {
c.className += " x";
}
} else {
if (cellInk) {
c.className = "c";
}
}
}
function isInk(c) {
try {
var classes = c.className.split(" ");
return classes.indexOf("x") >= 0;
} catch(e) {
return false;
}
}
function getMatrix() {
return document.getElementById("matrix");
}
function getCoordinatesFromId(str) {
i = str.indexOf('_');
return {
row: parseInt(str.substring(1, i)),
col: parseInt(str.substring(i+1))
}
}
function clearMatrix() {
for (var r = 0; r < app.matrix.rows; r++) {
for (var c = 0; c < app.matrix.cols; c++) {
paint(getCell(r, c), false);
}
}
}
function getCell(row, col) {
return document.getElementById("C"+row+"_"+col);
}
function toMatrix(str) {
app.encodedData = str;
clearMatrix();
var strs = str.split(/[ ,]/);
var pair = false;
var c = 0;
var rs = 7;
for (var i = 0; i<strs.length; i++) {
var d = strs[i];
if (d.length > 0) {
if (startsWith(d, "0x")) {
v = parseInt(d.substring(2), 16);
} else {
v = parseInt(d);
}
sv = padLeft(v.toString(2), "0", 8);
for (r = 0; r < 8; r++) {
paint(getCell(rs - r, c), sv.charAt(r) == '1');
}
c++;
if (c >= app.matrix.cols) {
c = 0;
rs += 8;
}
}
}
}
function stringFromMatrix() {
var str = "";
var delim = "";
var blocks = app.matrix.rows / 8;
var rs = 7;
for (var block = 0; block < blocks; block++) {
for (var c = 0; c < app.matrix.cols; c++) {
var b = 0;
for (var r = 0; r < 8; r++) {
var cell = document.getElementById("C"+(rs-r)+"_"+c);
if (isInk(cell)) {
b |= (1 << (7-r));
}
}
str += delim + "0x" + padLeft(b.toString(16).toUpperCase(), "0", 2);
delim = ",";
}
rs += 8;
}
app.encodedData = str;
return str;
}
function start() {
app = new Vue({
el : '#app',
data : {
matrix: {
cols: 12,
rows: 16
},
type: "big",
encodedData: ""
},
methods : {
VtoMatrix : function(val) {
toMatrix(val);
},
VchangeSize : function() {
if (app.type == "big") {
app.matrix.cols = 12;
app.matrix.rows = 16;
} else if (app.type == "small") {
app.matrix.cols = 6;
app.matrix.rows = 8;
} else if (app.type == "icon") {
app.matrix.cols = 16;
app.matrix.rows = 16;
} else if (app.type == "icon24") {
app.matrix.cols = 24;
app.matrix.rows = 16;
} else if (app.type == "screen") {
app.matrix.cols = 84;
app.matrix.rows = 16;
} else if (app.type == "fullscreen") {
app.matrix.cols = 96;
app.matrix.rows = 16;
}
stringFromMatrix();
}
}
});
toMatrix("0x00,0xF0,0x08,0x0E,0x02,0x02,0x02,0x02,0x0E,0x08,0xF0,0x00,0x00,0x3F,0x40,0x5C,0x5C,0x5C,0x5C,0x5C,0x5C,0x40,0x3F,0x00");
}
window.onload=start;
</script>
</head>
<body>
<div id="app">
<div class="header">
<select v-model="type" v-on:change="VchangeSize()">
<option value="small">Small Font (6x8)</option>
<option value="big">Big Font (12x16)</option>
<option value="icon">Icon (16x16)</option>
<option value="icon24">Icon (24x16)</option>
<option value="screen">Screen (84x16)</option>
<option value="fullscreen">Full Screen (96x16)</option>
</select>
</div>
<div id="matrix" class="matrix" onmousedown="mousedown(this)" onmouseup="mouseup(this)" ondragstart="return false">
<div :id="'R'+(r-1)" class="r" v-for="r in matrix.rows">
<div :id="'C'+(r-1)+'_'+(c-1)" class="c" onmouseenter="enter(this)" v-for="c in matrix.cols"></div>
</div>
</div>
<div class="actions">
<input type="button" value="Clear" onclick="clearMatrix();stringFromMatrix()">
</div>
<div class="data">
<textarea v-model="encodedData" style="width:100%" v-on:change="VtoMatrix(encodedData)" rows=5>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,353 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TS100 Translation Editor</title>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="translations_commons.js"></script>
<script src="translations_def.js"></script>
<script>
var app;
var defMap = {};
function save(){
saveJSON(app.current, "translation_"+app.current.languageCode.toLowerCase()+".json");
}
function view(){
showJSON(app.current, "translation_"+app.current.languageCode.toLowerCase()+".json");
}
function fileChanged(e) {
var target = e;
var id = target.id;
var file = target.files[0];
if (!file) {
return;
}
var fr = new FileReader();
fr.onload = function(e) {
try {
var json = JSON.parse(e.target.result);
} catch (ex) {
console.log(ex);
alert("Invalid JSON file: " + file.name);
return;
}
if (id == "referent-lang-file") {
if (checkTranslationFile(file.name)) {
app.referent = json;
app.meta.referentLoaded = true;
}
} else if (id == "current-lang-file") {
if (checkTranslationFile(file.name)) {
app.current = json;
if (!app.current.cyrillicGlyphs){
app.current.cyrillicGlyphs = false;
}
app.meta.currentLoaded = true;
}
}
synchronizeData();
}
fr.readAsText(file);
}
function synchronizeData() {
app.obsolete = {};
copyMissing(app.def.messages, app.referent.messages, app.current.messages);
copyMissing(app.def.characters, app.referent.characters, app.current.characters);
copyMissing(app.def.menuGroups, app.referent.menuGroups, app.current.menuGroups);
copyMissing(app.def.menuOptions, app.referent.menuOptions, app.current.menuOptions);
}
/**
* Copy all missing properties from referent to current
* for each entry in definition
*/
function copyMissing(defList, referentMap, currentMap) {
if (!isDefined(defList) || !isDefined(referentMap) || !isDefined(currentMap)) {
return;
}
var len = defList.length;
for (var i = 0; i < len; i++) {
var id = defList[i].id;
if (!isDefined(referentMap[id])) {
referentMap[id] = '';
}
if (!isDefined(currentMap[id])) {
currentMap[id] = referentMap[id];
}
}
processObsolete(defList, currentMap);
}
// Passes through all entries from the given map.
// If a corresponding entry is not found in the defList, it is removed from the map, and added into the obsolete map.
function processObsolete(defList, map) {
// Index list to map for faster search
var defMap = copyArrayToMap(defList);
Object.keys(map).forEach(function(key) {
if (!isDefined(defMap[key])) {
app.obsolete[key] = { id : key, value : map[key]};
delete map[key];
}
});
}
function length(obj, mode) {
if (!isDefined(mode) || mode == 0) {
// return direct length
return obj.length;
} else if (mode == 1) {
// return length of text property
return obj.text.length;
} else if (mode == 2) {
// return the longest length in text2 array
return Math.max(isDefinedNN(obj.text2[0]) ? obj.text2[0].length : 0, isDefinedNN(obj.text2[1]) ? obj.text2[1].length : 0);
}
}
function getAttribute(obj, attribute, isDouble) {
var d = isDouble ? "2" : "";
var v = obj[attribute+d];
if (isDefined(v))
return v;
return obj[attribute];
}
function loaded() {
app = new Vue({
el : '#app',
data : {
meta : {
referentLoaded : false,
currentLoaded : false,
},
def : {
},
referent : {
messages : {}
},
current : {
loaded: false,
},
obsolete : {},
menuDouble : false
},
methods : {
validateInput: function(valMap, id, mode) {
var d = defMap[id];
var vLen = 0;
if (!isDefined(mode))
mode = 0;
try {
// Sum for complex length
for (var i = 0; i < d.lenSum.fields.length; i++) {
vLen += length(valMap[d.lenSum.fields[i]], mode);
}
d = d.lenSum;
} catch (e) {
// Single field length
vLen = length(valMap[id], mode);
}
var maxLen = getAttribute(d, 'maxLen', mode == 2);
var minLen = getAttribute(d, 'minLen', mode == 2);
var len = getAttribute(d, 'len', mode == 2);
if (isNumber(maxLen) && vLen > maxLen
|| isNumber(minLen) && vLen < minLen
|| isNumber(len) && vLen != len
) {
return "invalid";
}
},
constraintString: function(e, d) {
var str = "";
var delim = "";
var v;
if (!isDefined(d) || d == false) {
d = "";
} else {
d = "2";
}
if (isDefinedNN(e.lenSum)) {
str = "len("+(e.lenSum.fields+"").replace(/,/g," + ")+") -> ";
e = e.lenSum;
}
v = getAttribute(e, 'len', d);
if (isNumber(v)) {
str += delim + "len=" + v;
delim = " and ";
}
v = getAttribute(e, 'minLen', d);
if (isNumber(v)) {
str += delim + "len>=" + v;
delim = " and ";
}
v = getAttribute(e, 'maxLen', d);
if (isNumber(v)) {
str += delim + "len<=" + v;
delim = " and ";
}
return str;
}
}
});
app.def = def;
copyArrayToMap(app.def.messages, defMap);
copyArrayToMap(app.def.characters, defMap);
copyArrayToMap(app.def.menuGroups, defMap);
copyArrayToMap(app.def.menuOptions, defMap);
}
window.onload=loaded;
</script>
<link href="translations.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="app">
<h1>TS100 Translation Editor<span v-if="meta.currentLoaded"> - {{ current.languageLocalName }} [{{current.languageCode}}]</span></h1>
<table class="header data">
<tr>
<td class="label">Referent Language</td>
<td class="value">
<input type="file" id="referent-lang-file" onchange="fileChanged(this)" accept=".json">
<span class="selected" v-if="meta.referentLoaded">{{ referent.languageLocalName }} [{{referent.languageCode}}]</span>
</td>
</tr>
<tr v-if="meta.referentLoaded">
<td class="label">Current Language</td>
<td class="value">
<input type="file" id="current-lang-file" onchange="fileChanged(this)" accept=".json">
<span class="selected" v-if="meta.currentLoaded">{{ current.languageLocalName }} [{{current.languageCode}}]</span>
</td>
</tr>
<tr v-if="meta.currentLoaded">
<td class="label">Local Language Code</td>
<td class="value"><input type="text" v-model="current.languageCode" maxlength="8" v-on:change="current.languageCode=current.languageCode.toUpperCase()" class="short"></td>
</tr>
<tr v-if="meta.currentLoaded">
<td class="label">Local Language Name</td>
<td class="value"><input type="text" v-model="current.languageLocalName" class="short"></td>
</tr>
<tr v-if="meta.currentLoaded">
<td class="label">Font table to use</td>
<td class="value">
<select v-model="current.cyrillicGlyphs" v-on:change="current.cyrillicGlyphs = current.cyrillicGlyphs=='true'">
<option value="false">Latin Extended</option>
<option value="true">Cyrillic Glyphs</option>
</select>
</td>
</tr>
</table>
<div v-if="def.messages && referent.messages && current.messages">
<div class="footer">
<input type="button" value="Save" onclick="save()">
<input type="button" value="View" onclick="view()">
</div>
<div v-if="Object.keys(obsolete).length > 0">
<h2>Obsolete</h2>
<table class="data">
<tr v-for="entry in obsolete">
<td class="label"><div class="stringId">{{entry.id}}</div></td>
<td class="value"><div class="ref">{{entry.value}}</div></td>
</tr>
</table>
</div>
<h2>Messages and Strings</h2>
<table class="data">
<tr v-for="message in def.messages" v-bind:class="validateInput(current.messages, message.id)">
<td class="label"><div class="stringId">{{message.id}}</div></td>
<td class="value">
<div class="constraint">{{constraintString(message)}}</div>
<div class="ref">{{referent.messages[message.id]}}</div>
<div class="note" v-if="message.note">{{message.note}}</div>
<div class="tran"><input :id="'in_'+message.id" type="text" v-model="current.messages[message.id]" v-bind:class="{unchanged : current.messages[message.id] == referent.messages[message.id], empty : current.messages[message.id]==''}"></div>
</td>
</tr>
</table>
<h2>Characters</h2>
<table class="data">
<tr v-for="char in def.characters" v-bind:class="validateInput(current.characters, char.id)">
<td class="label"><div class="stringId">{{char.id}}</div></td>
<td class="value">
<div class="constraint">{{constraintString(char)}}</div>
<div class="ref">{{referent.characters[char.id]}}</div>
<div class="tran"><input type="text" v-model="current.characters[char.id]" v-bind:class="{unchanged : current.characters[char.id] == referent.characters[char.id], empty : current.characters[char.id].length != 1}"></div>
</td>
</tr>
</table>
<h2>Menu Groups</h2>
<table class="data">
<tr v-for="menu in def.menuGroups" v-bind:class="validateInput(current.menuGroups, menu.id, 2)">
<td class="label"><div class="stringId">{{menu.id}}</div></td>
<td class="value">
<div class="label">Menu Name</div>
<div class="constraint">{{constraintString(menu)}}</div>
<div class="ref">{{referent.menuGroups[menu.id].text2}}</div>
<div class="tran" v-bind:class="{unchanged : current.menuGroups[menu.id].text2[0] == referent.menuGroups[menu.id].text2[0] && current.menuGroups[menu.id].text2[1] == referent.menuGroups[menu.id].text2[1], empty : current.menuGroups[menu.id].text2[0] == '' || current.menuGroups[menu.id].text2[1] == ''}"><input type="text" v-model="current.menuGroups[menu.id].text2[0]"><input type="text" v-model="current.menuGroups[menu.id].text2[1]"></div>
<div class="label">Description</div>
<div class="ref">{{referent.menuGroups[menu.id].desc}}</div>
<div class="tran"><input type="text" v-model="current.menuGroups[menu.id].desc" v-bind:class="{unchanged : current.menuGroups[menu.id].desc == referent.menuGroups[menu.id].desc, empty : current.menuGroups[menu.id].desc == ''}"></div>
</td>
</tr>
</table>
<h2>Menu Options</h2>
<table class="data">
<tr>
<td class="label">Menu Type</td>
<td class="value">
<select v-model="current.menuDouble" v-on:change="current.menuDouble = current.menuDouble=='true'">
<option value="false">Single-Line</option>
<option value="true">Double-Line</option>
</select>
</td>
</tr>
<tr v-for="menu in def.menuOptions" v-bind:class="validateInput(current.menuOptions, menu.id, (current.menuDouble ? 2 : 1))">
<td class="label"><div class="stringId">{{menu.id}}</div></td>
<td class="value">
<div v-bind:class="{hidden : current.menuDouble}">
<div class="label">Menu Name (Single-Line)</div>
<div class="constraint">{{constraintString(menu, current.menuDouble)}}</div>
<div class="ref">{{referent.menuOptions[menu.id].text}}</div>
<div class="tran"><input type="text" v-model="current.menuOptions[menu.id].text" v-bind:class="{unchanged : current.menuOptions[menu.id].text == referent.menuOptions[menu.id].text, empty : current.menuOptions[menu.id].text == ''}"></div>
</div>
<div v-bind:class="{hidden : !current.menuDouble}">
<div class="label">Menu Name (Double-Line)</div>
<div class="constraint">{{constraintString(menu, current.menuDouble)}}</div>
<div class="ref">{{referent.menuOptions[menu.id].text2}}</div>
<div class="tran" v-bind:class="{unchanged : current.menuOptions[menu.id].text2[0] == referent.menuOptions[menu.id].text2[0] && current.menuOptions[menu.id].text2[1] == referent.menuOptions[menu.id].text2[1], empty : current.menuOptions[menu.id].text2[0] == '' || current.menuOptions[menu.id].text2[1] == ''}"><input type="text" v-model="current.menuOptions[menu.id].text2[0]"><input type="text" v-model="current.menuOptions[menu.id].text2[1]"></div>
</div>
<div class="label">Description</div>
<div class="ref">{{referent.menuOptions[menu.id].desc}}</div>
<div class="tran"><input type="text" v-model="current.menuOptions[menu.id].desc" v-bind:class="{unchanged : current.menuOptions[menu.id].desc == referent.menuOptions[menu.id].desc, empty : current.menuOptions[menu.id].desc == ''}"></div>
</td>
</tr>
</table>
<div class="footer">
<input type="button" value="Save" onclick="save()">
<input type="button" value="View" onclick="view()">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,325 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TS100 Translation Parser</title>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="translations_commons.js"></script>
<script src="translations_def.js"></script>
<script>
var app;
var defMap = {};
var langMap = {};
var lang;
var defMsgMap;
var defCharMap;
var defGrpMap;
var defOptMap;
function save(langCode){
saveJSON(langMap[langCode], "translation_"+langCode.toLowerCase()+".json");
}
function view(langCode){
showJSON(langMap[langCode], "translation_"+langCode.toLowerCase()+".json");
}
function translationFileSelected(e) {
var target = e;
var id = target.id;
var file = target.files[0];
if (!file) {
return;
}
var fr = new FileReader();
fr.onload = function(e) {
parseTranslationFile(file.name, e.target.result);
}
fr.readAsText(file);
}
function parseTranslationFile(name, src) {
// remove multiline comments
src = src.replace(/\/\*[\s\S.]*?\*\//mg, "");
// remove single-line comments
src = src.replace(/\/\/.*/mg, "");
// remove empty lines
src = src.replace(/^\s*\n/gm, "");
var langCode = "";
var srcLines = src.split("\n");
var reMessage = /const\s+char\s*\*\s+([\w\d]+)\s*=\s*"(.*)"/;
var reSettingsDescStart = /const\s+char\s*\*\s+SettingsDescriptions\[/;
var reSettingsNamesStart = /const\s+char\s*\*\s+SettingsShortNames\[/;
var reSettingsMenuDescStart = /const\s+char\s*\*\s+SettingsMenuEntriesDescriptions\[/;
var reChar = /const\s+char\s+([\w\d]+)\s*=\s*'(\w)'/;
var reMenuMode = /SettingsShortNameType\s*=\s*SHORT_NAME_(\w+)_LINE/;
var reMenuStart = /\s*const\s+char\s*\*\s+SettingsMenuEntries\[/;
// var reString = /^\s*"(.*)"/;
var reString = /"(.*)"/;
var reSingleLine = /{\s*"(.*)"\s*}/;
var reDoubleLine = /{\s*"(.*)"\s*,\s*"(.*)"\s*}/;
var mode = '';
var entryIndex = 0;
for (var li = 0; li < srcLines.length; li++) {
// trim lines
line = srcLines[li] = srcLines[li].trim();
// if entering a new lang block
if (startsWith(line, "#ifdef LANG_")) {
mode = 'new-language';
langCode = line.substring(12);
lang = langMap[langCode];
// use existing or instantiate new
if (!isDefined(lang)) {
lang = {
languageCode: langCode,
cyrillicGlyphs: false,
messages: {},
characters: {},
menuDouble : false,
menuGroups: {},
menuOptions: {}
};
langMap[langCode] = lang;
app.languages[app.languages.length] = langCode;
}
entryIndex = 0;
continue;
}
// Use Cyrillic glyphs
if (startsWith(line, "#define CYRILLIC_GLYPHS")) {
lang.cyrillicGlyphs = true;
entryIndex = 0;
continue;
}
// Menu type
reMenuMode.lastIndex = 0;
match = reMenuMode.exec(line);
if (match) {
lang.menuDouble = match[1] == 'DOUBLE';
entryIndex = 0;
continue;
}
// Messages
reMessage.lastIndex = 0;
match = reMessage.exec(line);
if (match) {
lang.messages[match[1]] = xunescape(match[2]);
entryIndex = 0;
continue;
}
// Chars descriptions
reChar.lastIndex = 0;
match = reChar.exec(line);
if (match) {
// found description block start
mode = 'char';
lang.characters[match[1]] = xunescape(match[2]);
entryIndex = 0;
continue;
}
// Settings descriptions
reSettingsDescStart.lastIndex = 0;
match = reSettingsDescStart.exec(line);
if (match) {
// found description block start
mode = 'settingsDesc';
entryIndex = 0;
continue;
}
reSettingsNamesStart.lastIndex = 0;
match = reSettingsNamesStart.exec(line);
if (match) {
// found description block start
mode = 'settingsNames';
entryIndex = 0;
continue;
}
reMenuStart.lastIndex = 0;
match = reMenuStart.exec(line);
if (match) {
// found description block start
mode = 'menu';
entryIndex = 0;
continue;
}
reSettingsMenuDescStart.lastIndex = 0;
match = reSettingsMenuDescStart.exec(line);
if (match) {
// found description block start
mode = 'menuDesc';
entryIndex = 0;
continue;
}
if (mode == 'menu') {
// processing menu group names
reString.lastIndex = 0;
match = reString.exec(line);
if (match) {
// found description string
var entry = getMenuGroup(entryIndex);
var m = match[1].split("\\n");
entry.text2[0] = xunescape(m[0]);
entry.text2[1] = xunescape(m[1]);
entryIndex++;
}
} else if (mode == 'menuDesc') {
// processing menu group descriptions
reString.lastIndex = 0;
match = reString.exec(line);
if (match) {
// found description string
var entry = getMenuGroup(entryIndex);
entry.desc = xunescape(match[1]);
entryIndex++;
}
} else if (mode == 'settingsDesc') {
// processing option descriptions
reString.lastIndex = 0;
match = reString.exec(line);
if (match) {
// found description string
var entry = getMenuOption(entryIndex);
entry.desc = xunescape(match[1]);
entryIndex++;
}
} else if (mode == 'settingsNames') {
reDoubleLine.lastIndex = 0;
match = reDoubleLine.exec(line);
if (match) {
var entry = getMenuOption(entryIndex);
entry.text2[0] = xunescape(match[1]);
entry.text2[1] = xunescape(match[2]);
entryIndex++;
} else {
reSingleLine.lastIndex = 0;
match = reSingleLine.exec(line);
if (match) {
var entry = getMenuOption(entryIndex);
entry.text = xunescape(match[1]);
entryIndex++;
}
}
}
}
app.done = 1;
}
function getMenuOption(entryIndex) {
var optionDef = def.menuOptions[entryIndex];
if (!isDefined(optionDef)) {
var s = "Could not find menu option with index "+entryIndex;
alert(s);
throw s;
}
var id = optionDef.id;
var entry = lang.menuOptions[id];
if (!isDefined(entry)) {
entry =
{
"text": "",
"text2": ["", ""],
"desc": ""
}
lang.menuOptions[id] = entry;
}
return entry;
}
function getMenuGroup(entryIndex) {
var optionDef = def.menuGroups[entryIndex];
if (!isDefined(optionDef)) {
var s = "Could not find menu group with index "+entryIndex;
alert(s);
throw s;
}
var id = optionDef.id;
var entry = lang.menuGroups[id];
if (!isDefined(entry)) {
entry =
{
"text2": ["", ""],
"desc": ""
}
lang.menuGroups[id] = entry;
}
return entry;
}
function markSaved(lang) {
document.getElementById("row_"+lang).classList.add("saved");
}
function loaded() {
app = new Vue({
el : '#app',
data : {
languages: [],
done : false,
def : {
}
},
methods : {
vSave : function(lang) {
save(lang);
markSaved(lang);
},
vView : function(lang) {
view(lang);
markSaved(lang);
}
}
});
app.def = def;
defMsgMap = copyArrayToMap(app.def.messages);
defCharMap = copyArrayToMap(app.def.characters);
defGrpMap = copyArrayToMap(app.def.menuGroups);
defOptMap = copyArrayToMap(app.def.menuOptions);
}
window.onload=loaded;
</script>
<link href="translations.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="app">
<h1>TS100 Translation Parser</h1>
<table class="header data">
<tr>
<td class="label">Translation.cpp</td>
<td class="value">
<input type="file" id="translation-cpp-file" onchange="translationFileSelected(this)" accept=".cpp">
</td>
</tr>
</table>
<div class="data" v-if="done">
<div class="value" v-for="lang in languages" :id="'row_'+lang">
<input type="button" :value="'Save '+lang" v-on:click="vSave(lang)">
<input type="button" :value="'View '+lang" v-on:click="vView(lang)">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,246 @@
#!/usr/bin/env python
from __future__ import print_function
import json
import os
import io
import sys
TRANSLATION_CPP = "Translation.cpp"
try :
to_unicode = unicode
except NameError:
to_unicode = str
# Loading a single JSON file
def loadJson(fileName, skipFirstLine):
with io.open(fileName, mode="r", encoding="utf-8") as f:
if skipFirstLine:
f.readline()
obj = json.loads(f.read())
return obj
# Reading all language translations into a dictionary by langCode
def readTranslations(jsonDir):
langDict = {}
# Read all translation files from the input dir
for fileName in os.listdir(jsonDir):
fileWithPath = os.path.join(jsonDir, fileName)
lf = fileName.lower()
# Read only translation_XX.json
if lf.startswith("translation_") and lf.endswith(".json"):
try:
lang = loadJson(fileWithPath, False)
except json.decoder.JSONDecodeError as e:
print("Failed to decode " + lf)
print(str(e))
sys.exit(2)
# Extract lang code from file name
langCode = fileName[12:-5].upper()
# ...and the one specified in the JSON file...
try:
langCodeFromJson = lang['languageCode']
except KeyError:
langCodeFromJson = "(missing)"
# ...cause they should be the same!
if langCode != langCodeFromJson:
raise ValueError("Invalid languageCode " + langCodeFromJson + " in file " + fileName)
langDict[langCode] = lang
return langDict
def writeStart(f):
f.write(to_unicode("""// WARNING: THIS FILE WAS AUTO GENERATED BY make_translation.py. PLEASE DO NOT EDIT.
#include "Translation.h"
#ifndef LANG
#define LANG_EN
#endif
"""))
def escapeC(s):
return s.replace("\"", "\\\"")
def writeLanguage(languageCode, defs, f):
print("Generating block for " + languageCode)
lang = langDict[languageCode]
f.write(to_unicode("\n#ifdef LANG_" + languageCode + "\n"))
try:
langName = lang['languageLocalName']
except KeyError:
langName = languageCode
f.write(to_unicode("// ---- " + langName + " ----\n\n"))
try:
cyrillic = lang['cyrillicGlyphs']
except KeyError:
cyrillic = False
if cyrillic :
f.write(to_unicode("#define CYRILLIC_GLYPHS\n\n"))
# ----- Writing SettingsDescriptions
obj = lang['menuOptions']
f.write(to_unicode("const char* SettingsDescriptions[] = {\n"))
maxLen = 25
for mod in defs['menuOptions']:
eid = mod['id']
if 'feature' in mod:
f.write(to_unicode("#ifdef " + mod['feature'] + "\n"))
f.write(to_unicode(" /* " + eid.ljust(maxLen)[:maxLen] + " */ "))
f.write(to_unicode("\"" + escapeC(obj[eid]['desc']) + "\",\n"))
if 'feature' in mod:
f.write(to_unicode("#endif\n"))
f.write(to_unicode("};\n\n"))
# ----- Writing Message strings
obj = lang['messages']
for mod in defs['messages']:
eid = mod['id']
f.write(to_unicode("const char* " + eid + " = \"" + escapeC(obj[eid]) + "\";\n"))
f.write(to_unicode("\n"))
# ----- Writing Characters
obj = lang['characters']
for mod in defs['characters']:
eid = mod['id']
f.write(to_unicode("const char " + eid + " = '" + obj[eid] + "';\n"))
f.write(to_unicode("\n"))
# ----- Menu Options
# Menu type
f.write(to_unicode("const enum ShortNameType SettingsShortNameType = SHORT_NAME_" + ("DOUBLE" if lang['menuDouble'] else "SINGLE") + "_LINE;\n"))
# ----- Writing SettingsDescriptions
obj = lang['menuOptions']
f.write(to_unicode("const char* SettingsShortNames[][2] = {\n"))
maxLen = 25
for mod in defs['menuOptions']:
eid = mod['id']
if 'feature' in mod:
f.write(to_unicode("#ifdef " + mod['feature'] + "\n"))
f.write(to_unicode(" /* " + eid.ljust(maxLen)[:maxLen] + " */ "))
if lang['menuDouble']:
f.write(to_unicode("{ \"" + escapeC(obj[eid]['text2'][0]) + "\", \"" + escapeC(obj[eid]['text2'][1]) + "\" },\n"))
else:
f.write(to_unicode("{ \"" + escapeC(obj[eid]['text']) + "\" },\n"))
if 'feature' in mod:
f.write(to_unicode("#endif\n"))
f.write(to_unicode("};\n\n"))
# ----- Writing Menu Groups
obj = lang['menuGroups']
f.write(to_unicode("const char* SettingsMenuEntries[" + str(len(obj)) + "] = {\n"))
maxLen = 25
for mod in defs['menuGroups']:
eid = mod['id']
f.write(to_unicode(" /* " + eid.ljust(maxLen)[:maxLen] + " */ "))
f.write(to_unicode("\"" + escapeC(obj[eid]['text2'][0] + "\\n" + obj[eid]['text2'][1]) + "\",\n"))
f.write(to_unicode("};\n\n"))
# ----- Writing Menu Groups Descriptions
obj = lang['menuGroups']
f.write(to_unicode("const char* SettingsMenuEntriesDescriptions[" + str(len(obj)) + "] = {\n"))
maxLen = 25
for mod in defs['menuGroups']:
eid = mod['id']
f.write(to_unicode(" /* " + eid.ljust(maxLen)[:maxLen] + " */ "))
f.write(to_unicode("\"" + escapeC(obj[eid]['desc']) + "\",\n"))
f.write(to_unicode("};\n\n"))
# ----- Block end
f.write(to_unicode("#endif\n"))
def read_opts():
""" Reading input parameters
First parameter = json directory
Second parameter = target directory
"""
if len(sys.argv) > 1:
jsonDir = sys.argv[1]
else:
jsonDir = "."
if len(sys.argv) > 2:
outFile = sys.argv[2]
else:
outDir = os.path.relpath(jsonDir + "/../workspace/TS100/src/")
outFile = os.path.join(outDir, TRANSLATION_CPP)
if len(sys.argv) > 3:
raise Exception("Too many parameters!")
return jsonDir, outFile
def orderOutput(langDict):
# These languages go first
mandatoryOrder = ['EN']
# Then add all others in alphabetical order
sortedKeys = sorted(langDict.keys())
# Add the rest as they come
for key in sortedKeys:
if key not in mandatoryOrder:
mandatoryOrder.append(key)
return mandatoryOrder
def writeTarget(outFile, defs, langCodes):
# Start writing the file
with io.open(outFile, 'w', encoding='utf-8', newline="\n") as f:
writeStart(f)
for langCode in langCodes:
writeLanguage(langCode, defs, f)
if __name__ == "__main__":
try:
jsonDir, outFile = read_opts()
except:
print("usage: make_translation.py {json dir} {cpp dir}")
sys.exit(1)
print("Making " + outFile + " from " + jsonDir)
langDict = readTranslations(jsonDir)
defs = loadJson(os.path.join(jsonDir, "translations_def.js"), True)
langCodes = orderOutput(langDict)
writeTarget(outFile, defs, langCodes)
print("Done")

View File

@@ -0,0 +1,233 @@
{
"languageCode": "BG",
"languageLocalName": "Български",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Уверете се, че човката на поялника е със стайна температура преди да продължите!",
"SettingsResetWarning": "Сигурни ли сте, че искате да върнете фабричните настройки?",
"UVLOWarningString": "Ниско V!",
"UndervoltageString": "Ниско Напрежение",
"InputVoltageString": "Входно V: ",
"WarningTipTempString": "Темп.: ",
"BadTipString": "ЛОШ ВРЪХ",
"SleepingSimpleString": "Сън",
"SleepingAdvancedString": "Хър Хър Хър...",
"WarningSimpleString": "ОХ!",
"WarningAdvancedString": "ВНИМАНИЕ! ТОПЛО!",
"SleepingTipAdvancedString": "Връх:",
"IdleTipString": "Връх:",
"IdleSetString": " Set:",
"TipDisconnectedString": "ВРЪХ ЛОША ВРЪЗКА",
"SolderingAdvancedPowerPrompt": "Захранване: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Поялник",
"Настройки"
],
"desc": "Настройки на поялника"
},
"PowerSavingMenu": {
"text2": [
"Режими",
"Настройки"
],
"desc": "Настройки енергоспестяване"
},
"UIMenu": {
"text2": [
"Интерфейс",
"Настройки"
],
"desc": "Настройки на интерфейса"
},
"AdvancedMenu": {
"text2": [
"Разширени",
"Настройки"
],
"desc": "Допълнителни настройки"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Източник",
"захранване"
],
"desc": "Източник на захранване. Минимално напрежение. <DC 10V> <S 3.3V за клетка>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Темп.",
"сън"
],
"desc": "Температура при режим \"сън\" <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Време",
"сън"
],
"desc": "Включване в режим \"сън\" след: <Минути/Секунди>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Време",
"изкл."
],
"desc": "Изключване след <Минути>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Усещане",
"за движение"
],
"desc": "Усещане за движение <0.Изключено 1.Слабо 9.Силно>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Единици за",
"температура"
],
"desc": "Единици за температура <C=Целзии F=Фаренхайт>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Детайлен",
"екран в покой"
],
"desc": "Покажи детайлна информация със ситен шрифт на екрана в режим на покой."
},
"DisplayRotation": {
"text": "",
"text2": [
"Ориентация",
"на дисплея"
],
"desc": "Ориентация на дисплея <A. Автоматично L. Лява Ръка R. Дясна Ръка>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Турбо режим",
"пуснат"
],
"desc": "Ползвай предния бутон за \"турбо\" режим с температура до 450C при запояване"
},
"BoostTemperature": {
"text": "",
"text2": [
"Турбо",
"темп."
],
"desc": "Температура за \"турбо\" режим"
},
"AutoStart": {
"text": "",
"text2": [
"Автоматичен",
"работен режим"
],
"desc": "Режим на поялника при включване на захранването. T=Работен, S=Сън, F=Изключен"
},
"CooldownBlink": {
"text": "",
"text2": [
"Мигай при",
"топъл поялник"
],
"desc": "След изключване от работен режим, индикатора за температура да мига докато човката на поялника все още е топла"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Калибриране",
"температура?"
],
"desc": "Калибриране на температурата"
},
"SettingsReset": {
"text": "",
"text2": [
"Фабрични",
"настройки?"
],
"desc": "Връщане на фабрични настройки"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Калибриране",
"напрежение?"
],
"desc": "Калибриране на входното напрежение (VIN). Задръжте бутонa за изход"
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Детайлен",
"работен екран"
],
"desc": "Детайлна информация в работен режим при запояване"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Скорост",
"на текста"
],
"desc": "Скорост на движение на този текст"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "CS",
"languageLocalName": "Český",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Ujistěte se, že hrot má pokojovou teplotu!",
"SettingsResetWarning": "Opravdu chcete resetovat zařízení do továrního nastavení?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "! Nízké napětí !",
"InputVoltageString": "Napětí: ",
"WarningTipTempString": "Teplota: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Režim spánku...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "!! HORKÝ HROT !!",
"SleepingTipAdvancedString": "Hrot:",
"IdleTipString": "Hrot:",
"IdleSetString": " Cíl:",
"TipDisconnectedString": "HROT NEPŘIPOJEN",
"SolderingAdvancedPowerPrompt": "Ohřev: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "P",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "P"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Pájecí",
"nastavení"
],
"desc": "Nastavení pájení (boost, auto start...)"
},
"PowerSavingMenu": {
"text2": [
"Režim",
"spánku"
],
"desc": "Nastavení režimu spánku, automatického vypnutí..."
},
"UIMenu": {
"text2": [
"Uživatelské",
"rozhraní"
],
"desc": "Nastavení uživatelského rozhraní."
},
"AdvancedMenu": {
"text2": [
"Pokročilé",
"volby"
],
"desc": "Pokročilé volby (detailní obrazovky, kalibrace, tovární nastavení...)"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Zdroj",
"napájení"
],
"desc": "Při nižším napětí ukončí pájení <DC=10V, ?S=?x3.3V pro LiPo,LiIon...>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Teplota v",
"r. spánku"
],
"desc": "Teplota v režimu spánku."
},
"SleepTimeout": {
"text": "",
"text2": [
"Čas do",
"r. spánku"
],
"desc": "Čas do režimu spánku <Minut/Sekund>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Čas do",
"vypnutí"
],
"desc": "Čas do automatického vypnutí <Minut>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Citlivost",
"det. pohybu"
],
"desc": "Citlivost detekce pohybu <0=Vyp, 1=Min, ... 9=Max>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Jednotky",
"teploty"
],
"desc": "Jednotky měření teploty <C=Celsius, F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Podrobnosti",
"na vých. obr."
],
"desc": "Zobrazit podrobnosti na výchozí obrazovce?"
},
"DisplayRotation": {
"text": "",
"text2": [
"Orientace",
"obrazovky"
],
"desc": "Orientace obrazovky <A=Auto, L=Levák, P=Pravák>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Povolit",
"boost"
],
"desc": "Povolit boost držením předního tlačítka při pájení?"
},
"BoostTemperature": {
"text": "",
"text2": [
"Teplota v",
"r. boost"
],
"desc": "Teplota v režimu boost."
},
"AutoStart": {
"text": "",
"text2": [
"Auto",
"start"
],
"desc": "Při startu ihned nahřát hrot?"
},
"CooldownBlink": {
"text": "",
"text2": [
"Blikáni při",
"chladnutí"
],
"desc": "Blikání teploty při chladnutí, dokud je hrot horký?"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Kalibrovat",
"teplotu?"
],
"desc": "Kalibrace měření teploty."
},
"SettingsReset": {
"text": "",
"text2": [
"Tovární",
"nastavení?"
],
"desc": "Obnovení továrního nastavení."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Kalibrovat",
"vstupní napětí?"
],
"desc": "Kalibrace vstupního napětí. Tlačítky uprav, podržením potvrď."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Podrobnosti",
"při pájení"
],
"desc": "Zobrazit podrobnosti při pájení?"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Rychlost",
"popisků"
],
"desc": "Rychlost skrolování popisků podobných tomuto <P=Pomalu,R=Rychle>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "DA",
"languageLocalName": "Dansk",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Sørg for at loddespidsen er ved stuetemperatur, inden du fortsætter!",
"SettingsResetWarning": "Are you sure to reset settings to default values?",
"UVLOWarningString": "Lav Volt",
"UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Dvale...",
"WarningSimpleString": "Varm",
"WarningAdvancedString": "VARM LODDESPIDS!",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
],
"desc": "Soldering settings"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
],
"desc": "Power Saving Settings"
},
"UIMenu": {
"text2": [
"User",
"Interface"
],
"desc": "User Interface settings"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
],
"desc": "Advanced options"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"",
""
],
"desc": "Strømforsyning. Indstil Cutoff Spændingen. <DC 10V <S 3.3V per cell"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"",
""
],
"desc": "Dvale Temperatur <C"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"",
""
],
"desc": "Dvale Timeout <Minutter/Sekunder"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"",
""
],
"desc": "sluknings Timeout <Minutter"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"",
""
],
"desc": "Bevægelsesfølsomhed <0.Slukket 1.Mindst følsom 9.Mest følsom"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"",
""
],
"desc": "Temperatur Enhed <C=Celsius F=Fahrenheit"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"",
""
],
"desc": "Vis detialieret information med en mindre skriftstørrelse på standby skærmen."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"",
""
],
"desc": "Skærm Orientering <A. Automatisk V. Venstre Håndet H. Højre Håndet"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"",
""
],
"desc": "Ved tryk på front knap Aktiveres boost-funktionen, 450C tilstand når der loddes"
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"",
""
],
"desc": "Temperatur i \"boost\" mode"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"",
""
],
"desc": "Start automatisk med lodning når strøm sættes til. L=Lodning, D= Dvale tilstand,S=Slukket"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"",
""
],
"desc": "Blink temperaturen på skærmen, mens spidsen stadig er varm."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"",
""
],
"desc": "kalibrere spids temperatur."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"",
""
],
"desc": "Gendan alle indstillinger"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"",
""
],
"desc": "VIN kalibrering. Knapperne justere, Lang tryk for at gå ud"
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"",
""
],
"desc": "Vis detialieret information mens der loddes"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"",
""
],
"desc": "Speed this text scrolls past at"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "DE",
"languageLocalName": "Deutsch",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibrierung abgeschlossen!",
"SettingsCalibrationWarning": "Vor dem Fortfahren muss die Lötspitze vollständig abgekühlt sein!",
"SettingsResetWarning": "Sind Sie sicher, dass Sie alle Werte zurücksetzen wollen?",
"UVLOWarningString": "V niedr.",
"UndervoltageString": "Unterspannung",
"InputVoltageString": "V Eingang: ",
"WarningTipTempString": "Temperatur: ",
"BadTipString": "DEFEKT",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Ruhemodus...",
"WarningSimpleString": "HEIß",
"WarningAdvancedString": "! Achtung Heiß !",
"SleepingTipAdvancedString": "Temp:",
"IdleTipString": "Ist:",
"IdleSetString": " Soll:",
"TipDisconnectedString": "Spitze fehlt",
"SolderingAdvancedPowerPrompt": "Leistung: ",
"OffString": "Aus"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Löt-",
"einstellungen"
],
"desc": "Löteinstellungen"
},
"PowerSavingMenu": {
"text2": [
"Schlaf-",
"modus"
],
"desc": "Energiespareinstellungen"
},
"UIMenu": {
"text2": [
"Menü-",
"einstellungen"
],
"desc": "Menüeinstellungen"
},
"AdvancedMenu": {
"text2": [
"Erweiterte",
"Einstellungen"
],
"desc": "Erweiterte Einstellungen"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Spannungs-",
"quelle"
],
"desc": "Spannungsquelle (Abschaltspannung) <DC=10V, nS=n*3.3V für n LiIon-Zellen>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Ruhetemp-",
"eratur"
],
"desc": "Ruhetemperatur (In der eingestellten Einheit)"
},
"SleepTimeout": {
"text": "",
"text2": [
"Ruhever-",
"zögerung"
],
"desc": "Ruhemodus nach <Sekunden/Minuten>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Abschalt-",
"zeit"
],
"desc": "Abschalten nach <Minuten>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Bewegungs-",
"empfindlichk."
],
"desc": "Bewegungsempfindlichkeit <0=Aus, 1=Minimal ... 9=Maximal>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Temperatur-",
"einheit"
],
"desc": "Temperatureinheit <C=Celsius, F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Detaillierte",
"Ruheansicht"
],
"desc": "Detaillierte Anzeige im Ruhemodus <J=An, N=Aus>"
},
"DisplayRotation": {
"text": "",
"text2": [
"Anzeige-",
"ausrichtung"
],
"desc": "Ausrichtung der Anzeige <A=Automatisch, L=Linkshändig, R=Rechtshändig>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Boosttaste",
"aktiv?"
],
"desc": "Vordere Taste für Temperaturboost verwenden <J=An, N=Aus>"
},
"BoostTemperature": {
"text": "",
"text2": [
"Boosttemp-",
"eratur"
],
"desc": "Temperatur im Boostmodus (In der eingestellten Einheit)"
},
"AutoStart": {
"text": "",
"text2": [
"Start im",
"Lötmodus?"
],
"desc": "Automatischer Start des Lötmodus beim Einschalten der Spannungsversorgung. <J=An, N=Aus>"
},
"CooldownBlink": {
"text": "",
"text2": [
"Abkühl-",
"blinken?"
],
"desc": "Blinkende Temperaturanzeige beim Abkühlen, solange heiß. <J=An, N=Aus>"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Temperatur",
"kalibrieren?"
],
"desc": "Kalibrierung der Lötspitzentemperatur"
},
"SettingsReset": {
"text": "",
"text2": [
"Einstellungen",
"zurücksetzen?"
],
"desc": "Alle Einstellungen zurücksetzen"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Eingangsspannung",
"kalibrieren?"
],
"desc": "Kalibrierung der Eingangsspannung. Kurzer Tastendruck zum Einstellen, langer Tastendruck zum Verlassen."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Detaillierte",
"Lötansicht"
],
"desc": "Detaillierte Anzeige im Lötmodus <J=An, N=Aus>"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Scroll-",
"geschw."
],
"desc": "Scrollgeschwindigkeit der Texte"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Löt-",
"spitze"
],
"desc": "Auswahl der Lötspitze"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Einfache",
"Kalibrierung"
],
"desc": "Einfache Kalibrierung mittels heißem Wasser"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Erweiterte",
"Kalibrierung"
],
"desc": "Erweiterte Kalibrierung mittels eines Thermoelements an der Lötspitze"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Leistungs-",
"aufnahme"
],
"desc": "Leistungsaufnahme der verwendeten Spannungsversorgung"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "EN",
"languageLocalName": "English",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"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: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Sleeping...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "!!! TIP HOT !!!",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
],
"desc": "Soldering settings"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
],
"desc": "Power saving settings"
},
"UIMenu": {
"text2": [
"User",
"Interface"
],
"desc": "User interface settings"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
],
"desc": "Advanced options"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"Power",
"source"
],
"desc": "Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Sleep",
"temp"
],
"desc": "Sleep Temperature <C>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Sleep",
"timeout"
],
"desc": "Sleep Timeout <Minutes/Seconds>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Shutdown",
"timeout"
],
"desc": "Shutdown Timeout <Minutes>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Motion",
"sensitivity"
],
"desc": "Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Temperature",
"units"
],
"desc": "Temperature Unit <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Detailed",
"idle screen"
],
"desc": "Display detailed information in a smaller font on the idle screen."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"Display",
"orientation"
],
"desc": "Display Orientation <A. Automatic L. Left Handed R. Right Handed>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost mode",
"enabled"
],
"desc": "Enable front key enters boost mode 450C mode when soldering"
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Boost",
"temp"
],
"desc": "Temperature when in \"boost\" mode"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Auto",
"start"
],
"desc": "Automatically starts the iron into soldering on power up. T=Soldering, S= Sleep mode,F=Off"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Cooldown",
"blink"
],
"desc": "Blink the temperature on the cooling screen while the tip is still hot."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Calibrate",
"temperature?"
],
"desc": "Calibrate tip offset."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Factory",
"Reset?"
],
"desc": "Reset all settings"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Calibrate",
"input voltage?"
],
"desc": "VIN Calibration. Buttons adjust, long press to exit"
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Detailed",
"solder screen"
],
"desc": "Display detailed information while soldering"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Scrolling",
"Speed"
],
"desc": "Speed this text scrolls past at"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "ES",
"languageLocalName": "Español",
"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",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "En reposo...",
"WarningSimpleString": "TEMP",
"WarningAdvancedString": "¡PUNTA CALIENTE!",
"SleepingTipAdvancedString": "Punta:",
"IdleTipString": "Punta:",
"IdleSetString": " Aj:",
"TipDisconnectedString": "SIN PUNTA",
"SolderingAdvancedPowerPrompt": "POTENCIA: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "I",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Opciones de",
"Soldadura"
],
"desc": "Opciones de Soldadura"
},
"PowerSavingMenu": {
"text2": [
"Modos de",
"Reposo"
],
"desc": "Opciones de ahorro energético"
},
"UIMenu": {
"text2": [
"Interfaz",
"de Usuario"
],
"desc": "Opciones de interfaz de usuario"
},
"AdvancedMenu": {
"text2": [
"Opciones",
"Avanzadas"
],
"desc": "Opciones avanzadas"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"Fuente",
"de energía"
],
"desc": "Fuente de energía. Ajusta el límite inferior de voltaje. <DC=10V S=3.3V por celda>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Temp en",
"reposo"
],
"desc": "Temperatura en reposo. <C>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Tiempo h.",
"reposo"
],
"desc": "Tiempo hasta activar reposo. <Minutos>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Tiempo h.",
"apagado"
],
"desc": "Tiempo hasta apagado. <Minutos>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Sensibilidad",
"al movimiento"
],
"desc": "Sensibilidad del movimiento. <0=Apagado 1=El menos sensible 9=El más sensible>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Unidad de",
"temperatura"
],
"desc": "Unidad de temperatura."
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Más info en",
"modo inactivo"
],
"desc": "Muestra información detallada pequena en la pantalla inactiva."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"Orientación",
"de pantalla"
],
"desc": "Orientación de la pantalla <A=Automático I=Mano izquierda D=Mano derecha>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost botón",
"activado"
],
"desc": "Activar el botón \"Boost\" en modo soldadura."
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Temp en",
"Boost"
],
"desc": "Temperatura en modo \"Boost\". <C>"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Soldadura",
"al enchufar"
],
"desc": "Iniciar modo soldadura en el encendido. <V=Sí S=Modo reposo F=No>"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Parpadea m.",
"enfriamiento"
],
"desc": "Parpadea la temperatura en el enfriamiento si la punta sigue caliente."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Calibrar temp",
"de la punta"
],
"desc": "Calibrar desviación térmica de la punta."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Estado de",
"fábrica"
],
"desc": "Volver a estado de fábrica."
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Calibrar",
"V entrada"
],
"desc": "Calibración VIN (Voltaje de entrada). Ajuste con ambos botones, pulsación larga para salir."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Inf detallada",
"del soldadura"
],
"desc": "Mostrar información detallada mientras suelda."
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Velocidad",
"del texto"
],
"desc": "Velocidad de desplazamiento del texto."
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "FI",
"languageLocalName": "Suomi",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Varmista että kärki on huoneenlämpöinen ennen jatkamista!",
"SettingsResetWarning": "Haluatko varmasti palauttaa oletusarvot?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "Alijännite",
"InputVoltageString": "Jännite: ",
"WarningTipTempString": "Lämpötila: ",
"BadTipString": "VIKATILA",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Lepotila...",
"WarningSimpleString": "HOT",
"WarningAdvancedString": "! KÄRKI KUUMA !",
"SleepingTipAdvancedString": "Kärki:",
"IdleTipString": "Kärki:",
"IdleSetString": " Asetus:",
"TipDisconnectedString": "KÄRKI ON IRTI",
"SolderingAdvancedPowerPrompt": "Teho: ",
"OffString": "OFF"
},
"characters": {
"SettingRightChar": "O",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "N",
"SettingSlowChar": "H"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Juotos-",
"asetukset"
],
"desc": "Juotosasetukset"
},
"PowerSavingMenu": {
"text2": [
"Lepotilan",
"asetukset"
],
"desc": "Virransäästöasetukset"
},
"UIMenu": {
"text2": [
"Käyttö-",
"liittymä"
],
"desc": "Käyttöliittymän asetukset"
},
"AdvancedMenu": {
"text2": [
"Lisä-",
"asetukset"
],
"desc": "Lisäasetukset"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Virtalähde",
"DC"
],
"desc": "Käytettävä virtalähde. Asettaa katkaisujänniteen. <DC 10V, 3S=9.9V, 4S=13.2V, 5S=16.5V, 6S=19.8V>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Lepotilan",
"lämpötila"
],
"desc": "Lepotilan lämpötila. <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Lepotilan",
"viive"
],
"desc": "Lepotilan viive. <minuuttia/sekuntia>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Sammutus",
"viive"
],
"desc": "Automaattisen sammutuksen aikaviive. <minuuttia>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Liikkeen",
"herkkyys"
],
"desc": "Liikkeentunnistuksen herkkyys. <0=pois, 1=epäherkin, 9=herkin>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Lämpötilan",
"yksikkö"
],
"desc": "Lämpötilan yksikkö. <C=celsius, F=fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Tiedot",
"lepotilassa"
],
"desc": "Näyttää yksityiskohtaisemmat tiedot lepotilassa."
},
"DisplayRotation": {
"text": "",
"text2": [
"Näytön",
"kierto"
],
"desc": "Näytön kierto. <A=automaattinen O=oikeakätinen V=vasenkätinen>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Tehostus",
"käytössä"
],
"desc": "Etupainikeella siirrytään juotettaessa tehostustilaan."
},
"BoostTemperature": {
"text": "",
"text2": [
"Tehostus-",
"lämpötila"
],
"desc": "Tehostustilan lämpötila"
},
"AutoStart": {
"text": "",
"text2": [
"Autom.",
"käynnistys"
],
"desc": "Käynnistää virrat kytkettäessä juotostilan automaattisesti. T=juotostila, S=Lepotila, F=Ei käytössä"
},
"CooldownBlink": {
"text": "",
"text2": [
"Jäähdytyksen",
"vilkutus"
],
"desc": "Vilkuttaa jäähtyessä juotoskärjen lämpötilaa sen ollessa vielä vaarallisen kuuma."
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Kalibroi",
"lämpötila?"
],
"desc": "Kalibroi kärjen lämpötilaeron."
},
"SettingsReset": {
"text": "",
"text2": [
"Palauta",
"tehdasasetukset?"
],
"desc": "Palauta kaikki asetukset oletusarvoihin."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Kalibroi",
"tulojännite?"
],
"desc": "Tulojännitten kalibrointi (VIN). Painikkeilla säädetään ja pitkään painamalla poistutaan."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Tarkempi",
"juotosnäyttö"
],
"desc": "Näyttää yksityiskohtaisemmat tiedot juotostilassa."
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Tietojen",
"näyttönopeus"
],
"desc": "Näiden selitetekstien vieritysnopeus."
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "FR",
"languageLocalName": "Français",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration effectuée!",
"SettingsCalibrationWarning": "Assurez-vous que la panne soit à température ambiante avant de continuer!",
"SettingsResetWarning": "Voulez-vous vraiment réinitialiser les paramètres aux valeurs d'usine?",
"UVLOWarningString": "DC FAIBL",
"UndervoltageString": "Sous-tension",
"InputVoltageString": "V d'entrée:",
"WarningTipTempString": "Temp. Panne:",
"BadTipString": "PANNE HS",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "En veille...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "ATTENTION! CHAUD",
"SleepingTipAdvancedString": "Panne:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "PANNE DÉBRANCHÉE",
"SolderingAdvancedPowerPrompt": "Puissance: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "G",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Paramètres",
"de soudure"
],
"desc": "Paramètres de soudure"
},
"PowerSavingMenu": {
"text2": [
"Mode",
"veille"
],
"desc": "Paramètres d'économie d'énergie"
},
"UIMenu": {
"text2": [
"Interface",
"utilisateur"
],
"desc": "Paramètres de l'interface utilisateur"
},
"AdvancedMenu": {
"text2": [
"Options",
"avancées"
],
"desc": "Options avancées"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Source",
"d'alim"
],
"desc": "Source d'alimentation. Règle la tension de coupure <DC=10V S=3.3V par cellules>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Temp.",
"veille"
],
"desc": "Température en veille <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Délai",
"veille"
],
"desc": "Délai avant mise en veille <Minutes>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Délai",
"extinction"
],
"desc": "Délai avant extinction <Minutes>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Sensibilité",
"au mouvement"
],
"desc": "Sensibilité du capteur de mouvement <0=Inactif 1=Peu sensible 9=Tres sensible>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Unité de",
"température"
],
"desc": "Unité de température <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Écran veille",
"détaillé"
],
"desc": "Afficher des informations détaillées lors de la veille."
},
"DisplayRotation": {
"text": "",
"text2": [
"Orientation",
"de l'écran"
],
"desc": "Orientation de l'affichage <A=Automatique G=Gaucher D=Droitier>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Activation du",
"mode Boost"
],
"desc": "Activer le mode \"Boost\" en maintenant le bouton de devant pendant la soudure"
},
"BoostTemperature": {
"text": "",
"text2": [
"Temp.",
"Boost"
],
"desc": "Température du mode \"Boost\""
},
"AutoStart": {
"text": "",
"text2": [
"Démarrage",
"automatique"
],
"desc": "Démarrer automatiquement la soudure a l'allumage <A=Activé, V=Mode Veille, D=Désactivé>"
},
"CooldownBlink": {
"text": "",
"text2": [
"Refroidir en",
"clignotant"
],
"desc": "Faire clignoter la température lors du refroidissement tant que la panne est chaude."
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Étalonner",
"température"
],
"desc": "Étalonner température de la panne."
},
"SettingsReset": {
"text": "",
"text2": [
"Réinitialisation",
"d'usine"
],
"desc": "Réinitialiser tous les réglages"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Étalonner",
"tension d'entrée"
],
"desc": "Étalonner tension d'entrée. Boutons pour ajuster, appui long pour quitter"
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Écran soudure",
"détaillé"
],
"desc": "Afficher des informations détaillées pendant la soudure"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Vitesse de",
"défilement"
],
"desc": "Vitesse de défilement de ce texte en <R=Rapide L=Lent>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Panne",
"Modèle"
],
"desc": "Sélection du modèle de la panne"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Calibration",
"simple"
],
"desc": "Calibration simple à l'aide d'eau chaude"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Calibration",
"avancées"
],
"desc": "Calibration avancées à l'aide d'un thermocouple sur la panne"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Puissance de",
"l'alimentation"
],
"desc": "Puissance de l'alimentation utilisée"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "HR",
"languageLocalName": "Hrvatski",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibracija gotova!",
"SettingsCalibrationWarning": "Provjerite da je vršak ohlađen na sobnu temperaturu prije nego što nastavite!",
"SettingsResetWarning": "Jeste li sigurni da želite sve postavke vratiti na tvorničke vrijednosti?",
"UVLOWarningString": "BATERIJA",
"UndervoltageString": "PRENIZAK NAPON",
"InputVoltageString": "Napajanje: ",
"WarningTipTempString": "Temp vrha: ",
"BadTipString": "LOŠ VRH",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "SPAVANJE...",
"WarningSimpleString": "VRUĆ",
"WarningAdvancedString": "OPREZ, VRUĆE!",
"SleepingTipAdvancedString": "Vrh: ",
"IdleTipString": "Vrh: ",
"IdleSetString": " / ",
"TipDisconnectedString": "VRH NIJE SPOJEN!",
"SolderingAdvancedPowerPrompt": "Snaga: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "B",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Postavke",
"lemljenja"
],
"desc": "Postavke pri lemljenju"
},
"PowerSavingMenu": {
"text2": [
"Ušteda",
"energije"
],
"desc": "Postavke spavanja i štednje energije"
},
"UIMenu": {
"text2": [
"Korisničko",
"sučelje"
],
"desc": "Postavke korisničkog sučelja"
},
"AdvancedMenu": {
"text2": [
"Napredne",
"opcije"
],
"desc": "Upravljanje naprednim opcijama"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"Izvor",
"napajanja"
],
"desc": "Izvor napajanja. Postavlja napon isključivanja. <DC 10V> <S 3.3V po ćeliji>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Temp",
"spavanja"
],
"desc": "Temperatura na koju se spušta lemilica nakon određenog vremena mirovanja. <C/F>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Vrijeme",
"spavanja"
],
"desc": "Vrijeme mirovanja nakon kojega lemilica spušta temperaturu. <Minute/Sekunde>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Vrijeme",
"gašenja"
],
"desc": "Vrijeme mirovanja nakon kojega će se lemilica ugasiti. <Minute>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Osjetljivost",
"pokreta"
],
"desc": "Osjetljivost prepoznavanja pokreta. <0=Ugašeno, 1=Najmanje osjetljivo, 9=Najosjetljivije>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Jedinica",
"temperature"
],
"desc": "Jedinica temperature. <C=Celzij, F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Detalji",
"pri čekanju"
],
"desc": "Prikazivanje detaljnih informacija tijekom čekanja."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"Rotacija",
"ekrana"
],
"desc": "Orijentacija ekrana. <A=Automatski, L=Ljevoruki, D=Desnoruki>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost",
"način"
],
"desc": "Držanjem prednjeg gumba prilikom lemljenja aktivira se pojačani (Boost) način."
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Boost",
"temp"
],
"desc": "Temperatura u pojačanom (Boost) načinu."
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Auto",
"start"
],
"desc": "Ako je aktivno, lemilica po uključivanju napajanja odmah počinje grijati."
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Upozorenje",
"pri hlađenju"
],
"desc": "Bljeskanje temperature prilikom hlađenja, ako je lemilica vruća."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Kalibracija",
"temperature"
],
"desc": "Kalibriranje temperature mjeri razliku temperatura vrška i drške, dok je lemilica hladna."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Tvorničke",
"postavke"
],
"desc": "Vraćanje svih postavki na tvorničke vrijednosti."
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Kalibracija",
"napona napajanja"
],
"desc": "Kalibracija ulaznog napona. Podešavanje gumbima, dugački pritisak za kraj."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Detalji",
"pri lemljenju"
],
"desc": "Prikazivanje detaljnih informacija tijekom lemljenja."
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Brzina",
"poruka"
],
"desc": "Brzina kretanja dugačkih poruka. <B=brzo, S=sporo>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Model",
"Vrha"
],
"desc": "Odabir modela lemnog vrha"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Jednostavna",
"kalibracija"
],
"desc": "Kalibracija kipućom vodom"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Napredna",
"kalibracija"
],
"desc": "Kalibracija korištenjem termo-elementa"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Snaga",
"napajanja"
],
"desc": "Snaga modula za napajanje"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "HU",
"languageLocalName": "Magyar",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibráció befejezve!",
"SettingsCalibrationWarning": "Folytatás előtt győződjön meg róla, hogy a hegy szobahőmérsékletű!",
"SettingsResetWarning": "Biztosan visszaállítja a beállításokat az alapértelmezett értékekre?",
"UVLOWarningString": "DC KEVÉS",
"UndervoltageString": "Alulfeszültség",
"InputVoltageString": "Bemenet V: ",
"WarningTipTempString": "Hegy hő: ",
"BadTipString": "HEGY HIB",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Alvás...",
"WarningSimpleString": "FORR",
"WarningAdvancedString": "!! FORRÓ HEGY !!",
"SleepingTipAdvancedString": "Hegy:",
"IdleTipString": "Hegy:",
"IdleSetString": " Cél:",
"TipDisconnectedString": "HEGY LEVÉVE",
"SolderingAdvancedPowerPrompt": "Telj: ",
"OffString": "Ki"
},
"characters": {
"SettingRightChar": "J",
"SettingLeftChar": "B",
"SettingAutoChar": "A",
"SettingFastChar": "G",
"SettingSlowChar": "L"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Forrasztási",
"beállítások"
],
"desc": "Forrasztási beállítások"
},
"PowerSavingMenu": {
"text2": [
"Alvási",
"módok"
],
"desc": "Energiatakarékossági beállítások"
},
"UIMenu": {
"text2": [
"Felhasználó",
"felület"
],
"desc": "Felhasználói felület beállításai"
},
"AdvancedMenu": {
"text2": [
"Haladó",
"beállítások"
],
"desc": "Haladó beállítások"
}
},
"menuOptions": {
"PowerSource": {
"text": "ÁRAMF",
"text2": [
"Áram",
"forrás"
],
"desc": "Áramforrás. Beállítja a lekapcsolási feszültséget. <DC 10V> <S 3.3V cellánként>"
},
"SleepTemperature": {
"text": "AHŐM",
"text2": [
"Alvási",
"hőfok"
],
"desc": "Alvási hőmérséklet <C>"
},
"SleepTimeout": {
"text": "AIDŐ",
"text2": [
"Alvás",
"időzítő"
],
"desc": "Alvás időzítő <perc/másodperc>"
},
"ShutdownTimeout": {
"text": "KIIDŐ",
"text2": [
"Kikapcsolás",
"időzítő"
],
"desc": "Kikapcsolási időzítő <perc>"
},
"MotionSensitivity": {
"text": "MOZGÉR",
"text2": [
"Mozgás",
"érzékenység"
],
"desc": "Mozgás érzékenység beállítása. <0.kikapcsolva 1.legkevésbé érzékeny 9.legérzékenyebb>"
},
"TemperatureUnit": {
"text": "HŐEGYS",
"text2": [
"Hőmérséklet",
"mértékegysége"
],
"desc": "Hőmérséklet mértékegysége <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "RÉSZLI",
"text2": [
"Részletes",
"készenlét"
],
"desc": "Részletes információ megjelenítése kisebb betűméretben a készenléti képernyőn."
},
"DisplayRotation": {
"text": "KIJTÁJ",
"text2": [
"Kijelző",
"tájolása"
],
"desc": "Kijelző tájolása <A. automatikus B. balkezes J. jobbkezes>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"Boost",
"mód"
],
"desc": "Elülső gombbal boost módba (450C) lép forrasztás közben"
},
"BoostTemperature": {
"text": "BHŐ",
"text2": [
"Boost",
"hőfok"
],
"desc": "Hőmérséklet \"boost\" módban"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Automatikus",
"indítás"
],
"desc": "Bekapcsolás után automatikusan lépjen forrasztás módba. T=forrasztás, S=alvó mód, F=ki"
},
"CooldownBlink": {
"text": "HŰLÉSV",
"text2": [
"Villogás",
"hűléskor"
],
"desc": "Villogjon a hőmérséklet hűlés közben, amíg a hegy forró."
},
"TemperatureCalibration": {
"text": "HŐM KAL?",
"text2": [
"Hőmérséklet",
"kalibrálása?"
],
"desc": "Hegy hőmérséklet-különbségének kalibrálása."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"Gyári",
"beállítások?"
],
"desc": "Beállítások alaphelyzetbe állítása"
},
"VoltageCalibration": {
"text": "VIN KAL?",
"text2": [
"Bemeneti fesz",
"kalibrálása?"
],
"desc": "Bemeneti feszültség kalibrálása. Röviden megnyomva módosítás, hosszan megnyomva kilépés"
},
"AdvancedSoldering": {
"text": "HALKÉP",
"text2": [
"Részletes",
"forr. kép."
],
"desc": "Részletes információk megjelenítése forrasztás közben"
},
"ScrollingSpeed": {
"text": "GÖRGS",
"text2": [
"Görgetés",
"sebessége"
],
"desc": "Szöveggörgetés sebessége"
},
"TipModel": {
"text": "HEGYMOD",
"text2": [
"Forrasztóhegy",
"modell"
],
"desc": "Forrasztóhegy modell kiválasztása"
},
"SimpleCalibrationMode": {
"text": "EGYSZKAL",
"text2": [
"Egyszerű",
"kalibráció"
],
"desc": "Egyszerű kalibrálás forró víz segítségével"
},
"AdvancedCalibrationMode": {
"text": "HALKAL",
"text2": [
"Haladó",
"Kalibráció"
],
"desc": "Haladó kalibrálás hegyre helyezett hőelem segítségével"
},
"PowerInput": {
"text": "TELJW",
"text2": [
"Bemeneti",
"teljesítmény"
],
"desc": "A tápegység által leadott teljesítmény"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "IT",
"languageLocalName": "Italiano",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibrazione effettuata",
"SettingsCalibrationWarning": "Assicurati che la punta si trovi a temperatura ambiente prima di continuare!",
"SettingsResetWarning": "Ripristinare le impostazioni iniziali?",
"UVLOWarningString": "DC BASSA",
"UndervoltageString": "DC INSUFFICIENTE",
"InputVoltageString": "V ingresso:",
"WarningTipTempString": "Temp punta:",
"BadTipString": "PUNTA NO",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Standby",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "PUNTA CALDA!",
"SleepingTipAdvancedString": "Punta:",
"IdleTipString": "Punta:",
"IdleSetString": "/",
"TipDisconnectedString": "PUNTA ASSENTE",
"SolderingAdvancedPowerPrompt": "Potenza:",
"OffString": "OFF"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "S",
"SettingAutoChar": "A",
"SettingFastChar": "V",
"SettingSlowChar": "L"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Opzioni",
"saldatura"
],
"desc": "Menù d'impostazioni della modalità Saldatura"
},
"PowerSavingMenu": {
"text2": [
"Risparmio",
"energetico"
],
"desc": "Menù d'impostazioni per il risparmio energetico"
},
"UIMenu": {
"text2": [
"Interfaccia",
"utente"
],
"desc": "Menù d'impostazioni dell'interfaccia utente"
},
"AdvancedMenu": {
"text2": [
"Opzioni",
"avanzate"
],
"desc": "Menù d'impostazioni avanzate"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Sorgente",
"alimentaz"
],
"desc": "Scegli la sorgente di alimentazione; se a batteria, limita lo scaricamento al valore di soglia <DC: 10V; S: 3,3V per cella>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Temp",
"standby"
],
"desc": "Imposta la temperatura da mantenere in modalità Standby <°C/°F>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Timer",
"standby"
],
"desc": "Imposta il timer per entrare in modalità Standby <minuti/secondi>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Timer",
"spegnimento"
],
"desc": "Imposta il timer per lo spegnimento <minuti>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Sensibilità",
"al movimento"
],
"desc": "Imposta la sensibilità al movimento per uscire dalla modalità Standby <0: nessuna; 1: minima; 9: massima>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Unità di",
"temperatura"
],
"desc": "Scegli l'unità di misura per la temperatura <C: grado Celsius; F: grado Farenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Mostra",
"dettagli"
],
"desc": "Mostra informazioni dettagliate con un carattere più piccolo all'interno della schermata principale"
},
"DisplayRotation": {
"text": "",
"text2": [
"Orientamento",
"display"
],
"desc": "Imposta l'orientamento del display <A: automatico; S: mano sinistra; D: mano destra>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Funzione",
"«Turbo»"
],
"desc": "Il tasto superiore attiva la funzione «Turbo» durante la modalità Saldatura"
},
"BoostTemperature": {
"text": "",
"text2": [
"Temp",
"«Turbo»"
],
"desc": "Imposta la temperatura della funzione «Turbo»"
},
"AutoStart": {
"text": "",
"text2": [
"Avvio",
"automatico"
],
"desc": "Attiva automaticamente il saldatore quando viene alimentato <A: saldatura; S: standby; D: disattiva>"
},
"CooldownBlink": {
"text": "",
"text2": [
"Avviso",
"punta calda"
],
"desc": "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Calibrazione",
"temperatura"
],
"desc": "Calibra le rilevazioni di temperatura"
},
"SettingsReset": {
"text": "",
"text2": [
"Ripristino",
"impostazioni"
],
"desc": "Ripristina tutte le impostazioni"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Calibrazione",
"tensione"
],
"desc": "Calibra la tensione in ingresso; regola con entrambi i tasti, tieni premuto il tasto superiore per uscire"
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Dettagli",
"saldatura"
],
"desc": "Mostra informazioni dettagliate durante la modalità Saldatura"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Velocità",
"testo"
],
"desc": "Imposta la velocità di scorrimento del testo <L: lento; V: veloce>"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Modello",
"della punta"
],
"desc": "Seleziona il modello della punta in uso"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Calibrazione",
"semplice"
],
"desc": "Calibra le rilevazioni di temperatura tramite l'utilizzo di acqua calda"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Calibrazione",
"avanzata"
],
"desc": "Calibra le rilevazioni di temperatura attraverso la termocoppia presente nella punta"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Potenza",
"alimentaz"
],
"desc": "Imposta la potenza dell'alimentatore in uso"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "LT",
"languageLocalName": "Lietuvių",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibracija atlikta!",
"SettingsCalibrationWarning": "Prieš tęsdami įsitikinkite, kad antgalis yra kambario temperatūros!",
"SettingsResetWarning": "Ar norite atstatyti nustatymus į numatytas reikšmes?",
"UVLOWarningString": "MAŽ VOLT",
"UndervoltageString": "Žema įtampa",
"InputVoltageString": "Įvestis V: ",
"WarningTipTempString": "Antgl Temp: ",
"BadTipString": "BLOG ANT",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Miegu...",
"WarningSimpleString": "KRŠ!",
"WarningAdvancedString": "ANTGALIS KARŠTAS",
"SleepingTipAdvancedString": "Antgl:",
"IdleTipString": "Ant:",
"IdleSetString": " Nust:",
"TipDisconnectedString": "ANTGAL ATJUNGTAS",
"SolderingAdvancedPowerPrompt": "Maitinimas: ",
"OffString": "Išj"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "K",
"SettingAutoChar": "A",
"SettingFastChar": "T",
"SettingSlowChar": "N"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Litavimo",
"nustatymai"
],
"desc": "Litavimo nustatymai"
},
"PowerSavingMenu": {
"text2": [
"Miego",
"režimai"
],
"desc": "Energijos vartojimo nustatymai"
},
"UIMenu": {
"text2": [
"Naudotojo",
"sąsaja"
],
"desc": "Naudotojo sąsajos nustatymai"
},
"AdvancedMenu": {
"text2": [
"Išplėstin.",
"nustatymai"
],
"desc": "Išplėstiniai nustatymai"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Maitinimo",
"šaltinis"
],
"desc": "Išjungimo įtampa. <DC 10V arba celių (S) kiekis (3.3V per celę)>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Miego",
"temperat."
],
"desc": "Miego temperatūra <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Miego",
"laikas"
],
"desc": "Miego laikas <minutės/sekundės>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Išjungimo",
"laikas"
],
"desc": "Išjungimo laikas <minutės>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Jautrumas",
"judesiui"
],
"desc": "Jautrumas judesiui <0 - išjungta, 1 - mažiausias, 9 - didžiausias>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Temperatūros",
"vienetai"
],
"desc": "Temperatūros vienetai <C - Celsijus, F - Farenheitas>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Detalus lauki",
"mo ekranas"
],
"desc": "Ar rodyti papildomą informaciją mažesniu šriftu laukimo ekrane"
},
"DisplayRotation": {
"text": "",
"text2": [
"Ekrano",
"orientacija"
],
"desc": "Ekrano orientacija <A - automatinė, K - kairiarankiams, D - dešiniarankiams>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Turbo režimas",
"įjungtas"
],
"desc": "Ar lituojant viršutinis mygtukas įjungia turbo režimą"
},
"BoostTemperature": {
"text": "",
"text2": [
"Turbo",
"temperat."
],
"desc": "Temperatūra turbo režimu"
},
"AutoStart": {
"text": "",
"text2": [
"Auto",
"paleidimas"
],
"desc": "Ar pradėti kaitininti iš karto įjungus lituoklį"
},
"CooldownBlink": {
"text": "",
"text2": [
"Atvėsimo",
"mirksėjimas"
],
"desc": "Ar mirksėti temperatūrą ekrane kol vėstantis antgalis vis dar karštas"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Kalibruoti",
"temperatūrą?"
],
"desc": "Antgalio temperatūros kalibravimas"
},
"SettingsReset": {
"text": "",
"text2": [
"Atstatyti",
"nustatymus?"
],
"desc": "Nustatyti nustatymus iš naujo"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Kalibruoti",
"įvesties įtampą?"
],
"desc": "Įvesties įtampos kalibravimas. Trumpai paspauskite, norėdami nustatyti, ilgai paspauskite, kad išeitumėte"
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Detalus lita-",
"vimo ekranas"
],
"desc": "Ar rodyti išsamią informaciją lituojant"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Greitas apr",
"ašym. slink"
],
"desc": "Greitis, kuriuo šis tekstas slenka"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Antgalio",
"modelis"
],
"desc": "Antgalio modelio pasirinkimas"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Paprasta",
"kalibracija"
],
"desc": "Paprasta kalibracija naudojant karštą vandienį"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Išplėstinė",
"kalibracija"
],
"desc": "Išplėstinė kalibracija naudojant termoelementą"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Galia",
"vatais"
],
"desc": "Maitinimo bloko galia vatais"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "NL",
"languageLocalName": "Nederlands",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Zorg ervoor dat de soldeerpunt op kamertemperatuur is voor je verdergaat!",
"SettingsResetWarning": "Ben je zeker dat je alle instellingen naar de standaardwaardes wilt terugzetten?",
"UVLOWarningString": "DC LAAG",
"UndervoltageString": "Onderspanning",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"BadTipString": "DEFECT",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Slaapstand...",
"WarningSimpleString": "HEET",
"WarningAdvancedString": "!!! TIP HEET !!!",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP LOSGEKOPPELD",
"SolderingAdvancedPowerPrompt": "vermogen: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldeer",
"Instellingen"
],
"desc": "Soldeerinstellingen"
},
"PowerSavingMenu": {
"text2": [
"Slaap",
"Modes"
],
"desc": "Batterijbesparingsinstellingen"
},
"UIMenu": {
"text2": [
"Gebruikers-",
"Interface"
],
"desc": "Gebruikersinterface Instellingen"
},
"AdvancedMenu": {
"text2": [
"geavanceerde",
"Instellingen"
],
"desc": "geavanceerde Instellingen"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Spannings-",
"bron"
],
"desc": "Spanningsbron. Stelt drempelspanning in. <DC 10V> <S 3.3V per cel>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Slaap",
"temp"
],
"desc": "Temperatuur in slaapstand <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Slaap",
"time-out"
],
"desc": "Slaapstand time-out <Minuten/Seconden>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Uitschakel",
"time-out"
],
"desc": "Automatisch afsluiten time-out <Minuten>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Bewegings-",
"gevoeligheid"
],
"desc": "Bewegingsgevoeligheid <0.uit 1.minst gevoelig 9.meest gevoelig>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Temperatuur",
"eenheid"
],
"desc": "Temperatuureenheid <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Gedetailleerd",
"slaapscherm"
],
"desc": "Gedetailleerde informatie weergeven in een kleiner lettertype op het slaapscherm."
},
"DisplayRotation": {
"text": "",
"text2": [
"Scherm-",
"oriëntatie"
],
"desc": "Schermoriëntatie <A. Automatisch L. Linkshandig R. Rechtshandig>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Boostmodes",
"ingeschakeld?"
],
"desc": "Soldeerbout gaat naar een hogere boost-temperatuur wanneer de voorste knop ingedrukt is."
},
"BoostTemperature": {
"text": "",
"text2": [
"Boost",
"temp"
],
"desc": "Temperatuur in boostmodes"
},
"AutoStart": {
"text": "",
"text2": [
"Auto",
"start"
],
"desc": "Breng de soldeerbout direct op temperatuur bij het opstarten. T=Soldeertemperatuur, S=Slaapstand-temperatuur, F=Uit"
},
"CooldownBlink": {
"text": "",
"text2": [
"Afkoel",
"flikker"
],
"desc": "Temperatuur laten flikkeren in het hoofdmenu als de soldeerpunt aan het afkoelen is."
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Calibreer",
"temperatuur?"
],
"desc": "Temperatuursafwijking van de soldeerpunt calibreren."
},
"SettingsReset": {
"text": "",
"text2": [
"Instellingen",
"resetten?"
],
"desc": "Alle instellingen terugzetten."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Calibreer",
"input-voltage?"
],
"desc": "VIN Calibreren. Knoppen lang ingedrukt houden om te bevestigen."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Gedetailleerd",
"soldeerscherm"
],
"desc": "Gedetailleerde informatie weergeven in een kleiner lettertype op het soldeerscherm."
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Scroll",
"snelheid"
],
"desc": "Snelheid waarmee de tekst scrolt."
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "NL_BE",
"languageLocalName": "Vlaams",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Gecalibreerd!",
"SettingsCalibrationWarning": "Zorg vooraf dat de punt op kamertemperatuur is!",
"SettingsResetWarning": "Ben je zeker dat je alle standaardwaarden wil resetten?",
"UVLOWarningString": "Voedingsspanning LAAG",
"UndervoltageString": "Onderspanning",
"InputVoltageString": "Voedingsspanning: ",
"WarningTipTempString": "Punt Temp: ",
"BadTipString": "DEFECT",
"SleepingSimpleString": "Zzz ",
"SleepingAdvancedString": "Slaapstand...",
"WarningSimpleString": "HEET",
"WarningAdvancedString": "!!! PUNT HEET !!!",
"SleepingTipAdvancedString": "Punt:",
"IdleTipString": "Punt:",
"IdleSetString": "Stel in:",
"TipDisconnectedString": "Punt ONTKOPPELD",
"SolderingAdvancedPowerPrompt": "Vermogen: ",
"OffString": "Uit"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "S",
"SettingSlowChar": "T"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldeer",
"Instellingen"
],
"desc": "Soldeerinstellingen"
},
"PowerSavingMenu": {
"text2": [
"Slaap",
"standen"
],
"desc": "Batterijspaarstanden"
},
"UIMenu": {
"text2": [
"Gebruikers-",
"Interface"
],
"desc": "Gebruikersinterface Instellingen"
},
"AdvancedMenu": {
"text2": [
"Gevorderde",
"Instellingen"
],
"desc": "Gevorderde Instellingen"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Spannings-",
"bron"
],
"desc": "Spanningsbron. Stelt minimumspanning in. <DC 10V> <S 3.3V per cel>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Slaap",
"temp"
],
"desc": "Temperatuur in slaapstand <°C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Slaap",
"time-out"
],
"desc": "Slaapstand time-out <Minuten/Seconden>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Uitschakel",
"time-out"
],
"desc": "Automatisch afsluiten time-out <Minuten>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Bewegings-",
"gevoeligheid"
],
"desc": "Bewegingsgevoeligheid <0.uit 1.minst gevoelig 9.meest gevoelig>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Temperatuur",
"schaal"
],
"desc": "Temperatuurschaal <°C=Celsius °F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Gedetailleerd",
"slaapscherm"
],
"desc": "Gedetailleerde informatie in een kleiner lettertype in het slaapscherm."
},
"DisplayRotation": {
"text": "",
"text2": [
"Scherm-",
"oriëntatie"
],
"desc": "Schermoriëntatie <A. Automatisch L. Linkshandig R. Rechtshandig>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Temperatuurverhoging",
"ingeschakeld?"
],
"desc": "Temperatuur verhoogt als voorste knop is ingedrukt"
},
"BoostTemperature": {
"text": "",
"text2": [
"Verhogings",
"temp"
],
"desc": "Verhogingstemperatuur"
},
"AutoStart": {
"text": "",
"text2": [
"Auto",
"start"
],
"desc": "Breng de soldeerbout op temperatuur bij het opstarten. T=Soldeertemperatuur, S=Slaapstand-temperatuur, F=Uit"
},
"CooldownBlink": {
"text": "",
"text2": [
"Afkoel",
"knipper"
],
"desc": "Temperatuur knippert in hoofdmenu tijdens afkoeling."
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Calibreer",
"temperatuur?"
],
"desc": "Temperatuur van de punt calibreren."
},
"SettingsReset": {
"text": "",
"text2": [
"Instellingen",
"resetten?"
],
"desc": "Alle instellingen resetten."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Calibreer",
"voedingsspanning?"
],
"desc": "VIN Calibreren. Bevestigen door knoppen lang in te drukken."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Gedetailleerd",
"soldeerscherm"
],
"desc": "Gedetailleerde informatie in kleiner lettertype in soldeerscherm."
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Scrol",
"snelheid"
],
"desc": "Scrolsnelheid van de tekst."
},
"TipModel": {
"text": "PUNTMO",
"text2": [
"Punt",
"Model"
],
"desc": "Gekozen punt"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Eenvoudige",
"Calibrering"
],
"desc": "Calibrering met heet water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Gevorderde",
"Calibrering"
],
"desc": "Calibrering met thermokoppel"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Vermogen",
"Watt"
],
"desc": "Vermogen van de adapter"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "NO",
"languageLocalName": "Norsk",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Sørg for at loddespissen har romtemperatur før du fortsetter!",
"SettingsResetWarning": "Er du sikker på at du vil tilbakestille til standardinnstillinger?",
"UVLOWarningString": "Lavspenn",
"UndervoltageString": "Underspenning",
"InputVoltageString": "Innspenn.: ",
"WarningTipTempString": "Spisstemp: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Dvale...",
"WarningSimpleString": "Varm",
"WarningAdvancedString": "VARM SPISS!",
"SleepingTipAdvancedString": "Spiss:",
"IdleTipString": "Spiss:",
"IdleSetString": "Set:",
"TipDisconnectedString": "SPISS FRAKOBLET",
"SolderingAdvancedPowerPrompt": "Effekt: ",
"OffString": "Av"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "H",
"SettingSlowChar": "L"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Lodde-",
"innst."
],
"desc": "Loddeinnstillinger"
},
"PowerSavingMenu": {
"text2": [
"Dvale-",
"innst."
],
"desc": "Dvaleinnstillinger"
},
"UIMenu": {
"text2": [
"Bruker-",
"grensesn."
],
"desc": "Brukergrensesnitt-innstillinger"
},
"AdvancedMenu": {
"text2": [
"Avanserte",
"valg"
],
"desc": "Avanserte valg"
}
},
"menuOptions": {
"PowerSource": {
"text": "Kilde",
"text2": [
"",
""
],
"desc": "Strømforsyning. Sett nedre spenning for automatisk nedstenging. <DC 10V <S 3.3V per celle"
},
"SleepTemperature": {
"text": "DTmp",
"text2": [
"",
""
],
"desc": "Dvaletemperatur <C"
},
"SleepTimeout": {
"text": "DTid",
"text2": [
"",
""
],
"desc": "Tid før dvale <Minutter/Sekunder"
},
"ShutdownTimeout": {
"text": "AvTid",
"text2": [
"",
""
],
"desc": "Tid før automatisk nedstenging <Minutter"
},
"MotionSensitivity": {
"text": "BSensr",
"text2": [
"",
""
],
"desc": "Bevegelsesfølsomhet <0.Inaktiv 1.Minst følsom 9.Mest følsom"
},
"TemperatureUnit": {
"text": "TmpEnh",
"text2": [
"",
""
],
"desc": "Temperaturskala <C=Celsius F=Fahrenheit"
},
"AdvancedIdle": {
"text": "AvDvSk",
"text2": [
"",
""
],
"desc": "Vis detaljert informasjon med liten skrift på dvaleskjermen."
},
"DisplayRotation": {
"text": "SkRetn",
"text2": [
"",
""
],
"desc": "Skjermretning <A. Automatisk V. Venstrehendt H. Høyrehendt"
},
"BoostEnabled": {
"text": "Kraft",
"text2": [
"",
""
],
"desc": "Frontknappen aktiverer kraftfunksjonen, 450C ved lodding"
},
"BoostTemperature": {
"text": "KTmp",
"text2": [
"",
""
],
"desc": "Temperatur i \"kraft\"-modus"
},
"AutoStart": {
"text": "AStart",
"text2": [
"",
""
],
"desc": "Start automatisk med lodding når strøm kobles til. L=Lodding, D=Dvale, I=Inaktiv"
},
"CooldownBlink": {
"text": "KjBlnk",
"text2": [
"",
""
],
"desc": "Blink temperaturen på skjermen mens spissen fortsatt er varm."
},
"TemperatureCalibration": {
"text": "TempKal?",
"text2": [
"",
""
],
"desc": "Kalibrer spiss-temperatur."
},
"SettingsReset": {
"text": "TilbStl?",
"text2": [
"",
""
],
"desc": "Tilbakestill alle innstillinger"
},
"VoltageCalibration": {
"text": "KalSpIn?",
"text2": [
"",
""
],
"desc": "Kalibrer spenning. Knappene justerer. Langt trykk for å gå ut"
},
"AdvancedSoldering": {
"text": "AvLdSk",
"text2": [
"",
""
],
"desc": "Vis detaljert informasjon ved lodding"
},
"ScrollingSpeed": {
"text": "RullHa",
"text2": [
"",
""
],
"desc": "Hastigheten på rulletekst"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "PL",
"languageLocalName": "Polski",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibracja udana!",
"SettingsCalibrationWarning": "Przed kontynuowaniem upewnij się, że końcówka osiągnela temperature pokojowa!",
"SettingsResetWarning": "Czy na pewno chcesz przywrócić ustawienia fabryczne?",
"UVLOWarningString": "NISKIE DC",
"UndervoltageString": "Pod napięciem",
"InputVoltageString": "Wejściowe V: ",
"WarningTipTempString": "Temperatura grota: ",
"BadTipString": "ZŁY GROT",
"SleepingSimpleString": "Zzz!",
"SleepingAdvancedString": "Uspienie...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "GORĄCA KOŃCÓWKA!",
"SleepingTipAdvancedString": "Grot:",
"IdleTipString": "Grot:",
"IdleSetString": " Ustaw:",
"TipDisconnectedString": "GROT ODŁĄCZONY",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Wyłącz"
},
"characters": {
"SettingRightChar": "P",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Lutowanie",
"Ustawienia"
],
"desc": "Ustawienia lutownicy"
},
"PowerSavingMenu": {
"text2": [
"Uśpienie",
"Tryby"
],
"desc": "Ustawienia oszczędzania energii"
},
"UIMenu": {
"text2": [
"Użytkownik",
"Interfejs"
],
"desc": "Ustawienia interfejsu użytkownika"
},
"AdvancedMenu": {
"text2": [
"Zaawansowane",
"Opcje"
],
"desc": "Opcje zaawansowane"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"Źródło",
"zasilania"
],
"desc": "Źródło zasilania. Ustaw napięcie odcięcia. <DC 10V> <S 3.3V dla ogniw Li>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"Temperatura",
"uśpienia"
],
"desc": "Temperatura uśpienia <°C>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"Czas",
"uśpienia"
],
"desc": "Czas uśpienia <Minuty/Sekundy>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"Czas",
"wyłączenia"
],
"desc": "Czas wyłączenia <Minuty>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"Czułość",
"ruchu"
],
"desc": "Czułość ruchu <0.Wyłączona 1.minimalna 9.maksymalna>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"Jednostka",
"temperatury"
],
"desc": "Jednostka temperatury <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"Mniejsza",
"czcionka"
],
"desc": "Wyświetla szczegółowe informacje za pomocą mniejszej czcionki na ekranie bezczynnośći <T = wł., N = wył.>"
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"Orientacja",
"wyświetlacza"
],
"desc": "Orientacja wyświetlacza <A. Automatyczna L. Leworęczna P. Praworęczna>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"",
""
],
"desc": "Użyj przycisku przedniego w celu zwiększenia temperatury <T = wł., N = wył.>"
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"Temperatura",
"w trybie boost"
],
"desc": "Temperatura w trybie \"boost\" "
},
"AutoStart": {
"text": "ASTART",
"text2": [
"Automatyczne",
"uruchamianie"
],
"desc": "Automatyczne uruchamianie trybu lutowania po włączeniu zasilania. T=Lutowanie, S= Tryb Uspienia ,N=Wyłącz"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Migająca",
"temperatura"
],
"desc": "Temperatura na ekranie miga, gdy grot jest jeszcze gorący. <T = wł., N = wył.>"
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"Kalibracja",
"temp. grota"
],
"desc": "Kalibracja temperatury grota lutownicy"
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"",
""
],
"desc": "Zresetuj wszystkie ustawienia"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"Kalibracja",
"napięcia"
],
"desc": "Kalibracja napięcia wejściowego. Krótkie naciśnięcie, aby ustawić, długie naciśnięcie, aby wyjść."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"Szczegółowe",
"informacje"
],
"desc": "Wyświetl szczegółowe informacje podczas lutowania <T = wł., N = wył.>"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Szybkość",
"tekstu"
],
"desc": "Szybkość przewijania tekstu"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Model",
"grota"
],
"desc": "Wybór grotu"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Prosta",
"Kalibracja"
],
"desc": "Prosta kalibracja używając gorącej wody"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Zaawansowana",
"Kalibracja"
],
"desc": "Zaawansowana kalibracja za pomocy termopoary na grocie"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Moc",
"Wattach"
],
"desc": "Moc używanego zasilacza w Watach"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "PT",
"languageLocalName": "Português",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibração terminada!",
"SettingsCalibrationWarning": "A ponta deve estar à temperatura ambiente antes de continuar!",
"SettingsResetWarning": "Definições de fábrica?",
"UVLOWarningString": "DC BAIXO",
"UndervoltageString": "Subtensão",
"InputVoltageString": "Tensão ",
"WarningTipTempString": "Temperatura ",
"BadTipString": "ER PONTA",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Repouso...",
"WarningSimpleString": "TEMP",
"WarningAdvancedString": "TEMP ELEVADA!",
"SleepingTipAdvancedString": "Ponta:",
"IdleTipString": "Ponta:",
"IdleSetString": " Aj:",
"TipDisconnectedString": "SEM PONTA",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "C",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "L"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Configurações",
"Solda"
],
"desc": "Configurações de soldagem"
},
"PowerSavingMenu": {
"text2": [
"Modos",
"Repouso"
],
"desc": "Configurações de economia de energia"
},
"UIMenu": {
"text2": [
"Interface",
"Utilizador"
],
"desc": "Configurações do interface do utilizador"
},
"AdvancedMenu": {
"text2": [
"Menu",
"Avançado"
],
"desc": "Opções avançadas"
}
},
"menuOptions": {
"PowerSource": {
"text": "FONTE",
"text2": [
"Fonte",
"alimentação"
],
"desc": "Fonte de alimentação. Define a tensão de corte. <DC=10V> <S=3.3V/célula>"
},
"SleepTemperature": {
"text": "TMPE",
"text2": [
"Temperat.",
"repouso"
],
"desc": "Temperatura de repouso <C>"
},
"SleepTimeout": {
"text": "TMPO",
"text2": [
"Tempo",
"repouso"
],
"desc": "Tempo para repouso <Minutos/Segundos>"
},
"ShutdownTimeout": {
"text": "DESLI",
"text2": [
"Tempo",
"desligam."
],
"desc": "Tempo para desligamento <Minutos>"
},
"MotionSensitivity": {
"text": "MOVIME",
"text2": [
"Sensibilidade",
"movimento"
],
"desc": "Sensibilidade ao movimento <0=Desligado 1=Menor 9=Maior>"
},
"TemperatureUnit": {
"text": "UNIDAD",
"text2": [
"Unidade",
"temperatura"
],
"desc": "Unidade de temperatura <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "EM ESPERA",
"text2": [
"Tela repouso",
"avançada"
],
"desc": "Exibe informações avançadas quando em espera"
},
"DisplayRotation": {
"text": "ORIENT",
"text2": [
"Orientação",
"tela"
],
"desc": "Orientação da tela <A.utomática C.anhoto D.estro>"
},
"BoostEnabled": {
"text": "TURBO",
"text2": [
"Modo turbo",
"activado"
],
"desc": "Tecla frontal activa modo \"turbo\""
},
"BoostTemperature": {
"text": "TTMP",
"text2": [
"Modo turbo",
"temperat."
],
"desc": "Ajuste de temperatura do modo \"turbo\""
},
"AutoStart": {
"text": "MODOAT",
"text2": [
"Partida",
"automática"
],
"desc": "Aquece a ponta automaticamente ao ligar"
},
"CooldownBlink": {
"text": "RESFRI",
"text2": [
"Piscar ao",
"arrefecer"
],
"desc": "Faz o valor da temperatura piscar durante o arrefecimento"
},
"TemperatureCalibration": {
"text": "CAL.TEMP",
"text2": [
"Calibrar",
"temperatura"
],
"desc": "Calibra a temperatura"
},
"SettingsReset": {
"text": "RESET",
"text2": [
"Reset de",
"fábrica?"
],
"desc": "Reverte todos ajustes"
},
"VoltageCalibration": {
"text": "CAL.VOLT",
"text2": [
"Calibrar",
"tensão"
],
"desc": "Calibra a tensão de alimentação. Use os botões para ajustar o valor. Mantenha pressionado para sair"
},
"AdvancedSoldering": {
"text": "AVNCAD",
"text2": [
"Tela trabalho",
"avançada"
],
"desc": "Exibe informações avançadas durante o uso"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Velocidade",
"texto ajuda"
],
"desc": "Velocidade a que o texto é exibido"
},
"TipModel": {
"text": "MODPNT",
"text2": [
"Ponta",
"Modelo"
],
"desc": "Selecção de modelo de ponta"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Calibração",
"Simples"
],
"desc": "Calibração simples com água quente"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Calibração",
"Avançada"
],
"desc": "Calibração avançada com um termopar na ponta"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Potência",
"Fonte"
],
"desc": "Potência da fonte usada (Watt)"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "RU",
"languageLocalName": "Русский",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Калибровка выполнена!",
"SettingsCalibrationWarning": "Убедитесь, что жало остыло до комнатной температуры, прежде чем продолжать!",
"SettingsResetWarning": "Вы действительно хотите сбросить настройки до значений по умолчанию?",
"UVLOWarningString": "АККУМ--",
"UndervoltageString": "Под питанием",
"InputVoltageString": "Питание B: ",
"WarningTipTempString": "Жало t°: ",
"BadTipString": "Жало--",
"SleepingSimpleString": "Сон ",
"SleepingAdvancedString": "Ожидание...",
"WarningSimpleString": " АЙ!",
"WarningAdvancedString": "ВНИМАНИЕ ГОРЯЧО",
"SleepingTipAdvancedString": "Жало:",
"IdleTipString": "Жало:",
"IdleSetString": " ->",
"TipDisconnectedString": "Жало отключено",
"SolderingAdvancedPowerPrompt": "Питание: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "П",
"SettingLeftChar": "Л",
"SettingAutoChar": "A",
"SettingFastChar": "+",
"SettingSlowChar": "-"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Параметры",
"пайки"
],
"desc": "Параметры пайки"
},
"PowerSavingMenu": {
"text2": [
"Режим",
"сна"
],
"desc": "Параметры экономии энергии"
},
"UIMenu": {
"text2": [
"Пользовател",
"интерфейс"
],
"desc": "Параметры пользовательского интерфейса"
},
"AdvancedMenu": {
"text2": [
"Дополнител.",
"параметры"
],
"desc": "Дополнительные параметры"
}
},
"menuOptions": {
"PowerSource": {
"text": "ИстП",
"text2": [
"Источник",
"питания"
],
"desc": "Источник питания. Установка напряжения отключения. <DC 10V> <S 3.3 V на батарею>"
},
"SleepTemperature": {
"text": "Тожд",
"text2": [
"Темпер.",
"сна"
],
"desc": "Температура режима ожидания <С>"
},
"SleepTimeout": {
"text": "Вожд",
"text2": [
"Таймаут",
"сна"
],
"desc": "Время до перехода в режим ожидания <Минуты>"
},
"ShutdownTimeout": {
"text": "Тоткл",
"text2": [
"Время до",
"отключения"
],
"desc": "Время до отключения <Минуты>"
},
"MotionSensitivity": {
"text": "ЧувсДв",
"text2": [
"Чувст. сенсо-",
"ра движения"
],
"desc": "Акселерометр <0. Выкл. 1. мин. чувствительный 9. макс. чувствительный>"
},
"TemperatureUnit": {
"text": "ЕдТемп",
"text2": [
"Формат темпе-",
"ратуры(C°/F°)"
],
"desc": "В чем измерять температуру"
},
"AdvancedIdle": {
"text": "ИнфОжд",
"text2": [
"Подробный ре-",
"жим ожидания"
],
"desc": "Показывать детальную информацию маленьким шрифтом на домашнем экране"
},
"DisplayRotation": {
"text": "ПовЭкр",
"text2": [
"Автоповорот",
"экрана"
],
"desc": "Ориентация дисплея <A. Автоматический, Л. Левая рука, П. Правая рука>"
},
"BoostEnabled": {
"text": "Турбо",
"text2": [
"Режим",
"Турбо"
],
"desc": "Турбо-режим при удержании кнопки А при пайке "
},
"BoostTemperature": {
"text": "Ттур",
"text2": [
"Темпер.",
"Турбо"
],
"desc": "Температура в турбо-режиме"
},
"AutoStart": {
"text": "Астарт",
"text2": [
"Горячий",
"старт"
],
"desc": "Автоматический запуск паяльника при включении питания. T=Нагрев, S=Режим ожидания,F=Выкл."
},
"CooldownBlink": {
"text": "Охлажд",
"text2": [
"Показ t° при",
"остывании"
],
"desc": "Показывать температуру на экране охлаждения, пока жало остается горячим."
},
"TemperatureCalibration": {
"text": "КалибрТ",
"text2": [
"Калибровка",
"температуры"
],
"desc": "Калибровка термодатчика."
},
"SettingsReset": {
"text": "СБРОС?",
"text2": [
"Сбросить все",
"настройки?"
],
"desc": "Сброс всех настроек."
},
"VoltageCalibration": {
"text": "КалибрU?",
"text2": [
"Калибровка",
"напряжения"
],
"desc": "Калибровка напряжения входа. Настройка кнопками, нажать и удержать чтобы завершить."
},
"AdvancedSoldering": {
"text": "ИнфПай",
"text2": [
"Подробный ре-",
"жим пайки"
],
"desc": "Показывать детальную информацию при пайке."
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"Скорость",
"текста"
],
"desc": "Скорость прокрутки текста"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Модель",
"жало"
],
"desc": "Выбор модели жало"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Простая",
"калибровка"
],
"desc": "Простая калибровка с использованием горячей воды"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Подробная",
"калибровка"
],
"desc": "Калибровка с помощью термопары"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "SK",
"languageLocalName": "Slovenský",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Najprv sa prosim uistite, ze hrot ma izbovu teplotu!",
"SettingsResetWarning": "Are you sure to reset settings to default values?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Chrr",
"SleepingAdvancedString": "Kludovy rezim...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "HROT JE HORUCI !",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
],
"desc": "Soldering settings"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
],
"desc": "Power Saving Settings"
},
"UIMenu": {
"text2": [
"User",
"Interface"
],
"desc": "User Interface settings"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
],
"desc": "Advanced options"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"",
""
],
"desc": "Zdroj napatia. Nastavit napatie pre vypnutie (cutoff) <DC=10V, nS=n*3.3V pre LiIon clanky>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"",
""
],
"desc": "Kludova teplota (v nastavenych jednotkach)"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"",
""
],
"desc": "Kludovy rezim po <sekundach/minutach>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"",
""
],
"desc": "Cas na vypnutie <minuty>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"",
""
],
"desc": "Citlivost detekcie pohybu <0=Vyp, 1=Min ... 9=Max>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"",
""
],
"desc": "Jednotky merania teploty <C=stupne Celzia, F=stupne Fahrenheita>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"",
""
],
"desc": "Zobrazit detailne informacie v kludovom rezime <T=Zap, F=Vyp>"
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"",
""
],
"desc": "Orientacia displeja <A=Auto, L=Lavak, R=Pravak>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"",
""
],
"desc": "Povolit tlacidlo pre prudky nahrev <T=Zap, F=Vyp>"
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"",
""
],
"desc": "Cielova teplota pre prudky nahrev (v nastavenych jednotkach)"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"",
""
],
"desc": "Pri starte spustit rezim spajkovania <T=Zap, F=Vyp, S=Spanok>"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"",
""
],
"desc": "Blikanie ukazovatela teploty pocas chladnutia hrotu <T=Zap, F=Vyp>"
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"",
""
],
"desc": "Kalibracia posunu hrotu"
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"",
""
],
"desc": "Tovarenske nastavenia"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"",
""
],
"desc": "Kalibracia VIN. Kratke stlacenie meni nastavenie, dlhe stlacenie pre navrat"
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"",
""
],
"desc": "Zobrazenie detailov pocas spajkovania <T=Zap, F=Vyp>"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"",
""
],
"desc": "Speed this text scrolls past at"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "SR_CYRL",
"languageLocalName": "Српски",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Калибрација готова",
"SettingsCalibrationWarning": "Проверите да ли је врх охлађен на собну температуру пре него што наставите",
"SettingsResetWarning": "Да ли заиста желите да вратите поставке на фабричке вредности?",
"UVLOWarningString": "НИЗ.НАП.",
"UndervoltageString": "ПРЕНИЗАК НАПОН",
"InputVoltageString": "Ул. напон: ",
"WarningTipTempString": "Темп. врха: ",
"BadTipString": "ЛОШ ВРХ",
"SleepingSimpleString": "Сан",
"SleepingAdvancedString": "Спавање...",
"WarningSimpleString": "ВРУЋ",
"WarningAdvancedString": "! ОПРЕЗ, ВРУЋЕ !",
"SleepingTipAdvancedString": "Врх:",
"IdleTipString": "Врх:",
"IdleSetString": " / ",
"TipDisconnectedString": "ВРХ НИЈЕ СПОЈЕН",
"SolderingAdvancedPowerPrompt": "Снага: ",
"OffString": "Иск"
},
"characters": {
"SettingRightChar": "Д",
"SettingLeftChar": "Л",
"SettingAutoChar": "А",
"SettingFastChar": "Б",
"SettingSlowChar": "С"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Поставке",
"лемљења"
],
"desc": "Поставке режима лемљења."
},
"PowerSavingMenu": {
"text2": [
"Уштеда",
"енергије"
],
"desc": "Поставке режима мировања."
},
"UIMenu": {
"text2": [
"Корисничко",
"сучеље"
],
"desc": "Поставке корисничког сучеља."
},
"AdvancedMenu": {
"text2": [
"Напредне",
"поставке"
],
"desc": "Напредне поставке."
}
},
"menuOptions": {
"PowerSource": {
"text": "Нпјње",
"text2": [
"Врста",
"напајања"
],
"desc": "Тип напајања; одређује најнижи радни напон. <DC=адаптер (10V), S=батерија (3,3V по ћелији)>"
},
"SleepTemperature": {
"text": "ТСпв",
"text2": [
"Темп.",
"спавања"
],
"desc": "Температура на коју се спушта лемилица након одређеног времена мировања. <C/F>"
},
"SleepTimeout": {
"text": "ВСпв",
"text2": [
"Време до",
"спавања"
],
"desc": "Време мировања након кога лемилица спушта температуру. <M=минути, S=секунде>"
},
"ShutdownTimeout": {
"text": "ВГшњ",
"text2": [
"Време до",
"гашења"
],
"desc": "Време мировања након кога се лемилица гаси. <M=минути>"
},
"MotionSensitivity": {
"text": "ОстПкр",
"text2": [
"Осетљивост",
"на покрет"
],
"desc": "Осетљивост сензора покрета. <0=искључено, 1=најмање осетљиво, 9=најосетљивије>"
},
"TemperatureUnit": {
"text": "ЈедТмп",
"text2": [
"Јединица",
"температуре"
],
"desc": "Јединице у којима се приказује температура. <C=целзијус, F=фаренхајт>"
},
"AdvancedIdle": {
"text": "ДтљМир",
"text2": [
"Детаљи током",
"мировања"
],
"desc": "Приказивање детаљних информација на екрану током мировања."
},
"DisplayRotation": {
"text": "ОрјЕкр",
"text2": [
"Оријентација",
"екрана"
],
"desc": "Како је окренут екран. <А=аутоматски, Л=за леворуке, Д=за десноруке>"
},
"BoostEnabled": {
"text": "Пјчње",
"text2": [
"Појачање",
"омогућено"
],
"desc": "Држање предњег тастера током лемљења додатно појачава температуру врха."
},
"BoostTemperature": {
"text": "ТПјч",
"text2": [
"Темп.",
"појачања"
],
"desc": "Температура врха лемилице у току појачања."
},
"AutoStart": {
"text": "ВрћСта",
"text2": [
"Врући",
"старт"
],
"desc": "Лемилица одмах по покретању прелази у режим лемљења и греје се."
},
"CooldownBlink": {
"text": "УпзХла",
"text2": [
"Упозорење",
"при хлађењу"
],
"desc": "Приказ температуре трепће приликом хлађења докле год је врх и даље врућ."
},
"TemperatureCalibration": {
"text": "КалбрТмп",
"text2": [
"Калибрација",
"температуре"
],
"desc": "Калибрисање одступања температуре врха у односу на дршку."
},
"SettingsReset": {
"text": "ФабрПост",
"text2": [
"Фабричке",
"поставке"
],
"desc": "Враћање свих поставки на фабричке вредности."
},
"VoltageCalibration": {
"text": "КалбрНап",
"text2": [
"Калибрација",
"улазног напона"
],
"desc": "Калибрисање улазног напона. Подешава се на тастере; дуги притисак за крај."
},
"AdvancedSoldering": {
"text": "ДтљЛем",
"text2": [
"Детаљи током",
"лемљења"
],
"desc": "Приказивање детаљних информација на екрану током лемљења."
},
"ScrollingSpeed": {
"text": "БрзПор",
"text2": [
"Брзина",
"порука"
],
"desc": "Брзина кретања описних порука попут ове. <С=споро, Б=брзо>"
},
"TipModel": {
"text": "МоделВрх",
"text2": [
"Модел",
"врха"
],
"desc": "Одабир модела лемног врха."
},
"SimpleCalibrationMode": {
"text": "ЈедКалбр",
"text2": [
"Једноставна",
"калибрација"
],
"desc": "Једноставна калибрација кипућом водом."
},
"AdvancedCalibrationMode": {
"text": "НапКалбр",
"text2": [
"Напредна",
"калибрација"
],
"desc": "Напредна калибрација помоћу термопара."
},
"PowerInput": {
"text": "УлазСнаг",
"text2": [
"Улазна",
"снага"
],
"desc": "Снага напајања у ватима."
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "SR_LATN",
"languageLocalName": "Srpski",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibracija gotova",
"SettingsCalibrationWarning": "Proverite da li je vrh ohlađen na sobnu temperaturu pre nego što nastavite",
"SettingsResetWarning": "Da li zaista želite da vratite postavke na fabričke vrednosti?",
"UVLOWarningString": "NIZ.NAP.",
"UndervoltageString": "PRENIZAK NAPON",
"InputVoltageString": "Ul. napon: ",
"WarningTipTempString": "Temp. vrha: ",
"BadTipString": "LOŠ VRH",
"SleepingSimpleString": "Zzz",
"SleepingAdvancedString": "Spavanje...",
"WarningSimpleString": "VRUĆ",
"WarningAdvancedString": "! OPREZ, VRUĆE !",
"SleepingTipAdvancedString": "Vrh:",
"IdleTipString": "Vrh:",
"IdleSetString": " / ",
"TipDisconnectedString": "VRH NIJE SPOJEN",
"SolderingAdvancedPowerPrompt": "Snaga: ",
"OffString": "Isk"
},
"characters": {
"SettingRightChar": "D",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "B",
"SettingSlowChar": "S"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Postavke",
"lemljenja"
],
"desc": "Postavke režima lemljenja."
},
"PowerSavingMenu": {
"text2": [
"Ušteda",
"energije"
],
"desc": "Postavke režima mirovanja."
},
"UIMenu": {
"text2": [
"Korisničko",
"sučelje"
],
"desc": "Postavke korisničkog sučelja."
},
"AdvancedMenu": {
"text2": [
"Napredne",
"postavke"
],
"desc": "Napredne postavke."
}
},
"menuOptions": {
"PowerSource": {
"text": "Npjnj",
"text2": [
"Vrsta",
"napajanja"
],
"desc": "Tip napajanja; određuje najniži radni napon. <DC=adapter (10V), S=baterija (3,3V po ćeliji)>"
},
"SleepTemperature": {
"text": "TSpv",
"text2": [
"Temp.",
"spavanja"
],
"desc": "Temperatura na koju se spušta lemilica nakon određenog vremena mirovanja. <C/F>"
},
"SleepTimeout": {
"text": "VSpv",
"text2": [
"Vreme do",
"spavanja"
],
"desc": "Vreme mirovanja nakon koga lemilica spušta temperaturu. <M=minuti, S=sekunde>"
},
"ShutdownTimeout": {
"text": "VGšnj",
"text2": [
"Vreme do",
"gašenja"
],
"desc": "Vreme mirovanja nakon koga se lemilica gasi. <M=minuti>"
},
"MotionSensitivity": {
"text": "OstPkr",
"text2": [
"Osetljivost",
"na pokret"
],
"desc": "Osetljivost senzora pokreta. <0=isključeno, 1=najmanje osetljivo, 9=najosetljivije>"
},
"TemperatureUnit": {
"text": "JedTmp",
"text2": [
"Jedinica",
"temperature"
],
"desc": "Jedinice u kojima se prikazuje temperatura. <C=celzijus, F=farenhajt>"
},
"AdvancedIdle": {
"text": "DtlMir",
"text2": [
"Detalji tokom",
"mirovanja"
],
"desc": "Prikazivanje detaljnih informacija na ekranu tokom mirovanja."
},
"DisplayRotation": {
"text": "OrjEkr",
"text2": [
"Orijentacija",
"ekrana"
],
"desc": "Kako je okrenut ekran. <A=automatski, L=za levoruke, D=za desnoruke>"
},
"BoostEnabled": {
"text": "Pjčnj",
"text2": [
"Pojačanje",
"omogućeno"
],
"desc": "Držanje prednjeg tastera tokom lemljenja dodatno pojačava temperaturu vrha."
},
"BoostTemperature": {
"text": "TPjč",
"text2": [
"Temp.",
"pojačanja"
],
"desc": "Temperatura vrha lemilice u toku pojačanja."
},
"AutoStart": {
"text": "VrćSta",
"text2": [
"Vrući",
"start"
],
"desc": "Lemilica odmah po pokretanju prelazi u režim lemljenja i greje se."
},
"CooldownBlink": {
"text": "UpzHla",
"text2": [
"Upozorenje",
"pri hlađenju"
],
"desc": "Prikaz temperature trepće prilikom hlađenja dokle god je vrh i dalje vruć."
},
"TemperatureCalibration": {
"text": "KalbrTmp",
"text2": [
"Kalibracija",
"temperature"
],
"desc": "Kalibrisanje odstupanja temperature vrha u odnosu na dršku."
},
"SettingsReset": {
"text": "FabrPost",
"text2": [
"Fabričke",
"postavke"
],
"desc": "Vraćanje svih postavki na fabričke vrednosti."
},
"VoltageCalibration": {
"text": "KalbrNap",
"text2": [
"Kalibracija",
"ulaznog napona"
],
"desc": "Kalibrisanje ulaznog napona. Podešava se na tastere; dugi pritisak za kraj."
},
"AdvancedSoldering": {
"text": "DtlLem",
"text2": [
"Detalji tokom",
"lemljenja"
],
"desc": "Prikazivanje detaljnih informacija na ekranu tokom lemljenja."
},
"ScrollingSpeed": {
"text": "BrzPor",
"text2": [
"Brzina",
"poruka"
],
"desc": "Brzina kretanja opisnih poruka poput ove. <S=sporo, B=brzo>"
},
"TipModel": {
"text": "ModelVrh",
"text2": [
"Model",
"vrha"
],
"desc": "Odabir modela lemnog vrha."
},
"SimpleCalibrationMode": {
"text": "JedKalbr",
"text2": [
"Jednostavna",
"kalibracija"
],
"desc": "Jednostavna kalibracija kipućom vodom."
},
"AdvancedCalibrationMode": {
"text": "NapKalbr",
"text2": [
"Napredna",
"kalibracija"
],
"desc": "Napredna kalibracija pomoću termopara."
},
"PowerInput": {
"text": "UlazSnag",
"text2": [
"Ulazna",
"snaga"
],
"desc": "Snaga napajanja u vatima."
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "SV",
"languageLocalName": "Svenska",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"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 LÅG",
"UndervoltageString": "Underspänning",
"InputVoltageString": "Inspän. V: ",
"WarningTipTempString": "Spetstemp: ",
"BadTipString": "SPETSFEL",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Viloläge...",
"WarningSimpleString": "VARM",
"WarningAdvancedString": "!! SPETS VARM !!",
"SleepingTipAdvancedString": "Spets:",
"IdleTipString": "Spets:",
"IdleSetString": " Ange:",
"TipDisconnectedString": "SPETS URTAGEN",
"SolderingAdvancedPowerPrompt": "Ström: ",
"OffString": "Av"
},
"characters": {
"SettingRightChar": "H",
"SettingLeftChar": "V",
"SettingAutoChar": "A",
"SettingFastChar": "S",
"SettingSlowChar": "L"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Lödnings-",
"inställningar"
],
"desc": "Lödningsinställningar"
},
"PowerSavingMenu": {
"text2": [
"Vilo-",
"lägen"
],
"desc": "Viloläges-inställningar"
},
"UIMenu": {
"text2": [
"Användar-",
"gränssnitt"
],
"desc": "Användargränssnitts-inställningar"
},
"AdvancedMenu": {
"text2": [
"Avancerade",
"alternativ"
],
"desc": "Avancerade alternativ"
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Ström-",
"källa"
],
"desc": "Strömkälla. Anger lägsta spänning. <DC 10V> <S 3.3V per cell>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Vilo-",
"temp"
],
"desc": "Vilotemperatur <C>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Vilo-",
"timeout"
],
"desc": "Vilo-timeout <Minuter/Seconder>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Avstängn.",
"timeout"
],
"desc": "Avstängnings-timeout <Minuter>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Rörelse-",
"känslighet"
],
"desc": "Rörelsekänslighet <0.Av 1.minst känslig 9.mest känslig>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Temperatur-",
"enheter"
],
"desc": "Temperaturenhet <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Detaljerad",
"vid inaktiv"
],
"desc": "Visa detaljerad information i mindre typsnitt när inaktiv."
},
"DisplayRotation": {
"text": "",
"text2": [
"Visnings",
"läge"
],
"desc": "Visningsläge <A. Automatisk V. Vänsterhänt H. Högerhänt>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Turboläge",
"aktiverat"
],
"desc": "Aktivera främre knappen för turboläge (temperaturhöjning) vid lödning"
},
"BoostTemperature": {
"text": "",
"text2": [
"Turbo-",
"temp"
],
"desc": "Temperatur i \"turbo\"-läge"
},
"AutoStart": {
"text": "",
"text2": [
"Auto",
"start"
],
"desc": "Startar automatiskt lödpennan vid uppstart. T=Lödning, S=Viloläge, F=Av"
},
"CooldownBlink": {
"text": "",
"text2": [
"Nedkylnings-",
"blink"
],
"desc": "Blinka temperaturen medan spetsen kyls av och fortfarande är varm."
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Kalibrera",
"temperatur?"
],
"desc": "Kalibrera spets-kompensation."
},
"SettingsReset": {
"text": "",
"text2": [
"Fabriks-",
"inställ?"
],
"desc": "Återställ alla inställningar"
},
"VoltageCalibration": {
"text": "",
"text2": [
"Kalibrera",
"inspänning?"
],
"desc": "Inspänningskalibrering. Knapparna justerar, håll inne för avslut"
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Detaljerad",
"lödng.skärm"
],
"desc": "Visa detaljerad information vid lödning"
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Beskrivning",
"rullhast."
],
"desc": "Hastighet som den här texten rullar i"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "TR",
"languageLocalName": "Türk",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"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?",
"UVLOWarningString": "DC LOW",
"UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ",
"BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Uyuyor...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "UYARI! UÇ SICAK!",
"SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:",
"IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "F",
"SettingSlowChar": "S"
},
"menuDouble": false,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Soldering",
"Settings"
],
"desc": "Soldering settings"
},
"PowerSavingMenu": {
"text2": [
"Sleep",
"Modes"
],
"desc": "Power Saving Settings"
},
"UIMenu": {
"text2": [
"User",
"Interface"
],
"desc": "User Interface settings"
},
"AdvancedMenu": {
"text2": [
"Advanced",
"Options"
],
"desc": "Advanced options"
}
},
"menuOptions": {
"PowerSource": {
"text": "PWRSC",
"text2": [
"",
""
],
"desc": "Güç Kaynağı. kesim geriliminı ayarlar. <DC 10V> <S 3.3V hücre başına>"
},
"SleepTemperature": {
"text": "STMP",
"text2": [
"",
""
],
"desc": "Uyku Sıcaklığı <C>"
},
"SleepTimeout": {
"text": "STME",
"text2": [
"",
""
],
"desc": "Uyku Zaman Aşımı <Dakika/Saniye>"
},
"ShutdownTimeout": {
"text": "SHTME",
"text2": [
"",
""
],
"desc": "Kapatma Zaman Aşımı <Dakika>"
},
"MotionSensitivity": {
"text": "MSENSE",
"text2": [
"",
""
],
"desc": "Hareket Hassasiyeti <0.Kapalı 1.En az duyarlı 9.En duyarlı>"
},
"TemperatureUnit": {
"text": "TMPUNT",
"text2": [
"",
""
],
"desc": "Sıcaklık Ünitesi <C=Celsius F=Fahrenheit>"
},
"AdvancedIdle": {
"text": "ADVIDL",
"text2": [
"",
""
],
"desc": "Boş ekranda ayrıntılı bilgileri daha küçük bir yazı tipi ile göster."
},
"DisplayRotation": {
"text": "DSPROT",
"text2": [
"",
""
],
"desc": "Görüntü Yönlendirme <A. Otomatik L. Solak R. Sağlak>"
},
"BoostEnabled": {
"text": "BOOST",
"text2": [
"",
""
],
"desc": "Lehimleme yaparken ön tuşa basmak Boost moduna sokar(450C)"
},
"BoostTemperature": {
"text": "BTMP",
"text2": [
"",
""
],
"desc": "\"boost\" Modu Derecesi"
},
"AutoStart": {
"text": "ASTART",
"text2": [
"",
""
],
"desc": "Güç verildiğinde otomatik olarak lehimleme modunda başlat. T=Lehimleme Modu, S= Uyku Modu,F=Kapalı"
},
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"",
""
],
"desc": "Soğutma ekranında uç hala sıcakken derece yanıp sönsün."
},
"TemperatureCalibration": {
"text": "TMP CAL?",
"text2": [
"",
""
],
"desc": "Ucu kalibre et."
},
"SettingsReset": {
"text": "RESET?",
"text2": [
"",
""
],
"desc": "Bütün ayarları sıfırla"
},
"VoltageCalibration": {
"text": "CAL VIN?",
"text2": [
"",
""
],
"desc": "VIN Kalibrasyonu. Düğmeler ayarlar, çıkmak için uzun bas."
},
"AdvancedSoldering": {
"text": "ADVSLD",
"text2": [
"",
""
],
"desc": "Lehimleme yaparken detaylı bilgi göster"
},
"ScrollingSpeed": {
"text": "DESCSP",
"text2": [
"",
""
],
"desc": "Speed this text scrolls past at"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,233 @@
{
"languageCode": "UK",
"languageLocalName": "Українська",
"cyrillicGlyphs": true,
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Переконайтеся, що жало охололо до кімнатної температури, перш ніж продовжувати!",
"SettingsResetWarning": "Ви дійсно хочете скинути налаштування до значень за замовчуванням?",
"UVLOWarningString": "АККУМ--",
"UndervoltageString": "Під живленням",
"InputVoltageString": "Жив.(B): ",
"WarningTipTempString": "Жало t°: ",
"BadTipString": "Жало--",
"SleepingSimpleString": "Сон ",
"SleepingAdvancedString": "Очікування...",
"WarningSimpleString": "АЙ!",
"WarningAdvancedString": "УВАГА ГАРЯЧЕ!",
"SleepingTipAdvancedString": "Жало:",
"IdleTipString": "Жало:",
"IdleSetString": " ->",
"TipDisconnectedString": "Жало вимкнено!",
"SolderingAdvancedPowerPrompt": "Живлення: ",
"OffString": "Вим"
},
"characters": {
"SettingRightChar": "R",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "+",
"SettingSlowChar": "-"
},
"menuDouble": true,
"menuGroups": {
"SolderingMenu": {
"text2": [
"Пайка",
""
],
"desc": "Налаштування для режиму пайки. Діють при включеному жалі."
},
"PowerSavingMenu": {
"text2": [
"Сон",
""
],
"desc": "Налаштування при бездіяльності. Корисно що б не обпектися і з часом не спалити житло."
},
"UIMenu": {
"text2": [
"Інтерфейс",
""
],
"desc": "Користувальницький інтерфейс."
},
"AdvancedMenu": {
"text2": [
"Інші",
""
],
"desc": "Розширені налаштування. Додаткові зручності."
}
},
"menuOptions": {
"PowerSource": {
"text": "",
"text2": [
"Джерело",
"живлення"
],
"desc": "Установка напруги відключення. <DC - 10V, 3S - 9.9V, 4S - 13.2V, 5S - 16.5V, 6S - 19.8V>"
},
"SleepTemperature": {
"text": "",
"text2": [
"Темпер.",
"сну"
],
"desc": "Температура режиму очікування <C°/F°>"
},
"SleepTimeout": {
"text": "",
"text2": [
"Таймаут",
"сну"
],
"desc": "Час до переходу в режим очікування <Доступно отключение>"
},
"ShutdownTimeout": {
"text": "",
"text2": [
"Часу до",
"вимкнення"
],
"desc": "Час до відключення <Доступно відключення>"
},
"MotionSensitivity": {
"text": "",
"text2": [
"Чутл. сенсо-",
"ру руху"
],
"desc": "Акселерометр <0 - Викл. 1 хв. чутливості 9 - макс. чутливості>"
},
"TemperatureUnit": {
"text": "",
"text2": [
"Формат темпе-",
"ратури(C°/F°)"
],
"desc": "Одиниця виміру температури <C - Цельсій, F - Фаренгейт>"
},
"AdvancedIdle": {
"text": "",
"text2": [
"Детальний ре-",
"жим очікуван."
],
"desc": "Показувати детальну в режимі налаштувань <Замість картинки>"
},
"DisplayRotation": {
"text": "",
"text2": [
"Автоповорот",
"екрану"
],
"desc": "Орієнтація дисплея <A - Автоповорот, L - Лівша, R - Правша>"
},
"BoostEnabled": {
"text": "",
"text2": [
"Режим",
"Турбо"
],
"desc": "Турбо-режим при утриманні кнопки А при пайці"
},
"BoostTemperature": {
"text": "",
"text2": [
"Темпер.",
"Турбо"
],
"desc": "Температура в Турбо-режимі"
},
"AutoStart": {
"text": "",
"text2": [
"Гарячий",
"старт"
],
"desc": "Автоматичний перехід в режим пайки при включенні живлення."
},
"CooldownBlink": {
"text": "",
"text2": [
"Показ t° при",
"охолодж."
],
"desc": "Показувати температуру на екрані охолодження, поки жало залишається гарячим, при цьому екран моргає"
},
"TemperatureCalibration": {
"text": "",
"text2": [
"Калібровка",
"температури"
],
"desc": "Калібрування температурного датчика."
},
"SettingsReset": {
"text": "",
"text2": [
"Скинути всі",
"налаштування?"
],
"desc": "Скидання всіх параметрів до вихідних значень."
},
"VoltageCalibration": {
"text": "",
"text2": [
"Калібровка",
"напруга"
],
"desc": "Калібрування напруги входу. Налаштувати кнопками, натиснути і утримати щоб завершити."
},
"AdvancedSoldering": {
"text": "",
"text2": [
"Детальний ре-",
"жим пайки"
],
"desc": "Показувати детальну інформацію при пайці."
},
"ScrollingSpeed": {
"text": "",
"text2": [
"Швидкість",
"тексту"
],
"desc": "Швидкість прокрутки тексту"
},
"TipModel": {
"text": "TIPMO",
"text2": [
"Tip",
"Model"
],
"desc": "Tip Model selection"
},
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"Simple",
"Calibration"
],
"desc": "Simple Calibration using Hot water"
},
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"Advanced",
"Calibration"
],
"desc": "Advanced calibration using thermocouple on the tip"
},
"PowerInput": {
"text": "PWRW",
"text2": [
"Power",
"Wattage"
],
"desc": "Power Wattage of the power adapter used"
}
}
}

View File

@@ -0,0 +1,110 @@
* {
font-family: sans-serif;
}
h1 {
color: #66A;
}
h1 span {
color: #000;
}
table.data, div.data {
border: 1px solid #888;
width: 100%;
}
div.value {
margin: 2px;
}
.header input {
width: 50% !important;
}
input.short {
width: 150px !important;
font-family: monospace;
}
.header .selected {
display: block;
font-family: monospace;
}
.stringId {
font-family: monospace;
font-weight: bold;
}
.label {
background-color: #ddf;
padding: 0.5em;
width: 20%;
color: #66A;
}
.value {
background-color: #eef;
}
.value .label {
width: 99%;
font-weight: bold;
}
td input {
width: 99%;
}
input.unchanged, input.empty, .unchanged input, .empty input {
background-color: #ffc;
}
input.invalid, .invalid input {
background-color: #f99;
}
.ref, .tran input {
font-family: monospace;
}
.ref::before, .ref::after {
color: #99F;
font-family: sans-serif;
content: "\"";
}
.note {
color : #66A;
font-style: italic;
}
div.constraint {
float: right;
display: inline-block;
font-family: monospace;
color: #66A;
}
.invalid .constraint {
color: #f00;
}
.value {
font-size: smaller;
}
.hidden {
display: none;
}
.footer {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.saved {
background-color: #ddd;
}

View File

@@ -0,0 +1,68 @@
function saveToFile(txt, filename){
var a = document.createElement('a');
a.setAttribute("style", "display: none");
document.body.appendChild(a);
a.setAttribute('href', 'data:application/json;charset=utf-8,'+encodeURIComponent(txt));
a.setAttribute('download', filename);
a.click();
document.body.removeChild(a);
}
function saveJSON(obj, filename){
var txt = JSON.stringify(obj,"", "\t");
saveToFile(txt, filename);
}
function showJSON(obj, filename) {
var txt = JSON.stringify(obj,"", "\t");
var a = window.open("", "_blank").document;
a.write("<PLAINTEXT>");
a.write(txt);
a.title = filename;
}
function startsWith(str, prefix) {
return str.substring(0, prefix.length) == prefix;
}
function endsWith(str, suffix) {
return str.substring(str.length-suffix.length) == suffix;
}
function isDefined(obj) {
return typeof obj !== 'undefined';
}
function isNumber(obj) {
return isDefined(obj) && obj != null;
}
function isDefinedNN(obj) {
return isDefined(obj) && obj != null;
}
function padLeft(str, chr, maxLen) {
str = str.toString();
return str.length < maxLen ? padLeft(chr + str, chr, maxLen) : str;
}
// sourceArray contains a list of objects that have a property "id". This methods makes a map using the "id" as a key, and the owning object as a value.
function copyArrayToMap(sourceArray, map) {
if (!isDefined(map)) {
map = {};
}
var len = sourceArray.length;
for (var i = 0; i<len; i++) {
var v = sourceArray[i];
map[v.id] = v;
}
return map;
}
function checkTranslationFile(fileName) {
return startsWith(fileName, "translation_") && endsWith(fileName, ".json") || confirm("Are you sure that you want to use "+fileName+" instead of a translation_*.json file?");
}
function xunescape(str) {
return str.replace(/\\/g, "");
}

View File

@@ -0,0 +1,232 @@
var def =
{
"messages": [
{
"id": "SettingsCalibrationDone"
},
{
"id": "SettingsCalibrationWarning"
},
{
"id": "SettingsResetWarning"
},
{
"id": "UVLOWarningString",
"maxLen": 8
},
{
"id": "UndervoltageString",
"maxLen": 16
},
{
"id": "InputVoltageString",
"maxLen": 11,
"note": "Preferably end with a space"
},
{
"id": "WarningTipTempString",
"maxLen": 12,
"note": "Preferably end with a space"
},
{
"id": "BadTipString",
"maxLen": 8
},
{
"id": "SleepingSimpleString",
"maxLen": 4
},
{
"id": "SleepingAdvancedString",
"maxLen": 16
},
{
"id": "WarningSimpleString",
"maxLen": 4
},
{
"id": "WarningAdvancedString",
"maxLen": 16
},
{
"id": "SleepingTipAdvancedString",
"maxLen": 6
},
{
"id": "IdleTipString",
"lenSum":
{
"fields": ["IdleTipString", "IdleSetString"],
"maxLen": 10
}
},
{
"id": "IdleSetString",
"lenSum":
{
"fields": ["IdleTipString", "IdleSetString"],
"maxLen": 10
},
"note": "Preferably start with a space"
},
{
"id": "TipDisconnectedString",
"maxLen": 16
},
{
"id": "SolderingAdvancedPowerPrompt",
"maxLen": null
},
{
"id": "OffString",
"maxLen": 3
}
],
"characters": [
{
"id": "SettingRightChar",
"len": 1
},
{
"id": "SettingLeftChar",
"len": 1
},
{
"id": "SettingAutoChar",
"len": 1
},
{
"id": "SettingFastChar",
"len": 1
},
{
"id": "SettingSlowChar",
"len": 1
}
],
"menuGroups": [
{
"id": "SolderingMenu",
"maxLen": 11
},
{
"id": "PowerSavingMenu",
"maxLen": 11
},
{
"id": "UIMenu",
"maxLen": 11
},
{
"id": "AdvancedMenu",
"maxLen": 11
}
],
"menuOptions": [
{
"id": "PowerSource",
"maxLen": 5,
"maxLen2": 11
},
{
"id": "SleepTemperature",
"maxLen": 4,
"maxLen2": 9
},
{
"id": "SleepTimeout",
"maxLen": 4,
"maxLen2": 9
},
{
"id": "ShutdownTimeout",
"maxLen": 5,
"maxLen2": 11
},
{
"id": "MotionSensitivity",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "TemperatureUnit",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "AdvancedIdle",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "DisplayRotation",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "BoostEnabled",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "BoostTemperature",
"maxLen": 4,
"maxLen2": 9
},
{
"id": "AutoStart",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "CooldownBlink",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "TemperatureCalibration",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "SettingsReset",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "VoltageCalibration",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "AdvancedSoldering",
"maxLen": 6,
"maxLen2": 13
},
{
"id": "ScrollingSpeed",
"maxLen": 6,
"maxLen2": 11
},
{
"id": "TipModel",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "SimpleCalibrationMode",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "AdvancedCalibrationMode",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "PowerInput",
"maxLen": 8,
"maxLen2": 16
}
]
}

6
Translation.md Normal file
View File

@@ -0,0 +1,6 @@
# Translation
If you would like to contribute a translation, use the [Translation Editor](http://htmlpreview.github.io/?https://github.com/Ralim/ts100/blob/master/Translation%20Editor/TranslationEditor.html).
[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.

Binary file not shown.

146
workspace/TS100/.cproject Normal file
View File

@@ -0,0 +1,146 @@
<?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>

5
workspace/TS100/.gitignore vendored Normal file
View File

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

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ts100</name>
<name>TS100</name>
<comment></comment>
<projects>
</projects>
@@ -20,6 +20,7 @@
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</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>

View File

@@ -0,0 +1,15 @@
<?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

@@ -0,0 +1,73 @@
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

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

View File

@@ -0,0 +1,66 @@
{
"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
}

View File

@@ -0,0 +1,136 @@
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. October 2015
* $Revision: V.1.4.5 a
*
* Project: CMSIS DSP Library
* Title: arm_common_tables.h
*
* Description: This file has extern declaration for common tables like Bitreverse, reciprocal etc which are used across different functions
*
* Target Processor: Cortex-M4/Cortex-M3
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* - Neither the name of ARM LIMITED nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* -------------------------------------------------------------------- */
#ifndef _ARM_COMMON_TABLES_H
#define _ARM_COMMON_TABLES_H
#include "arm_math.h"
extern const uint16_t armBitRevTable[1024];
extern const q15_t armRecipTableQ15[64];
extern const q31_t armRecipTableQ31[64];
/* extern const q31_t realCoefAQ31[1024]; */
/* extern const q31_t realCoefBQ31[1024]; */
extern const float32_t twiddleCoef_16[32];
extern const float32_t twiddleCoef_32[64];
extern const float32_t twiddleCoef_64[128];
extern const float32_t twiddleCoef_128[256];
extern const float32_t twiddleCoef_256[512];
extern const float32_t twiddleCoef_512[1024];
extern const float32_t twiddleCoef_1024[2048];
extern const float32_t twiddleCoef_2048[4096];
extern const float32_t twiddleCoef_4096[8192];
#define twiddleCoef twiddleCoef_4096
extern const q31_t twiddleCoef_16_q31[24];
extern const q31_t twiddleCoef_32_q31[48];
extern const q31_t twiddleCoef_64_q31[96];
extern const q31_t twiddleCoef_128_q31[192];
extern const q31_t twiddleCoef_256_q31[384];
extern const q31_t twiddleCoef_512_q31[768];
extern const q31_t twiddleCoef_1024_q31[1536];
extern const q31_t twiddleCoef_2048_q31[3072];
extern const q31_t twiddleCoef_4096_q31[6144];
extern const q15_t twiddleCoef_16_q15[24];
extern const q15_t twiddleCoef_32_q15[48];
extern const q15_t twiddleCoef_64_q15[96];
extern const q15_t twiddleCoef_128_q15[192];
extern const q15_t twiddleCoef_256_q15[384];
extern const q15_t twiddleCoef_512_q15[768];
extern const q15_t twiddleCoef_1024_q15[1536];
extern const q15_t twiddleCoef_2048_q15[3072];
extern const q15_t twiddleCoef_4096_q15[6144];
extern const float32_t twiddleCoef_rfft_32[32];
extern const float32_t twiddleCoef_rfft_64[64];
extern const float32_t twiddleCoef_rfft_128[128];
extern const float32_t twiddleCoef_rfft_256[256];
extern const float32_t twiddleCoef_rfft_512[512];
extern const float32_t twiddleCoef_rfft_1024[1024];
extern const float32_t twiddleCoef_rfft_2048[2048];
extern const float32_t twiddleCoef_rfft_4096[4096];
/* floating-point bit reversal tables */
#define ARMBITREVINDEXTABLE__16_TABLE_LENGTH ((uint16_t)20 )
#define ARMBITREVINDEXTABLE__32_TABLE_LENGTH ((uint16_t)48 )
#define ARMBITREVINDEXTABLE__64_TABLE_LENGTH ((uint16_t)56 )
#define ARMBITREVINDEXTABLE_128_TABLE_LENGTH ((uint16_t)208 )
#define ARMBITREVINDEXTABLE_256_TABLE_LENGTH ((uint16_t)440 )
#define ARMBITREVINDEXTABLE_512_TABLE_LENGTH ((uint16_t)448 )
#define ARMBITREVINDEXTABLE1024_TABLE_LENGTH ((uint16_t)1800)
#define ARMBITREVINDEXTABLE2048_TABLE_LENGTH ((uint16_t)3808)
#define ARMBITREVINDEXTABLE4096_TABLE_LENGTH ((uint16_t)4032)
extern const uint16_t armBitRevIndexTable16[ARMBITREVINDEXTABLE__16_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable32[ARMBITREVINDEXTABLE__32_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable64[ARMBITREVINDEXTABLE__64_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable128[ARMBITREVINDEXTABLE_128_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable256[ARMBITREVINDEXTABLE_256_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable512[ARMBITREVINDEXTABLE_512_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable1024[ARMBITREVINDEXTABLE1024_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable2048[ARMBITREVINDEXTABLE2048_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable4096[ARMBITREVINDEXTABLE4096_TABLE_LENGTH];
/* fixed-point bit reversal tables */
#define ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH ((uint16_t)12 )
#define ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH ((uint16_t)24 )
#define ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH ((uint16_t)56 )
#define ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH ((uint16_t)112 )
#define ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH ((uint16_t)240 )
#define ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH ((uint16_t)480 )
#define ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH ((uint16_t)992 )
#define ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH ((uint16_t)1984)
#define ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH ((uint16_t)4032)
extern const uint16_t armBitRevIndexTable_fixed_16[ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_32[ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_64[ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_128[ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_256[ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_512[ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_1024[ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_2048[ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH];
extern const uint16_t armBitRevIndexTable_fixed_4096[ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH];
/* Tables for Fast Math Sine and Cosine */
extern const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE + 1];
extern const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE + 1];
extern const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE + 1];
#endif /* ARM_COMMON_TABLES_H */

View File

@@ -0,0 +1,79 @@
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_const_structs.h
*
* Description: This file has constant structs that are initialized for
* user convenience. For example, some can be given as
* arguments to the arm_cfft_f32() function.
*
* Target Processor: Cortex-M4/Cortex-M3
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* - Neither the name of ARM LIMITED nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* -------------------------------------------------------------------- */
#ifndef _ARM_CONST_STRUCTS_H
#define _ARM_CONST_STRUCTS_H
#include "arm_math.h"
#include "arm_common_tables.h"
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len16;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len32;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len64;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len128;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len256;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len512;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048;
extern const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len16;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len32;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len64;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len128;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len256;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len512;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048;
extern const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len16;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len32;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len64;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len128;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len256;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len512;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048;
extern const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096;
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,734 @@
/**************************************************************************//**
* @file cmsis_armcc.h
* @brief CMSIS Cortex-M Core Function/Instruction Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#ifndef __CMSIS_ARMCC_H
#define __CMSIS_ARMCC_H
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 400677)
#error "Please use ARM Compiler Toolchain V4.0.677 or later!"
#endif
/* ########################### Core Function Access ########################### */
/** \ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
@{
*/
/* intrinsic void __enable_irq(); */
/* intrinsic void __disable_irq(); */
/**
\brief Get Control Register
\details Returns the content of the Control Register.
\return Control Register value
*/
__STATIC_INLINE uint32_t __get_CONTROL(void)
{
register uint32_t __regControl __ASM("control");
return(__regControl);
}
/**
\brief Set Control Register
\details Writes the given value to the Control Register.
\param [in] control Control Register value to set
*/
__STATIC_INLINE void __set_CONTROL(uint32_t control)
{
register uint32_t __regControl __ASM("control");
__regControl = control;
}
/**
\brief Get IPSR Register
\details Returns the content of the IPSR Register.
\return IPSR Register value
*/
__STATIC_INLINE uint32_t __get_IPSR(void)
{
register uint32_t __regIPSR __ASM("ipsr");
return(__regIPSR);
}
/**
\brief Get APSR Register
\details Returns the content of the APSR Register.
\return APSR Register value
*/
__STATIC_INLINE uint32_t __get_APSR(void)
{
register uint32_t __regAPSR __ASM("apsr");
return(__regAPSR);
}
/**
\brief Get xPSR Register
\details Returns the content of the xPSR Register.
\return xPSR Register value
*/
__STATIC_INLINE uint32_t __get_xPSR(void)
{
register uint32_t __regXPSR __ASM("xpsr");
return(__regXPSR);
}
/**
\brief Get Process Stack Pointer
\details Returns the current value of the Process Stack Pointer (PSP).
\return PSP Register value
*/
__STATIC_INLINE uint32_t __get_PSP(void)
{
register uint32_t __regProcessStackPointer __ASM("psp");
return(__regProcessStackPointer);
}
/**
\brief Set Process Stack Pointer
\details Assigns the given value to the Process Stack Pointer (PSP).
\param [in] topOfProcStack Process Stack Pointer value to set
*/
__STATIC_INLINE void __set_PSP(uint32_t topOfProcStack)
{
register uint32_t __regProcessStackPointer __ASM("psp");
__regProcessStackPointer = topOfProcStack;
}
/**
\brief Get Main Stack Pointer
\details Returns the current value of the Main Stack Pointer (MSP).
\return MSP Register value
*/
__STATIC_INLINE uint32_t __get_MSP(void)
{
register uint32_t __regMainStackPointer __ASM("msp");
return(__regMainStackPointer);
}
/**
\brief Set Main Stack Pointer
\details Assigns the given value to the Main Stack Pointer (MSP).
\param [in] topOfMainStack Main Stack Pointer value to set
*/
__STATIC_INLINE void __set_MSP(uint32_t topOfMainStack)
{
register uint32_t __regMainStackPointer __ASM("msp");
__regMainStackPointer = topOfMainStack;
}
/**
\brief Get Priority Mask
\details Returns the current state of the priority mask bit from the Priority Mask Register.
\return Priority Mask value
*/
__STATIC_INLINE uint32_t __get_PRIMASK(void)
{
register uint32_t __regPriMask __ASM("primask");
return(__regPriMask);
}
/**
\brief Set Priority Mask
\details Assigns the given value to the Priority Mask Register.
\param [in] priMask Priority Mask
*/
__STATIC_INLINE void __set_PRIMASK(uint32_t priMask)
{
register uint32_t __regPriMask __ASM("primask");
__regPriMask = (priMask);
}
#if (__CORTEX_M >= 0x03U) || (__CORTEX_SC >= 300U)
/**
\brief Enable FIQ
\details Enables FIQ interrupts by clearing the F-bit in the CPSR.
Can only be executed in Privileged modes.
*/
#define __enable_fault_irq __enable_fiq
/**
\brief Disable FIQ
\details Disables FIQ interrupts by setting the F-bit in the CPSR.
Can only be executed in Privileged modes.
*/
#define __disable_fault_irq __disable_fiq
/**
\brief Get Base Priority
\details Returns the current value of the Base Priority register.
\return Base Priority register value
*/
__STATIC_INLINE uint32_t __get_BASEPRI(void)
{
register uint32_t __regBasePri __ASM("basepri");
return(__regBasePri);
}
/**
\brief Set Base Priority
\details Assigns the given value to the Base Priority register.
\param [in] basePri Base Priority value to set
*/
__STATIC_INLINE void __set_BASEPRI(uint32_t basePri)
{
register uint32_t __regBasePri __ASM("basepri");
__regBasePri = (basePri & 0xFFU);
}
/**
\brief Set Base Priority with condition
\details Assigns the given value to the Base Priority register only if BASEPRI masking is disabled,
or the new value increases the BASEPRI priority level.
\param [in] basePri Base Priority value to set
*/
__STATIC_INLINE void __set_BASEPRI_MAX(uint32_t basePri)
{
register uint32_t __regBasePriMax __ASM("basepri_max");
__regBasePriMax = (basePri & 0xFFU);
}
/**
\brief Get Fault Mask
\details Returns the current value of the Fault Mask register.
\return Fault Mask register value
*/
__STATIC_INLINE uint32_t __get_FAULTMASK(void)
{
register uint32_t __regFaultMask __ASM("faultmask");
return(__regFaultMask);
}
/**
\brief Set Fault Mask
\details Assigns the given value to the Fault Mask register.
\param [in] faultMask Fault Mask value to set
*/
__STATIC_INLINE void __set_FAULTMASK(uint32_t faultMask)
{
register uint32_t __regFaultMask __ASM("faultmask");
__regFaultMask = (faultMask & (uint32_t)1);
}
#endif /* (__CORTEX_M >= 0x03U) || (__CORTEX_SC >= 300U) */
#if (__CORTEX_M == 0x04U) || (__CORTEX_M == 0x07U)
/**
\brief Get FPSCR
\details Returns the current value of the Floating Point Status/Control register.
\return Floating Point Status/Control register value
*/
__STATIC_INLINE uint32_t __get_FPSCR(void)
{
#if (__FPU_PRESENT == 1U) && (__FPU_USED == 1U)
register uint32_t __regfpscr __ASM("fpscr");
return(__regfpscr);
#else
return(0U);
#endif
}
/**
\brief Set FPSCR
\details Assigns the given value to the Floating Point Status/Control register.
\param [in] fpscr Floating Point Status/Control value to set
*/
__STATIC_INLINE void __set_FPSCR(uint32_t fpscr)
{
#if (__FPU_PRESENT == 1U) && (__FPU_USED == 1U)
register uint32_t __regfpscr __ASM("fpscr");
__regfpscr = (fpscr);
#endif
}
#endif /* (__CORTEX_M == 0x04U) || (__CORTEX_M == 0x07U) */
/*@} end of CMSIS_Core_RegAccFunctions */
/* ########################## Core Instruction Access ######################### */
/** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
Access to dedicated instructions
@{
*/
/**
\brief No Operation
\details No Operation does nothing. This instruction can be used for code alignment purposes.
*/
#define __NOP __nop
/**
\brief Wait For Interrupt
\details Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs.
*/
#define __WFI __wfi
/**
\brief Wait For Event
\details Wait For Event is a hint instruction that permits the processor to enter
a low-power state until one of a number of events occurs.
*/
#define __WFE __wfe
/**
\brief Send Event
\details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
*/
#define __SEV __sev
/**
\brief Instruction Synchronization Barrier
\details Instruction Synchronization Barrier flushes the pipeline in the processor,
so that all instructions following the ISB are fetched from cache or memory,
after the instruction has been completed.
*/
#define __ISB() do {\
__schedule_barrier();\
__isb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Data Synchronization Barrier
\details Acts as a special kind of Data Memory Barrier.
It completes when all explicit memory accesses before this instruction complete.
*/
#define __DSB() do {\
__schedule_barrier();\
__dsb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Data Memory Barrier
\details Ensures the apparent order of the explicit memory operations before
and after the instruction, without ensuring their completion.
*/
#define __DMB() do {\
__schedule_barrier();\
__dmb(0xF);\
__schedule_barrier();\
} while (0U)
/**
\brief Reverse byte order (32 bit)
\details Reverses the byte order in integer value.
\param [in] value Value to reverse
\return Reversed value
*/
#define __REV __rev
/**
\brief Reverse byte order (16 bit)
\details Reverses the byte order in two unsigned short values.
\param [in] value Value to reverse
\return Reversed value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
{
rev16 r0, r0
bx lr
}
#endif
/**
\brief Reverse byte order in signed short value
\details Reverses the byte order in a signed short value with sign extension to integer.
\param [in] value Value to reverse
\return Reversed value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".revsh_text"))) __STATIC_INLINE __ASM int32_t __REVSH(int32_t value)
{
revsh r0, r0
bx lr
}
#endif
/**
\brief Rotate Right in unsigned value (32 bit)
\details Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
\param [in] value Value to rotate
\param [in] value Number of Bits to rotate
\return Rotated value
*/
#define __ROR __ror
/**
\brief Breakpoint
\details Causes the processor to enter Debug state.
Debug tools can use this to investigate system state when the instruction at a particular address is reached.
\param [in] value is ignored by the processor.
If required, a debugger can use it to store additional information about the breakpoint.
*/
#define __BKPT(value) __breakpoint(value)
/**
\brief Reverse bit order of value
\details Reverses the bit order of the given value.
\param [in] value Value to reverse
\return Reversed value
*/
#if (__CORTEX_M >= 0x03U) || (__CORTEX_SC >= 300U)
#define __RBIT __rbit
#else
__attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value)
{
uint32_t result;
int32_t s = 4 /*sizeof(v)*/ * 8 - 1; /* extra shift needed at end */
result = value; /* r will be reversed bits of v; first get LSB of v */
for (value >>= 1U; value; value >>= 1U)
{
result <<= 1U;
result |= value & 1U;
s--;
}
result <<= s; /* shift when v's highest bits are zero */
return(result);
}
#endif
/**
\brief Count leading zeros
\details Counts the number of leading zeros of a data value.
\param [in] value Value to count the leading zeros
\return number of leading zeros in value
*/
#define __CLZ __clz
#if (__CORTEX_M >= 0x03U) || (__CORTEX_SC >= 300U)
/**
\brief LDR Exclusive (8 bit)
\details Executes a exclusive LDR instruction for 8 bit value.
\param [in] ptr Pointer to data
\return value of type uint8_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXB(ptr) ((uint8_t ) __ldrex(ptr))
#else
#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief LDR Exclusive (16 bit)
\details Executes a exclusive LDR instruction for 16 bit values.
\param [in] ptr Pointer to data
\return value of type uint16_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXH(ptr) ((uint16_t) __ldrex(ptr))
#else
#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief LDR Exclusive (32 bit)
\details Executes a exclusive LDR instruction for 32 bit values.
\param [in] ptr Pointer to data
\return value of type uint32_t at (*ptr)
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __LDREXW(ptr) ((uint32_t ) __ldrex(ptr))
#else
#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(ptr)) _Pragma("pop")
#endif
/**
\brief STR Exclusive (8 bit)
\details Executes a exclusive STR instruction for 8 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXB(value, ptr) __strex(value, ptr)
#else
#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief STR Exclusive (16 bit)
\details Executes a exclusive STR instruction for 16 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXH(value, ptr) __strex(value, ptr)
#else
#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief STR Exclusive (32 bit)
\details Executes a exclusive STR instruction for 32 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
\return 0 Function succeeded
\return 1 Function failed
*/
#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION < 5060020)
#define __STREXW(value, ptr) __strex(value, ptr)
#else
#define __STREXW(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) _Pragma("pop")
#endif
/**
\brief Remove the exclusive lock
\details Removes the exclusive lock which is created by LDREX.
*/
#define __CLREX __clrex
/**
\brief Signed Saturate
\details Saturates a signed value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (1..32)
\return Saturated value
*/
#define __SSAT __ssat
/**
\brief Unsigned Saturate
\details Saturates an unsigned value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (0..31)
\return Saturated value
*/
#define __USAT __usat
/**
\brief Rotate Right with Extend (32 bit)
\details Moves each bit of a bitstring right by one bit.
The carry input is shifted in at the left end of the bitstring.
\param [in] value Value to rotate
\return Rotated value
*/
#ifndef __NO_EMBEDDED_ASM
__attribute__((section(".rrx_text"))) __STATIC_INLINE __ASM uint32_t __RRX(uint32_t value)
{
rrx r0, r0
bx lr
}
#endif
/**
\brief LDRT Unprivileged (8 bit)
\details Executes a Unprivileged LDRT instruction for 8 bit value.
\param [in] ptr Pointer to data
\return value of type uint8_t at (*ptr)
*/
#define __LDRBT(ptr) ((uint8_t ) __ldrt(ptr))
/**
\brief LDRT Unprivileged (16 bit)
\details Executes a Unprivileged LDRT instruction for 16 bit values.
\param [in] ptr Pointer to data
\return value of type uint16_t at (*ptr)
*/
#define __LDRHT(ptr) ((uint16_t) __ldrt(ptr))
/**
\brief LDRT Unprivileged (32 bit)
\details Executes a Unprivileged LDRT instruction for 32 bit values.
\param [in] ptr Pointer to data
\return value of type uint32_t at (*ptr)
*/
#define __LDRT(ptr) ((uint32_t ) __ldrt(ptr))
/**
\brief STRT Unprivileged (8 bit)
\details Executes a Unprivileged STRT instruction for 8 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRBT(value, ptr) __strt(value, ptr)
/**
\brief STRT Unprivileged (16 bit)
\details Executes a Unprivileged STRT instruction for 16 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRHT(value, ptr) __strt(value, ptr)
/**
\brief STRT Unprivileged (32 bit)
\details Executes a Unprivileged STRT instruction for 32 bit values.
\param [in] value Value to store
\param [in] ptr Pointer to location
*/
#define __STRT(value, ptr) __strt(value, ptr)
#endif /* (__CORTEX_M >= 0x03U) || (__CORTEX_SC >= 300U) */
/*@}*/ /* end of group CMSIS_Core_InstructionInterface */
/* ################### Compiler specific Intrinsics ########################### */
/** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
Access to dedicated SIMD instructions
@{
*/
#if (__CORTEX_M >= 0x04U) /* only for Cortex-M4 and above */
#define __SADD8 __sadd8
#define __QADD8 __qadd8
#define __SHADD8 __shadd8
#define __UADD8 __uadd8
#define __UQADD8 __uqadd8
#define __UHADD8 __uhadd8
#define __SSUB8 __ssub8
#define __QSUB8 __qsub8
#define __SHSUB8 __shsub8
#define __USUB8 __usub8
#define __UQSUB8 __uqsub8
#define __UHSUB8 __uhsub8
#define __SADD16 __sadd16
#define __QADD16 __qadd16
#define __SHADD16 __shadd16
#define __UADD16 __uadd16
#define __UQADD16 __uqadd16
#define __UHADD16 __uhadd16
#define __SSUB16 __ssub16
#define __QSUB16 __qsub16
#define __SHSUB16 __shsub16
#define __USUB16 __usub16
#define __UQSUB16 __uqsub16
#define __UHSUB16 __uhsub16
#define __SASX __sasx
#define __QASX __qasx
#define __SHASX __shasx
#define __UASX __uasx
#define __UQASX __uqasx
#define __UHASX __uhasx
#define __SSAX __ssax
#define __QSAX __qsax
#define __SHSAX __shsax
#define __USAX __usax
#define __UQSAX __uqsax
#define __UHSAX __uhsax
#define __USAD8 __usad8
#define __USADA8 __usada8
#define __SSAT16 __ssat16
#define __USAT16 __usat16
#define __UXTB16 __uxtb16
#define __UXTAB16 __uxtab16
#define __SXTB16 __sxtb16
#define __SXTAB16 __sxtab16
#define __SMUAD __smuad
#define __SMUADX __smuadx
#define __SMLAD __smlad
#define __SMLADX __smladx
#define __SMLALD __smlald
#define __SMLALDX __smlaldx
#define __SMUSD __smusd
#define __SMUSDX __smusdx
#define __SMLSD __smlsd
#define __SMLSDX __smlsdx
#define __SMLSLD __smlsld
#define __SMLSLDX __smlsldx
#define __SEL __sel
#define __QADD __qadd
#define __QSUB __qsub
#define __PKHBT(ARG1,ARG2,ARG3) ( ((((uint32_t)(ARG1)) ) & 0x0000FFFFUL) | \
((((uint32_t)(ARG2)) << (ARG3)) & 0xFFFF0000UL) )
#define __PKHTB(ARG1,ARG2,ARG3) ( ((((uint32_t)(ARG1)) ) & 0xFFFF0000UL) | \
((((uint32_t)(ARG2)) >> (ARG3)) & 0x0000FFFFUL) )
#define __SMMLA(ARG1,ARG2,ARG3) ( (int32_t)((((int64_t)(ARG1) * (ARG2)) + \
((int64_t)(ARG3) << 32U) ) >> 32U))
#endif /* (__CORTEX_M >= 0x04) */
/*@} end of group CMSIS_SIMD_intrinsics */
#endif /* __CMSIS_ARMCC_H */

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,798 @@
/**************************************************************************//**
* @file core_cm0.h
* @brief CMSIS Cortex-M0 Core Peripheral Access Layer Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CM0_H_GENERIC
#define __CORE_CM0_H_GENERIC
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
\page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
CMSIS violates the following MISRA-C:2004 rules:
\li Required Rule 8.5, object/function definition in header file.<br>
Function definitions in header files are used to allow 'inlining'.
\li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
Unions are used for effective representation of core registers.
\li Advisory Rule 19.7, Function-like macro defined.<br>
Function-like macros are used to allow more efficient code.
*/
/*******************************************************************************
* CMSIS definitions
******************************************************************************/
/**
\ingroup Cortex_M0
@{
*/
/* CMSIS CM0 definitions */
#define __CM0_CMSIS_VERSION_MAIN (0x04U) /*!< [31:16] CMSIS HAL main version */
#define __CM0_CMSIS_VERSION_SUB (0x1EU) /*!< [15:0] CMSIS HAL sub version */
#define __CM0_CMSIS_VERSION ((__CM0_CMSIS_VERSION_MAIN << 16U) | \
__CM0_CMSIS_VERSION_SUB ) /*!< CMSIS HAL version number */
#define __CORTEX_M (0x00U) /*!< Cortex-M Core */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#define __STATIC_INLINE static __inline
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#define __STATIC_INLINE static __inline
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only available in High optimization mode! */
#define __STATIC_INLINE static inline
#elif defined ( __TMS470__ )
#define __ASM __asm /*!< asm keyword for TI CCS Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __CSMC__ )
#define __packed
#define __ASM _asm /*!< asm keyword for COSMIC Compiler */
#define __INLINE inline /*!< inline keyword for COSMIC Compiler. Use -pc99 on compile line */
#define __STATIC_INLINE static inline
#else
#error Unknown compiler
#endif
/** __FPU_USED indicates whether an FPU is used or not.
This core does not support an FPU at all
*/
#define __FPU_USED 0U
#if defined ( __CC_ARM )
#if defined __TARGET_FPU_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __GNUC__ )
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __ICCARM__ )
#if defined __ARMVFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TMS470__ )
#if defined __TI_VFP_SUPPORT__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TASKING__ )
#if defined __FPU_VFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __CSMC__ )
#if ( __CSMC__ & 0x400U)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#endif
#include "core_cmInstr.h" /* Core Instruction Access */
#include "core_cmFunc.h" /* Core Function Access */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0_H_GENERIC */
#ifndef __CMSIS_GENERIC
#ifndef __CORE_CM0_H_DEPENDANT
#define __CORE_CM0_H_DEPENDANT
#ifdef __cplusplus
extern "C" {
#endif
/* check device defines and use defaults */
#if defined __CHECK_DEVICE_DEFINES
#ifndef __CM0_REV
#define __CM0_REV 0x0000U
#warning "__CM0_REV not defined in device header file; using default!"
#endif
#ifndef __NVIC_PRIO_BITS
#define __NVIC_PRIO_BITS 2U
#warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
#endif
#ifndef __Vendor_SysTickConfig
#define __Vendor_SysTickConfig 0U
#warning "__Vendor_SysTickConfig not defined in device header file; using default!"
#endif
#endif
/* IO definitions (access restrictions to peripheral registers) */
/**
\defgroup CMSIS_glob_defs CMSIS Global Defines
<strong>IO Type Qualifiers</strong> are used
\li to specify the access to peripheral variables.
\li for automatic generation of peripheral register debug information.
*/
#ifdef __cplusplus
#define __I volatile /*!< Defines 'read only' permissions */
#else
#define __I volatile const /*!< Defines 'read only' permissions */
#endif
#define __O volatile /*!< Defines 'write only' permissions */
#define __IO volatile /*!< Defines 'read / write' permissions */
/* following defines should be used for structure members */
#define __IM volatile const /*! Defines 'read only' structure member permissions */
#define __OM volatile /*! Defines 'write only' structure member permissions */
#define __IOM volatile /*! Defines 'read / write' structure member permissions */
/*@} end of group Cortex_M0 */
/*******************************************************************************
* Register Abstraction
Core Register contain:
- Core Register
- Core NVIC Register
- Core SCB Register
- Core SysTick Register
******************************************************************************/
/**
\defgroup CMSIS_core_register Defines and Type Definitions
\brief Type definitions and defines for Cortex-M processor based devices.
*/
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CORE Status and Control Registers
\brief Core Register type definitions.
@{
*/
/**
\brief Union type to access the Application Program Status Register (APSR).
*/
typedef union
{
struct
{
uint32_t _reserved0:28; /*!< bit: 0..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} APSR_Type;
/* APSR Register Definitions */
#define APSR_N_Pos 31U /*!< APSR: N Position */
#define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR: N Mask */
#define APSR_Z_Pos 30U /*!< APSR: Z Position */
#define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR: Z Mask */
#define APSR_C_Pos 29U /*!< APSR: C Position */
#define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR: C Mask */
#define APSR_V_Pos 28U /*!< APSR: V Position */
#define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR: V Mask */
/**
\brief Union type to access the Interrupt Program Status Register (IPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} IPSR_Type;
/* IPSR Register Definitions */
#define IPSR_ISR_Pos 0U /*!< IPSR: ISR Position */
#define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR: ISR Mask */
/**
\brief Union type to access the Special-Purpose Program Status Registers (xPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:15; /*!< bit: 9..23 Reserved */
uint32_t T:1; /*!< bit: 24 Thumb bit (read 0) */
uint32_t _reserved1:3; /*!< bit: 25..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} xPSR_Type;
/* xPSR Register Definitions */
#define xPSR_N_Pos 31U /*!< xPSR: N Position */
#define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR: N Mask */
#define xPSR_Z_Pos 30U /*!< xPSR: Z Position */
#define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR: Z Mask */
#define xPSR_C_Pos 29U /*!< xPSR: C Position */
#define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR: C Mask */
#define xPSR_V_Pos 28U /*!< xPSR: V Position */
#define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR: V Mask */
#define xPSR_T_Pos 24U /*!< xPSR: T Position */
#define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR: T Mask */
#define xPSR_ISR_Pos 0U /*!< xPSR: ISR Position */
#define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR: ISR Mask */
/**
\brief Union type to access the Control Registers (CONTROL).
*/
typedef union
{
struct
{
uint32_t _reserved0:1; /*!< bit: 0 Reserved */
uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} CONTROL_Type;
/* CONTROL Register Definitions */
#define CONTROL_SPSEL_Pos 1U /*!< CONTROL: SPSEL Position */
#define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONTROL: SPSEL Mask */
/*@} end of group CMSIS_CORE */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
\brief Type definitions for the NVIC Registers
@{
*/
/**
\brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
*/
typedef struct
{
__IOM uint32_t ISER[1U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
uint32_t RESERVED0[31U];
__IOM uint32_t ICER[1U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register */
uint32_t RSERVED1[31U];
__IOM uint32_t ISPR[1U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register */
uint32_t RESERVED2[31U];
__IOM uint32_t ICPR[1U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register */
uint32_t RESERVED3[31U];
uint32_t RESERVED4[64U];
__IOM uint32_t IP[8U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register */
} NVIC_Type;
/*@} end of group CMSIS_NVIC */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SCB System Control Block (SCB)
\brief Type definitions for the System Control Block Registers
@{
*/
/**
\brief Structure type to access the System Control Block (SCB).
*/
typedef struct
{
__IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
__IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Register */
uint32_t RESERVED0;
__IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset Control Register */
__IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
__IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register */
uint32_t RESERVED1;
__IOM uint32_t SHP[2U]; /*!< Offset: 0x01C (R/W) System Handlers Priority Registers. [0] is RESERVED */
__IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State Register */
} SCB_Type;
/* SCB CPUID Register Definitions */
#define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB CPUID: IMPLEMENTER Position */
#define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB CPUID: IMPLEMENTER Mask */
#define SCB_CPUID_VARIANT_Pos 20U /*!< SCB CPUID: VARIANT Position */
#define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB CPUID: VARIANT Mask */
#define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB CPUID: ARCHITECTURE Position */
#define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB CPUID: ARCHITECTURE Mask */
#define SCB_CPUID_PARTNO_Pos 4U /*!< SCB CPUID: PARTNO Position */
#define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB CPUID: PARTNO Mask */
#define SCB_CPUID_REVISION_Pos 0U /*!< SCB CPUID: REVISION Position */
#define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB CPUID: REVISION Mask */
/* SCB Interrupt Control State Register Definitions */
#define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB ICSR: NMIPENDSET Position */
#define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB ICSR: NMIPENDSET Mask */
#define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB ICSR: PENDSVSET Position */
#define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB ICSR: PENDSVSET Mask */
#define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB ICSR: PENDSVCLR Position */
#define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB ICSR: PENDSVCLR Mask */
#define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB ICSR: PENDSTSET Position */
#define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB ICSR: PENDSTSET Mask */
#define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB ICSR: PENDSTCLR Position */
#define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB ICSR: PENDSTCLR Mask */
#define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB ICSR: ISRPREEMPT Position */
#define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB ICSR: ISRPREEMPT Mask */
#define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB ICSR: ISRPENDING Position */
#define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB ICSR: ISRPENDING Mask */
#define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB ICSR: VECTPENDING Position */
#define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB ICSR: VECTPENDING Mask */
#define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB ICSR: VECTACTIVE Position */
#define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB ICSR: VECTACTIVE Mask */
/* SCB Application Interrupt and Reset Control Register Definitions */
#define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB AIRCR: VECTKEY Position */
#define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB AIRCR: VECTKEY Mask */
#define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB AIRCR: VECTKEYSTAT Position */
#define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB AIRCR: VECTKEYSTAT Mask */
#define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB AIRCR: ENDIANESS Position */
#define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB AIRCR: ENDIANESS Mask */
#define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB AIRCR: SYSRESETREQ Position */
#define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB AIRCR: SYSRESETREQ Mask */
#define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB AIRCR: VECTCLRACTIVE Position */
#define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB AIRCR: VECTCLRACTIVE Mask */
/* SCB System Control Register Definitions */
#define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB SCR: SEVONPEND Position */
#define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB SCR: SEVONPEND Mask */
#define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB SCR: SLEEPDEEP Position */
#define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB SCR: SLEEPDEEP Mask */
#define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB SCR: SLEEPONEXIT Position */
#define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB SCR: SLEEPONEXIT Mask */
/* SCB Configuration Control Register Definitions */
#define SCB_CCR_STKALIGN_Pos 9U /*!< SCB CCR: STKALIGN Position */
#define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB CCR: STKALIGN Mask */
#define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB CCR: UNALIGN_TRP Position */
#define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB CCR: UNALIGN_TRP Mask */
/* SCB System Handler Control and State Register Definitions */
#define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB SHCSR: SVCALLPENDED Position */
#define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB SHCSR: SVCALLPENDED Mask */
/*@} end of group CMSIS_SCB */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SysTick System Tick Timer (SysTick)
\brief Type definitions for the System Timer Registers.
@{
*/
/**
\brief Structure type to access the System Timer (SysTick).
*/
typedef struct
{
__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Register */
__IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
__IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register */
__IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
} SysTick_Type;
/* SysTick Control / Status Register Definitions */
#define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysTick CTRL: COUNTFLAG Position */
#define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysTick CTRL: COUNTFLAG Mask */
#define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysTick CTRL: CLKSOURCE Position */
#define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysTick CTRL: CLKSOURCE Mask */
#define SysTick_CTRL_TICKINT_Pos 1U /*!< SysTick CTRL: TICKINT Position */
#define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysTick CTRL: TICKINT Mask */
#define SysTick_CTRL_ENABLE_Pos 0U /*!< SysTick CTRL: ENABLE Position */
#define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysTick CTRL: ENABLE Mask */
/* SysTick Reload Register Definitions */
#define SysTick_LOAD_RELOAD_Pos 0U /*!< SysTick LOAD: RELOAD Position */
#define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysTick LOAD: RELOAD Mask */
/* SysTick Current Register Definitions */
#define SysTick_VAL_CURRENT_Pos 0U /*!< SysTick VAL: CURRENT Position */
#define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysTick VAL: CURRENT Mask */
/* SysTick Calibration Register Definitions */
#define SysTick_CALIB_NOREF_Pos 31U /*!< SysTick CALIB: NOREF Position */
#define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysTick CALIB: NOREF Mask */
#define SysTick_CALIB_SKEW_Pos 30U /*!< SysTick CALIB: SKEW Position */
#define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysTick CALIB: SKEW Mask */
#define SysTick_CALIB_TENMS_Pos 0U /*!< SysTick CALIB: TENMS Position */
#define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysTick CALIB: TENMS Mask */
/*@} end of group CMSIS_SysTick */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
\brief Cortex-M0 Core Debug Registers (DCB registers, SHCSR, and DFSR) are only accessible over DAP and not via processor.
Therefore they are not covered by the Cortex-M0 header file.
@{
*/
/*@} end of group CMSIS_CoreDebug */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_bitfield Core register bit field macros
\brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
@{
*/
/**
\brief Mask and shift a bit field value for use in a register bit range.
\param[in] field Name of the register bit field.
\param[in] value Value of the bit field.
\return Masked and shifted value.
*/
#define _VAL2FLD(field, value) ((value << field ## _Pos) & field ## _Msk)
/**
\brief Mask and shift a register value to extract a bit filed value.
\param[in] field Name of the register bit field.
\param[in] value Value of register.
\return Masked and shifted bit field value.
*/
#define _FLD2VAL(field, value) ((value & field ## _Msk) >> field ## _Pos)
/*@} end of group CMSIS_core_bitfield */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_base Core Definitions
\brief Definitions for base addresses, unions, and structures.
@{
*/
/* Memory mapping of Cortex-M0 Hardware */
#define SCS_BASE (0xE000E000UL) /*!< System Control Space Base Address */
#define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
#define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
#define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Base Address */
#define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct */
#define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration struct */
#define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struct */
/*@} */
/*******************************************************************************
* Hardware Abstraction Layer
Core Function Interface contains:
- Core NVIC Functions
- Core SysTick Functions
- Core Register Access Functions
******************************************************************************/
/**
\defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
*/
/* ########################## NVIC functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_NVICFunctions NVIC Functions
\brief Functions that manage interrupts and exceptions via the NVIC.
@{
*/
/* Interrupt Priorities are WORD accessible only under ARMv6M */
/* The following MACROS handle generation of the register offset and byte masks */
#define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)
#define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )
#define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )
/**
\brief Enable External Interrupt
\details Enables a device-specific interrupt in the NVIC interrupt controller.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
{
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Disable External Interrupt
\details Disables a device-specific interrupt in the NVIC interrupt controller.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
{
NVIC->ICER[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Get Pending Interrupt
\details Reads the pending register in the NVIC and returns the pending bit for the specified interrupt.
\param [in] IRQn Interrupt number.
\return 0 Interrupt status is not pending.
\return 1 Interrupt status is pending.
*/
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
{
return((uint32_t)(((NVIC->ISPR[0U] & (1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
/**
\brief Set Pending Interrupt
\details Sets the pending bit of an external interrupt.
\param [in] IRQn Interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn)
{
NVIC->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Clear Pending Interrupt
\details Clears the pending bit of an external interrupt.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
{
NVIC->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Set Interrupt Priority
\details Sets the priority of an interrupt.
\note The priority cannot be set for every core interrupt.
\param [in] IRQn Interrupt number.
\param [in] priority Priority to set.
*/
__STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
if ((int32_t)(IRQn) < 0)
{
SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
else
{
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
}
/**
\brief Get Interrupt Priority
\details Reads the priority of an interrupt.
The interrupt number can be positive to specify an external (device specific) interrupt,
or negative to specify an internal (core) interrupt.
\param [in] IRQn Interrupt number.
\return Interrupt Priority.
Value is aligned automatically to the implemented priority bits of the microcontroller.
*/
__STATIC_INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) < 0)
{
return((uint32_t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
else
{
return((uint32_t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
}
/**
\brief System Reset
\details Initiates a system reset request to reset the MCU.
*/
__STATIC_INLINE void NVIC_SystemReset(void)
{
__DSB(); /* Ensure all outstanding memory accesses included
buffered write are completed before reset */
SCB->AIRCR = ((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
SCB_AIRCR_SYSRESETREQ_Msk);
__DSB(); /* Ensure completion of memory access */
for(;;) /* wait until reset */
{
__NOP();
}
}
/*@} end of CMSIS_Core_NVICFunctions */
/* ################################## SysTick function ############################################ */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_SysTickFunctions SysTick Functions
\brief Functions that configure the System.
@{
*/
#if (__Vendor_SysTickConfig == 0U)
/**
\brief System Tick Configuration
\details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
Counter is in free running mode to generate periodic interrupts.
\param [in] ticks Number of ticks between two interrupts.
\return 0 Function succeeded.
\return 1 Function failed.
\note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.h</b>
must contain a vendor-specific implementation of this function.
*/
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
{
if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
{
return (1UL); /* Reload value impossible */
}
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
return (0UL); /* Function successful */
}
#endif
/*@} end of CMSIS_Core_SysTickFunctions */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0_H_DEPENDANT */
#endif /* __CMSIS_GENERIC */

View File

@@ -0,0 +1,914 @@
/**************************************************************************//**
* @file core_cm0plus.h
* @brief CMSIS Cortex-M0+ Core Peripheral Access Layer Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CM0PLUS_H_GENERIC
#define __CORE_CM0PLUS_H_GENERIC
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
\page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
CMSIS violates the following MISRA-C:2004 rules:
\li Required Rule 8.5, object/function definition in header file.<br>
Function definitions in header files are used to allow 'inlining'.
\li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
Unions are used for effective representation of core registers.
\li Advisory Rule 19.7, Function-like macro defined.<br>
Function-like macros are used to allow more efficient code.
*/
/*******************************************************************************
* CMSIS definitions
******************************************************************************/
/**
\ingroup Cortex-M0+
@{
*/
/* CMSIS CM0+ definitions */
#define __CM0PLUS_CMSIS_VERSION_MAIN (0x04U) /*!< [31:16] CMSIS HAL main version */
#define __CM0PLUS_CMSIS_VERSION_SUB (0x1EU) /*!< [15:0] CMSIS HAL sub version */
#define __CM0PLUS_CMSIS_VERSION ((__CM0PLUS_CMSIS_VERSION_MAIN << 16U) | \
__CM0PLUS_CMSIS_VERSION_SUB ) /*!< CMSIS HAL version number */
#define __CORTEX_M (0x00U) /*!< Cortex-M Core */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#define __STATIC_INLINE static __inline
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#define __STATIC_INLINE static __inline
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only available in High optimization mode! */
#define __STATIC_INLINE static inline
#elif defined ( __TMS470__ )
#define __ASM __asm /*!< asm keyword for TI CCS Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#define __STATIC_INLINE static inline
#elif defined ( __CSMC__ )
#define __packed
#define __ASM _asm /*!< asm keyword for COSMIC Compiler */
#define __INLINE inline /*!< inline keyword for COSMIC Compiler. Use -pc99 on compile line */
#define __STATIC_INLINE static inline
#else
#error Unknown compiler
#endif
/** __FPU_USED indicates whether an FPU is used or not.
This core does not support an FPU at all
*/
#define __FPU_USED 0U
#if defined ( __CC_ARM )
#if defined __TARGET_FPU_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#if defined __ARM_PCS_VFP
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __GNUC__ )
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __ICCARM__ )
#if defined __ARMVFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TMS470__ )
#if defined __TI_VFP_SUPPORT__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __TASKING__ )
#if defined __FPU_VFP__
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#elif defined ( __CSMC__ )
#if ( __CSMC__ & 0x400U)
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#endif
#endif
#include "core_cmInstr.h" /* Core Instruction Access */
#include "core_cmFunc.h" /* Core Function Access */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0PLUS_H_GENERIC */
#ifndef __CMSIS_GENERIC
#ifndef __CORE_CM0PLUS_H_DEPENDANT
#define __CORE_CM0PLUS_H_DEPENDANT
#ifdef __cplusplus
extern "C" {
#endif
/* check device defines and use defaults */
#if defined __CHECK_DEVICE_DEFINES
#ifndef __CM0PLUS_REV
#define __CM0PLUS_REV 0x0000U
#warning "__CM0PLUS_REV not defined in device header file; using default!"
#endif
#ifndef __MPU_PRESENT
#define __MPU_PRESENT 0U
#warning "__MPU_PRESENT not defined in device header file; using default!"
#endif
#ifndef __VTOR_PRESENT
#define __VTOR_PRESENT 0U
#warning "__VTOR_PRESENT not defined in device header file; using default!"
#endif
#ifndef __NVIC_PRIO_BITS
#define __NVIC_PRIO_BITS 2U
#warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
#endif
#ifndef __Vendor_SysTickConfig
#define __Vendor_SysTickConfig 0U
#warning "__Vendor_SysTickConfig not defined in device header file; using default!"
#endif
#endif
/* IO definitions (access restrictions to peripheral registers) */
/**
\defgroup CMSIS_glob_defs CMSIS Global Defines
<strong>IO Type Qualifiers</strong> are used
\li to specify the access to peripheral variables.
\li for automatic generation of peripheral register debug information.
*/
#ifdef __cplusplus
#define __I volatile /*!< Defines 'read only' permissions */
#else
#define __I volatile const /*!< Defines 'read only' permissions */
#endif
#define __O volatile /*!< Defines 'write only' permissions */
#define __IO volatile /*!< Defines 'read / write' permissions */
/* following defines should be used for structure members */
#define __IM volatile const /*! Defines 'read only' structure member permissions */
#define __OM volatile /*! Defines 'write only' structure member permissions */
#define __IOM volatile /*! Defines 'read / write' structure member permissions */
/*@} end of group Cortex-M0+ */
/*******************************************************************************
* Register Abstraction
Core Register contain:
- Core Register
- Core NVIC Register
- Core SCB Register
- Core SysTick Register
- Core MPU Register
******************************************************************************/
/**
\defgroup CMSIS_core_register Defines and Type Definitions
\brief Type definitions and defines for Cortex-M processor based devices.
*/
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CORE Status and Control Registers
\brief Core Register type definitions.
@{
*/
/**
\brief Union type to access the Application Program Status Register (APSR).
*/
typedef union
{
struct
{
uint32_t _reserved0:28; /*!< bit: 0..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} APSR_Type;
/* APSR Register Definitions */
#define APSR_N_Pos 31U /*!< APSR: N Position */
#define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR: N Mask */
#define APSR_Z_Pos 30U /*!< APSR: Z Position */
#define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR: Z Mask */
#define APSR_C_Pos 29U /*!< APSR: C Position */
#define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR: C Mask */
#define APSR_V_Pos 28U /*!< APSR: V Position */
#define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR: V Mask */
/**
\brief Union type to access the Interrupt Program Status Register (IPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} IPSR_Type;
/* IPSR Register Definitions */
#define IPSR_ISR_Pos 0U /*!< IPSR: ISR Position */
#define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR: ISR Mask */
/**
\brief Union type to access the Special-Purpose Program Status Registers (xPSR).
*/
typedef union
{
struct
{
uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
uint32_t _reserved0:15; /*!< bit: 9..23 Reserved */
uint32_t T:1; /*!< bit: 24 Thumb bit (read 0) */
uint32_t _reserved1:3; /*!< bit: 25..27 Reserved */
uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
uint32_t C:1; /*!< bit: 29 Carry condition code flag */
uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
uint32_t N:1; /*!< bit: 31 Negative condition code flag */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} xPSR_Type;
/* xPSR Register Definitions */
#define xPSR_N_Pos 31U /*!< xPSR: N Position */
#define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR: N Mask */
#define xPSR_Z_Pos 30U /*!< xPSR: Z Position */
#define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR: Z Mask */
#define xPSR_C_Pos 29U /*!< xPSR: C Position */
#define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR: C Mask */
#define xPSR_V_Pos 28U /*!< xPSR: V Position */
#define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR: V Mask */
#define xPSR_T_Pos 24U /*!< xPSR: T Position */
#define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR: T Mask */
#define xPSR_ISR_Pos 0U /*!< xPSR: ISR Position */
#define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR: ISR Mask */
/**
\brief Union type to access the Control Registers (CONTROL).
*/
typedef union
{
struct
{
uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
} b; /*!< Structure used for bit access */
uint32_t w; /*!< Type used for word access */
} CONTROL_Type;
/* CONTROL Register Definitions */
#define CONTROL_SPSEL_Pos 1U /*!< CONTROL: SPSEL Position */
#define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONTROL: SPSEL Mask */
#define CONTROL_nPRIV_Pos 0U /*!< CONTROL: nPRIV Position */
#define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONTROL: nPRIV Mask */
/*@} end of group CMSIS_CORE */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
\brief Type definitions for the NVIC Registers
@{
*/
/**
\brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
*/
typedef struct
{
__IOM uint32_t ISER[1U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
uint32_t RESERVED0[31U];
__IOM uint32_t ICER[1U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register */
uint32_t RSERVED1[31U];
__IOM uint32_t ISPR[1U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register */
uint32_t RESERVED2[31U];
__IOM uint32_t ICPR[1U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register */
uint32_t RESERVED3[31U];
uint32_t RESERVED4[64U];
__IOM uint32_t IP[8U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register */
} NVIC_Type;
/*@} end of group CMSIS_NVIC */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SCB System Control Block (SCB)
\brief Type definitions for the System Control Block Registers
@{
*/
/**
\brief Structure type to access the System Control Block (SCB).
*/
typedef struct
{
__IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
__IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Register */
#if (__VTOR_PRESENT == 1U)
__IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
#else
uint32_t RESERVED0;
#endif
__IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset Control Register */
__IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
__IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register */
uint32_t RESERVED1;
__IOM uint32_t SHP[2U]; /*!< Offset: 0x01C (R/W) System Handlers Priority Registers. [0] is RESERVED */
__IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State Register */
} SCB_Type;
/* SCB CPUID Register Definitions */
#define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB CPUID: IMPLEMENTER Position */
#define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB CPUID: IMPLEMENTER Mask */
#define SCB_CPUID_VARIANT_Pos 20U /*!< SCB CPUID: VARIANT Position */
#define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB CPUID: VARIANT Mask */
#define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB CPUID: ARCHITECTURE Position */
#define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB CPUID: ARCHITECTURE Mask */
#define SCB_CPUID_PARTNO_Pos 4U /*!< SCB CPUID: PARTNO Position */
#define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB CPUID: PARTNO Mask */
#define SCB_CPUID_REVISION_Pos 0U /*!< SCB CPUID: REVISION Position */
#define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB CPUID: REVISION Mask */
/* SCB Interrupt Control State Register Definitions */
#define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB ICSR: NMIPENDSET Position */
#define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB ICSR: NMIPENDSET Mask */
#define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB ICSR: PENDSVSET Position */
#define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB ICSR: PENDSVSET Mask */
#define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB ICSR: PENDSVCLR Position */
#define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB ICSR: PENDSVCLR Mask */
#define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB ICSR: PENDSTSET Position */
#define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB ICSR: PENDSTSET Mask */
#define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB ICSR: PENDSTCLR Position */
#define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB ICSR: PENDSTCLR Mask */
#define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB ICSR: ISRPREEMPT Position */
#define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB ICSR: ISRPREEMPT Mask */
#define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB ICSR: ISRPENDING Position */
#define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB ICSR: ISRPENDING Mask */
#define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB ICSR: VECTPENDING Position */
#define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB ICSR: VECTPENDING Mask */
#define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB ICSR: VECTACTIVE Position */
#define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB ICSR: VECTACTIVE Mask */
#if (__VTOR_PRESENT == 1U)
/* SCB Interrupt Control State Register Definitions */
#define SCB_VTOR_TBLOFF_Pos 8U /*!< SCB VTOR: TBLOFF Position */
#define SCB_VTOR_TBLOFF_Msk (0xFFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB VTOR: TBLOFF Mask */
#endif
/* SCB Application Interrupt and Reset Control Register Definitions */
#define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB AIRCR: VECTKEY Position */
#define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB AIRCR: VECTKEY Mask */
#define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB AIRCR: VECTKEYSTAT Position */
#define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB AIRCR: VECTKEYSTAT Mask */
#define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB AIRCR: ENDIANESS Position */
#define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB AIRCR: ENDIANESS Mask */
#define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB AIRCR: SYSRESETREQ Position */
#define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB AIRCR: SYSRESETREQ Mask */
#define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB AIRCR: VECTCLRACTIVE Position */
#define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB AIRCR: VECTCLRACTIVE Mask */
/* SCB System Control Register Definitions */
#define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB SCR: SEVONPEND Position */
#define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB SCR: SEVONPEND Mask */
#define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB SCR: SLEEPDEEP Position */
#define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB SCR: SLEEPDEEP Mask */
#define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB SCR: SLEEPONEXIT Position */
#define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB SCR: SLEEPONEXIT Mask */
/* SCB Configuration Control Register Definitions */
#define SCB_CCR_STKALIGN_Pos 9U /*!< SCB CCR: STKALIGN Position */
#define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB CCR: STKALIGN Mask */
#define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB CCR: UNALIGN_TRP Position */
#define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB CCR: UNALIGN_TRP Mask */
/* SCB System Handler Control and State Register Definitions */
#define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB SHCSR: SVCALLPENDED Position */
#define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB SHCSR: SVCALLPENDED Mask */
/*@} end of group CMSIS_SCB */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_SysTick System Tick Timer (SysTick)
\brief Type definitions for the System Timer Registers.
@{
*/
/**
\brief Structure type to access the System Timer (SysTick).
*/
typedef struct
{
__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Register */
__IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
__IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register */
__IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
} SysTick_Type;
/* SysTick Control / Status Register Definitions */
#define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysTick CTRL: COUNTFLAG Position */
#define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysTick CTRL: COUNTFLAG Mask */
#define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysTick CTRL: CLKSOURCE Position */
#define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysTick CTRL: CLKSOURCE Mask */
#define SysTick_CTRL_TICKINT_Pos 1U /*!< SysTick CTRL: TICKINT Position */
#define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysTick CTRL: TICKINT Mask */
#define SysTick_CTRL_ENABLE_Pos 0U /*!< SysTick CTRL: ENABLE Position */
#define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysTick CTRL: ENABLE Mask */
/* SysTick Reload Register Definitions */
#define SysTick_LOAD_RELOAD_Pos 0U /*!< SysTick LOAD: RELOAD Position */
#define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysTick LOAD: RELOAD Mask */
/* SysTick Current Register Definitions */
#define SysTick_VAL_CURRENT_Pos 0U /*!< SysTick VAL: CURRENT Position */
#define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysTick VAL: CURRENT Mask */
/* SysTick Calibration Register Definitions */
#define SysTick_CALIB_NOREF_Pos 31U /*!< SysTick CALIB: NOREF Position */
#define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysTick CALIB: NOREF Mask */
#define SysTick_CALIB_SKEW_Pos 30U /*!< SysTick CALIB: SKEW Position */
#define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysTick CALIB: SKEW Mask */
#define SysTick_CALIB_TENMS_Pos 0U /*!< SysTick CALIB: TENMS Position */
#define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysTick CALIB: TENMS Mask */
/*@} end of group CMSIS_SysTick */
#if (__MPU_PRESENT == 1U)
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_MPU Memory Protection Unit (MPU)
\brief Type definitions for the Memory Protection Unit (MPU)
@{
*/
/**
\brief Structure type to access the Memory Protection Unit (MPU).
*/
typedef struct
{
__IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
__IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
__IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
__IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register */
__IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Register */
} MPU_Type;
/* MPU Type Register Definitions */
#define MPU_TYPE_IREGION_Pos 16U /*!< MPU TYPE: IREGION Position */
#define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU TYPE: IREGION Mask */
#define MPU_TYPE_DREGION_Pos 8U /*!< MPU TYPE: DREGION Position */
#define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU TYPE: DREGION Mask */
#define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU TYPE: SEPARATE Position */
#define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU TYPE: SEPARATE Mask */
/* MPU Control Register Definitions */
#define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU CTRL: PRIVDEFENA Position */
#define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU CTRL: PRIVDEFENA Mask */
#define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU CTRL: HFNMIENA Position */
#define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU CTRL: HFNMIENA Mask */
#define MPU_CTRL_ENABLE_Pos 0U /*!< MPU CTRL: ENABLE Position */
#define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU CTRL: ENABLE Mask */
/* MPU Region Number Register Definitions */
#define MPU_RNR_REGION_Pos 0U /*!< MPU RNR: REGION Position */
#define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU RNR: REGION Mask */
/* MPU Region Base Address Register Definitions */
#define MPU_RBAR_ADDR_Pos 8U /*!< MPU RBAR: ADDR Position */
#define MPU_RBAR_ADDR_Msk (0xFFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU RBAR: ADDR Mask */
#define MPU_RBAR_VALID_Pos 4U /*!< MPU RBAR: VALID Position */
#define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU RBAR: VALID Mask */
#define MPU_RBAR_REGION_Pos 0U /*!< MPU RBAR: REGION Position */
#define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU RBAR: REGION Mask */
/* MPU Region Attribute and Size Register Definitions */
#define MPU_RASR_ATTRS_Pos 16U /*!< MPU RASR: MPU Region Attribute field Position */
#define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU RASR: MPU Region Attribute field Mask */
#define MPU_RASR_XN_Pos 28U /*!< MPU RASR: ATTRS.XN Position */
#define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU RASR: ATTRS.XN Mask */
#define MPU_RASR_AP_Pos 24U /*!< MPU RASR: ATTRS.AP Position */
#define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU RASR: ATTRS.AP Mask */
#define MPU_RASR_TEX_Pos 19U /*!< MPU RASR: ATTRS.TEX Position */
#define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU RASR: ATTRS.TEX Mask */
#define MPU_RASR_S_Pos 18U /*!< MPU RASR: ATTRS.S Position */
#define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU RASR: ATTRS.S Mask */
#define MPU_RASR_C_Pos 17U /*!< MPU RASR: ATTRS.C Position */
#define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU RASR: ATTRS.C Mask */
#define MPU_RASR_B_Pos 16U /*!< MPU RASR: ATTRS.B Position */
#define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU RASR: ATTRS.B Mask */
#define MPU_RASR_SRD_Pos 8U /*!< MPU RASR: Sub-Region Disable Position */
#define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU RASR: Sub-Region Disable Mask */
#define MPU_RASR_SIZE_Pos 1U /*!< MPU RASR: Region Size Field Position */
#define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU RASR: Region Size Field Mask */
#define MPU_RASR_ENABLE_Pos 0U /*!< MPU RASR: Region enable bit Position */
#define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU RASR: Region enable bit Disable Mask */
/*@} end of group CMSIS_MPU */
#endif
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
\brief Cortex-M0+ Core Debug Registers (DCB registers, SHCSR, and DFSR) are only accessible over DAP and not via processor.
Therefore they are not covered by the Cortex-M0+ header file.
@{
*/
/*@} end of group CMSIS_CoreDebug */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_bitfield Core register bit field macros
\brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
@{
*/
/**
\brief Mask and shift a bit field value for use in a register bit range.
\param[in] field Name of the register bit field.
\param[in] value Value of the bit field.
\return Masked and shifted value.
*/
#define _VAL2FLD(field, value) ((value << field ## _Pos) & field ## _Msk)
/**
\brief Mask and shift a register value to extract a bit filed value.
\param[in] field Name of the register bit field.
\param[in] value Value of register.
\return Masked and shifted bit field value.
*/
#define _FLD2VAL(field, value) ((value & field ## _Msk) >> field ## _Pos)
/*@} end of group CMSIS_core_bitfield */
/**
\ingroup CMSIS_core_register
\defgroup CMSIS_core_base Core Definitions
\brief Definitions for base addresses, unions, and structures.
@{
*/
/* Memory mapping of Cortex-M0+ Hardware */
#define SCS_BASE (0xE000E000UL) /*!< System Control Space Base Address */
#define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
#define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
#define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Base Address */
#define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct */
#define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration struct */
#define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struct */
#if (__MPU_PRESENT == 1U)
#define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit */
#define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit */
#endif
/*@} */
/*******************************************************************************
* Hardware Abstraction Layer
Core Function Interface contains:
- Core NVIC Functions
- Core SysTick Functions
- Core Register Access Functions
******************************************************************************/
/**
\defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
*/
/* ########################## NVIC functions #################################### */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_NVICFunctions NVIC Functions
\brief Functions that manage interrupts and exceptions via the NVIC.
@{
*/
/* Interrupt Priorities are WORD accessible only under ARMv6M */
/* The following MACROS handle generation of the register offset and byte masks */
#define _BIT_SHIFT(IRQn) ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)
#define _SHP_IDX(IRQn) ( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )
#define _IP_IDX(IRQn) ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )
/**
\brief Enable External Interrupt
\details Enables a device-specific interrupt in the NVIC interrupt controller.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
{
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Disable External Interrupt
\details Disables a device-specific interrupt in the NVIC interrupt controller.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
{
NVIC->ICER[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Get Pending Interrupt
\details Reads the pending register in the NVIC and returns the pending bit for the specified interrupt.
\param [in] IRQn Interrupt number.
\return 0 Interrupt status is not pending.
\return 1 Interrupt status is pending.
*/
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
{
return((uint32_t)(((NVIC->ISPR[0U] & (1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
}
/**
\brief Set Pending Interrupt
\details Sets the pending bit of an external interrupt.
\param [in] IRQn Interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn)
{
NVIC->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Clear Pending Interrupt
\details Clears the pending bit of an external interrupt.
\param [in] IRQn External interrupt number. Value cannot be negative.
*/
__STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
{
NVIC->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
}
/**
\brief Set Interrupt Priority
\details Sets the priority of an interrupt.
\note The priority cannot be set for every core interrupt.
\param [in] IRQn Interrupt number.
\param [in] priority Priority to set.
*/
__STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
if ((int32_t)(IRQn) < 0)
{
SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
else
{
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
(((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
}
}
/**
\brief Get Interrupt Priority
\details Reads the priority of an interrupt.
The interrupt number can be positive to specify an external (device specific) interrupt,
or negative to specify an internal (core) interrupt.
\param [in] IRQn Interrupt number.
\return Interrupt Priority.
Value is aligned automatically to the implemented priority bits of the microcontroller.
*/
__STATIC_INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
{
if ((int32_t)(IRQn) < 0)
{
return((uint32_t)(((SCB->SHP[_SHP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
else
{
return((uint32_t)(((NVIC->IP[ _IP_IDX(IRQn)] >> _BIT_SHIFT(IRQn) ) & (uint32_t)0xFFUL) >> (8U - __NVIC_PRIO_BITS)));
}
}
/**
\brief System Reset
\details Initiates a system reset request to reset the MCU.
*/
__STATIC_INLINE void NVIC_SystemReset(void)
{
__DSB(); /* Ensure all outstanding memory accesses included
buffered write are completed before reset */
SCB->AIRCR = ((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
SCB_AIRCR_SYSRESETREQ_Msk);
__DSB(); /* Ensure completion of memory access */
for(;;) /* wait until reset */
{
__NOP();
}
}
/*@} end of CMSIS_Core_NVICFunctions */
/* ################################## SysTick function ############################################ */
/**
\ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_SysTickFunctions SysTick Functions
\brief Functions that configure the System.
@{
*/
#if (__Vendor_SysTickConfig == 0U)
/**
\brief System Tick Configuration
\details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
Counter is in free running mode to generate periodic interrupts.
\param [in] ticks Number of ticks between two interrupts.
\return 0 Function succeeded.
\return 1 Function failed.
\note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.h</b>
must contain a vendor-specific implementation of this function.
*/
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
{
if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
{
return (1UL); /* Reload value impossible */
}
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
return (0UL); /* Function successful */
}
#endif
/*@} end of CMSIS_Core_SysTickFunctions */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CM0PLUS_H_DEPENDANT */
#endif /* __CMSIS_GENERIC */

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,87 @@
/**************************************************************************//**
* @file core_cmFunc.h
* @brief CMSIS Cortex-M Core Function Access Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CMFUNC_H
#define __CORE_CMFUNC_H
/* ########################### Core Function Access ########################### */
/** \ingroup CMSIS_Core_FunctionInterface
\defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
@{
*/
/*------------------ RealView Compiler -----------------*/
#if defined ( __CC_ARM )
#include "cmsis_armcc.h"
/*------------------ ARM Compiler V6 -------------------*/
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#include "cmsis_armcc_V6.h"
/*------------------ GNU Compiler ----------------------*/
#elif defined ( __GNUC__ )
#include "cmsis_gcc.h"
/*------------------ ICC Compiler ----------------------*/
#elif defined ( __ICCARM__ )
#include <cmsis_iar.h>
/*------------------ TI CCS Compiler -------------------*/
#elif defined ( __TMS470__ )
#include <cmsis_ccs.h>
/*------------------ TASKING Compiler ------------------*/
#elif defined ( __TASKING__ )
/*
* The CMSIS functions have been implemented as intrinsics in the compiler.
* Please use "carm -?i" to get an up to date list of all intrinsics,
* Including the CMSIS ones.
*/
/*------------------ COSMIC Compiler -------------------*/
#elif defined ( __CSMC__ )
#include <cmsis_csm.h>
#endif
/*@} end of CMSIS_Core_RegAccFunctions */
#endif /* __CORE_CMFUNC_H */

View File

@@ -0,0 +1,87 @@
/**************************************************************************//**
* @file core_cmInstr.h
* @brief CMSIS Cortex-M Core Instruction Access Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CMINSTR_H
#define __CORE_CMINSTR_H
/* ########################## Core Instruction Access ######################### */
/** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
Access to dedicated instructions
@{
*/
/*------------------ RealView Compiler -----------------*/
#if defined ( __CC_ARM )
#include "cmsis_armcc.h"
/*------------------ ARM Compiler V6 -------------------*/
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#include "cmsis_armcc_V6.h"
/*------------------ GNU Compiler ----------------------*/
#elif defined ( __GNUC__ )
#include "cmsis_gcc.h"
/*------------------ ICC Compiler ----------------------*/
#elif defined ( __ICCARM__ )
#include <cmsis_iar.h>
/*------------------ TI CCS Compiler -------------------*/
#elif defined ( __TMS470__ )
#include <cmsis_ccs.h>
/*------------------ TASKING Compiler ------------------*/
#elif defined ( __TASKING__ )
/*
* The CMSIS functions have been implemented as intrinsics in the compiler.
* Please use "carm -?i" to get an up to date list of all intrinsics,
* Including the CMSIS ones.
*/
/*------------------ COSMIC Compiler -------------------*/
#elif defined ( __CSMC__ )
#include <cmsis_csm.h>
#endif
/*@}*/ /* end of group CMSIS_Core_InstructionInterface */
#endif /* __CORE_CMINSTR_H */

View File

@@ -0,0 +1,96 @@
/**************************************************************************//**
* @file core_cmSimd.h
* @brief CMSIS Cortex-M SIMD Header File
* @version V4.30
* @date 20. October 2015
******************************************************************************/
/* Copyright (c) 2009 - 2015 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of ARM nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------*/
#if defined ( __ICCARM__ )
#pragma system_include /* treat file as system include file for MISRA check */
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#pragma clang system_header /* treat file as system include file */
#endif
#ifndef __CORE_CMSIMD_H
#define __CORE_CMSIMD_H
#ifdef __cplusplus
extern "C" {
#endif
/* ################### Compiler specific Intrinsics ########################### */
/** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics
Access to dedicated SIMD instructions
@{
*/
/*------------------ RealView Compiler -----------------*/
#if defined ( __CC_ARM )
#include "cmsis_armcc.h"
/*------------------ ARM Compiler V6 -------------------*/
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#include "cmsis_armcc_V6.h"
/*------------------ GNU Compiler ----------------------*/
#elif defined ( __GNUC__ )
#include "cmsis_gcc.h"
/*------------------ ICC Compiler ----------------------*/
#elif defined ( __ICCARM__ )
#include <cmsis_iar.h>
/*------------------ TI CCS Compiler -------------------*/
#elif defined ( __TMS470__ )
#include <cmsis_ccs.h>
/*------------------ TASKING Compiler ------------------*/
#elif defined ( __TASKING__ )
/*
* The CMSIS functions have been implemented as intrinsics in the compiler.
* Please use "carm -?i" to get an up to date list of all intrinsics,
* Including the CMSIS ones.
*/
/*------------------ COSMIC Compiler -------------------*/
#elif defined ( __CSMC__ )
#include <cmsis_csm.h>
#endif
/*@} end of group CMSIS_SIMD_intrinsics */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CMSIMD_H */

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