1
0
forked from me/IronOS

Compare commits

...

207 Commits

Author SHA1 Message Date
Ben V. Brown
7a0308dbf4 Generate layout structures 2023-06-29 20:53:22 +10:00
Ben V. Brown
c31fb5725b Fixing import loop 2023-06-29 20:26:00 +10:00
Ben V. Brown
7535a64bc7 Images 2023-06-29 18:51:40 +10:00
Ben V. Brown
b599dec278 Start on renderers 2023-06-29 18:46:34 +10:00
Ben V. Brown
3a05d695f8 More Font utils 2023-06-29 18:46:26 +10:00
Ben V. Brown
45639e5c23 Number Bounded draw 2023-06-29 18:46:19 +10:00
Ben V. Brown
da7dbd4b55 Move out FontStyle 2023-06-29 18:38:50 +10:00
Ben V. Brown
62fb6d5209 Starting to implement Elements 2023-06-28 23:14:09 +10:00
Ben V. Brown
d9350fdc73 Scratching out layout 2023-06-28 22:49:37 +10:00
Ivan Zorin
0a3dfb34ec A bit of clean-up & update configuration.h files (#1717)
* BSP/configuration.h: update & clean-up macro defines

* BSP/MHP30/configuration.h: add lost-during-update macro
2023-06-20 15:01:27 +10:00
Ivan Zorin
155cf386b1 Zipping compiler warning about POW_PD_EXT / Two options (#1711)
* Zipping compiler warning about POW_PD_EXT / Option A

* Zipping compiler warning about POW_PD_EXT / Option B

* BSP/configuration.h: implement option A for POW_PD_EXT warning

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-06-20 00:59:36 +00:00
TheScientistPT
55d4420807 Update translation_PT.json (#1716) 2023-06-19 23:22:59 +00:00
Ben V. Brown
691abd5caa Fix OLED display scroll speed being painfully slow + junk on ease in/out 2023-06-19 17:12:51 +10:00
Ben V. Brown
9b5d155d31 Handle devices where flash is not 1:1 memory mapped 2023-06-19 16:41:47 +10:00
Paul Navarro
03eb8b9417 Spanish translation is 100% complete (#1715)
Spanish trabsaltion is 100% complete
2023-06-19 15:20:42 +10:00
Ben V. Brown
c6918093fb Larger OLED Support (#1713)
* Update header to declare full buffer size

* Strip refactoring

* Refactor the OLED scrolldown part 1

* High res capable scroll down

* Allow button press to skip scroll

* Bunch of Misc Fixups
2023-06-18 22:50:31 +10:00
Ben V. Brown
d3d8e3d2d5 TS101 (#1695)
* Refactor I2C_SOFT to new #define

* Stitch in some of TS101

Update ShowStartupWarnings.cpp

Update OLED.hpp

Update stm32f1xx_hal_msp.c

Update Setup.cpp

Update Power.cpp

Update Pins.h

Update configuration.h

Power Muxing

Working dual input Voltage handler

Scan mode required for differing injected channels

Inject both dc readings

Update configuration.h

Update configuration.h

Use htim4 for adc control on TS101

Refactor htim names

Add ADC_TRIGGER

Speed up BB I2C a lil

Update configuration.h

Update startup_stm32f103t8ux.S

Update configuration.h

Add LIS2DH clone

LIS2DH gains another clone

Create tooling to allow mapping accelerometers onto different buses

Update startup_stm32f103t8ux.S

Ensure PD IRQ is pulled up

* Stitch in some of TS101

Update ShowStartupWarnings.cpp

Update OLED.hpp

Update stm32f1xx_hal_msp.c

Update Setup.cpp

Update Power.cpp

Update Pins.h

Update configuration.h

Power Muxing

Working dual input Voltage handler

Scan mode required for differing injected channels

Inject both dc readings

Update configuration.h

Update configuration.h

Use htim4 for adc control on TS101

Refactor htim names

Add ADC_TRIGGER

Speed up BB I2C a lil

Update configuration.h

Update startup_stm32f103t8ux.S

Update configuration.h

Add LIS2DH clone

LIS2DH gains another clone

Create tooling to allow mapping accelerometers onto different buses

Update startup_stm32f103t8ux.S

Ensure PD IRQ is pulled up

Allow toggle which button enters PD debug

* Update Pins.h

* Fix hard coded IRQ Pin

Update stm32f1xx_it.c

* Enable EPR

* Tip resistance measurement

* TS101 is a direct drive tip

Update BSP.cpp

* Add S60 and TS101 to builds

Update push.yml

* Update MOVThread.cpp

* Refactor power menu handler

* Correct prescaler

Forgot to update since I changed the period

* Tune in the timer divider for tip control to make PWM less audible

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-06-18 21:58:20 +10:00
Ivan Zorin
a1b9e40f67 Show power source type on detailed screen in soldering mode (#1708) (#1709)
* Show power source type on detailed screen in soldering mode (#1708)

* Update according to code review
2023-06-18 21:38:26 +10:00
Ivan Zorin
4d7e4f41e3 Save settings on change only / All builds OK (#1699) (#1704) 2023-06-18 04:31:05 +00:00
Ivan Zorin
4c5e885363 source/Makefile: update for -C support (#1710) 2023-06-18 14:25:43 +10:00
Ben V. Brown
313336b61f Swap OLED offset write to reduce glitching
@discip
2023-06-18 14:22:08 +10:00
Ivan Zorin
c55a640d7f AutoStartMode refactoring (#1712)
* OperatingModes/Sleep: extend current mode with idle status

* OperatingModes/Sleep: tipTemp section refactoring

* source/Core - settings: tiny refactoring of AutoStartMode management

* OperatingModes/Sleep: rollback OperatingMode update
2023-06-17 17:07:26 +10:00
Ivan Zorin
5b1c273a78 source/Makefile: add HOST_PYTHON, extend clean target, remove -.d generation (#1701)
* source/Makefile modifications: add HOST_PYTHON variable for flexibility of environment setup / extend clean target to make source directory as new / rename -.d autogenerated temp file

* Makefile: keep Hexfile dir by clean target, add mrproper target to clean all

* Makefile: rename mrproper target to clean-all

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-06-14 12:34:51 +00:00
Ivan Zorin
6fb8cda975 Update comments (#1702)
update comments
2023-06-14 10:32:27 +00:00
Ivan Zorin
ff61f7b5cf Unify sha-bangs for python scripts (#1703)
unify sha-bangs for python scripts
2023-06-14 10:32:04 +00:00
Ben V. Brown
e7bcf920ba Refactor PinecilV2 Tuning
Closes #1688
2023-06-04 12:13:26 +10:00
Ben V. Brown
286afad919 S60 Support (#1692)
* Mock S60

* cleanup

* Start refactor of OLED init

* Setup timers roughly

* Set Vector table offset correctly

Update system_stm32f1xx.c

* Update OLED.cpp

* Update stm32f1xx_hal_msp.c

* Update configuration.h

* I2C init before GPIO

From Errata

Update stm32f1xx_hal_msp.c

Update Software_I2C.h

Allow no hardware I2C

* I2C BB run bus unlock at init

* cleanups

* Software I2C for now

* Mildly more graceful Interpolate

* Handle is powered by DC

Update Power.cpp

Update drawPowerSourceIcon.cpp

Update configuration.h

Update Setup.cpp

* Cleanup HomeScreen

* Segment remap oled at init

* Cleanup

* Update MOVThread.cpp

* Fix PWM Init

* Fix adc2 trigger

* Update configs

* Fixup warning

* Saner default config

* Update ThermoModel.cpp

* Util for current@voltage

* Hub238 warning

* Add hub238 handling in power mode

* Update USBPDDebug_FUSB.cpp

* HUSB238 debug

* Hook PSU Limit

* Use wrapping section of GRAM for scroll

Update OLED.hpp

* Update NTC table

* Fix HUB voltage picker

* Cleanup

* Larger tip filter

* Calibrate in a bunch closer

Update ThermoModel.cpp

* Update configuration.h

* Update HUB238.cpp

* Update configuration.h

* Movement Pin

* Update BSP.cpp

* tim2 irq

* Rough timer conversion (adc broken) but movement working

* Fix tim2 start

* Faster base PWM

* Ensure utils grabs config

* Add wattage limiter tolerance for device

* Speed up PWM and enable PWM current limiting

* tune for 12v

* Prevent start until PD done

* Update configuration.h

* Add HUB238 check for have re-negotiated

* Adjust timer to avoid noise when its possible
2023-06-03 20:05:31 +10:00
discip
1acb29fcf3 Merge pull request #1691 from onxblog/patch-4
Patch 4
2023-05-28 22:34:00 +02:00
discip
7b581aca3f Merge branch 'dev' into patch-4 2023-05-28 22:28:54 +02:00
discip
3481eaa320 Merge pull request #1689 from MAuCTEP/dev
Merging newest translations into dev
2023-05-28 22:27:35 +02:00
Alex
75a510a5d3 Update translation_RU.json
some fix
2023-05-26 02:41:21 +03:00
Alex
fc5b5d7a56 Update translation_RU.json
Updated new ENG sentences to Russian.
2023-05-26 02:33:34 +03:00
MAuCTEP
7292477760 Fixed descriptions
Fixed text and logo speed description
2023-05-25 17:40:21 +03:00
MAuCTEP
807058c3e3 Fixed descriptions
Fixed text and logo speed description
2023-05-24 22:17:01 +03:00
discip
02fd262404 Merge pull request #1687 from federicodilo/patch-7
Translation_IT.json rev.2
2023-05-18 18:45:58 +02:00
Federico Di Lorenzo
7f4e294c79 Update translation_IT.json 2023-05-18 10:43:35 +02:00
Ben V. Brown
aea4791b71 Merge pull request #1685 from federicodilo/patch-6
Update translation_IT.json
2023-05-18 07:29:57 +10:00
Federico Di Lorenzo
acb7505af7 Update translation_IT.json 2023-05-17 22:45:10 +02:00
Ben V. Brown
4fcfa93533 Merge pull request #1682 from Ralim/pinecilv2-memory
Adjust how heap and ram sections are allocated
2023-05-16 06:46:13 +10:00
Ben V. Brown
df693773f1 Adjust how heap and ram sections are allocated 2023-05-09 22:10:28 +10:00
discip
f1e2bf975b Merge pull request #1681 from HanaO00/patch-2
Update translation_FR.json
2023-05-06 20:06:16 +02:00
HanaO00
a8e288b538 Update translation_FR.json 2023-05-06 12:16:23 +02:00
discip
56d4720175 Merge pull request #1679 from Ralim/discip-patch-1
corrected wording
2023-04-27 23:59:22 +02:00
discip
6daa959037 corrected wording 2023-04-27 20:57:51 +02:00
discip
72030fa3e8 Merge pull request #1676 from Ralim/discip-patch-2
removing extra entries
2023-04-27 01:22:57 +02:00
discip
e354f5dd0e Merge pull request #1677 from Ralim/discip-patch-3
corrected character count
2023-04-27 01:22:44 +02:00
discip
2132d80df2 Merge pull request #1675 from Ralim/discip-patch-1
Update translation_DE.json
2023-04-27 01:22:27 +02:00
discip
e64416413c corrected character count 2023-04-27 00:32:48 +02:00
discip
9ce042cd08 removing extra entries
@codingcatgirl
Please have a look, I may have missed something here.
2023-04-27 00:27:41 +02:00
discip
6f7f8f0175 Update translation_DE.json
Unfortunately, the previous sentence didn't fit on the screen.
2023-04-27 00:19:09 +02:00
discip
4574071fb7 Merge pull request #1672 from codingcatgirl/profiles
MHP30 Soldering/Reflow Temperature Profile
2023-04-25 22:25:21 +02:00
Laura
27498d2573 Update Translations/translation_DE.json
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-04-25 19:29:22 +02:00
Laura
366b3356da Update Documentation/Menu.md
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-04-25 19:11:06 +02:00
Laura
2745221643 Update Documentation/GettingStarted.md
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-04-25 19:09:36 +02:00
discip
d94978f1ce Adjusted CJK and generalized some descriptions 2023-04-25 18:43:59 +02:00
Laura Klünder
578fd54463 soldering profile mode → profile mode 2023-04-25 11:56:57 +02:00
Laura Klünder
252287c4dd fix soldering menu on devices without soldering profiles 2023-04-25 11:56:57 +02:00
Laura Klünder
9559af39f7 add documentation for soldering profile mode 2023-04-25 11:56:57 +02:00
Laura Klünder
5fcdda16f6 filter translation strings and only include the ones needed 2023-04-25 11:56:52 +02:00
Laura Klünder
366cfbd794 add missing comment and exclude sleep code if sleep is disabled 2023-04-25 11:56:52 +02:00
Laura Klünder
d053c38740 add english defaults to all translations 2023-04-25 11:56:52 +02:00
Laura Klünder
f1879353b8 put soldering profile mode into its own file, put common functions in utils 2023-04-25 11:56:41 +02:00
Laura Klünder
8cc722e494 add missing comments in Settings.h 2023-04-24 01:37:40 +02:00
Laura Klünder
9dfb5cfb4b revert unneeded change 2023-04-24 00:24:18 +02:00
Laura Klünder
c783fb545a fix build on TS100 2023-04-24 00:20:31 +02:00
Laura Klünder
4f400460e8 add german translation 2023-04-23 23:58:36 +02:00
Laura Klünder
cb2e8af700 full profile support 2023-04-23 23:48:24 +02:00
Laura Klünder
448e5c8ad1 profile mode is optional 2023-04-23 18:36:07 +02:00
Laura Klünder
5c69458f1a refactor fahrenheit conversion to save some space 2023-04-23 18:35:34 +02:00
Laura Klünder
dbdc0d1ef1 add settings for soldering profile 2023-04-23 17:50:43 +02:00
Ben V. Brown
5a36b0479c Merge pull request #1667 from HanaO00/patch-1
Update translation_FR.json
2023-04-21 23:51:47 +10:00
HanaO00
a12b1dea93 Update translation_FR.json 2023-04-21 12:06:17 +02:00
discip
546ac3a9df Merge pull request #1666 from ew1abz/1609-ble-sn-id
Add validation ID to BLE
2023-04-17 00:50:06 +02:00
Vladimir K
2d824af836 Add validation ID to BLE 2023-04-15 15:01:44 -07:00
Marek Kraus
da18b9b60f Merge pull request #1662 from cewbdex/patch-2
Update translation_CS.json
2023-04-10 10:05:59 +02:00
Kryštof Černý
213efe7314 Update translation_CS.json 2023-04-10 09:07:01 +02:00
Ben V. Brown
1a087ca624 Merge branch 'master' into dev 2023-04-09 19:47:50 +10:00
discip
422b5b7563 unifying (#1657) 2023-04-07 23:42:14 +00:00
discip
38625b2f7e Merge pull request #1658 from Ralim/discip-patch-1
correcting MAX_POWER_LIMIT to 120
2023-04-08 01:36:12 +02:00
discip
cd592c94af Merge pull request #1654 from federicodilo/patch-5
Update translation_IT.json
2023-04-08 01:35:24 +02:00
discip
cc180f7d1a correcting MAX_POWER_LIMIT to 120 2023-04-08 01:19:07 +02:00
Federico Di Lorenzo
00a36f0fa0 Update translation_IT.json 2023-04-07 19:20:23 +02:00
Federico Di Lorenzo
0b5a617f8f Update translation_IT.json 2023-04-07 19:18:45 +02:00
Federico Di Lorenzo
25ccfc2204 Update translation_IT.json 2023-04-07 12:02:48 +02:00
Ben V. Brown
75c2589a6d Update version.h 2023-04-07 13:42:41 +10:00
River M
e5b1a364f3 fix typo on run command alignment (#1652)
* fix: edit button mkdocs

* fix: edit button on mkdocs

- should open edit page for  dev branch and requires  login if person is not already logged into github

* add favicons for the  mkdocs

* Delete android-chrome-192x192.png

* Delete android-chrome-512x512.png

* Delete favicon-16x16.png

* Delete favicon.ico

* Delete favicon-32x32.png

* Delete apple-touch-icon.png

* Create temp

* add favicon for mkdocs

* mkdocs - highlighting for source code

- Enables highlighting of source code in code blocks
- allow highlighting for other languages that are not default 23
- add favicon and custom location (until  folder names are changed to /docs  and /doc/img

* Delete temp

* Add files via upload

* organize mkdocs

* add mkdocs extensions & plugins

* remove favicon

* Delete favicon.ico

* Delete font-license.txt

* fix mkdocs for  markdown extensions

fixed the name since  this is not a materials theme.

* add plugins  to mkdocs

* add mkdocs git-revision-date

displays the last revision date of the current page of the documentation based on Git. this could be displayed at the bottom of each page.

* add plugins for MKdocs

* closes ticket  https://github.com/Ralim/IronOS/issues/1649

* clean up mkdocs plugins

break up code line as it's getting too long with more plugins.

* fix pip install comand

* fix typo

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-04-07 13:04:43 +10:00
River M
da52357d87 add plugins for mkdocs features (#1650) 2023-04-07 12:47:06 +10:00
River M
8c90d3dee2 fix mkdocs markdown extensions (#1648)
* fix: edit button mkdocs

* fix: edit button on mkdocs

- should open edit page for  dev branch and requires  login if person is not already logged into github

* add favicons for the  mkdocs

* Delete android-chrome-192x192.png

* Delete android-chrome-512x512.png

* Delete favicon-16x16.png

* Delete favicon.ico

* Delete favicon-32x32.png

* Delete apple-touch-icon.png

* Create temp

* add favicon for mkdocs

* mkdocs - highlighting for source code

- Enables highlighting of source code in code blocks
- allow highlighting for other languages that are not default 23
- add favicon and custom location (until  folder names are changed to /docs  and /doc/img

* Delete temp

* Add files via upload

* organize mkdocs

* add mkdocs extensions & plugins

* remove favicon

* Delete favicon.ico

* Delete font-license.txt

* fix mkdocs for  markdown extensions

fixed the name since  this is not a materials theme.

* add plugins  to mkdocs

* add mkdocs git-revision-date

displays the last revision date of the current page of the documentation based on Git. this could be displayed at the bottom of each page.
2023-04-06 07:13:37 +10:00
River M
84095a80e8 fix Mkdocs edit button (#1642)
* fix: edit button mkdocs

* fix: edit button on mkdocs

- should open edit page for  dev branch and requires  login if person is not already logged into github

* add favicons for the  mkdocs

* Delete android-chrome-192x192.png

* Delete android-chrome-512x512.png

* Delete favicon-16x16.png

* Delete favicon.ico

* Delete favicon-32x32.png

* Delete apple-touch-icon.png

* Create temp

* add favicon for mkdocs

* mkdocs - highlighting for source code

- Enables highlighting of source code in code blocks
- allow highlighting for other languages that are not default 23
- add favicon and custom location (until  folder names are changed to /docs  and /doc/img

* Delete temp

* Add files via upload

* organize mkdocs

* add mkdocs extensions & plugins

* remove favicon

* Delete favicon.ico

* Delete font-license.txt
2023-04-04 16:19:17 +10:00
discip
ab3f5bd695 Merge pull request #1641 from discip/power_limit_display_fix
fixing power limit display
2023-04-04 01:00:16 +02:00
discip
a6926519d1 Update settingsGUI.cpp 2023-04-02 01:14:46 +02:00
Samuelrmlink
445069c92b USBPDDebug: Check whether VPDO is EPR or PPS (#1600)
* USBPDDebug: Check whether VPDO is EPR or PPS.

* USBPDDebug - Allow trailing zeros after a decimal point.

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-04-02 00:14:45 +11:00
discip
e5e77aa475 Merge pull request #1616 from Ralim/discip-patch-1
implementing #1594
2023-04-01 05:24:33 +02:00
Ben V. Brown
0bbf8fb4c6 Merge branch 'dev' into discip-patch-1 2023-04-01 14:20:58 +11:00
Ben V. Brown
f6975b0aa2 Update ble_handlers.cpp 2023-04-01 14:20:10 +11:00
slycordinator
dcfb6507a6 Added Variables to Dockerfile (#1597)
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-04-01 03:05:11 +00:00
discip
45c00dc767 Merge branch 'dev' into discip-patch-1 2023-03-31 22:59:31 +02:00
Ben V. Brown
e13f118788 Change to 128bit UUID's (#1608)
* Change to 128bit UUID's

* Make attrs const for BLE

* Forcefully set docker project name

* Cleaner UUIDS

* Cant use const attrs

* Adjust ram sections

* Update UUID decode

* Settings uuids

* Fix missed decoder for writing

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-03-29 12:45:09 +11:00
discip
f937c8d7bd Merge pull request #1637 from StevenSeifried/translation_DE_update
Update translation_DE.json
2023-03-26 23:07:23 +02:00
Steven Seifried
9f7d7835ec Updated translation_DE.json 2023-03-26 22:56:37 +02:00
discip
fe9043fddf Merge branch 'dev' into discip-patch-1 2023-03-26 13:16:56 +02:00
Ben V. Brown
79187c3f5e Forcefully set docker project name 2023-03-26 12:48:30 +11:00
discip
3a4638ef42 Merge branch 'dev' into discip-patch-1 2023-03-26 01:47:47 +01:00
discip
fdff919508 Merge pull request #1632 from discip/fixing-translation_RO-using-diacritics
Update translation_RO.json
2023-03-26 01:45:08 +01:00
discip
9c8abbdfc2 Readjusting brightness (Pinecil v2) (#1622) 2023-03-26 11:43:56 +11:00
discip
744dd6b898 Merge branch 'dev' into discip-patch-1 2023-03-26 00:48:41 +01:00
discip
c192792b8f Merge branch 'dev' into fixing-translation_RO-using-diacritics 2023-03-26 00:47:32 +01:00
discip
070064e59e adapting 10 °C > 50 °F (#1636)
* Update configuration.h

* Update configuration.h

* Update configuration.h
2023-03-25 23:46:44 +00:00
discip
b41c44a191 Merge branch 'Ralim:dev' into fixing-translation_RO-using-diacritics 2023-03-24 23:04:19 +01:00
Vladimir
6177d4e2a4 Add building steps for Pinecil V2 to Development.md (#1634) 2023-03-24 13:19:52 +00:00
Vladimir
11bad84ce7 Add FW version to BLE characteristic (#1633)
Implements #1610
2023-03-24 19:15:05 +11:00
discip
2a27c38999 Update translation_RO.json 2023-03-21 06:48:21 +01:00
discip
d8b6fac176 Merge branch 'dev' into discip-patch-1 2023-03-20 22:12:50 +01:00
discip
0384288a37 Update translation_RO.json 2023-03-20 21:56:58 +01:00
discip
ccbee21872 Merge pull request #1631 from patridge/patch-1
Update settings icon description
2023-03-20 21:36:06 +01:00
Adam Patridge
9247075458 Fix Markdown link typo 2023-03-20 11:30:26 -07:00
Adam Patridge
d834a3395c Update settings icon description 2023-03-20 11:23:24 -07:00
discip
bed400e527 Merge branch 'dev' into discip-patch-1 2023-03-17 22:37:16 +01:00
discip
2a2acfe649 Merge pull request #1628 from mobycl1ck/patch-1
Update translation_RO.json
2023-03-17 22:35:44 +01:00
discip
e2456c3ac1 Apply suggestions from code review 2023-03-17 22:32:38 +01:00
mobycl1ck
b4900daecc Update translation_RO.json 2023-03-17 17:41:18 +01:00
discip
60f0437bf8 Merge branch 'dev' into discip-patch-1 2023-03-15 20:05:11 +01:00
discip
5a75cd077c Merge pull request #1627 from G-Pereira/patch-1
Update translation_PT.json
2023-03-15 20:03:44 +01:00
Gonçalo Pereira
87115b274d Update translation_PT.json 2023-03-15 13:26:47 +00:00
discip
cc2b072b4a Merge pull request #1626 from Ralim/discip-patch-2
Update translation_EN.json
2023-03-15 08:42:29 +01:00
discip
91f6c42c4a Update translation_EN.json 2023-03-15 00:19:01 +01:00
discip
c7bdbbb4b5 Merge branch 'dev' into discip-patch-1 2023-03-14 22:35:47 +01:00
discip
0a4560efac Merge pull request #1625 from River-Mochi/dev
Corrected value in °F to match value in °C
2023-03-14 22:35:07 +01:00
discip
656f1a3275 Merge branch 'dev' into discip-patch-1 2023-03-14 22:24:47 +01:00
discip
b32d5abda4 Merge branch 'dev' into dev 2023-03-14 22:24:02 +01:00
discip
72c1e1906d Merge pull request #1612 from ViPeR5000/dev
update translation_pt.jason
2023-03-14 22:23:49 +01:00
discip
36d5c05c8d Merge branch 'dev' into discip-patch-1 2023-03-14 22:21:52 +01:00
discip
2863b9321b Merge branch 'dev' into dev 2023-03-14 22:21:01 +01:00
discip
f0d1cdb3ff Merge branch 'dev' into dev 2023-03-14 22:20:37 +01:00
discip
ecef4002c4 Apply suggestions from code review 2023-03-14 22:19:54 +01:00
discip
e247010055 Merge pull request #1612 from ViPeR5000/dev
update translation_pt.jason
2023-03-14 22:19:00 +01:00
discip
e5c2eb8bbc Apply suggestions from code review 2023-03-14 22:08:01 +01:00
River M
8ea8632bb9 Update configuration.h 2023-03-14 14:05:45 -07:00
discip
53f74f3490 Merge branch 'dev' into dev 2023-03-13 23:27:26 +01:00
discip
3e3d0bbb84 Merge branch 'dev' into discip-patch-1 2023-03-13 23:27:01 +01:00
discip
ccc44bd217 Merge pull request #1623 from Devnol/dev
Add new EL translation strings
2023-03-13 22:57:55 +01:00
Panos Koutsoumanis
3371d001fc Update Translations/translation_EL.json
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-03-13 23:55:28 +02:00
Panos Koutsoumanis
9014f16ff3 Update Translations/translation_EL.json
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-03-13 23:55:18 +02:00
Devnol
3ab2ec9f84 Add new EL translation strings
Signed-off-by: Devnol <pgkoutsoumanis@gmail.com>
2023-03-13 23:34:55 +02:00
discip
2319eebe65 Update ble_handlers.cpp 2023-03-13 18:38:16 +01:00
discip
495954fd1c Merge branch 'dev' into dev 2023-03-11 15:30:31 +01:00
discip
1d47a85598 Merge branch 'dev' into discip-patch-1 2023-03-11 15:14:41 +01:00
discip
e12903ec28 Update ble_handlers.cpp 2023-03-11 13:56:47 +01:00
Marek Kraus
73be260b98 Merge pull request #1617 from StevenSeifried/translation_DE
Updated translation_DE.json
2023-03-11 13:47:21 +01:00
discip
dc47eb4221 Update translation_DE.json
unified translation
2023-03-11 13:44:23 +01:00
Steven Seifried
8a4a9cfc07 Updated translation_DE.json 2023-03-11 09:58:53 +01:00
Marek Kraus
e5aa51290d Merge pull request #1611 from DjordjeMandic/patch-1
Update README.md to fix small typo
2023-03-11 08:01:31 +01:00
Djordje
631b7ed7fc Update README.md
Fix small typo from #1588
2023-03-11 01:47:01 +01:00
discip
6174d80586 Update ble_handlers.cpp 2023-03-11 01:45:44 +01:00
discip
d88eed4e18 Update ble_handlers.cpp
Tried to implement #1594
2023-03-11 01:26:35 +01:00
Rui Melo
b021c85fdc update translation_pt.jason
update translation_pt.jason
2023-03-08 14:09:05 +00:00
Foxie The Dev
5022eca8af Fix README badges (#1607)
Fix badge image sources, and their target link locations to be up to date and correct.
2023-03-05 12:28:54 +11:00
River M
344c1a649d Update documents, esp. Pinecil V2 instructions (#1604)
* Update README.md

* Update Pinecil V2.md

* Update Pinecil V2.md

update very outdated instructions on how to update Pinecil V2.

* Update Pinecil V1.md

* Update Pinecil V2.md

* Update Pinecil V2.md
2023-03-02 17:58:46 +11:00
Ben V. Brown
6fc27e1544 Merge pull request #1596 from dmitrygribenchuk/translation
update translation
2023-02-24 07:51:30 +11:00
Dmitry Gribenchuk
682662d8e3 update translation_BE.json translation_PL.json translation_RU.json translation_UK.json 2023-02-23 21:52:20 +02:00
discip
68d18a4fb0 Merge pull request #1593 from Ralim/discip-patch-1
minor formatting fix
2023-02-23 01:20:31 +01:00
discip
36f5a14920 minor formatting fix 2023-02-23 01:19:28 +01:00
Ben V. Brown
8bff89ac02 Merge pull request #1592 from NeilHanlon/ble-fixes
Fix updating certain settings over BLE
2023-02-23 09:11:09 +11:00
Neil Hanlon
2a244df7b1 Fix typo in BLE settings mapping 2023-02-22 01:28:04 -05:00
Neil Hanlon
a76049acde Fix bug in setSettingsValue for values constrained between 0 and 1
Fixed a bug in the `setSettingValue` function that caused valid values
within the allowed range to be incorrectly constrained to the minimum
value, when the default value of the option was zero and the allowed
range was from zero to one. The bug was fixed by updating the order of
the `if` statements in the function to ensure that the range check is
done before the value is set. This ensures that valid values within the
range are correctly retained, while out-of-range values are still
constrained to the allowed range.
2023-02-22 01:26:06 -05:00
Neil Hanlon
b1658ec6ee Handle updating certain settings updates over BLE - Fixes #1560 2023-02-22 01:25:49 -05:00
Ben V. Brown
bb151f2dc5 Merge pull request #1588 from DjordjeMandic/patch-2
Update README.md to explain why TS80 is not recommended
2023-02-21 14:55:49 +11:00
Djordje
85b72ec9f8 Update README.md
Add explanation why TS80 is no longer recommended
2023-02-21 03:06:22 +01:00
Ben V. Brown
f29ec5cd99 Merge pull request #1582 from Samuelrmlink/PPSctrl
Added VPDO option for disabling PPS/EPR PDOs.
2023-02-20 11:53:15 +11:00
Samuelrmlink
669e3819e8 Add BLE characteristic - PD VPDOs Enabled 2023-02-19 16:59:26 -06:00
Samuelrmlink
20b4f80255 Attempt to reduce translation size.
TS80P build failed Github checks.
2023-02-19 16:34:29 -06:00
Samuel Hedrick
cd21b49e8c Added BLE characteristic - PD VPDOs Enabled 2023-02-19 16:22:46 -06:00
Samuel Hedrick
6729caa586 Added English strings to other language .json files. 2023-02-19 16:03:49 -06:00
Samuel Hedrick
9892dd0423 Added VPDO option for disabling PPS/EPR PDOs. 2023-02-19 14:13:50 -06:00
Ben V. Brown
eb5d6ea9fd Make BLE name more unique 2023-02-18 18:16:44 +11:00
Ben V. Brown
fe159ba747 Merge pull request #1572 from Samuelrmlink/dev
Fixed USB-PD policy bug.
2023-02-16 16:11:56 +11:00
Samuel Hedrick
5265d7b1ac Fixed USB-PD policy bug.
Some PPS chargers that advertise 7 PDOs are affected.
This includes the Samsung EP-TA845 - likely others as well.
2023-02-15 20:50:23 -06:00
Ben V. Brown
0dd0dc4983 Merge pull request #1567 from Ralim/ble-settings-reset
BLE Settings rename + Unique Name
2023-02-12 11:06:45 +11:00
Ben V. Brown
4a2d59b01c Added 37th option 2023-02-11 22:16:17 +11:00
Ben V. Brown
07cad37bcc Move extras to end of settings 2023-02-11 22:14:49 +11:00
Ben V. Brown
39148d11ed Shift settings to be 0 based; and add reset command 2023-02-11 22:09:26 +11:00
Ben V. Brown
5aacbeaecc Add unqiue id to BLE name 2023-02-11 20:39:41 +11:00
Ben V. Brown
c384194b7f Silence warnings 2023-02-11 19:54:30 +11:00
Ben V. Brown
ac1934f8de Fixup some of the includes for the ble lib 2023-02-11 19:47:58 +11:00
Ben V. Brown
662829ebd9 Merge pull request #1565 from federicodilo/patch-4
Small update in translation_IT.json
2023-02-07 20:06:17 +11:00
Federico Di Lorenzo
daaa9549cf Update translation_IT.json 2023-02-07 09:54:38 +01:00
Ben V. Brown
ee6ae1f3f1 Merge pull request #1557 from cohaolain/ble-adv-mods
Use the scan response to advertise some of the available service UUID…
2023-02-05 12:59:24 +11:00
Ciarán Ó hAoláin
b5f78bbeda Use the scan response to advertise some of the available service UUIDs rather than just repeating the device name 2023-02-05 00:41:57 +00:00
Alexandrebafoil
e23c361a57 Update translation_FR.json (#1556)
Addition of the missing French translations
2023-02-05 08:46:26 +11:00
Thomas White
8e7e58018a expand bulk data to match individual value data (#1555)
* track and return Operating mode with BLE

* move global variable to fix build on other platforms

* formatting

* expand bulk data to match individual value data

* formatting

* fix accidental single line if

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-02-05 00:04:51 +11:00
Thomas White
9802a622d5 Track and return Operating Mode with BLE (#1553)
Track and return Operating Mode with BLE
2023-02-04 09:33:43 +11:00
Ben V. Brown
e19e1a066d Use alpine packaged black
Closes #1554
2023-02-04 09:30:05 +11:00
Ben V. Brown
bb76dfeff6 Merge pull request #1535 from Ralim/testing-fix-for-timer-slot-miss
Change timing scheduler to only run main timer once ADC is done
2023-01-30 17:33:32 +11:00
Ben V. Brown
4ddc9a28f9 Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-30 17:28:03 +11:00
Ben V. Brown
0b6c5ff837 👋 Goodbye Weblate
Dropping weblate for now as its just not reliable.
2023-01-30 17:26:41 +11:00
Ben V. Brown
586fd3b288 Merge pull request #1548 from discip/fix_languages
fixing languages & reverting unwanted weblate changes
2023-01-30 17:11:06 +11:00
discip
67df8c71ba Update translation_EN.json 2023-01-28 14:15:18 +01:00
discip
ce7e228fe5 Update translation_DE.json 2023-01-28 14:14:56 +01:00
discip
760d8c83cb Update translation_JA_JP.json 2023-01-28 14:14:23 +01:00
discip
36fbf760cb Update translation_ES.json 2023-01-28 14:13:19 +01:00
discip
af2b88cb59 fixing languages & reverting unwanted weblate changes 2023-01-28 02:17:23 +01:00
Ben V. Brown
939efbbf4f Merge branch 'testing-fix-for-timer-slot-miss' of ssh://github.com/Ralim/IronOS into testing-fix-for-timer-slot-miss 2023-01-24 18:57:00 +11:00
Ben V. Brown
7e103ccf2d Wait for full ADC Burst 2023-01-24 18:56:49 +11:00
Ben V. Brown
a84df7b94e Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-24 18:15:45 +11:00
Ben V. Brown
f3b4abf434 Update IRQ.cpp 2023-01-24 18:11:44 +11:00
Ben V. Brown
5fe019f40b Change timing scheduler to only run main timer once ADC is done 2023-01-23 17:40:06 +11:00
Erkan Colak
cc37899b1b Expanded the build script to build customizable multiple languages and models firmwares (#1520)
* Expanded the build script to build customizable multiple languages and models firmwares.

* Fixed build pipeline uses lower cases  for Pinecil* devices

* fixed shellcheck suggestions reported by reviewdog

fixed shellcheck suggestions reported by reviewdog
2023-01-17 08:12:30 +11:00
230 changed files with 78858 additions and 1902 deletions

View File

@@ -28,8 +28,13 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v4
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
- run: |
pip install --upgrade pip &&
pip install mkdocs mkdocs-gen-files pymdown-extensions \
mkdocs-git-revision-date-plugin mkdocs-autolinks-plugin \
mkdocs-awesome-pages-plugin
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: mkdocs gh-deploy
run: mkdocs gh-deploy

View File

@@ -9,7 +9,7 @@ jobs:
image: alpine:3.16
strategy:
matrix:
model: ["TS100", "TS80", "TS80P", "Pinecil", "MHP30", "Pinecilv2"]
model: ["TS100", "TS80", "TS80P", "Pinecil", "MHP30", "Pinecilv2", "S60", "TS101"]
fail-fast: true
steps:
@@ -140,14 +140,14 @@ jobs:
steps:
- name: deps
run: apk add --no-cache python3 py3-pip make git
run: apk add --no-cache python3 py3-pip make git black
- uses: actions/checkout@v3
with:
submodules: true
- name: install black
run: python3 -m pip install bdflib black flake8
run: python3 -m pip install bdflib flake8
- name: Check formatting with clang-format
run: cd source && make clean && make check-style

View File

@@ -1,25 +0,0 @@
name: Weblate PR
on:
create:
branches: ["^translations$"]
jobs:
pull-request:
name: Open PR to dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: checkout
- uses: repo-sync/pull-request@v2
name: pull-request
with:
destination_branch: "dev"
pr_title: "Merging newest translations into dev" # Title of pull request
pr_body: | # Full markdown support, requires pr_title to be set
Translations automatically submitted by Weblate
_Translations from [Weblate](https://hosted.weblate.org/projects/ironos/main-firmware/)_
pr_reviewer: "ralim"
pr_draft: true
github_token: ${{ secrets.GITHUB_TOKEN }}

1
.gitignore vendored
View File

@@ -178,3 +178,4 @@ CoreCompileInputs.cache
.vscode/settings.json
source/compile_commands.json
.idea/
source/UI/layout_96x16.cpp

View File

@@ -8,12 +8,20 @@ WORKDIR /build
# Misc -> findutils make git
# musl-dev is required for the multi lang firmwares
# clang is required for clang-format (for dev)
ARG APK_COMPS="gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf \
newlib-arm-none-eabi"
ARG APK_PYTHON="python3 py3-pip black"
ARG APK_MISC="findutils make git"
ARG APK_DEV="musl-dev clang bash clang-extra-tools"
RUN apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git musl-dev clang bash clang-extra-tools
# PIP packages
ARG PIP_PKGS='bdflib pyyaml'
RUN apk add --no-cache ${APK_COMPS} ${APK_PYTHON} ${APK_MISC} ${APK_DEV}
# Install Python3 packages
RUN python3 -m pip install bdflib black
RUN python3 -m pip install ${PIP_PKGS}
# Git trust
RUN git config --global --add safe.directory /build/source

View File

@@ -104,3 +104,40 @@ If you _need_ an IDE I have used [Nuclei's IDE](https://nucleisys.com/download.p
Follow the same idea as the STM Cube IDE notes above.
## Building Pinecil V2
To build the Pinecil V2 firmware, you can use a Docker container that provides a consistent development environment across different operating systems, including Windows with WSL2. Here's how to do it:
### Prerequisites
Docker Desktop: Install the latest version of Docker Desktop for your operating system from the official website.
On Windows follow the instructions on the official documentation to install 'Windows Subsystem for Linux' (WSL2).
### Building Steps
1. Clone the repository, initialize and update submodules:
```sh
git clone --recurse-submodules https://github.com/Ralim/IronOS.git
```
2. Start the Docker container with the development environment:
```sh
cd IronOS
./start_dev.sh
```
This script will build a Docker image and run a container with the necessary tools to build the firmware.
3. Build the firmware for Pinecil V2:
```sh
cd source/source
./build.sh -l EN -m Pinecilv2
```
This command will compile the firmware with English language support for Pinecil V2 board.
4. Find the firmware artifacts:
After the build completes successfully, you can find the firmware artifacts in the `source/Hexfile` directory.

View File

@@ -12,8 +12,8 @@ These are built on every change and can be found on the Actions tab (see below).
Main releases are made to the [releases page](https://github.com/Ralim/IronOS/releases).
Download the zip file that matches your model of soldering iron and extract it.
Select the appropriate file type for your unit, in general Miniware devices need `.hex` and Pinecil needs `.dfu`.
Flash according to details below
Select the appropriate file type for your unit, in general Miniware devices need `.hex`, Pinecil V1 needs `.dfu`, and Pinecil V2 needs `.bin`.
Flash according to details below.
### Bleeding edge / latest
@@ -26,13 +26,16 @@ Then this works the same as a production release (use the correct file).
# Pinecil V1
- The MCU used in Pinecil supports usb-dfu. Reference [Pinecil Wiki](https://wiki.pine64.org/wiki/Pinecil).
- Recommended Updater: the [Pine64 Updater](https://github.com/pine64/pinecil-firmware-updater/releases), is an easy-to-use GUI app. It is fast and works in several types of OS, i.e. Windows/Mac. It will automatically fetch the newest stable version of IronOS from GitHub.
- The MCU used in Pinecil supports usb-dfu. Reference [Pinecil Wiki](https://wiki.pine64.org/wiki/Pinecil) for hardware and firmware instructions.
- Recommended Updater for Windows/MacOS: [Pine64 Updater](https://github.com/pine64/pine64_updater) is an easy-to-use GUI app. It is fast and automatically fetches the newest stable version of IronOS from GitHub. It can also be used to load custom boot logo art.
- Recommended Updater for Linux/MacOS: [PineFlash](https://github.com/Spagett1/PineFlash) is an easy-to-use GUI app. It is fast and automatically fetches the newest stable version of IronOS from Github. It can also be used to load custom boot logo art.
- Troubleshooting: if you have issues using the Pine64 Updater or your install fails, please go to troubleshooting tips below.
- Community chat: if troubleshooting doesn't work, then join the Pine64 > Pinecil channel. There are knowledgeable members in Discord/Telegram/Matrix. Discord has a bridge bot connection to Telegram and Matrix so that all pine volunteers/members can see advice for Pinecil and related items or just get tips on which Power supply to purchase.
- The [Pinecil Wiki](https://wiki.pine64.org/wiki/Pinecil) is a great resource for all things Pinecil.
- Community chat: if troubleshooting doesn't work, then join the Pine64 > Pinecil channel [here](https://wiki.pine64.org/wiki/Pinecil#Live_Community_Chat). There are knowledgeable members in Discord/Telegram/Matrix. Discord has a bridge bot connection to Telegram and Matrix so that all pine64 volunteers/members can see advice for Pinecil and related items or just get tips on which power supply to purchase.
- One advantage of Pinecil is that you cannot permanently damage it doing a firmware update (because DFU is in ROM); an update could render Pinecil temporarily inoperable if you flash an invalid firmware. But no worries, simply re-flashing with a working firmware copy will fix everything.
- USB-C cable is required to do an update. Generally, all USB controllers work, but some hubs have issues, so it is preferred to avoid USB hubs for updates.
- Alternate Update Methods: if your OS is not currently supported by the [Updater](https://github.com/pine64/pinecil-firmware-updater/releases) or it does not meet your needs, i.e., you want to install a beta version, the below manual methods may be used.
- Alternate Update Methods: if your OS is not currently supported by the [Pine64 Updater](https://github.com/pine64/pine64_updater) or it does not meet your needs, i.e., you want to install a beta version, the below manual methods may be used.
## Linux and Mac

View File

@@ -12,21 +12,25 @@ These are built on every change and can be found on the Actions tab (see below).
Main releases are made to the [releases page](https://github.com/Ralim/IronOS/releases).
Download the zip file that matches your model of soldering iron and extract it.
Select the appropriate file type for your unit, in general Miniware devices need `.hex` and Pinecil needs `.dfu`.
Flash according to details below
Select the appropriate file type for your unit, in general Miniware devices need `.hex`, Pinecil V1 needs `.dfu`, and Pinecil V2 needs `.bin`.
Flash according to details below.
### Bleeding edge / latest
For the _latest_ code, you will need to download the zip file from the artifacts page on the build for what you want.
Head to the [Actions](https://github.com/Ralim/IronOS/actions) page and then select the run for the appropriate branch you would like.
For the _latest_ code, you need to download the zip file from the artifacts page for the build that you want.
Head to the [Actions](https://github.com/Ralim/IronOS/actions) page and then select the run for the appropriate branch and beta you would like.
In general you probably want `master`.
Once you click on a run, scroll down to the "Artifacts" section and then click on your model to download a zip file.
Once you click on a run, scroll down to the "Artifacts" section and then click on your device model name to download a zip file.
Then this works the same as a production release (use the correct file).
# Pinecil V2
- The MCU in V2 is Bouffalo BL706 and does _not_ use usb-dfu for flashing as the previous MCU did.
- The current firmware (2.18) is very fresh and no upgrade is available/needed.
- When an update is released for V2, then IronOS will also include an update method to follow.
- The MCU in Pinecil V2 is Bouffalo BL706 and does _not_ use usb-dfu for flashing as the previous Pinecil V1 MCU did.
- See the Pinecil Wiki page [here](https://wiki.pine64.org/wiki/Pinecil#Firmware_&_Updates) for instructions.
- The V2 uses the [BLISP flasher](https://github.com/pine64/blisp) to upload the firmware to the MCU.
- The [Pinecil Wiki](https://wiki.pine64.org/wiki/Pinecil) is a great resource for all things Pinecil.
- Community chat: if there are issues updating, then join the Pine64 > Pinecil channel [here](https://wiki.pine64.org/wiki/Pinecil#Live_Community_Chat). There are knowledgeable members in Discord/Telegram/Matrix. Discord has a bridge bot connection to Telegram and Matrix so that all pine64 volunteers/members can see advice for Pinecil and related items or just get tips on which power supply to purchase.
- One advantage of Pinecil is that you cannot permanently damage it doing a firmware update (because BIN is in ROM); an update could render Pinecil temporarily inoperable if you flash an invalid firmware. But no worries, simply re-flashing with a working firmware copy will fix everything.
- USB-C cable is required to do an update. Generally, all USB controllers work, but some hubs have issues, so it is preferred to avoid USB hubs for updates.
- Background on the [BL706 chipset](https://lupyuen.github.io/articles/bl706)

View File

@@ -28,7 +28,7 @@ Note that this may be drawn mirrored depending on the orientation of your screen
The soldering iron symbol on the screen will appear near the tip. This is here to indicate that pressing the button closest to the front of the iron will enter soldering mode.
And naturally, the spanner like icon represents that pressing the button near the rear of the soldering iron will enter the settings menu.
And naturally, the slider controls icon (or spanner icon in older versions) represents that pressing the button near the rear of the soldering iron will enter the settings menu.
In the settings, you can turn on a detailed idle screen instead. The buttons still function the same, however, the image will be swapped for a text telling you the current status of the iron with extra details.
@@ -42,7 +42,7 @@ This OLED screen features burn-in protection; if no buttons or movement have bee
Additionally to the two icons shown, there are two "hidden" actions that can be performed on this menu.
If you press and hold the button near the tip (`+/A`), this enters the temperature adjustment screen. Normally this is not required; but if you would like to adjust the set temperature _before_ the tip starts to heat, this can be useful.
On devices that do not support profile mode, if you press and hold the button near the tip (`+/A`), this enters the temperature adjustment screen. Normally this is not required; but if you would like to adjust the set temperature _before_ the tip starts to heat, this can be useful.
If you press and hold the button near the rear of the iron (`-/B`), it will take you into the [debug menu](https://ralim.github.io/IronOS/DebugMenu/).
@@ -74,6 +74,23 @@ Pinecil has an unpopulated footprint (U14) for a hall effect sensor (Si7210-B-00
If, after entering sleep mode, the iron still does not see movement for a much longer time (default=10 minutes); it will shut down and return to the home screen.
## Profile Mode (MHP30 only)
On devices that support it, a long press on `(+/A)` takes you into profile mode, which initiates the profile selected in the relevant settings.
Profile mode plays out as follows:
1. Check if the temperature is below 55C. If not, you will get a warning and cannot enter profile mode.
2. Preheat by raising the target temperature to the configured preheat temperature with the configured preheat speed.
3. Wait for the device to reach the preheat temperature.
4. Gradually move the target temperature to the configured end temperature of the first phase over the configured duration.
5. Wait for the device to reach the end temperature.
6. Repeat steps 4 and 5 for the next phases until there are no more phases configured.
7. Cool down by lowering the target temperature to 0 with the configured cooldown speed.
8. Once the temperature is below 55C, sound the buzzer (if available) and exit profile mode.
You can manually exit profile mode manually in the same way as the soldering mode, by pressing and holding the rear button or pressing both buttons at once.
## Settings Menu
The settings menu is the most evolving aspect of the firmware, so each option is not documented here. However, do not panic, as every menu option has an on-screen description so you don't _need_ to come back here to figure them all out.

View File

@@ -9,6 +9,12 @@ In this mode the iron works as you would expect, pressing either button will tak
- Pressing both buttons or holding the rear button (`-/B`) will exit Soldering Mode.
- Holding the front button (`+/A`) will enter [Boost mode](https://ralim.github.io/IronOS/Menu/#boost-mode) (if enabled).
## Profile mode (MHP30 only)
In this mode, accessible by long pressing `(+/A)`, the configured profile will be initiated.
- You cannot adjust the temperature or enter boost mode.
- Pressing both buttons or holding the rear button (`-/B`) will exit Profile Mode as well.
## Settings mode
This mode allows you to cycle through all the options and set custom values.

View File

@@ -1,6 +1,12 @@
# Translation
Moving forward (after 2022/12/07); IronOS is using Weblate to provide the visual interface to doing translations to make it easier for people to work with.
Currently there is a translation going on, so not _everything_ is perfect but its leaps in the right direction to help make it friendlier for people to edit and also subscribe to be notified when things are updated.
At the present time the main way of performing translations is to open a PR to this repository.
All translations are stored as `json` files in the repository. Currently there is ongoing work to look into a more user friendly method of editing translations than these but for now these are reliable.
This can be accessed on the [weblate hosted instance](https://hosted.weblate.org/projects/ironos/main-firmware/).
You can create a pull request with the new / updated json configuration file, and this will include this language into the new builds for the firmware.
For testing you can build locally and test of course; but if you dont want to figure out the build environment; you can just open a PR and github will build the firmware for you using the _actions_ feature.
This means that once you have a github account you can perform all of your edits inside Github should this be desired.
Translations are _NOT_ accepted via issues/discussions or email.

View File

@@ -1,7 +1,7 @@
![CI](https://github.com/Ralim/ts100/workflows/CI%20Build%20all/badge.svg)
![GitHub all](https://img.shields.io/github/downloads/ralim/IronOS/total)
![Latest Release](https://img.shields.io/github/v/release/ralim/IronOS)
[![Translation status](https://hosted.weblate.org/widgets/ironos/-/glossary/svg-badge.svg)](https://hosted.weblate.org/engage/ironos/)
[![CI Build](https://github.com/Ralim/IronOS/actions/workflows/push.yml/badge.svg)](https://github.com/Ralim/IronOS/actions/workflows/push.yml)
[![Total Downloads](https://img.shields.io/github/downloads/ralim/IronOS/total)](https://github.com/Ralim/IronOS)
[![Contributors](https://img.shields.io/github/contributors-anon/ralim/ironos?color=blue&style=flat)](https://github.com/Ralim/IronOS/graphs/contributors)
[![Latest Release](https://img.shields.io/github/v/release/ralim/IronOS)](https://github.com/Ralim/IronOS/releases/latest)
# IronOS - Flexible Soldering iron control Firmware
@@ -23,15 +23,17 @@ _This firmware does **NOT** support the USB port while running for changing sett
| Device | DC | QC | PD | EPR | BLE | Battery | Recommended |
| :--------: | :-: | :-: | :-: | :-: | :-: | :-----: | :---------: |
| MHP30 | ❌ | ❌ | ✔️ | ❌ | ❌ | ❌ | ✔️ |
| Pinecil V1 | ✔️ | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
| Pinecil V2 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| TS80P | ❌ | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
| TS100 | ✔️ | ❌ | ❌ | ❌ | ❌ | ✔️ | |
| TS80 | ❌ | ✔️ | ❌ | ❌ | ❌ | ✔️ | ❌ |
| MHP30 | ❌ | ❌ | ✔️ | ❌ | ❌ | ❌ | ✔️ |
| Pinecil V1 | ✔️ | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
| Pinecil V2 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| TS80P | ❌ | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ✔️ |
| TS100 | ✔️ | ❌ | ❌ | ❌ | ❌ | ✔️ | ❌* |
| TS80 | ❌ | ✔️ | ❌ | ❌ | ❌ | ✔️ | ❌** |
\*Please note that Miniware started shipping TS100's using cloned STM32 Chips. While these do work with IronOS, their DFU bootloader works terribly, and it is hard to get it to successfully flash larger firmware images like IronOS without timing out. This is the main reason why the TS100 is **_no longer recommended_**.
\**TS80 is replaced by TS80P. Production ramped down a long time ago and it's just existing stock clearing the system. It's marked not recommended being optimistic that people might pause and buy the far superior TS80P instead. This is the main reason why the TS80 is **_no longer recommended_**.
## Getting Started
To get started with IronOS firmware, please jump to [Getting Started Guide](https://ralim.github.io/IronOS/GettingStarted/).
@@ -82,8 +84,9 @@ Operation details are over in the [Menu information.](https://ralim.github.io/Ir
## Translations
Is your preferred language missing localisation of languages?
This project is using Weblate for managing translations in a user friendly way; [the user interface for this is on their hosted website.](https://hosted.weblate.org/engage/ironos/)
Is your preferred language missing localisation of some of the text?
Translations are stored as `json` files in the Translations folder.
PR's are loved and accepted to enhance the firmware.
## Thanks

View File

@@ -66,6 +66,29 @@ def read_translation(json_root: Union[str, Path], lang_code: str) -> dict:
return lang
def filter_translation(lang: dict, defs: dict, macros: frozenset):
def check_excluded(record):
if "include" in record and not any(m in macros for m in record["include"]):
return True
if "exclude" in record and any(m in macros for m in record["exclude"]):
return True
return False
for category in ("menuOptions", "menuGroups"):
for index, record in enumerate(defs[category]):
if check_excluded(record):
lang[category][record["id"]]["displayText"] = ""
lang[category][record["id"]]["description"] = ""
for index, record in enumerate(defs["messagesWarn"]):
if check_excluded(record):
lang["messagesWarn"][record["id"]]["message"] = ""
return lang
def validate_langcode_matches_content(filename: str, content: dict) -> None:
# Extract lang code from file name
lang_code = filename[12:-5].upper()
@@ -101,6 +124,8 @@ def get_constants() -> List[Tuple[str, str]]:
("SmallSymbolSpace", " "),
("LargeSymbolDot", "."),
("SmallSymbolDot", "."),
("SmallSymbolSlash", "/"),
("SmallSymbolColon", ":"),
("LargeSymbolDegC", "C"),
("SmallSymbolDegC", "C"),
("LargeSymbolDegF", "F"),
@@ -155,6 +180,8 @@ def get_accel_names_list() -> List[str]:
"BMA223",
"MSA301",
"SC7A20",
"GPIO",
"LIS2 CLONE",
]
@@ -162,8 +189,8 @@ def get_power_source_list() -> List[str]:
return [
"DC",
"QC",
"PD W. VBus",
"PD No VBus",
"PV:PDwVBus",
"PD:No VBus",
]
@@ -250,7 +277,6 @@ def get_letter_counts(defs: dict, lang: dict, build_version: str) -> Dict:
# collapse all strings down into the composite letters and store totals for these
# Doing this seperately for small and big font
def sort_and_count(list_in: List[str]):
symbol_counts: dict[str, int] = {}
for line in list_in:
line = line.replace("\n", "").replace("\r", "")
@@ -439,7 +465,6 @@ class FontMapsPerFont:
def get_font_map_per_font(
text_list_small_font: List[str], text_list_large_font: List[str]
) -> FontMapsPerFont:
pending_small_symbols = set(text_list_small_font)
pending_large_symbols = set(text_list_large_font)
@@ -1029,7 +1054,6 @@ def get_translation_strings_and_indices_text(
large_font_symbol_conversion_table: Dict[str, bytes],
suffix: str = "",
) -> str:
# For all strings; we want to convert them to their byte encoded form (using font index lookups)
# Then we want to sort by their reversed format to see if we can remove any duplicates by combining the tails (last n bytes;n>0)
# Finally we look for any that are contained inside one another, and if they are we update them to point to this
@@ -1118,7 +1142,6 @@ def get_translation_strings_and_indices_text(
translation_strings_text = " /* .strings = */ {\n"
for i, encoded_bytes in enumerate(byte_encoded_strings):
if i > 0:
translation_strings_text += ' "\\0"\n'
@@ -1285,6 +1308,13 @@ def parse_args() -> argparse.Namespace:
required=False,
dest="compress_font",
)
parser.add_argument(
"--macros",
help="Extracted macros to filter translation strings by",
type=argparse.FileType("r"),
required=True,
dest="macros",
)
parser.add_argument(
"--output", "-o", help="Target file", type=argparse.FileType("w"), required=True
)
@@ -1305,6 +1335,12 @@ def main() -> None:
logging.error("error: Both --output-pickled and --input-pickled are specified")
sys.exit(1)
macros = (
frozenset(re.findall(r"#define ([^ ]+)", args.macros.read()))
if args.macros
else frozenset()
)
language_data: LanguageData
if args.input_pickled:
logging.info(f"Reading pickled language data from {args.input_pickled.name}...")
@@ -1329,11 +1365,13 @@ def main() -> None:
defs_ = load_json(os.path.join(json_dir, "translations_definitions.json"))
if len(args.languageCodes) == 1:
lang_ = read_translation(json_dir, args.languageCodes[0])
lang_ = filter_translation(
read_translation(json_dir, args.languageCodes[0]), defs_, macros
)
language_data = prepare_language(lang_, defs_, build_version)
else:
langs_ = [
read_translation(json_dir, lang_code)
filter_translation(read_translation(json_dir, lang_code), defs_, macros)
for lang_code in args.languageCodes
]
language_data = prepare_languages(langs_, defs_, build_version)

View File

@@ -28,7 +28,7 @@
"message": "!ЗАМКНУТЫ!"
},
"WarningThermalRunaway": {
"message": "Цеплавы\nУцякач"
"message": "Некантралюемае\nразаграванне"
},
"SettingsCalibrationWarning": {
"message": "Пераканайцеся, што пры наступнай загрузцы наканечнік і ручка маюць пакаёвую тэмпературу!"
@@ -43,25 +43,34 @@
"message": "НАПРУГА--"
},
"UndervoltageString": {
"message": "Нізкая напруга"
"message": "Нізкая напруга\n"
},
"InputVoltageString": {
"message": "Сілкаванне В: "
"message": "Сілкаванне В: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Чаканне..."
"message": "Чаканне...\n"
},
"SleepingTipAdvancedString": {
"message": "Джала:"
"message": "Джала: \n"
},
"OffString": {
"message": "Выкл."
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Ваша прылада, хутчэй за ўсё, падробка!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\nпрыпынак",
"description": "Час чакання ўзгаднення PD з крокам 100 мс для сумяшчальнасці з некаторымі зараднымі зараднымі прыладамі QC (0: адключана)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Уключае рэжымы PPS & EPR."
},
"BoostTemperature": {
"displayText": "t° турба\nрэжыму",
"description": "Тэмпература джала ў турба-рэжыме"
@@ -139,6 +152,62 @@
"displayText": "Дазволіць\nблок. кнопак",
"description": "Пры рабоце падоўжаны націск дзьвух кнопак блакуе іх (А=Адключана | Т=Толькі турба | П=Поўная блакіроўка)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Адчувальнасць\nакселерометра",
"description": "Адчувальнасць акселерометра (0=Выкл. | 1=Мін. | ... | 9=Макс.)"
@@ -207,6 +276,10 @@
"displayText": "Падрабязны\nэкран пайкі",
"description": "Паказваць дэталёвую інформацыю на экране пайкі"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Межы\nмагутнасці",
"description": "Максімальная магутнасць, якую можа выкарыстоўваць паяльнік (Ватт)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Мова:\n BY Беларуская",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "Ниско DC Напрежение"
},
"UndervoltageString": {
"message": "Ниско Напрежение"
"message": "Ниско Напрежение\n"
},
"InputVoltageString": {
"message": "Входно V: "
"message": "Входно V: \n"
},
"SleepingSimpleString": {
"message": "Сън"
},
"SleepingAdvancedString": {
"message": "Хър Хър Хър..."
"message": "Хър Хър Хър...\n"
},
"SleepingTipAdvancedString": {
"message": "Връх:"
"message": "Връх: \n"
},
"OffString": {
"message": "Изкл."
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Турбо\nтемп.",
"description": "Температура за \"турбо\" режим"
@@ -139,6 +152,62 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Усещане\nза движение",
"description": "Усещане за движение (0=Изключено | 1=Слабо | ... | 9=Силно)"
@@ -207,6 +276,10 @@
"displayText": "Детайлен\nработен екран",
"description": "Детайлна информация в работен режим при запояване"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Лимит на\nмощност",
"description": "Максимална мощност на поялника (Watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Език:\n BG Български",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -4,7 +4,7 @@
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
"message": "Kalibrace\ndokončena!"
},
"ResetOKMessage": {
"message": "Reset OK"
@@ -31,10 +31,10 @@
"message": "Teplotní\nOchrana"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "Před restartem se ujistěte, že hrot a držák mají pokojovou teplotu!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "kalibrování\n"
},
"SettingsResetWarning": {
"message": "Opravdu chcete resetovat zařízení do továrního nastavení?"
@@ -43,25 +43,34 @@
"message": "Nízké DC"
},
"UndervoltageString": {
"message": "Nízké napětí"
"message": "Nízké napětí\n"
},
"InputVoltageString": {
"message": "Napětí: "
"message": "Napětí: \n"
},
"SleepingSimpleString": {
"message": "Zzz "
},
"SleepingAdvancedString": {
"message": "Režim spánku..."
"message": "Režim spánku...\n"
},
"SleepingTipAdvancedString": {
"message": "Hrot:"
"message": "Hrot: \n"
},
"OffString": {
"message": "Vyp"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
"message": "Vaše zařízení je s nejvyšší pravděpodobností padělek!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "Maximální prodleva při jednání PD ve 100ms krocích pro kompatibilitu s některými QC nabíječkami"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Povoluje režimy PPS & EPR"
},
"BoostTemperature": {
"displayText": "Teplota\nboostu",
"description": "Teplota hrotu v \"režimu boost\""
@@ -139,6 +152,62 @@
"displayText": "Povolit zamč.\ntlačítek",
"description": "Při pájení podržte obě tlačítka pro jejich zamčení (Z=zakázáno | B=pouze v režimu boost | U=úplné zamčení)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Citlivost\nna pohyb",
"description": "0=vyp | 1=nejméně citlivé | ... | 9=nejvíce citlivé"
@@ -207,13 +276,17 @@
"displayText": "Podrobná obr.\npájení",
"description": "Zobrazit detailní informace malým fontem na obrazovce pájení"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Povoluje BLE"
},
"PowerLimit": {
"displayText": "Omezení\nVýkonu",
"description": "Maximální příkon páječky (W=watt)"
},
"CalibrateCJC": {
"displayText": "Calibrate CJC\nat next boot",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
"displayText": "Kalibrovat CJC\npři příštím startu",
"description": "Při příštím startu bude kalibrována kompenzace studeného spoje (není třeba pokud Delta T je < 5°C)"
},
"VoltageCalibration": {
"displayText": "Kalibrovat\nvstupní napětí?",
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jazyk:\n CS Český",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "Lav Volt"
},
"UndervoltageString": {
"message": "Undervolt"
"message": "Undervolt\n"
},
"InputVoltageString": {
"message": "Input V: "
"message": "Input V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Dvale..."
"message": "Dvale...\n"
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Din enhed er højst sandsyneligt en Kopivare!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD-forhandlingstimeout i trin på 100 ms for kompatibilitet med nogle QC-opladere"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\ntemp",
"description": "Temperatur i \"boost mode\""
@@ -139,6 +152,62 @@
"displayText": "Tillad låsning\naf knapperne",
"description": "Hold begge knapper nede under lodning for at låse dem (D=deaktiver | B=kun boost-tilstand | F=fuld låsning)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Bevægelses\nfølsomhed",
"description": "Bevægelsesfølsomhed (0=Slukket | 1=Mindst følsom | ... | 9=Mest følsom)"
@@ -207,6 +276,10 @@
"displayText": "Detaljeret\nloddeskærm",
"description": "Vis detaljeret information mens der loddes"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Strøm\nbegrænsning",
"description": "Maksimal effekt Loddekolben kan bruge (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Sprog:\n DA Dansk",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "V niedr."
},
"UndervoltageString": {
"message": "Unterspannung"
"message": "Unterspannung\n"
},
"InputVoltageString": {
"message": "V Eingang: "
"message": "V Eingang: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Ruhemodus..."
"message": "Ruhemodus...\n"
},
"SleepingTipAdvancedString": {
"message": "Temp:"
"message": "Temp: \n"
},
"OffString": {
"message": "Aus"
},
"ProfilePreheatString": {
"message": "Vorwärmen\n"
},
"ProfileCooldownString": {
"message": "Abkühlen\n"
},
"DeviceFailedValidationWarning": {
"message": "Höchstwahrscheinlich ist das Gerät eine Fälschung!"
},
"TooHotToStartProfileWarning": {
"message": "Zu heiß für\nProfilstart!"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD Abfragedauer in 100ms Schritten (Kompatibilität mit best. QC-Ladegeräten)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Aktiviert PPS & EPR"
},
"BoostTemperature": {
"displayText": "Boost-\ntemperatur",
"description": "Temperatur der Lötspitze im Boostmodus"
@@ -139,6 +152,62 @@
"displayText": "Tasten-\nsperre",
"description": "Langes drücken beider Tasten im Lötmodus sperrt diese (A=aus | B=nur Boost | V=vollständig)"
},
"ProfilePhases": {
"displayText": "Profile\nPhasen",
"description": "Anzahl an Phasen im Profilmodus"
},
"ProfilePreheatTemp": {
"displayText": "Vorheiz-\ntemperatur",
"description": "Zu Beginn des Profilmodus auf diese Temperatur vorheizen"
},
"ProfilePreheatSpeed": {
"displayText": "Vorheiz-\nrate",
"description": "Mit dieser Geschwindigkeit vorheizen (Grad pro Sekunde)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemperatur",
"description": "Zieltemperatur zum Ende dieser Phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDauer",
"description": "Zieldauer dieser Phase (Sekunden)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemperatur",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDauer",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemperatur",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDauer",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemperatur",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDauer",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemperatur",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDauer",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Abkühl-\nrate",
"description": "Am Ende des Profilmodus mit dieser Geschwindigkeit abkühlen (Grad pro Sekunde)"
},
"MotionSensitivity": {
"displayText": "Bewegungs-\nempfindlichk.",
"description": "0=aus | 1=minimal | ... | 9=maximal"
@@ -176,7 +245,7 @@
"description": "Scrollgeschwindigkeit der Erläuterungen (L=langsam | S=schnell)"
},
"ReverseButtonTempChange": {
"displayText": "+- Tasten\numkehren?",
"displayText": "+- Tasten\numkehren",
"description": "Tastenbelegung zur Temperaturänderung umkehren"
},
"AnimSpeed": {
@@ -188,7 +257,7 @@
"description": "Icon-Animationen im Hauptmenü wiederholen"
},
"Brightness": {
"displayText": "Bildschirm-\nkontrast",
"displayText": "Bildschirm-\nhelligkeit",
"description": "Verändert die Helligkeit des OLED-Displays"
},
"ColourInversion": {
@@ -207,16 +276,20 @@
"displayText": "Detaillierte\nLötansicht",
"description": "Detaillierte Anzeige im Lötmodus"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Aktiviert Bluetooth LE"
},
"PowerLimit": {
"displayText": "Leistungs-\nmaximum",
"description": "Maximal zulässige Leistungsaufnahme des Lötkolbens (W=Watt)"
},
"CalibrateCJC": {
"displayText": "Temperatur\nkalibrieren?",
"displayText": "Temperatur\nkalibrieren",
"description": "Beim nächsten Start wird die Kaltstellenkompensation kalibriert (nicht nötig wenn Delta T < 5°C)"
},
"VoltageCalibration": {
"displayText": "Eingangsspannung\nkalibrieren?",
"displayText": "Eingangsspannung\nkalibrieren",
"description": "Kalibrierung der Eingangsspannung (Langer Tastendruck zum Verlassen)"
},
"PowerPulsePower": {
@@ -232,16 +305,12 @@
"description": "Dauer des Wachhalteimpulses (x 250ms)"
},
"SettingsReset": {
"displayText": "Einstellungen\nzurücksetzen?",
"displayText": "Einstellungen\nzurücksetzen",
"description": "Werte auf Werkseinstellungen zurücksetzen"
},
"LanguageSwitch": {
"displayText": "Sprache:\n DE Deutsch",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -4,7 +4,7 @@
"tempUnitFahrenheit": true,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
"message": "Βαθμονόμηση\nολοκληρώθηκε!"
},
"ResetOKMessage": {
"message": "Επαν. OK"
@@ -31,10 +31,10 @@
"message": "Θερμική\nΦυγή"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "Πριν την επανεκκίνηση, βεβαιωθείτε ότι η μύτη και η συσκ. είναι σε θερμ. δωματίου!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "βαθμονόμηση\n"
},
"SettingsResetWarning": {
"message": "Σίγουρα θέλετε επαναφορά αρχικών ρυθμίσεων;"
@@ -43,25 +43,34 @@
"message": "Χαμηλ DC"
},
"UndervoltageString": {
"message": "Υπόταση"
"message": "Υπόταση\n"
},
"InputVoltageString": {
"message": "Είσοδος V: "
"message": "Είσοδος V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Υπνος..."
"message": "Υπνος...\n"
},
"SleepingTipAdvancedString": {
"message": "Μύτη:"
"message": "Μύτη: \n"
},
"OffString": {
"message": "Απ."
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
"message": "Η συσκευή σας ίσως να μην είναι αυθεντική!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -105,20 +114,24 @@
"menuOptions": {
"DCInCutoff": {
"displayText": "Πηγή\nενέργειας",
"description": "Πηγή ενέργειας. Oρισμός τάσης απενεργοποίησης. (DC 10V) (S 3.3V ανα κυψέλη, απενεργοποίηση ενεργειακού ορίου)"
"description": "Πηγή ενέργειας. Oρισμός τάσης απενεργοποίησης. (DC 10V) (S 3.3V ανα μπαταρία, απενεργοποίηση ενεργειακού ορίου)"
},
"MinVolCell": {
"displayText": "Ελάχιστη\nτάση",
"description": "Ελάχιστη επιτρεπτή τάση ανα κυψέλη (3 σε σειρά: 3 - 3.7V | 4-6 σε σειρά: 2.4 - 3.7V)"
"description": "Ελάχιστη επιτρεπτή τάση ανα μπαταρία (3 σε σειρά: 3 - 3.7V | 4-6 σε σειρά: 2.4 - 3.7V)"
},
"QCMaxVoltage": {
"displayText": "Τάση\nQC",
"description": "Μέγιστη τάση QC που να ζητά το κολλητήρι από το τροφοδοτικό"
"description": "Μέγιστη τάση QC που να ζητείται από το τροφοδοτικό"
},
"PDNegTimeout": {
"displayText": "χρονικό όριο\nPD",
"description": "Χρονικό όριο διαπραγμάτευσης PD σε βήματα 100ms για συμβατότητα με κάποιους φορτιστές QC"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Ενεργοποιεί λειτουργίες PPS & EPR."
},
"BoostTemperature": {
"displayText": "Θερμοκ.\nboost",
"description": "Θερμοκρασία στη \"λειτουργία boost\""
@@ -139,6 +152,62 @@
"displayText": "Κλείδωμα\nπλήκτρων",
"description": "Κατά την κόλληση, κρατήστε και τα δύο πλήκτρα για κλείδωμα (A=απενεργοποίηση | B=μόνο λειτ. boost | Π=πλήρες κλείδωμα)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Ευαισθησία\nκίνησης",
"description": "0=off | 1=λιγότερο ευαίσθητο | ... | 9=περισσότερο ευαίσθητο"
@@ -196,8 +265,8 @@
"description": "Αντιστροφή χρωμάτων οθόνης OLED"
},
"LOGOTime": {
"displayText": "Boot logo\nduration",
"description": "Sets the duration for the boot logo (s=seconds)"
"displayText": "Διάρκεια\nlogo εκκίνησης",
"description": "Διάρκεια εμφάνισης της εικόνας εκκίνησης (s=seconds)"
},
"AdvancedIdle": {
"displayText": "Λεπτομερής\nοθ. αδράνειας",
@@ -207,13 +276,17 @@
"displayText": "Λεπτομερής\nοθ. κόλλησης",
"description": "Προβολή λεπτομερών πληροφοριών σε μικρότερη γραμματοσειρά στην οθόνη κόλλησης"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Ενεργειακό\nόριο",
"description": "Μέγιστη ενέργεια που μπορεί να χρησιμοποιεί το κολλητήρι (W=watt)"
},
"CalibrateCJC": {
"displayText": "Calibrate CJC\nat next boot",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5 C)"
"displayText": "Βαθμονόμηση CJC\nσε επόμενη έναρξη",
"description": "Στην επόμενη εκκίνηση θα γίνει βαθμονόμηση θερμοκρασίας (δεν απαιτείται αν Δθερμ < 5 C)"
},
"VoltageCalibration": {
"displayText": "Βαθμονόμηση\nτάσης εισόδου;",
@@ -236,11 +309,7 @@
"description": "Επαναφορά στις προεπιλεγμένες ρυθμίσεις"
},
"LanguageSwitch": {
"displayText": "Γλώσσα:\n GR Ελληνικά",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"displayText": "Γλώσσα:\n EL Ελληνικά",
"description": ""
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC LOW"
},
"UndervoltageString": {
"message": "Undervoltage"
"message": "Undervoltage\n"
},
"InputVoltageString": {
"message": "Input V: "
"message": "Input V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Sleeping..."
"message": "Sleeping...\n"
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\ntemp",
"description": "Tip temperature used in \"boost mode\""
@@ -139,6 +152,62 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Motion\nsensitivity",
"description": "0=off | 1=least sensitive | ... | 9=most sensitive"
@@ -207,13 +276,17 @@
"displayText": "Detailed\nsolder screen",
"description": "Display detailed info in a smaller font on soldering screen"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Maximum power the iron can use (W=watt)"
},
"CalibrateCJC": {
"displayText": "Calibrate CJC\nat next boot",
"description": "Calbrate Cold Junction Compensation at next boot (not required if Delta T is < 5°C)"
"description": "Calibrate Cold Junction Compensation at next boot (not required if Delta T is < 5°C)"
},
"VoltageCalibration": {
"displayText": "Calibrate\ninput voltage",
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Language:\n EN English",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -1,22 +1,22 @@
{
"languageCode": "ES",
"languageLocalName": "Castellano",
"tempUnitFahrenheit": true,
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
"message": "¡Calibracion\nlista!"
},
"ResetOKMessage": {
"message": "Hecho."
"message": "Listo"
},
"SettingsResetMessage": {
"message": "Ajustes\n¡Reiniciados!"
"message": "¡Ajustes\nReiniciados!"
},
"NoAccelerometerMessage": {
"message": "Sin acelerómetro\n¡Detectado!"
"message": "¡Sin acelerómetro\nDetectado!"
},
"NoPowerDeliveryMessage": {
"message": "Sin USB-PD IC\n¡Detectado!"
"message": "¡Sin USB-PD IC\nDetectado!"
},
"LockingKeysString": {
"message": "BLOQUEADO"
@@ -28,13 +28,13 @@
"message": "¡BLOQUEADO!"
},
"WarningThermalRunaway": {
"message": "Thermal\nRunaway"
"message": "Térmico\nFuera de control"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "¡Antes de reiniciar, asegúrese de que la punta y el mango estén a temperatura ambiente!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "Calibrando\n"
},
"SettingsResetWarning": {
"message": "¿Quieres restablecer los ajustes?"
@@ -43,25 +43,34 @@
"message": "CC BAJA"
},
"UndervoltageString": {
"message": "Voltaje bajo"
"message": "Voltaje bajo\n"
},
"InputVoltageString": {
"message": "Voltaje: "
"message": "Voltaje: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
"message": "Reposo"
},
"SleepingAdvancedString": {
"message": "En reposo..."
"message": "En reposo...\n"
},
"SleepingTipAdvancedString": {
"message": "Punta:"
"message": "Punta: \n"
},
"OffString": {
"message": "No"
"message": "Apagado"
},
"ProfilePreheatString": {
"message": "Precalentado\n"
},
"ProfileCooldownString": {
"message": "Enfriado\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
"message": "¡Es probable es que su dispositivo sea falso!"
},
"TooHotToStartProfileWarning": {
"message": "Muy caliente para \nempezar perfil"
}
},
"characters": {
@@ -109,35 +118,96 @@
},
"MinVolCell": {
"displayText": "Mínimo\nvoltaje",
"description": "voltaje mínimo permitido por célula (3S: 3 - 3,7V | 4-6S: 2,4 - 3,7V)"
"description": "Voltaje mínimo permitido por célula (3S: 3 - 3,7V | 4-6S: 2,4 - 3,7V)"
},
"QCMaxVoltage": {
"displayText": "Potencia de\nentrada",
"description": "Potencia en vatios del adaptador de corriente utilizado."
"description": "Potencia en Watts del adaptador de corriente utilizado"
},
"PDNegTimeout": {
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers (0: disabled)"
"displayText": "PD\ntiempo de espera",
"description": "Timeout de negociación de PD en pasos de 100ms para compatibilidad con algunos cargadores QC (0: apagado)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Permite modos PPS & EPR"
},
"BoostTemperature": {
"displayText": "Ajustar la\ntemp. extra",
"description": "Temperatura momentánea que se alcanza al apretar el botón del modo extra."
"description": "Temperatura de la punta de \"modo boost\""
},
"AutoStart": {
"displayText": "Calentar\nal enchufar",
"description": "Se calienta él solo al arrancar (N=no | S=entrar en modo soldar | R=solo entrar en reposo | F=en reposo pero mantiene la punta fría)"
"description": "Calentado automático al iniciar (N=no | S=entrar en modo soldar | R=solo entrar en reposo | F=en reposo pero mantiene la punta fría)"
},
"TempChangeShortStep": {
"displayText": "Cambio temp.\npuls. cortas",
"description": "Subir y bajar X grados de temperatura con cada pulsación corta de los botones +/-."
"description": "Aumento de la temperatura al pulsar brevemente un botón"
},
"TempChangeLongStep": {
"displayText": "Cambio temp.\npuls. largas",
"description": "Subir y bajar X grados de temperatura con cada pulsación larga de los botones +/-."
"description": "Aumento de la temperatura al pulsar prolongadamente un botón"
},
"LockingMode": {
"displayText": "Permitir botones\nbloqueo",
"description": "Al soldar, una pulsación larga en ambos botones los bloquea (D=desactivar | B=sólo potenciar | F=bloqueo total)."
"description": "Mientras suelda, mantenga pulsados ambos botones para alternar su bloqueo (D=desactivar | B=sólo modo boost | F=bloqueo total)"
},
"ProfilePhases": {
"displayText": "Fases de\nPerfil",
"description": "Numero de fases en modo perfil"
},
"ProfilePreheatTemp": {
"displayText": "Temp de \n precalentado",
"description": "Precalentar a esta temperatura al inicio del modo perfil"
},
"ProfilePreheatSpeed": {
"displayText": "Velocidad de \nPrecalentado",
"description": "Precalentar a esta velocidad (grados por segundo)"
},
"ProfilePhase1Temp": {
"displayText": "Fase 1\nTemp",
"description": "Temperatura objetivo al final de esta fase"
},
"ProfilePhase1Duration": {
"displayText": "Fase 1\nDuración",
"description": "Duración objetivo de esta fase (segundos)"
},
"ProfilePhase2Temp": {
"displayText": "Fase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Fase 2\nDuración",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Fase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Fase 3\nDuración",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Fase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Fase 4\nDuración",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Fase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Fase 5\nDuración",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Velocidad de\nEnfriamineto",
"description": "Enfriar a esta velocidad al final del modo perfil (grados por segundo)"
},
"MotionSensitivity": {
"displayText": "Detección de\nmovimiento",
@@ -145,7 +215,7 @@
},
"SleepTemperature": {
"displayText": "Temperatura\nen reposo",
"description": "Temperatura de la punta en reposo."
"description": "Temperatura de la punta en \"reposo\""
},
"SleepTimeout": {
"displayText": "Entrar\nen reposo",
@@ -161,7 +231,7 @@
},
"TemperatureUnit": {
"displayText": "Unidad de\ntemperatura",
"description": "Unidad de temperatura (C=centígrados | F=Fahrenheit)"
"description": "Unidad de temperatura (C=entígrados | F=Fahrenheit)"
},
"DisplayRotation": {
"displayText": "Orientación\nde pantalla",
@@ -169,7 +239,7 @@
},
"CooldownBlink": {
"displayText": "Parpadear\nal enfriar",
"description": "La temperatura en pantalla parpadea mientras la punta siga caliente."
"description": "Parpadear texto en inactivo cuando la punta este caliente"
},
"ScrollingSpeed": {
"displayText": "Velocidad\ndel texto",
@@ -177,15 +247,15 @@
},
"ReverseButtonTempChange": {
"displayText": "Invertir\nbotones +/-",
"description": "Intercambia las funciones de subir y bajar la temperatura de los botones +/- para que funcionen al revés."
"description": "Invertir botones de ajuste de temperatura"
},
"AnimSpeed": {
"displayText": "Anim.\nvelocidad",
"description": "Velocidad de las animaciones de los iconos en el menú (O=off | L=low | M=medium | R=high)"
"description": "Velocidad de animaciones de iconos en el menú (O=apagado | L=baja | M=media | R=alta)"
},
"AnimLoop": {
"displayText": "Anim.\nbucle",
"description": "Animaciones de iconos en bucle en el menú raíz"
"description": "Bucle de animaciones del menú principal"
},
"Brightness": {
"displayText": "Pantalla\nbrillo",
@@ -196,52 +266,52 @@
"description": "Invertir la pantalla OLED"
},
"LOGOTime": {
"displayText": "logo inicial\nduración",
"displayText": "Logo inicial\nduración",
"description": "Duración de la animación del logo inicial (s=segundos)"
},
"AdvancedIdle": {
"displayText": "Info extra en\nmodo reposo",
"description": "Muestra información detallada en letra pequeña al reposar."
"description": "Mostrar información detallada en tamaño pequeño en la pantalla de reposo"
},
"AdvancedSoldering": {
"displayText": "Info extra\nal soldar",
"description": "Muestra más datos por pantalla cuando se está soldando."
"description": "Mostrar información detallada en tamaño pequeño en la pantalla de soldadura"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Habilitar BLE"
},
"PowerLimit": {
"displayText": "Ajustar la\npotenc. máx.",
"description": "Elige el límite de potencia máxima del soldador (en vatios)"
"displayText": "Potencia\nlímite",
"description": "Elige el límite de potencia máxima del soldador (en Watts)"
},
"CalibrateCJC": {
"displayText": "Calibrar CJC\nen el próximo inicio",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
"description": "Al siguinte inicio el Cold Junction Compensation sera calibrado (no requerido si el Delta T es < 5°C)"
},
"VoltageCalibration": {
"displayText": "Calibrar voltaje\nde entrada",
"description": "Calibra VIN. Ajusta con ambos botones y mantén pulsado para salir."
"description": "Iniciar calibración VIN (pulsación larga para salir)"
},
"PowerPulsePower": {
"displayText": "Pulsos bat.\nconstantes",
"description": "Aplica unos pulsos necesarios para mantener encendidas ciertas baterías portátiles. En vatios."
"description": "Intensidad de la potencia del pulso para mantener encendido (W=Watt)"
},
"PowerPulseWait": {
"displayText": "Impulso de potencia\ntiempo de espera",
"description": "Tiempo de espera antes de disparar cada pulso de mantenimiento de la vigilia (x 2,5s)"
"displayText": "Tiempor entre\n pulso de energia",
"description": "Tiempo de espera del pulso para mantener encendido (x 2,5s)"
},
"PowerPulseDuration": {
"displayText": "Impulso de potencia\nduración",
"description": "Duración del impulso de mantenimiento de la vigilia (x 250ms)"
"displayText": "Duración de\n pulso de energia",
"description": "Duración del pulso para mantener encendido (x 250ms)"
},
"SettingsReset": {
"displayText": "Volver a ajustes\nde fábrica",
"description": "Restablece todos los ajustes a los valores originales."
"description": "Restablecer todos los ajustes por defecto"
},
"LanguageSwitch": {
"displayText": "Idioma:\n ES Castellano",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC ALH."
},
"UndervoltageString": {
"message": "Alijännite"
"message": "Alijännite\n"
},
"InputVoltageString": {
"message": "Jännite: "
"message": "Jännite: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Lepotila..."
"message": "Lepotila...\n"
},
"SleepingTipAdvancedString": {
"message": "Kärki:"
"message": "Kärki: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Tehostus-\nlämpötila",
"description": "Tehostustilan lämpötila"
@@ -139,6 +152,62 @@
"displayText": "Salli nappien\nlukitus",
"description": "Kolvatessa paina molempia näppäimiä lukitaksesi ne (P=pois | V=vain tehostus | K=kaikki)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Liikkeen\nherkkyys",
"description": "0=pois päältä | 1=vähäinen herkkyys | ... | 9=suurin herkkyys"
@@ -207,6 +276,10 @@
"displayText": "Tarkempi\njuotosnäyttö",
"description": "Näyttää yksityiskohtaisemmat tiedot pienellä fontilla juotostilassa"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Tehon-\nrajoitus",
"description": "Suurin sallittu teho (Watti)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Kieli:\n FI Suomi",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -4,7 +4,7 @@
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
"message": "Étalonnage\nterminé!"
},
"ResetOKMessage": {
"message": "Reset OK"
@@ -31,10 +31,10 @@
"message": "Emballement\nthermique"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "Avant de redémarrer, assurez-vous que la panne et la poignée sont à température ambiante !"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "Etalonnage\n"
},
"SettingsResetWarning": {
"message": "Voulez-vous vraiment réinitialiser les paramètres aux valeurs par défaut ?"
@@ -43,25 +43,34 @@
"message": "DC FAIBL"
},
"UndervoltageString": {
"message": "Sous-tension"
"message": "Sous-tension\n"
},
"InputVoltageString": {
"message": "V d'entrée: "
"message": "V d'entrée: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "En veille..."
"message": "En veille...\n"
},
"SleepingTipAdvancedString": {
"message": "Panne:"
"message": "Panne: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Votre appareil semble être une contrefaçon !"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "Délai\nexpir. PD",
"description": "Délai de la negociation PD par étapes de 100ms pour la compatiblité avec certains chargeurs QC"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Temp.\nboost",
"description": "Température utilisée en \"mode boost\""
@@ -139,6 +152,62 @@
"displayText": "Verrouiller\nles boutons",
"description": "Pendant la soudure, appuyer sur les deux boutons pour les verrouiller (D=désactivé | B=boost seulement | V=verr. total)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Sensibilité\nau mouvement",
"description": "0=désactivé | 1=peu sensible | ... | 9=très sensible"
@@ -196,7 +265,7 @@
"description": "Inverser les couleurs de l'écran OLED"
},
"LOGOTime": {
"displayText": "Durée logo\nau démarrage",
"displayText": "Durée logo\ndémarrage",
"description": "Définit la durée d'affichage du logo au démarrage (s=secondes)"
},
"AdvancedIdle": {
@@ -207,13 +276,17 @@
"displayText": "Écran soudure\ndétaillé",
"description": "Afficher les informations détaillées sur l'écran de soudure"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Activer le bluetooth basse consommation"
},
"PowerLimit": {
"displayText": "Limite de\npuissance",
"description": "Puissance maximale utilisable (W=watts)"
},
"CalibrateCJC": {
"displayText": "Calibrate CJC\nat next boot",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
"displayText": "Étalonner CJC\nau prochain démarrage",
"description": "Au prochain démarrage, la compensation de soudure froide sera calibrée (non nécessaire si Delta T est < 5°C)."
},
"VoltageCalibration": {
"displayText": "Étalonner\ntension d'entrée",
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Langue:\n FR Français",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -1,7 +1,7 @@
{
"languageCode": "HR",
"languageLocalName": "Hrvatski",
"tempUnitFahrenheit": true,
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Kalibracija\ndovršena!"
@@ -43,25 +43,34 @@
"message": "BAT!!!"
},
"UndervoltageString": {
"message": "PRENIZAK NAPON"
"message": "PRENIZAK NAPON\n"
},
"InputVoltageString": {
"message": "Napon V: "
"message": "Napon V: \n"
},
"SleepingSimpleString": {
"message": "Zzz "
},
"SleepingAdvancedString": {
"message": "SPAVAM..."
"message": "SPAVAM...\n"
},
"SleepingTipAdvancedString": {
"message": "Vrh: "
"message": "Vrh: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Vaš uređaj je najvjerojatnije krivotvoren!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "USB-PD\ntimeout",
"description": "Timeout za USB-Power Delivery u koracima od 100ms za kompatibilnost s nekim QC punjačima"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\ntemp",
"description": "Temperatura u pojačanom (Boost) načinu."
@@ -139,6 +152,62 @@
"displayText": "Zaključavanje\ntipki",
"description": "Tokom lemljenja, držite obje tipke kako biste ih zaključali ili otključali (O=otključano | B=zaključan boost | Z=zaključano sve)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Osjetljivost\npokreta",
"description": "Osjetljivost prepoznavanja pokreta. (0=ugašeno | 1=najmanje osjetljivo | ... | 9=najosjetljivije)"
@@ -207,6 +276,10 @@
"displayText": "Detalji\npri lemljenju",
"description": "Prikazivanje detaljnih informacija tijekom lemljenja"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Ograničenje\nsnage",
"description": "Najveća snaga koju lemilica smije vući iz napajanja (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jezik:\n HR Hrvatski",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC túl alacsony"
},
"UndervoltageString": {
"message": "Alulfeszültség"
"message": "Alulfeszültség\n"
},
"InputVoltageString": {
"message": "Bemenet V: "
"message": "Bemenet V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Alvás..."
"message": "Alvás...\n"
},
"SleepingTipAdvancedString": {
"message": "Hegy:"
"message": "Hegy: \n"
},
"OffString": {
"message": "Ki"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Az eszköz valószínűleg nem eredeti!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\nidőtúllépés",
"description": "PD egyeztetés időkerete (kompatibilitás QC töltőkkel) (x 100ms)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\nhőmérséklet",
"description": "Hőmérséklet \"boost\" módban"
@@ -139,6 +152,62 @@
"displayText": "Lezárás\nengedélyezés",
"description": "Forrasztás közben mindkét gombot hosszan lenyomva lezárja a kezelést (K=ki | B=csak \"boost\" módban | T=teljes lezárás)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Mozgás\nérzékenység",
"description": "Mozgás érzékenység beállítása (0=kikapcsolva | 1=legkevésbé érzékeny | ... | 9=legérzékenyebb)"
@@ -207,6 +276,10 @@
"displayText": "Részletes\nforrasztás infó",
"description": "Részletes információk megjelenítése forrasztás közben"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Teljesítmény\nmaximum",
"description": "Maximális felvett teljesitmény beállitása"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Nyelv:\n HU Magyar",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC BASSA"
},
"UndervoltageString": {
"message": "DC INSUFFICIENTE"
"message": "DC INSUFFICIENTE\n"
},
"InputVoltageString": {
"message": "V in:"
"message": "V in: \n"
},
"SleepingSimpleString": {
"message": "Zzz "
},
"SleepingAdvancedString": {
"message": "Riposo"
"message": "Riposo\n"
},
"SleepingTipAdvancedString": {
"message": "Punta:"
"message": "Punta: \n"
},
"OffString": {
"message": "OFF"
},
"ProfilePreheatString": {
"message": "Preriscaldamento\n"
},
"ProfileCooldownString": {
"message": "Raffreddamento\n"
},
"DeviceFailedValidationWarning": {
"message": "È probabile che questo dispositivo sia contraffatto!"
},
"TooHotToStartProfileWarning": {
"message": "Troppo caldo\nper il profilo"
}
},
"characters": {
@@ -119,9 +128,13 @@
"displayText": "Abilitazione\nUSB PD",
"description": "Regola il massimo tempo utile per la negoziazione del protocollo USB Power Delivery con alimentatori compatibili [0: disattiva; multipli di 100 ms]"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Abilita le modalità Power Delivery PPS ed EPR"
},
"BoostTemperature": {
"displayText": "Temp\nTurbo",
"description": "Imposta la temperatura della funzione Turbo [°C/°F]"
"description": "Imposta la temperatura della funzione turbo [°C/°F]"
},
"AutoStart": {
"displayText": "Avvio\nautomatico",
@@ -137,19 +150,75 @@
},
"LockingMode": {
"displayText": "Blocco\ntasti",
"description": "Blocca i tasti durante la modalità Saldatura; tieni premuto entrambi per bloccare o sbloccare [D: disattiva; T: consenti Turbo; C: blocco completo]"
"description": "Blocca i tasti durante la modalità saldatura; tieni premuto entrambi per bloccare o sbloccare [D: disattiva; T: consenti Turbo; C: blocco completo]"
},
"ProfilePhases": {
"displayText": "Fasi modalità\nprofilo",
"description": "Imposta il numero di fasi da attuare per un profilo di riscaldamento personalizzato"
},
"ProfilePreheatTemp": {
"displayText": "Temperatura\npreriscaldamento",
"description": "Imposta la temperatura di preriscaldamento da raggiungere all'inizio del profilo di riscaldamento"
},
"ProfilePreheatSpeed": {
"displayText": "Velocità\npreriscaldamento",
"description": "Imposta la velocità di preriscaldamento [gradi al secondo]"
},
"ProfilePhase1Temp": {
"displayText": "Temperatura\nfase 1",
"description": "Imposta la temperatura da raggiungere alla fine di questa fase"
},
"ProfilePhase1Duration": {
"displayText": "Durata\nfase 1",
"description": "Imposta la durata di questa fase [secondi]"
},
"ProfilePhase2Temp": {
"displayText": "Temperatura\nfase 2",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Durata\nfase 2",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Temperatura\nfase 3",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Durata\nfase 3",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Temperatura\nfase 4",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Durata\nfase 4",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Temperatura\nfase 5",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Durata\nfase 5",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Velocità\nraffreddamento",
"description": "Imposta la velocità di raffreddamento al termine del profilo di riscaldamento [gradi al secondo]"
},
"MotionSensitivity": {
"displayText": "Sensibilità\nal movimento",
"description": "Imposta la sensibilità al movimento per uscire dalla modalità Riposo [0: nessuna; 1: minima; 9: massima]"
"description": "Imposta la sensibilità al movimento per uscire dalla modalità riposo [0: nessuna; 1: minima; 9: massima]"
},
"SleepTemperature": {
"displayText": "Temp\nriposo",
"description": "Imposta la temperatura da mantenere in modalità Riposo [°C/°F]"
"displayText": "Temperatura\nriposo",
"description": "Imposta la temperatura da mantenere in modalità riposo [°C/°F]"
},
"SleepTimeout": {
"displayText": "Timer\nriposo",
"description": "Imposta il timer per entrare in modalità Riposo [secondi/minuti]"
"description": "Imposta il timer per entrare in modalità riposo [secondi/minuti]"
},
"ShutdownTimeout": {
"displayText": "Timer\nspegnimento",
@@ -157,7 +226,7 @@
},
"HallEffSensitivity": {
"displayText": "Sensore\nHall",
"description": "Regola la sensibilità del sensore ad effetto Hall per entrare in modalità Riposo [0: nessuna; 1: minima; 9: massima]"
"description": "Regola la sensibilità del sensore ad effetto Hall per entrare in modalità riposo [0: nessuna; 1: minima; 9: massima]"
},
"TemperatureUnit": {
"displayText": "Unità di\ntemperatura",
@@ -205,7 +274,11 @@
},
"AdvancedSoldering": {
"displayText": "Dettagli\nsaldatura",
"description": "Mostra informazioni dettagliate durante la modalità Saldatura"
"description": "Mostra informazioni dettagliate durante la modalità saldatura"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Abilita BLE"
},
"PowerLimit": {
"displayText": "Limite\npotenza",
@@ -213,7 +286,7 @@
},
"CalibrateCJC": {
"displayText": "Calibra T\nall'avvio",
"description": "Calibra le rilevazioni di temperatura al prossimo riavvio (non necessario se il Delta T<5 °C)"
"description": "Calibra le rilevazioni di temperatura al prossimo riavvio (non necessario se lo scarto di temperatura è minore di 5 °C)"
},
"VoltageCalibration": {
"displayText": "Calibrazione\ntensione",
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Lingua:\n IT Italiano",
"description": ""
},
"BLEEnabled": {
"displayText": "Bluetooth LE\nabilitato",
"description": ""
}
}
}

View File

@@ -55,13 +55,22 @@
"message": "Sleeping..."
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: "
},
"OffString": {
"message": "オフ"
},
"ProfilePreheatString": {
"message": "Preheat"
},
"ProfileCooldownString": {
"message": "Cooldown"
},
"DeviceFailedValidationWarning": {
"message": "このデバイスはおそらく偽造品です"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to start profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "一部のQC電源との互換性のため、PDネゴシエーションをタイムアウトする時間 <x100msミリ秒>"
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "ブースト温度",
"description": "ブーストモードで使用される温度"
@@ -139,6 +152,62 @@
"displayText": "ボタンロック",
"description": "半田付けモード時に両方のボタンを長押しし、ボタンロックする <×=オフ | ブ=ブーストのみ許可 | 全=すべてをロック>"
},
"ProfilePhases": {
"displayText": "Profile Phases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat Temp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat Speed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1 Temp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1 Duration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2 Temp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2 Duration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3 Temp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3 Duration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4 Temp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4 Duration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5 Temp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5 Duration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown Speed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "動きの感度",
"description": "0=オフ | 1=最低感度 | ... | 9=最高感度"
@@ -207,6 +276,10 @@
"displayText": "詳細な作業画面",
"description": "半田付け画面に詳細情報を表示する"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "電力制限",
"description": "最大電力を制限する <W=ワット>"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "言語: 日本語",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}
}

View File

@@ -10,7 +10,7 @@
"message": "Atstatyta"
},
"SettingsResetMessage": {
"message": "Nust. atstatyti!"
"message": "Nust. \natstatyti!"
},
"NoAccelerometerMessage": {
"message": "Nerastas\nakselerometras!"
@@ -43,25 +43,34 @@
"message": "MAŽ VOLT"
},
"UndervoltageString": {
"message": "Žema įtampa"
"message": "Žema įtampa\n"
},
"InputVoltageString": {
"message": "Įvestis V: "
"message": "Įvestis V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Miegu..."
"message": "Miegu...\n"
},
"SleepingTipAdvancedString": {
"message": "Antg:"
"message": "Antg: \n"
},
"OffString": {
"message": "Išj"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\nlaikas",
"description": "PD suderinimo laikas žingsniais po 100ms suderinamumui su kai kuriais QC įkrovikliais"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Turbo\ntemperat.",
"description": "Temperatūra turbo režimu"
@@ -139,6 +152,62 @@
"displayText": "Mygtukų\nužraktas",
"description": "Lituodami, ilgai paspauskite abu mygtukus, kad juos užrakintumėte (I=Išjungta | T=leidžiamas tik Turbo režimas | V=Visiškas užrakinimas)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Judesio\njautrumas",
"description": "Judesio jautrumas (0=Išjungta | 1=Mažiausias | ... | 9=Didžiausias)"
@@ -207,6 +276,10 @@
"displayText": "Detalus lita-\nvimo ekranas",
"description": "Ar rodyti išsamią informaciją lituojant"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Galios\nriba",
"description": "Didžiausia galia, kurią gali naudoti lituoklis (Vatai)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Kalba:\n LT Lietuvių",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -1,7 +1,7 @@
{
"languageCode": "NB",
"languageLocalName": "Norsk bokmål",
"tempUnitFahrenheit": true,
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
@@ -43,25 +43,34 @@
"message": "Lavspenn"
},
"UndervoltageString": {
"message": "Underspenning"
"message": "Underspenning\n"
},
"InputVoltageString": {
"message": "Innspenn.: "
"message": "Innspenn.: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Dvale..."
"message": "Dvale...\n"
},
"SleepingTipAdvancedString": {
"message": "Spiss:"
"message": "Spiss: \n"
},
"OffString": {
"message": "Av"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Enheten din er sannsynligvis en forfalskning!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD-\ntidsavb.",
"description": "PD-forhandlingstidsavbrudd i steg på 100 ms for kompatibilitet med noen QC-ladere"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "KTmp\n",
"description": "Temperatur i \"kraft-modus\""
@@ -139,6 +152,62 @@
"displayText": "Tillat å låse\nknapper",
"description": "Mens du lodder, hold nede begge knapper for å bytte mellom låsemodus (D=deaktiver | B=kun boost | F=full lås)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "BSensr\n",
"description": "Bevegelsesfølsomhet (0=Inaktiv | 1=Minst følsom | ... | 9=Mest følsom)"
@@ -207,6 +276,10 @@
"displayText": "AvLdSk\n",
"description": "Vis detaljert informasjon ved lodding"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Effekt-\ngrense",
"description": "Maks effekt jernet kan bruke (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Språk:\n NB Norsk bm",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC Laag"
},
"UndervoltageString": {
"message": "Onderspanning"
"message": "Onderspanning\n"
},
"InputVoltageString": {
"message": "Voeding V: "
"message": "Voeding V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Slaapstand..."
"message": "Slaapstand...\n"
},
"SleepingTipAdvancedString": {
"message": "Punt:"
"message": "Punt: \n"
},
"OffString": {
"message": "Uit"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Jouw toestel is wellicht een namaak-versie!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -112,13 +121,17 @@
"description": "Minimum toegestaan voltage per cell (3S: 3 - 3.7V | 4-6S: 2.4 - 3.7V)"
},
"QCMaxVoltage": {
"displayText": "QC\nVoltage",
"displayText": "QC\nvoltage",
"description": "Maximaal QC voltage dat gevraagd mag worden"
},
"PDNegTimeout": {
"displayText": "PD\ntimeout",
"description": "PD afstemmingsduur in stappen van 100ms (voor compatibiliteit met sommige QC laders)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\ntemp",
"description": "Punt temperatuur in boostmode"
@@ -139,6 +152,62 @@
"displayText": "Knopblokkering\ninschakelen",
"description": "Tijdens solderen lang op beide knoppen drukken blokkeert de knoppen (U=Uit | B=Alleen boost mode | V=Volledig blokkeren)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Bewegings-\ngevoeligheid",
"description": "Bewegingsgevoeligheid (0=uit | 1=minst gevoelig | ... | 9=meest gevoelig)"
@@ -207,6 +276,10 @@
"displayText": "Gedetailleerd\nsoldeerscherm",
"description": "Gedetailleerde informatie weergeven in een kleiner lettertype op het soldeerscherm"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Vermogen\nlimiet",
"description": "Maximaal vermogen (W=Watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Taal:\n NL Nederlands",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "Voedingsspanning LAAG"
},
"UndervoltageString": {
"message": "Onderspanning"
"message": "Onderspanning\n"
},
"InputVoltageString": {
"message": "Voedingsspanning: "
"message": "Voedingsspanning: \n"
},
"SleepingSimpleString": {
"message": "Zzz "
},
"SleepingAdvancedString": {
"message": "Slaapstand..."
"message": "Slaapstand...\n"
},
"SleepingTipAdvancedString": {
"message": "Punt:"
"message": "Punt: \n"
},
"OffString": {
"message": "Uit"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Verhogings\ntemp",
"description": "Verhogingstemperatuur"
@@ -139,6 +152,62 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Bewegings-\ngevoeligheid",
"description": "Bewegingsgevoeligheid (0=uit | 1=minst gevoelig | ... | 9=meest gevoelig)"
@@ -207,6 +276,10 @@
"displayText": "Gedetailleerd\nsoldeerscherm",
"description": "Gedetailleerde informatie in kleiner lettertype in soldeerscherm."
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Maximum power the iron can use (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Spraak:\n NL_BE Vlaams",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -10,7 +10,7 @@
"message": "Reset OK"
},
"SettingsResetMessage": {
"message": "Ust. zresetowane"
"message": "Ust. \nzresetowane"
},
"NoAccelerometerMessage": {
"message": "Nie rozpoznano\nakcelerometru!"
@@ -43,25 +43,34 @@
"message": "NIS. NAP"
},
"UndervoltageString": {
"message": "Zbyt niskie nap."
"message": "Zbyt niskie nap.\n"
},
"InputVoltageString": {
"message": "Nap. wej.:"
"message": "Nap. wej.: \n"
},
"SleepingSimpleString": {
"message": "Zzz!"
},
"SleepingAdvancedString": {
"message": "Tr. uśpienia"
"message": "Tr. uśpienia\n"
},
"SleepingTipAdvancedString": {
"message": "Grot:"
"message": "Grot: \n"
},
"OffString": {
"message": "Wył"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Twoje urządzenie jest najprawdopodobniej podróbką!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -86,7 +95,7 @@
"description": ""
},
"SolderingMenu": {
"displayText": "Lutowanie",
"displayText": "Lutowanie\n",
"description": ""
},
"PowerSavingMenu": {
@@ -119,6 +128,10 @@
"displayText": "Limit czasu\nPD",
"description": "Limit czasu negocjacji PD w krokach co 100 ms dla zgodności z niektórymi ładowarkami QC (0: wyłączone)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Włącza tryby PPS & EPR."
},
"BoostTemperature": {
"displayText": "Temp.\nboost",
"description": "Temperatura w trybie \"boost\" "
@@ -139,6 +152,62 @@
"displayText": "Blokada\nprzycisków",
"description": "W trybie lutowania, wciśnij oba przyciski aby je zablokować (O=Wyłączona | B=tylko Boost | P=pełna blokada)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Czułość\nwykr. ruchu",
"description": "Czułość wykrywania ruchu (0: Wyłączona | 1: Minimalna | ... | 9: Maksymalna)"
@@ -207,6 +276,10 @@
"displayText": "Sz. inf. w\ntr. lutowania",
"description": "Wyświetl szczegółowe informacje w trybie lutowania"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Ogr.\nmocy",
"description": "Maksymalna moc (W), jakiej może użyć lutownica"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Język:\n PL Polski",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -4,37 +4,37 @@
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
"message": "Calibração\nefetuada!"
},
"ResetOKMessage": {
"message": "Reset OK"
},
"SettingsResetMessage": {
"message": "Certain settings\nwere changed!"
"message": "Algumas configurações\nforam alteradas!"
},
"NoAccelerometerMessage": {
"message": "No accelerometer\ndetected!"
"message": "Acelerómetro não\ndetetado!"
},
"NoPowerDeliveryMessage": {
"message": "No USB-PD IC\ndetected!"
"message": "USB-PD IC não\ndetetado!"
},
"LockingKeysString": {
"message": "LOCKED"
"message": "Bloqueado"
},
"UnlockingKeysString": {
"message": "UNLOCKED"
"message": "Desbloqueado"
},
"WarningKeysLockedString": {
"message": "!LOCKED!"
"message": "!Bloqueado!"
},
"WarningThermalRunaway": {
"message": "Thermal\nRunaway"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "Antes de reiniciar certifique-se que o ferro está à temperatura ambiente!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "calibrar\n"
},
"SettingsResetWarning": {
"message": "Definições de fábrica?"
@@ -43,25 +43,34 @@
"message": "DC BAIXO"
},
"UndervoltageString": {
"message": "Subtensão"
"message": "Subtensão\n"
},
"InputVoltageString": {
"message": "Tensão "
"message": "Tensão: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Repouso..."
"message": "Repouso...\n"
},
"SleepingTipAdvancedString": {
"message": "Ponta:"
"message": "Ponta: \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
"message": "O seu dispositivo provavelmente é falsificado!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -82,7 +91,7 @@
},
"menuGroups": {
"PowerMenu": {
"displayText": "Power\nsettings",
"displayText": "Configurações de\nenergia",
"description": ""
},
"SolderingMenu": {
@@ -108,43 +117,103 @@
"description": "Fonte de alimentação. Define a tensão de corte. (DC=10V) (S=3.3V/célula)"
},
"MinVolCell": {
"displayText": "Minimum\nvoltage",
"description": "Minimum allowed voltage per battery cell (3S: 3 - 3.7V | 4-6S: 2.4 - 3.7V)"
"displayText": "Tensão\nmínima",
"description": "Tensão mínima permitida por célula de bateria (3S: 3 - 3.7V | 4-6S: 2.4 - 3.7V)"
},
"QCMaxVoltage": {
"displayText": "Potência\nFonte",
"description": "Potência da fonte usada (Watt)"
},
"PDNegTimeout": {
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers (0: disabled)"
"displayText": "PD tempo\nlimite",
"description": "Tempo limite de negoiciação de PD de 100ms para compatibilidade com alguns carregadores é (0: disabled)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Activa o modo PPS & EPR"
},
"BoostTemperature": {
"displayText": "Modo turbo\ntemperat.",
"displayText": "Temp.\nModo turbo",
"description": "Ajuste de temperatura do \"modo turbo\""
},
"AutoStart": {
"displayText": "Partida\nautomática",
"displayText": "Aquecimento\nautomático",
"description": "Aquece a ponta automaticamente ao ligar (D=desligar | S=soldagem | H=hibernar | A=hibernar temp. ambiente)"
},
"TempChangeShortStep": {
"displayText": "Temp change\nshort",
"description": "Temperature-change-increment on short button press"
"displayText": "Mudança temp.\ncurta",
"description": "A temperatura será aumentada com um click curto"
},
"TempChangeLongStep": {
"displayText": "Temp change\nlong",
"description": "Temperature-change-increment on long button press"
"displayText": "Mudança temp.\nlonga",
"description": "A temperatura será aumentada com um click longo"
},
"LockingMode": {
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
"displayText": "Permitir bloquear\nbotões",
"description": "Durante a solda premir os dois botões para alternar entre (D=desativados | B=modo turbo | F=bloqueio total)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Sensibilidade\nmovimento",
"description": "Sensibilidade ao movimento (0=Desligado | 1=Menor | ... | 9=Maior)"
},
"SleepTemperature": {
"displayText": "Temperat.\nrepouso",
"displayText": "Temperatura\nrepouso",
"description": "Temperatura de repouso (C)"
},
"SleepTimeout": {
@@ -152,20 +221,20 @@
"description": "Tempo para repouso (Minutos | Segundos)"
},
"ShutdownTimeout": {
"displayText": "Tempo\ndesligam.",
"description": "Tempo para desligamento (Minutos)"
"displayText": "Tempo\ndesligar",
"description": "Tempo para desligar (Minutos)"
},
"HallEffSensitivity": {
"displayText": "Hall sensor\nsensitivity",
"description": "Sensitivity to magnets (0=Desligado | 1=Menor | ... | 9=Maior)"
"displayText": "Sensibilidade de\nmagnetismo",
"description": "Sensibilidade de magnetismo (0=Desligado | 1=Menor | ... | 9=Maior)"
},
"TemperatureUnit": {
"displayText": "Unidade\ntemperatura",
"description": "Unidade de temperatura (C=Celsius | F=Fahrenheit)"
},
"DisplayRotation": {
"displayText": "Orientação\ntela",
"description": "Orientação da tela (D=estro | C=anhoto | A=utomática)"
"displayText": "Orientação\necrã",
"description": "Orientação do ecrã (D=estro | C=anhoto | A=utomática)"
},
"CooldownBlink": {
"displayText": "Piscar ao\narrefecer",
@@ -173,75 +242,75 @@
},
"ScrollingSpeed": {
"displayText": "Velocidade\ntexto ajuda",
"description": "Velocidade a que o texto é exibido"
"description": "Velocidade a que o texto de ajuda é apresentado"
},
"ReverseButtonTempChange": {
"displayText": "Swap\n+ - keys",
"description": "Reverse assignment of buttons for temperature adjustment"
"displayText": "Trocar\nbotões + -",
"description": "Inverte o funcionamento dos botões de ajuste da temperatura"
},
"AnimSpeed": {
"displayText": "Anim.\nspeed",
"description": "Pace of icon animations in menu (O=off | S=slow | M=medium | F=fast)"
"displayText": "Velocidade de\nanimação",
"description": "Velocidade das animações no menu (O=off | S=lenta | M=média | F=rápida)"
},
"AnimLoop": {
"displayText": "Anim.\nloop",
"description": "Loop icon animations in main menu"
"displayText": "Repetir\nanimações",
"description": "Repete animações de ícones no menu principal"
},
"Brightness": {
"displayText": "Screen\nbrightness",
"description": "Adjust the OLED screen brightness"
"displayText": "Brilho\ndo ecrã",
"description": "Ajusta o brilho do ecrã OLED"
},
"ColourInversion": {
"displayText": "Invert\nscreen",
"description": "Invert the OLED screen colors"
"displayText": "Inverter\necrã",
"description": "Inverte as cores do ecrã OLED"
},
"LOGOTime": {
"displayText": "Boot logo\nduration",
"description": "Set boot logo duration (s=seconds)"
"displayText": "Duração do\nlogo no arranque",
"description": "Define a duração do logotipo no arranque em (s=segundos)"
},
"AdvancedIdle": {
"displayText": "Tela repouso\navançada",
"description": "Exibe informações avançadas quando em espera"
"displayText": "Ecrã repouso\navançado",
"description": "Mostra informações avançadas quando em repouso"
},
"AdvancedSoldering": {
"displayText": "Tela trabalho\navançada",
"description": "Exibe informações avançadas durante o uso"
"displayText": "Ecrã solda\navançado",
"description": "Mostra informações avançadas durante a solda"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Ativa o Bluetooth Low Energy (BLE)"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Maximum power the iron can use (W=watt)"
"displayText": "Limite de\npotência",
"description": "Potência máxima a usar (W=watt)"
},
"CalibrateCJC": {
"displayText": "Calibrate CJC\nat next boot",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
"displayText": "Calibrar CJC\nno próximo arranque",
"description": "No próximo arranque CJC será calibrada (não será necessário caso o Delta T seja < 5°C)"
},
"VoltageCalibration": {
"displayText": "Calibrar\ntensão",
"description": "Calibra a tensão de alimentação. Use os botões para ajustar o valor. Mantenha pressionado para sair"
},
"PowerPulsePower": {
"displayText": "Power\npulse",
"description": "Intensity of power of keep-awake-pulse (W=watt)"
"displayText": "Potência\ndo pulso",
"description": "Intensidade de potência de arranque (W=watt)"
},
"PowerPulseWait": {
"displayText": "Power pulse\ndelay",
"description": "Delay before keep-awake-pulse is triggered (x 2.5s)"
"displayText": "Espera do\npulso",
"description": "Espera entre o acordar e o envio da rectivação (x 2.5s)"
},
"PowerPulseDuration": {
"displayText": "Power pulse\nduration",
"description": "Keep-awake-pulse duration (x 250ms)"
"displayText": "Duração\npulso",
"description": "Manter os inplosus de rectivação em (x 250ms)"
},
"SettingsReset": {
"displayText": "Reset de\nfábrica?",
"description": "Reverte todos ajustes"
"description": "Ree todos os ajustes"
},
"LanguageSwitch": {
"displayText": "Idioma:\n PT Português",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -13,7 +13,7 @@
"message": "Setările au fost\nresetate!"
},
"NoAccelerometerMessage": {
"message": "Nu accelerometru\ndetectat!"
"message": "Fără accelerometru\ndetectat!"
},
"NoPowerDeliveryMessage": {
"message": "Fără USB-PD IC\ndetectat!"
@@ -28,40 +28,49 @@
"message": "!BLOCAT!"
},
"WarningThermalRunaway": {
"message": "Incalzire\nEsuata"
"message": "Încălzire\nEşuată"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "Înainte de repornire, asiguraţi-vă că vârful şi mânerul sunt la temperatura camerei!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "calibrare\n"
},
"SettingsResetWarning": {
"message": "Sigur doriti să restaurati la setările implicite?"
"message": "Sigur doriţi să restauraţi la setările implicite?"
},
"UVLOWarningString": {
"message": "DC LOW"
"message": "DC SCĂZUT"
},
"UndervoltageString": {
"message": "Sub tensiune"
"message": "Voltaj scăzut\n"
},
"InputVoltageString": {
"message": "Intrare V: "
"message": "Intrare V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Adormit..."
"message": "Adormit...\n"
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: \n"
},
"OffString": {
"message": "Nu"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
"message": "Dispozitivul dvs. este cel mai probabil un fals!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -94,18 +103,18 @@
"description": ""
},
"UIMenu": {
"displayText": "Interfată\nutilizator",
"displayText": "Interfaţă\nutilizator",
"description": ""
},
"AdvancedMenu": {
"displayText": "Optiuni\navansate",
"displayText": "Opţiuni\navansate",
"description": ""
}
},
"menuOptions": {
"DCInCutoff": {
"displayText": "Sursa de\nalimentare",
"description": "Sursa de alimentare. Setează tensiunea de întrerupere. (DC 10V) (S 3.3V per celulă, dezactivati limita de alimentare)"
"description": "Sursa de alimentare. Setează tensiunea de întrerupere. (DC 10V) (S 3.3V per celulă, dezactivaţi limita de alimentare)"
},
"MinVolCell": {
"displayText": "Voltaj\nminim",
@@ -117,11 +126,15 @@
},
"PDNegTimeout": {
"displayText": "PD\ntimeout",
"description": "Timp limita de negociere pentru tranzactia PD, in pasi de 100ms, pentru compatibilitate cu alimentatoarele QC"
"description": "Timp limită de negociere pentru tranzacţia PD, în paşi de 100ms, pentru compatibilitate cu alimentatoarele QC"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\ntemp",
"description": "Temperatura utilizată în \"modul boost\""
"displayText": "Modifică\ntemp. impuls",
"description": "Temperatura utilizată în \"modul de impuls\""
},
"AutoStart": {
"displayText": "Auto\nstart",
@@ -137,11 +150,67 @@
},
"LockingMode": {
"displayText": "Blocare\nbutoane",
"description": "Când lipiti, apăsati lung ambele butoane, pentru a le bloca (D=dezactivare | B=numai \"modul boost\" | F=blocare completă)"
"description": "Când lipiţi, apăsaţi lung ambele butoane, pentru a le bloca (D=dezactivare | B=numai \"modul boost\" | F=blocare completă)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Sensibilitate\nla miscare",
"description": "Sensibilitate senzor miscare (0=oprit | 1=putin sensibil | ... | 9=cel mai sensibil)"
"description": "Sensibilitate senzor miscare (0=oprit | 1=puţin sensibil | ... | 9=cel mai sensibil)"
},
"SleepTemperature": {
"displayText": "Temp\nrepaus",
@@ -168,8 +237,8 @@
"description": "R=dreptaci | L=stângaci | A=auto"
},
"CooldownBlink": {
"displayText": "Clipeste\nla răcire",
"description": "Clipeste temperatura după oprirea încălzirii, în timp ce vârful este încă fierbinte"
"displayText": "Clipeşte\nla răcire",
"description": "Clipeşte temperatura după oprirea încălzirii, în timp ce vârful este încă fierbinte"
},
"ScrollingSpeed": {
"displayText": "Viteză\nderulare",
@@ -180,32 +249,36 @@
"description": "Inversarea butoanelor de reglare a temperaturii"
},
"AnimSpeed": {
"displayText": "Animatii\nviteză",
"description": "Ritmul animatiilor pictogramei din meniu (O=oprit | Î=încet | M=mediu | R=rapid)"
"displayText": "Animaţii\nviteză",
"description": "Ritmul animaţiilor pictogramei din meniu (O=oprit | Î=încet | M=mediu | R=rapid)"
},
"AnimLoop": {
"displayText": "Animatii\nbuclă",
"description": "Animatii de pictograme în meniul principal"
"displayText": "Animaţii\nbuclă",
"description": "Animaţii de pictograme în meniul principal"
},
"Brightness": {
"displayText": "Ecranului\nluminozitatea",
"description": "Ajusteaza luminozitatea ecranului"
},
"ColourInversion": {
"displayText": "Inverseaza\nculoarea",
"description": "Inverseaza culoarea ecranului"
"displayText": "Inversează\nculoarea",
"description": "Inversează culoarea ecranului"
},
"LOGOTime": {
"displayText": "Durată\nlogo încărcare",
"description": "Setati durata logo de pornire (s=secunde)"
"description": "Setaţi durată logo de pornire (s=secunde)"
},
"AdvancedIdle": {
"displayText": "Detalii,\necran inactiv",
"description": "Afisati informatii detaliate într-un font mai mic pe ecranul de repaus"
"description": "Afisaţi informaţii detaliate într-un font mai mic pe ecranul de repaus"
},
"AdvancedSoldering": {
"displayText": "Detalii\necran lipire",
"description": "Afisati informatii detaliate într-un font mai mic pe ecranul de lipire"
"description": "Afisaţi informaţii detaliate într-un font mai mic pe ecranul de lipire"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Activează BLE"
},
"PowerLimit": {
"displayText": "Putere\nlimită",
@@ -213,15 +286,15 @@
},
"CalibrateCJC": {
"displayText": "Calibrare CJC\nla următoarea pornire",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
"description": "La următorul vârf de pornire, compensarea joncţiunii reci va fi calibrată (nu este necesară dacă Delta T este < 5°C)"
},
"VoltageCalibration": {
"displayText": "Calibrare tens.\nde intrare?",
"description": "Porniti calibrarea VIN (apăsati lung pentru a iesi)"
"description": "Porniţi calibrarea VIN (apăsaţi lung pentru a ieşi)"
},
"PowerPulsePower": {
"displayText": "Putere\npuls",
"description": "Puterea pulsului de mentinere activa a blocului de alimentare (watt)"
"description": "Puterea pulsului de menţinere activă a blocului de alimentare (watt)"
},
"PowerPulseWait": {
"displayText": "Întârziere\npuls putere",
@@ -229,19 +302,15 @@
},
"PowerPulseDuration": {
"displayText": "Durată\npuls putere",
"description": "Durata pulsului de mentinere (x 250ms)"
"description": "Durata pulsului de menţinere (x 250ms)"
},
"SettingsReset": {
"displayText": "Setări\ndin fabrică",
"description": "Reveniti la setările din fabrică"
"description": "Reveniţi la setările din fabrică"
},
"LanguageSwitch": {
"displayText": "Limbă:\n RO Română",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -28,7 +28,7 @@
"message": "!ЗАБЛОК!"
},
"WarningThermalRunaway": {
"message": "Thermal\nRunaway"
"message": "Неуправляемый\nРазогрев"
},
"SettingsCalibrationWarning": {
"message": "Пожалуйста, убедитесь, что жало и корпус имеют комнатную температуру при следующей загрузке!"
@@ -43,25 +43,34 @@
"message": "НАПРЯЖ--"
},
"UndervoltageString": {
"message": "Низ. напряжение"
"message": "Низ. напряжение\n"
},
"InputVoltageString": {
"message": "Питание В: "
"message": "Питание В: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Ожидание..."
"message": "Ожидание...\n"
},
"SleepingTipAdvancedString": {
"message": "Жало:"
"message": "Жало: \n"
},
"OffString": {
"message": "Вык"
},
"ProfilePreheatString": {
"message": "Преднагрев\n"
},
"ProfileCooldownString": {
"message": "Остывание\n"
},
"DeviceFailedValidationWarning": {
"message": "Скорее всего, это устройство подделка!"
"message": "Вероятно, это устройство подделка!"
},
"TooHotToStartProfileWarning": {
"message": "Слишком горячо для\nстарта профиля"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\nтайм-аут",
"description": "Power Delivery тайм-аут согласования с шагом 100 мс для совместимости с некоторыми быстрыми зарядными QC (0: отключено)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Включает режимы PPS & EPR."
},
"BoostTemperature": {
"displayText": "t° турбо\nрежима",
"description": "Температура жала в турбо-режиме"
@@ -139,6 +152,62 @@
"displayText": "Разрешить\nблок. кнопок",
"description": "При работе длинное нажатие обеих кнопок блокирует их (О=Отключено | Т=Только турбо | П=Полная блокировка)"
},
"ProfilePhases": {
"displayText": "Профиль\nЭтапы",
"description": "Количество этапов в режиме профиля"
},
"ProfilePreheatTemp": {
"displayText": "Преднагрев\nТемпература",
"description": "Разогреть до этой температуры в начале режима профиля"
},
"ProfilePreheatSpeed": {
"displayText": "Преднагрев\nСкорость",
"description": "Предварительный нагрев с этой скоростью (градусов в секунду)"
},
"ProfilePhase1Temp": {
"displayText": "Этап 1\nТемпература",
"description": "Целевая температура в конце этого эатпа"
},
"ProfilePhase1Duration": {
"displayText": "Этап 1\nДлительность",
"description": "Целевая длительность этого этапа (секунды)"
},
"ProfilePhase2Temp": {
"displayText": "Этап 2\nТемпература",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Этап 2\nДлительность",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Этап 3\nТемпература",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Этап 3\nДлительность",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Этап 4\nТемпература",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Этап 4\nДлительность",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Этап 5\nТемпература",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Этап 5\nДлительность",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Остывание\nСкорость",
"description": "Остывать с такой скоростью в конце режима профиля (градусов в секунду)"
},
"MotionSensitivity": {
"displayText": "Чувствительн.\nакселерометра",
"description": "Чувствительность акселерометра (0=Выкл. | 1=мин. | ... | 9=макс.)"
@@ -173,7 +242,7 @@
},
"ScrollingSpeed": {
"displayText": "Скорость\nтекста",
"description": "Скорость прокрутки текста (М=медленно | Б=быстро)"
"description": "Скорость прокрутки текста (М=Медленная | Б=Быстрая)"
},
"ReverseButtonTempChange": {
"displayText": "Поменять\nкнопки+-",
@@ -181,7 +250,7 @@
},
"AnimSpeed": {
"displayText": "Скорость\nанимации",
"description": "Скорость анимации иконок в главном меню (Милисекунды) (О=Отключено | Н=Низкий | С=Средний | В=Высокий)"
"description": "Скорость анимации иконок в главном меню (О=Отключено | М=Медленная| С=Средняя | Б=Быстрая)"
},
"AnimLoop": {
"displayText": "Зацикленная\nанимация",
@@ -207,6 +276,10 @@
"displayText": "Подробный\nэкран пайки",
"description": "Показывать детальную информацию на экране пайки"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Активирует BLE"
},
"PowerLimit": {
"displayText": "Предел\nмощности",
"description": "Максимальная мощность, которую может использовать паяльник (Ватт)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Язык:\n RU Русский",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "Nízke U!"
},
"UndervoltageString": {
"message": "Nízke napätie"
"message": "Nízke napätie\n"
},
"InputVoltageString": {
"message": "Vstupné U: "
"message": "Vstupné U: \n"
},
"SleepingSimpleString": {
"message": "Chrr"
},
"SleepingAdvancedString": {
"message": "Pokojový režim."
"message": "Pokojový režim.\n"
},
"SleepingTipAdvancedString": {
"message": "Hrot:"
"message": "Hrot: \n"
},
"OffString": {
"message": "Vyp"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Vaše zariadenie je pravdepodobne falzifikát!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "Čas vypršania\nPower Delivery",
"description": "Čas vyjednávania Power Delivery v 100ms krokoch pre kompatibilitu s niektorými QC nabíjačkami (0: vypnuté)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Boost\nteplota",
"description": "Cieľová teplota pre prudký náhrev (v nastavených jednotkách)"
@@ -139,6 +152,62 @@
"displayText": "Povoliť zámok\ntlačidiel",
"description": "Zamknutie tlačidiel - dlhé stlačenie oboch naraz počas spájkovania (Z=Zakázať | B=Okrem boost | P=Plné zamknutie)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Citlivosť\npohybu",
"description": "Citlivosť detekcie pohybu (0=Vyp | 1=Min | ... | 9=Max)"
@@ -207,6 +276,10 @@
"displayText": "Detaily počas\nspájkovania",
"description": "Zobrazenie detailov počas spájkovania"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Obmedzenie\nvýkonu",
"description": "Obmedzenie výkonu podľa použitého zdroja (watt)"
@@ -228,7 +301,7 @@
"description": "Interval medzi impulzami udržujúcimi napájací zdroj zapnutý (x 2.5s)"
},
"PowerPulseDuration": {
"displayText": "Dĺžka impulzu",
"displayText": "Dĺžka\nimpulzu",
"description": "Dĺžka impulzu udržujúci napájací zdroj zapnutý (x 250ms)"
},
"SettingsReset": {
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jazyk:\n SK Slovenčina",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "NIZKA U"
},
"UndervoltageString": {
"message": "Nizka napetost"
"message": "Nizka napetost\n"
},
"InputVoltageString": {
"message": "Vhodna U: "
"message": "Vhodna U: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Spim..."
"message": "Spim...\n"
},
"SleepingTipAdvancedString": {
"message": "Konica"
"message": "Konica \n"
},
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Pospešena\ntemp.",
"description": "Temperatura v pospešenem načinu"
@@ -139,6 +152,62 @@
"displayText": "Omogoči\nzaklep gumbov",
"description": "Za zaklep med spajkanjem drži oba gumba (O=onemogoči | L=le pospešeno | P=polno)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Občutljivost\npremikanja",
"description": "0=izklopljeno | 1=najmanjša | ... | 9=največja"
@@ -207,6 +276,10 @@
"displayText": "Več info na\nzaslonu spaj.",
"description": "Prikaže več informacij z manjšo pisavo na zaslonu med spajkanjem."
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Meja\nmoči",
"description": "Največja dovoljena moč v vatih [W]"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jezik:\n SL Slovenščina",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "НИЗ.НАП."
},
"UndervoltageString": {
"message": "ПРЕНИЗАК НАПОН"
"message": "ПРЕНИЗАК НАПОН\n"
},
"InputVoltageString": {
"message": "Ул. напон: "
"message": "Ул. напон: \n"
},
"SleepingSimpleString": {
"message": "Сан"
},
"SleepingAdvancedString": {
"message": "Спавање..."
"message": "Спавање...\n"
},
"SleepingTipAdvancedString": {
"message": "Врх:"
"message": "Врх: \n"
},
"OffString": {
"message": "Иск"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Темп.\nпојачања",
"description": "Температура врха лемилице у току појачања."
@@ -139,6 +152,62 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Осетљивост\nна покрет",
"description": "Осетљивост сензора покрета. (0=искључено | 1=најмање осетљиво | ... | 9=најосетљивије)"
@@ -207,6 +276,10 @@
"displayText": "Детаљи током\nлемљења",
"description": "Приказивање детаљних информација на екрану током лемљења."
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Maximum power the iron can use (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jезик:\n SR Српски",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "NIZ.NAP."
},
"UndervoltageString": {
"message": "PRENIZAK NAPON"
"message": "PRENIZAK NAPON\n"
},
"InputVoltageString": {
"message": "Ul. napon: "
"message": "Ul. napon: \n"
},
"SleepingSimpleString": {
"message": "Zzz"
},
"SleepingAdvancedString": {
"message": "Spavanje..."
"message": "Spavanje...\n"
},
"SleepingTipAdvancedString": {
"message": "Vrh:"
"message": "Vrh: \n"
},
"OffString": {
"message": "Isk"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Temp.\npojačanja",
"description": "Temperatura vrha lemilice u toku pojačanja."
@@ -139,6 +152,62 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (D=disable | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Osetljivost\nna pokret",
"description": "Osetljivost senzora pokreta. (0=isključeno | 1=najmanje osetljivo | ... | 9=najosetljivije)"
@@ -207,6 +276,10 @@
"displayText": "Detalji tokom\nlemljenja",
"description": "Prikazivanje detaljnih informacija na ekranu tokom lemljenja."
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Maximum power the iron can use (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Jezik:\n SR Srpski",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC LÅG"
},
"UndervoltageString": {
"message": "Underspänning"
"message": "Underspänning\n"
},
"InputVoltageString": {
"message": "Inspän. V: "
"message": "Inspän. V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Viloläge..."
"message": "Viloläge...\n"
},
"SleepingTipAdvancedString": {
"message": "Spets:"
"message": "Spets: \n"
},
"OffString": {
"message": "Av"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Turbo-\ntemp",
"description": "Temperatur i \"turbo-läge\""
@@ -139,6 +152,62 @@
"displayText": "Tillåt lås\nvia knappar",
"description": "Vid lödning, håll nere bägge knappar för att slå på lås (A=Av | T=Bara turbo | F=Fullt lås)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Rörelse-\nkänslighet",
"description": "Rörelsekänslighet (0=Av | 1=minst känslig | ... | 9=mest känslig)"
@@ -207,6 +276,10 @@
"displayText": "Detaljerad\nlödng.skärm",
"description": "Visa detaljerad information vid lödning"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Max-\neffekt",
"description": "Maximal effekt som enheten kan använda (Watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Språk:\n SV Svenska",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -1,7 +1,7 @@
{
"languageCode": "TR",
"languageLocalName": "Türkçe",
"tempUnitFahrenheit": true,
"tempUnitFahrenheit": false,
"messagesWarn": {
"CJCCalibrationDone": {
"message": "Calibration\ndone!"
@@ -43,25 +43,34 @@
"message": "Güç Az"
},
"UndervoltageString": {
"message": "Düşük Voltaj"
"message": "Düşük Voltaj\n"
},
"InputVoltageString": {
"message": "Giriş V: "
"message": "Giriş V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Bekleme Modu ..."
"message": "Bekleme Modu...\n"
},
"SleepingTipAdvancedString": {
"message": "Uç:"
"message": "Uç: \n"
},
"OffString": {
"message": "Kapalı"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -104,7 +113,7 @@
},
"menuOptions": {
"DCInCutoff": {
"displayText": "GÇKYN",
"displayText": "GÇKYN\n",
"description": "\"Güç Kaynağı\". En düşük çalışma voltajını ayarlar. (DC 10V) (S 3.3V hücre başına)"
},
"MinVolCell": {
@@ -119,12 +128,16 @@
"displayText": "PD\ntimeout",
"description": "PD negotiation timeout in 100ms steps for compatibility with some QC chargers"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "YKSC",
"displayText": "YKSC\n",
"description": "Yüksek Performans Modu Sıcaklığı"
},
"AutoStart": {
"displayText": "OTOBAŞ",
"displayText": "OTOBAŞ\n",
"description": "Güç verildiğinde otomatik olarak lehimleme modunda başlat. (K=Kapalı | L=Lehimleme Modu | U=Uyku Modu | S=Uyku Modu Oda Sıcaklığı)"
},
"TempChangeShortStep": {
@@ -139,20 +152,76 @@
"displayText": "Allow locking\nbuttons",
"description": "While soldering, hold down both buttons to toggle locking them (K=Kapalı | B=boost mode only | F=full locking)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "HARHAS",
"displayText": "HARHAS\n",
"description": "Hareket Hassasiyeti (0=Kapalı | 1=En az duyarlı | ... | 9=En duyarlı)"
},
"SleepTemperature": {
"displayText": "BKSC",
"displayText": "BKSC\n",
"description": "Bekleme Modu Sıcaklığı (C)"
},
"SleepTimeout": {
"displayText": "BMZA",
"displayText": "BMZA\n",
"description": "Bekleme Modu Zaman Aşımı (Dakika | Saniye)"
},
"ShutdownTimeout": {
"displayText": "KPTZA",
"displayText": "KPTZA\n",
"description": "Kapatma Zaman Aşımı (Dakika)"
},
"HallEffSensitivity": {
@@ -160,19 +229,19 @@
"description": "Sensitivity to magnets (0=Kapalı | 1=En az duyarlı | ... | 9=En duyarlı)"
},
"TemperatureUnit": {
"displayText": "SCKBRM",
"displayText": "SCKBRM\n",
"description": "Sıcaklık Birimi (C=Celsius | F=Fahrenheit)"
},
"DisplayRotation": {
"displayText": "GRNYÖN",
"displayText": "GRNYÖN\n",
"description": "Görüntü Yönlendirme (R=Sağlak | L=Solak | O=Otomatik)"
},
"CooldownBlink": {
"displayText": "SĞGÖST",
"displayText": "SĞGÖST\n",
"description": "Soğutma ekranında uç hala sıcakken derece gösterilsin."
},
"ScrollingSpeed": {
"displayText": "YZKYHZ",
"displayText": "YZKYHZ\n",
"description": "Bu yazının kayma hızı (Y=Yavaş | H=Hızlı)"
},
"ReverseButtonTempChange": {
@@ -200,13 +269,17 @@
"description": "Set boot logo duration (s=seconds)"
},
"AdvancedIdle": {
"displayText": "AYRBİL",
"displayText": "AYRBİL\n",
"description": "Boş ekranda ayrıntılı bilgileri daha küçük bir yazı tipi ile göster."
},
"AdvancedSoldering": {
"displayText": "GELLHM",
"displayText": "GELLHM\n",
"description": "\"Gelişmiş Lehimleme\" Lehimleme yaparken detaylı bilgi göster"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Power\nlimit",
"description": "Havyanın kullanacağı en yüksek güç (W=Watts)"
@@ -216,7 +289,7 @@
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5°C)"
},
"VoltageCalibration": {
"displayText": "VOL KAL?",
"displayText": "VOL KAL?\n",
"description": "Voltaj Girişi Kalibrasyonu. Düğmeler ayarlar, çıkmak için uzun bas."
},
"PowerPulsePower": {
@@ -232,16 +305,12 @@
"description": "Keep-awake-pulse duration (x 250ms)"
},
"SettingsReset": {
"displayText": "SIFIRLA?",
"displayText": "SIFIRLA?\n",
"description": "Bütün ayarları sıfırlar"
},
"LanguageSwitch": {
"displayText": "Dil:\n TR Türkçe",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "АККУМ--"
},
"UndervoltageString": {
"message": "Низька напруга"
"message": "Низька напруга\n"
},
"InputVoltageString": {
"message": "Жив.(B): "
"message": "Жив.(B): \n"
},
"SleepingSimpleString": {
"message": "ZzZzz"
},
"SleepingAdvancedString": {
"message": "Очікування..."
"message": "Очікування...\n"
},
"SleepingTipAdvancedString": {
"message": "Жало:"
"message": "Жало: \n"
},
"OffString": {
"message": "Вимк"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Вірогідно ваш пристрій підробний!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -70,7 +79,7 @@
"SettingAutoChar": "A",
"SettingOffChar": "B",
"SettingSlowChar": "Н",
"SettingMediumChar": "M",
"SettingMediumChar": "С",
"SettingFastChar": "М",
"SettingStartNoneChar": "В",
"SettingStartSolderingChar": "П",
@@ -119,6 +128,10 @@
"displayText": "PD\nзатримка",
"description": "Затримка у 100мс інкрементах для PD для сумісності з деякими QC зарядними пристроями (0: вимкнено)"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Вмикає режими PPS & EPR."
},
"BoostTemperature": {
"displayText": "Темпер.\nТурбо",
"description": "Температура в \"Турбо\" режимі"
@@ -139,6 +152,62 @@
"displayText": "Дозволити\nблок. кнопок",
"description": "Під час пайки тривале натискання обох кнопок заблокує їх (В=Вимк | Т=Тільки турбо | П=Повне)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Чутливість\nсенсору руху",
"description": "Акселерометр (0=Вимк. | 1=мін. чутливості | ... | 9=макс. чутливості)"
@@ -173,7 +242,7 @@
},
"ScrollingSpeed": {
"displayText": "Швидкість\nтексту",
"description": "Швидкість прокрутки тексту (П=повільно | Ш=швидко)"
"description": "Швидкість прокрутки тексту (Н=Низькa | М=Максимальна)"
},
"ReverseButtonTempChange": {
"displayText": "Інвертувати\nкнопки +-?",
@@ -181,7 +250,7 @@
},
"AnimSpeed": {
"displayText": "Швидкість\nанімації",
"description": "Швидкість анімації іконок у головному меню (Мілісекунди) (В=Вимк | Н=Низькa | С=Середня | М=Макс)"
"description": "Швидкість анімації іконок у головному меню (В=Вимк | Н=Низькa | С=Середня | М=Максимальна)"
},
"AnimLoop": {
"displayText": "Циклічна\nанімація",
@@ -207,6 +276,10 @@
"displayText": "Детальний\nрежим пайки",
"description": "Показувати детальну інформацію при пайці."
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Макс.\nпотуж.",
"description": "Макс. потужність, яку може використовувати паяльник (Ват)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Мова:\n UK Українська",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -43,25 +43,34 @@
"message": "DC thap"
},
"UndervoltageString": {
"message": "Đien áp thap"
"message": "Đien áp thap\n"
},
"InputVoltageString": {
"message": "Đau vào V: "
"message": "Đau vào V: \n"
},
"SleepingSimpleString": {
"message": "Zzzz"
},
"SleepingAdvancedString": {
"message": "Đang ngu..."
"message": "Đang ngu...\n"
},
"SleepingTipAdvancedString": {
"message": "Meo:"
"message": "Meo: \n"
},
"OffString": {
"message": "Tat"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD\nsau",
"description": "Thoi gian cho đàm phán PD trong các buoc 100ms đe tuong thích voi mot so bo sac QC"
},
"PDVpdo": {
"displayText": "PD\nVPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "Tăng\nnhiet đo",
"description": "Nhiet đo dùng trong che đo \"tăng cuong\""
@@ -139,6 +152,62 @@
"displayText": "Cho phép khóa\ncác nút",
"description": "Trong khi hàn, giu ca 2 nút đe khóa(D=tat | B=chi che đo tăng cuong | F=khóa hoàn toàn)"
},
"ProfilePhases": {
"displayText": "Profile\nPhases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat\nTemp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat\nSpeed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1\nTemp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1\nDuration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2\nTemp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2\nDuration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3\nTemp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3\nDuration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4\nTemp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4\nDuration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5\nTemp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5\nDuration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown\nSpeed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "Cam bien\ncu đong",
"description": "- 0=tat | 1=đo nhay thap nhat| ... | 9=đo nhay cao nhat"
@@ -207,6 +276,10 @@
"displayText": "Chi tiet\nmàn hình hàn",
"description": "-Hien thi thông tin bang phông chu nho hon trên màn hình hàn"
},
"BluetoothLE": {
"displayText": "Bluetooth\n",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "Công suat\ngioi han",
"description": "-Công suat toi đa mà tay hàn có the su dung (W=watt)"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "Ngôn ngu:\n VI Tieng Viet",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -34,7 +34,7 @@
"message": "Before rebooting, make sure tip & handle are at room temperature!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "calibrating"
},
"SettingsResetWarning": {
"message": "你係咪確定要將全部設定重設到預設值?"
@@ -55,13 +55,22 @@
"message": "Sleeping..."
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: "
},
"OffString": {
"message": "關"
},
"ProfilePreheatString": {
"message": "Preheat"
},
"ProfileCooldownString": {
"message": "Cooldown"
},
"DeviceFailedValidationWarning": {
"message": "依支焫雞好有可能係冒牌貨!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to start profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD逾時",
"description": "設定USB PD協定交涉嘅逾時時限為兼容某啲QC電源而設 <x100ms亳秒>"
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "增熱温度",
"description": "喺增熱模式時使用嘅温度"
@@ -139,6 +152,62 @@
"displayText": "撳掣鎖定",
"description": "喺焊接模式時,同時長撳兩粒掣啓用撳掣鎖定 <無=停用 | 增=淨係容許增熱模式 | 全=鎖定全部>"
},
"ProfilePhases": {
"displayText": "Profile Phases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat Temp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat Speed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1 Temp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1 Duration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2 Temp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2 Duration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3 Temp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3 Duration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4 Temp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4 Duration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5 Temp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5 Duration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown Speed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "動作敏感度",
"description": "0=停用 | 1=最低敏感度 | ... | 9=最高敏感度"
@@ -207,6 +276,10 @@
"displayText": "詳細焊接畫面",
"description": "喺焊接模式畫面以英文細字顯示詳細嘅資料"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "功率限制",
"description": "限制焫雞可用嘅最大功率 <W=watt>"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "語言: 廣東話",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -34,7 +34,7 @@
"message": "Before rebooting, make sure tip & handle are at room temperature!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "calibrating"
},
"SettingsResetWarning": {
"message": "你是否确定要将全部设定重置为默认值?"
@@ -55,13 +55,22 @@
"message": "Zzzz..."
},
"SleepingTipAdvancedString": {
"message": "--->"
"message": "<--- "
},
"OffString": {
"message": "关"
},
"ProfilePreheatString": {
"message": "Preheat"
},
"ProfileCooldownString": {
"message": "Cooldown"
},
"DeviceFailedValidationWarning": {
"message": "这支电烙铁很有可能是冒牌货!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to start profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD超时",
"description": "设定USB-PD协议交涉的超时时限为兼容某些QC电源而设 <x100ms亳秒>"
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "增热温度",
"description": "增热模式时使用的温度"
@@ -139,6 +152,62 @@
"displayText": "按键锁定",
"description": "焊接模式时,同时长按两个按键启用按键锁定 <无=禁用 | 增=只容许增热模式 | 全=完全锁定>"
},
"ProfilePhases": {
"displayText": "Profile Phases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat Temp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat Speed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1 Temp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1 Duration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2 Temp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2 Duration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3 Temp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3 Duration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4 Temp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4 Duration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5 Temp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5 Duration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown Speed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "动作灵敏度",
"description": "0=禁用 | 1=最低灵敏度 | ... | 9=最高灵敏度"
@@ -207,6 +276,10 @@
"displayText": "焊接画面详情",
"description": "焊接模式画面以英语小字体显示详请"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "功率限制",
"description": "限制烙铁可用的最大功率 <W=瓦特>"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "语言:简体中文",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -34,7 +34,7 @@
"message": "Before rebooting, make sure tip & handle are at room temperature!"
},
"CJCCalibrating": {
"message": "calibrating\n"
"message": "calibrating"
},
"SettingsResetWarning": {
"message": "你是否確定要將全部設定重設到預設值?"
@@ -55,13 +55,22 @@
"message": "Sleeping..."
},
"SleepingTipAdvancedString": {
"message": "Tip:"
"message": "Tip: "
},
"OffString": {
"message": "關"
},
"ProfilePreheatString": {
"message": "Preheat"
},
"ProfileCooldownString": {
"message": "Cooldown"
},
"DeviceFailedValidationWarning": {
"message": "這支電烙鐵很有可能是冒牌貨!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to start profile"
}
},
"characters": {
@@ -119,6 +128,10 @@
"displayText": "PD逾時",
"description": "設定USB PD協定交涉的逾時時限為兼容某些QC電源而設 <x100ms亳秒>"
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
},
"BoostTemperature": {
"displayText": "增熱溫度",
"description": "於增熱模式時使用的溫度"
@@ -139,6 +152,62 @@
"displayText": "按鍵鎖定",
"description": "於焊接模式時,同時長按兩個按鍵啟用按鍵鎖定 <無=停用 | 增=只容許增熱模式 | 全=鎖定全部>"
},
"ProfilePhases": {
"displayText": "Profile Phases",
"description": "Number of phases in profile mode"
},
"ProfilePreheatTemp": {
"displayText": "Preheat Temp",
"description": "Preheat to this temperature at the start of profile mode"
},
"ProfilePreheatSpeed": {
"displayText": "Preheat Speed",
"description": "Preheat at this rate (degrees per second)"
},
"ProfilePhase1Temp": {
"displayText": "Phase 1 Temp",
"description": "Target temperature for the end of this phase"
},
"ProfilePhase1Duration": {
"displayText": "Phase 1 Duration",
"description": "Target duration of this phase (seconds)"
},
"ProfilePhase2Temp": {
"displayText": "Phase 2 Temp",
"description": ""
},
"ProfilePhase2Duration": {
"displayText": "Phase 2 Duration",
"description": ""
},
"ProfilePhase3Temp": {
"displayText": "Phase 3 Temp",
"description": ""
},
"ProfilePhase3Duration": {
"displayText": "Phase 3 Duration",
"description": ""
},
"ProfilePhase4Temp": {
"displayText": "Phase 4 Temp",
"description": ""
},
"ProfilePhase4Duration": {
"displayText": "Phase 4 Duration",
"description": ""
},
"ProfilePhase5Temp": {
"displayText": "Phase 5 Temp",
"description": ""
},
"ProfilePhase5Duration": {
"displayText": "Phase 5 Duration",
"description": ""
},
"ProfileCooldownSpeed": {
"displayText": "Cooldown Speed",
"description": "Cooldown at this rate at the end of profile mode (degrees per second)"
},
"MotionSensitivity": {
"displayText": "動作敏感度",
"description": "0=停用 | 1=最低敏感度 | ... | 9=最高敏感度"
@@ -207,6 +276,10 @@
"displayText": "詳細焊接畫面",
"description": "於焊接模式畫面以英文小字型顯示詳細資料"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
},
"PowerLimit": {
"displayText": "功率限制",
"description": "限制烙鐵可用的最大功率 <W=watt瓦特>"
@@ -238,10 +311,6 @@
"LanguageSwitch": {
"displayText": "語言:正體中文",
"description": ""
},
"BLEEnabled": {
"displayText": "BLE\n Enabled",
"description": ""
}
}
}

View File

@@ -17,6 +17,7 @@
},
{
"id": "NoPowerDeliveryMessage",
"include": ["POW_PD"],
"description": "The IC required for USB-PD could not be communicated with. This is an error warning that USB-PD WILL NOT FUNCTION. Generally indicative of either a hardware or software issues."
},
{
@@ -49,32 +50,50 @@
{
"id": "UVLOWarningString",
"maxLen": 8,
"include": ["POW_DC"],
"description": "Warning text shown when the unit turns off due to undervoltage in simple mode."
},
{
"id": "UndervoltageString",
"maxLen": 15,
"include": ["POW_DC"],
"description": "Warning text shown when the unit turns off due to undervoltage in advanced mode."
},
{
"id": "InputVoltageString",
"maxLen": 11,
"note": "Preferably end with a space",
"include": ["POW_DC"],
"description": "Prefix text for 'Input Voltage' shown before showing the input voltage reading."
},
{
"id": "ProfilePreheatString",
"maxLen": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Shown in profile mode while preheating"
},
{
"id": "ProfileCooldownString",
"maxLen": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Shown in profile mode while cooling down"
},
{
"id": "SleepingSimpleString",
"maxLen": 4,
"exclude": ["NO_SLEEP_MODE"],
"description": "The text shown to indicate the unit is in sleep mode when the advanced view is NOT on."
},
{
"id": "SleepingAdvancedString",
"maxLen": 15,
"exclude": ["NO_SLEEP_MODE"],
"description": "The text shown to indicate the unit is in sleep mode when the advanced view is turned on."
},
{
"id": "SleepingTipAdvancedString",
"maxLen": 6,
"exclude": ["NO_SLEEP_MODE"],
"description": "The prefix text shown before tip temperature when the unit is sleeping with advanced view on."
},
{
@@ -86,6 +105,12 @@
"id": "DeviceFailedValidationWarning",
"default": "Device may be\ncounterfeit",
"description": "Warning shown if the device may be a clone or counterfeit unit."
},
{
"id": "TooHotToStartProfileWarning",
"default": "Too hot to\nstart profile",
"include": ["PROFILE_SUPPORT"],
"description": "Shown when profile mode is started while the device is too hot."
}
],
"characters": [{
@@ -166,6 +191,7 @@
"id": "PowerMenu",
"maxLen": 5,
"maxLen2": 11,
"include": ["POW_DC", "POW_QC"],
"description": "Menu for settings related to power. Main settings to do with the input voltage."
},
{
@@ -197,26 +223,37 @@
"id": "DCInCutoff",
"maxLen": 5,
"maxLen2": 11,
"include": ["POW_DC"],
"description": "When the device is powered by a battery, this adjusts the low voltage threshold for when the unit should turn off the heater to protect the battery."
},
{
"id": "MinVolCell",
"maxLen": 4,
"maxLen2": 9,
"include": ["POW_DC"],
"description": "When powered by a battery, this adjusts the minimum voltage per cell before shutdown. (This is multiplied by the cell count.)"
},
{
"id": "QCMaxVoltage",
"maxLen": 8,
"maxLen2": 15,
"include": ["POW_QC"],
"description": "This adjusts the maximum voltage the QC negotiation will adjust to. Does NOT affect USB-PD. Should be set safely based on the current rating of your power supply."
},
{
"id": "PDNegTimeout",
"maxLen": 8,
"maxLen2": 15,
"include": ["POW_PD"],
"description": "How long until firmware stops trying to negotiate for USB-PD and tries QC instead. Longer times may help dodgy / old PD adapters, faster times move onto PD quickly. Units of 100ms. Recommended to keep small values."
},
{
"id": "PDVpdo",
"maxLen": 7,
"maxLen2": 15,
"include": ["POW_PD"],
"description": "Enabled PPS & EPR modes."
},
{
"id": "BoostTemperature",
"maxLen": 4,
@@ -247,6 +284,104 @@
"maxLen2": 13,
"description": "If locking the buttons against accidental presses is enabled."
},
{
"id": "ProfilePhases",
"maxLen": 6,
"maxLen2": 13,
"include": ["PROFILE_SUPPORT"],
"description": "set the number of phases for profile mode."
},
{
"id": "ProfilePreheatTemp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Preheat to this temperature at the start of profile mode."
},
{
"id": "ProfilePreheatSpeed",
"maxLen": 5,
"maxLen2": 11,
"include": ["PROFILE_SUPPORT"],
"description": "How fast the temperature is allowed to rise during the preheat phase at the start of profile mode."
},
{
"id": "ProfilePhase1Temp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 1 of profile mode."
},
{
"id": "ProfilePhase1Duration",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 1 of profile mode. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase2Temp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 2 of profile mode."
},
{
"id": "ProfilePhase2Duration",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 2 of profile mode. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase3Temp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 3 of profile mode."
},
{
"id": "ProfilePhase3Duration",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 3 of profile mode. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase4Temp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 5 of profile mode."
},
{
"id": "ProfilePhase4Duration",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 5 of profile mode. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase5Temp",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 5 of profile mode."
},
{
"id": "ProfilePhase5Duration",
"maxLen": 4,
"maxLen2": 9,
"include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 5 of profile mode. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfileCooldownSpeed",
"maxLen": 5,
"maxLen2": 11,
"include": ["PROFILE_SUPPORT"],
"description": "How fast the temperature is allowed to drop during the cooldown phase at the end of profile mode."
},
{
"id": "MotionSensitivity",
"maxLen": 6,
@@ -257,12 +392,14 @@
"id": "SleepTemperature",
"maxLen": 4,
"maxLen2": 9,
"exclude": ["NO_SLEEP_MODE"],
"description": "Temperature the device will drop down to while asleep. Typically around halfway between off and soldering temperature."
},
{
"id": "SleepTimeout",
"maxLen": 4,
"maxLen2": 9,
"exclude": ["NO_SLEEP_MODE"],
"description": "How long of a period without movement / button-pressing is required before the device drops down to the sleep temperature."
},
{
@@ -275,6 +412,7 @@
"id": "HallEffSensitivity",
"maxLen": 6,
"maxLen2": 13,
"include": ["HALL_SENSOR"],
"description": "If the unit has a hall effect sensor (Pinecil), this adjusts how sensitive it is at detecting a magnet to put the device into sleep mode."
},
{
@@ -287,6 +425,7 @@
"id": "DisplayRotation",
"maxLen": 6,
"maxLen2": 13,
"exclude": ["NO_DISPLAY_ROTATE"],
"description": "If the display should rotate automatically or if it should be fixed for left- or right-handed mode."
},
{
@@ -349,6 +488,13 @@
"maxLen2": 13,
"description": "Should the device show an 'advanced' soldering view. This is a text-based view that shows more information at the cost of no nice graphics."
},
{
"id": "BluetoothLE",
"maxLen": 7,
"maxLen2": 15,
"include": ["BLE_ENABLED"],
"description": "Should BLE be enabled at boot time."
},
{
"id": "PowerLimit",
"maxLen": 5,
@@ -396,12 +542,6 @@
"maxLen": 7,
"maxLen2": 15,
"description": "Changes the device language on multi-lingual builds."
},
{
"id": "BLEEnabled",
"maxLen": 7,
"maxLen2": 15,
"description": "Should BLE be enabled at boot time."
}
]
}
}

0
build.sh Normal file → Executable file
View File

View File

@@ -1,4 +1,5 @@
version: "3"
name: "ironos"
services:
builder:
stdin_open: true

View File

@@ -1,8 +1,21 @@
# Project info
site_name: IronOS
site_url: https://ralim.github.io/IronOS/
repo_url: https://github.com/ralim/IronOS/
site_description: "IronOS Open Source Soldering Iron firmware for Miniware and Pinecil"
# repo config
repo_url: https://github.com/ralim/IronOS/
docs_dir: Documentation
edit_uri: edit/dev/Documentation/
# Theme and config
theme:
name: readthedocs
highlightsjs: true
hljs_languages:
- yaml
nav:
- Home: index.md
- Getting Started: GettingStarted.md
@@ -26,5 +39,18 @@ nav:
- Known Hardware Issues: HardwareIssues.md
- Translations: Translation.md
- Development: Development.md
theme: readthedocs
# Plugins
plugins:
- search
- autolinks
- awesome-pages
- git-revision-date
# Markdown Extensions
markdown_extensions:
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:pymdownx.emoji.twemoji
emoji_generator: !!python/name:pymdownx.emoji.to_svg

View File

@@ -94,6 +94,8 @@ enum StatusLED {
};
void setStatusLED(const enum StatusLED state);
void setBuzzer(bool on);
// preStartChecks are run until they return 0
// By the PID, after each ADC sample comes in
// For example, on the MHP30 this is used to figure out the resistance of the hotplate

View File

@@ -20,6 +20,8 @@ void power_check();
uint8_t getTipResistanceX10();
uint8_t getTipThermalMass();
uint8_t getTipInertia();
#ifdef __cplusplus
}

View File

@@ -455,8 +455,6 @@ void setStatusLED(const enum StatusLED state) {
} break;
case LED_HOT:
ws2812.led_set_color(0, 0xFF, 0, 0); // red
// We have hit the right temp, run buzzer for a short period
buzzerEnd = xTaskGetTickCount() + TICKS_SECOND / 3;
break;
case LED_COOLING_STILL_HOT:
ws2812.led_set_color(0, 0xFF, 0x8C, 0x00); // Orange
@@ -465,11 +463,6 @@ void setStatusLED(const enum StatusLED state) {
ws2812.led_update();
lastState = state;
}
if (state == LED_HOT && xTaskGetTickCount() < buzzerEnd) {
setBuzzer(true);
} else {
setBuzzer(false);
}
}
uint64_t getDeviceID() {
//
@@ -478,4 +471,5 @@ uint64_t getDeviceID() {
uint8_t preStartChecksDone() { return 1; }
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipInertia() { return TIP_THERMAL_MASS; }

View File

@@ -123,7 +123,7 @@ extern uint32_t SystemCoreClock;
#define INCLUDE_vTaskDelete 0
#define INCLUDE_vTaskCleanUpResources 0
#define INCLUDE_vTaskSuspend 0
#define INCLUDE_vTaskDelayUntil 0
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1
#define INCLUDE_xTaskGetSchedulerState 1
#define INCLUDE_uxTaskGetStackHighWaterMark 1

View File

@@ -49,7 +49,7 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
}
bool getFUS302IRQLow() {
#if POW_PD
#ifdef POW_PD
// Return true if the IRQ line is still held low
return HAL_GPIO_ReadPin(INT_PD_GPIO_Port, INT_PD_Pin) == GPIO_PIN_RESET;
#else

View File

@@ -7,7 +7,7 @@
#include "configuration.h"
void power_check() {
#if POW_PD
#ifdef POW_PD
// Cant start QC until either PD works or fails
if (USBPowerDelivery::negotiationComplete()) {

View File

@@ -10,14 +10,14 @@
#include "BSP.h"
#include "configuration.h"
#include "stm32f1xx_hal.h"
#ifdef I2C_SOFT
#ifdef I2C_SOFT_BUS_2
#define SOFT_SCL_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
#define SOFT_SCL_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
#define SOFT_SDA_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port, SDA2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port, SCL2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL2_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
#define SOFT_SCL2_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA2_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
#define SOFT_SDA2_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA2_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port, SDA2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL2_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port, SCL2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_I2C_DELAY() \
{ \
for (int xx = 0; xx < 20; xx++) { \

View File

@@ -1,11 +1,10 @@
#ifndef CONFIGURATION_H_
#define CONFIGURATION_H_
#include "Settings.h"
#include "configuration.h"
#include <stdint.h>
/**
* Configuration.h
* Define here your default pre settings for TS80 or TS100
* Define here your default pre settings for MHP30
*
*/
@@ -60,6 +59,15 @@
#define ORIENTATION_MODE 0 // 0: Right 1:Left 2:Automatic - Default right
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
/**
* OLED Brightness
*
*/
#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable
#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable
#define BRIGHTNESS_STEP 25 // OLED brightness increment
#define DEFAULT_BRIGHTNESS 25 // default OLED brightness
/**
* Temp change settings
*/
@@ -77,13 +85,9 @@
#define ADC_MAX_READING (4096 * 8) // Maximum reading of the adc
#define ADC_VDD_MV 3300 // ADC max reading millivolts
#ifdef MODEL_TS100
#define POWER_PULSE_DEFAULT 0
#else
#define POWER_PULSE_DEFAULT 5
#endif
#define POWER_PULSE_WAIT_DEFAULT 4 // Default rate of the power pulse: 4*2500 = 10000 ms = 10 s
#define POWER_PULSE_DURATION_DEFAULT 1 // Default duration of the power pulse: 1*250 = 250 ms
#define POWER_PULSE_DEFAULT 5
/**
* OLED Orientation Sensitivity on Automatic mode!
@@ -137,7 +141,7 @@
#define MAX_TEMP_C 350 // Max soldering temp selectable °C
#define MAX_TEMP_F 660 // Max soldering temp selectable °F
#define MIN_TEMP_C 10 // Min soldering temp selectable °C
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_TEMP_F 50 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 150 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 300 // The min settable temp for boost mode °F
#define NO_DISPLAY_ROTATE // Disable OLED rotation by accel
@@ -146,22 +150,27 @@
#define ACCEL_SC7
#define ACCEL_MSA
#define POW_PD 1
#define PROFILE_SUPPORT
#define POW_PD 1
#define POW_PD_EXT 0
#define TEMP_NTC
#define I2C_SOFT
#define I2C_SOFT_BUS_2
#define BATTFILTERDEPTH 8
#define OLED_I2CBB
#define OLED_I2CBB2
#define ACCEL_EXITS_ON_MOVEMENT
#define NEEDS_VBUS_PROBE 0
#define HARDWARE_MAX_WATTAGE_X10 650
#define TIP_THERMAL_MASS 65 // TODO, needs refinement
#define TIP_RESISTANCE 60 // x10 ohms, ~6 typical
#endif
#endif /* MHP30 */
#ifdef ACCEL_EXITS_ON_MOVEMENT
#define NO_SLEEP_MODE
#endif
#endif
#define FLASH_LOGOADDR (0x08000000 + (62 * 1024))
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
#endif /* CONFIGURATION_H_ */

View File

@@ -10,9 +10,6 @@
#include "stm32f1xx_hal.h"
#include "string.h"
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
void flash_save_buffer(const uint8_t *buffer, const uint16_t length) {
FLASH_EraseInitTypeDef pEraseInit;
pEraseInit.TypeErase = FLASH_TYPEERASE_PAGES;

View File

@@ -1,5 +1,5 @@
#include "configuration.h"
#if POW_PD
#ifdef POW_PD
#include "BSP.h"
#include "I2C_Wrapper.hpp"
#include "Pins.h"

View File

@@ -6,7 +6,7 @@
*/
#include "BSP.h"
#include "I2CBB.hpp"
#include "I2CBB2.hpp"
#include "Pins.h"
#include "Setup.h"
#include <I2C_Wrapper.hpp>
@@ -17,7 +17,7 @@ void preRToSInit() {
HAL_Init();
Setup_HAL(); // Setup all the HAL objects
BSPInit();
I2CBB::init();
I2CBB2::init();
/* Init the IPC objects */
FRToSI2C::FRToSInit();
}

View File

@@ -5,6 +5,7 @@
#include "Pins.h"
#include "Setup.h"
#include "TipThermoModel.h"
#include "USBPD.h"
#include "configuration.h"
#include "history.hpp"
#include "main.hpp"
@@ -17,7 +18,7 @@ const uint16_t powerPWM = 255;
static const uint8_t holdoffTicks = 14; // delay of 8 ms
static const uint8_t tempMeasureTicks = 14;
uint16_t totalPWM; // htim2.Init.Period, the full PWM cycle
uint16_t totalPWM; // htimADC.Init.Period, the full PWM cycle
static bool fastPWM;
static bool infastPWM;
@@ -99,20 +100,20 @@ uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample) {
static void switchToFastPWM(void) {
// 10Hz
infastPWM = true;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
htim2.Instance->ARR = totalPWM;
htim2.Instance->CCR1 = powerPWM + holdoffTicks;
htim2.Instance->PSC = 2690;
infastPWM = true;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
htimADC.Instance->ARR = totalPWM;
htimADC.Instance->CCR1 = powerPWM + holdoffTicks;
htimADC.Instance->PSC = 2690;
}
static void switchToSlowPWM(void) {
// 5Hz
infastPWM = false;
totalPWM = powerPWM + tempMeasureTicks / 2 + holdoffTicks / 2;
htim2.Instance->ARR = totalPWM;
htim2.Instance->CCR1 = powerPWM + holdoffTicks / 2;
htim2.Instance->PSC = 2690 * 2;
infastPWM = false;
totalPWM = powerPWM + tempMeasureTicks / 2 + holdoffTicks / 2;
htimADC.Instance->ARR = totalPWM;
htimADC.Instance->CCR1 = powerPWM + holdoffTicks / 2;
htimADC.Instance->PSC = 2690 * 2;
}
void setTipPWM(const uint8_t pulse, const bool shouldUseFastModePWM) {
@@ -126,20 +127,30 @@ void setTipPWM(const uint8_t pulse, const bool shouldUseFastModePWM) {
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// Period has elapsed
if (htim->Instance == TIM2) {
if (htim->Instance == ADC_CONTROL_TIMER) {
// we want to turn on the output again
PWMSafetyTimer--;
// We decrement this safety value so that lockups in the
// scheduler will not cause the PWM to become locked in an
// active driving state.
// While we could assume this could never happen, its a small price for
// increased safety
htim2.Instance->CCR4 = pendingPWM;
if (htim2.Instance->CCR4 && PWMSafetyTimer) {
HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
// We decrement this safety value so that lockups in the
// scheduler will not cause the PWM to become locked in an
// active driving state.
// While we could assume this could never happen, its a small price for
// increased safety
#ifdef TIP_HAS_DIRECT_PWM
htimADC.Instance->CCR4 = powerPWM;
if (pendingPWM && PWMSafetyTimer) {
htimTip.Instance->CCR1 = pendingPWM;
HAL_TIM_PWM_Start(&htimTip, PWM_Out_CHANNEL);
} else {
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
HAL_TIM_PWM_Stop(&htimTip, PWM_Out_CHANNEL);
}
#else
htimADC.Instance->CCR4 = pendingPWM;
if (htimADC.Instance->CCR4 && PWMSafetyTimer) {
HAL_TIM_PWM_Start(&htimTip, PWM_Out_CHANNEL);
} else {
HAL_TIM_PWM_Stop(&htimTip, PWM_Out_CHANNEL);
}
#endif
if (fastPWM != infastPWM) {
if (fastPWM) {
switchToFastPWM();
@@ -157,10 +168,11 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) {
// This was a when the PWM for the output has timed out
if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_4) {
HAL_TIM_PWM_Stop(&htim3, TIM_CHANNEL_1);
HAL_TIM_PWM_Stop(&htimTip, PWM_Out_CHANNEL);
}
}
void unstick_I2C() {
#ifndef I2C_SOFT_BUS_1
GPIO_InitTypeDef GPIO_InitStruct;
int timeout = 100;
int timeout_cnt = 0;
@@ -227,6 +239,7 @@ void unstick_I2C() {
// Call initialization function.
HAL_I2C_Init(&hi2c1);
#endif
}
uint8_t getButtonA() { return HAL_GPIO_ReadPin(KEY_A_GPIO_Port, KEY_A_Pin) == GPIO_PIN_RESET ? 1 : 0; }
@@ -238,22 +251,160 @@ void reboot() { NVIC_SystemReset(); }
void delay_ms(uint16_t count) { HAL_Delay(count); }
bool isTipDisconnected() {
uint8_t lastTipResistance = 0; // default to unknown
const uint8_t numTipResistanceReadings = 3;
uint32_t tipResistanceReadings[3] = {0, 0, 0};
uint8_t tipResistanceReadingSlot = 0;
bool isTipDisconnected() {
uint16_t tipDisconnectedThres = TipThermoModel::getTipMaxInC() - 5;
uint32_t tipTemp = TipThermoModel::getTipInC();
return tipTemp > tipDisconnectedThres;
}
void setStatusLED(const enum StatusLED state) {}
uint8_t preStartChecks() { return 1; }
void setStatusLED(const enum StatusLED state) {}
void setBuzzer(bool on) {}
#ifdef TIP_RESISTANCE_SENSE_Pin
// We want to calculate lastTipResistance
// If tip is connected, and the tip is cold and the tip is not being heated
// We can use the GPIO to inject a small current into the tip and measure this
// The gpio is 100k -> diode -> tip -> gnd
// Source is 3.3V-0.5V
// Which is around 0.028mA this will induce:
// 6 ohm tip -> 3.24mV (Real world ~= 3320)
// 8 ohm tip -> 4.32mV (Real world ~= 4500)
// Which is definitely measureable
// Taking shortcuts here as we know we only really have to pick apart 6 and 8 ohm tips
// These are reported as 60 and 75 respectively
void performTipResistanceSampleReading() {
// 0 = read then turn on pullup, 1 = read then turn off pullup, 2 = read again
tipResistanceReadings[tipResistanceReadingSlot] = TipThermoModel::convertTipRawADCTouV(getTipRawTemp(1));
HAL_GPIO_WritePin(TIP_RESISTANCE_SENSE_GPIO_Port, TIP_RESISTANCE_SENSE_Pin, (tipResistanceReadingSlot == 0) ? GPIO_PIN_SET : GPIO_PIN_RESET);
tipResistanceReadingSlot++;
}
void FinishMeasureTipResistance() {
// Otherwise we now have the 4 samples;
// _^_ order, 2 delta's, combine these
int32_t calculatedSkew = tipResistanceReadings[0] - tipResistanceReadings[2]; // If positive tip is cooling
calculatedSkew /= 2; // divide by two to get offset per time constant
int32_t reading = (((tipResistanceReadings[1] - tipResistanceReadings[0]) + calculatedSkew) // jump 1 - skew
+ // +
((tipResistanceReadings[1] - tipResistanceReadings[2]) + calculatedSkew) // jump 2 - skew
) //
/ 2; // Take average
// // As we are only detecting two resistances; we can split the difference for now
uint8_t newRes = 0;
if (reading > 1200) {
// return; // Change nothing as probably disconnected tip
tipResistanceReadingSlot = lastTipResistance = 0;
return;
} else if (reading < 800) {
newRes = 62;
} else {
newRes = 80;
}
lastTipResistance = newRes;
}
volatile bool tipMeasurementOccuring = true;
volatile TickType_t nextTipMeasurement = 100;
void performTipMeasurementStep() {
// Wait 200ms for settle time
if (xTaskGetTickCount() < (nextTipMeasurement)) {
return;
}
nextTipMeasurement = xTaskGetTickCount() + (TICKS_100MS * 5);
if (tipResistanceReadingSlot < numTipResistanceReadings) {
performTipResistanceSampleReading();
return;
}
// We are sensing the resistance
FinishMeasureTipResistance();
tipMeasurementOccuring = false;
}
#endif
uint8_t preStartChecks() {
#ifdef TIP_RESISTANCE_SENSE_Pin
performTipMeasurementStep();
if (preStartChecksDone() != 1) {
return 0;
}
#endif
#ifdef HAS_SPLIT_POWER_PATH
// We want to enable the power path that has the highest voltage
// Nominally one will be ~=0 and one will be high. Unless you jamb both in, then both _may_ be high, or device may be dead
{
uint16_t dc = getRawDCVin();
uint16_t pd = getRawPDVin();
if (dc > pd) {
HAL_GPIO_WritePin(DC_SELECT_GPIO_Port, DC_SELECT_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(PD_SELECT_GPIO_Port, PD_SELECT_Pin, GPIO_PIN_RESET);
} else {
HAL_GPIO_WritePin(PD_SELECT_GPIO_Port, PD_SELECT_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(DC_SELECT_GPIO_Port, DC_SELECT_Pin, GPIO_PIN_RESET);
}
}
#endif
#ifdef POW_PD
// If we are in the middle of negotiating PD, wait until timeout
// Before turning on the heater
if (!USBPowerDelivery::negotiationComplete()) {
return 0;
}
#endif
return 1;
}
uint64_t getDeviceID() {
//
return HAL_GetUIDw0() | ((uint64_t)HAL_GetUIDw1() << 32);
}
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
uint8_t preStartChecksDone() {
#ifdef TIP_RESISTANCE_SENSE_Pin
return (lastTipResistance == 0 || tipResistanceReadingSlot < numTipResistanceReadings || tipMeasurementOccuring) ? 0 : 1;
#else
return 1;
#endif
}
uint8_t preStartChecksDone() { return 1; }
uint8_t getTipResistanceX10() {
#ifdef TIP_RESISTANCE_SENSE_Pin
// Return tip resistance in x10 ohms
// We can measure this using the op-amp
return lastTipResistance;
#else
return TIP_RESISTANCE;
#endif
}
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipThermalMass() {
#ifdef TIP_RESISTANCE_SENSE_Pin
if (lastTipResistance >= 80) {
return TIP_THERMAL_MASS;
}
return 45;
#else
return TIP_THERMAL_MASS;
#endif
}
uint8_t getTipInertia() {
#ifdef TIP_RESISTANCE_SENSE_Pin
if (lastTipResistance >= 80) {
return TIP_THERMAL_MASS;
}
return 10;
#else
return TIP_THERMAL_MASS;
#endif
}

View File

@@ -123,7 +123,7 @@ extern uint32_t SystemCoreClock;
#define INCLUDE_vTaskDelete 0
#define INCLUDE_vTaskCleanUpResources 0
#define INCLUDE_vTaskSuspend 0
#define INCLUDE_vTaskDelayUntil 0
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1
#define INCLUDE_xTaskGetSchedulerState 1
#define INCLUDE_uxTaskGetStackHighWaterMark 1

View File

@@ -46,7 +46,7 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
}
bool getFUS302IRQLow() {
#if POW_PD
#ifdef POW_PD
// Return true if the IRQ line is still held low
return HAL_GPIO_ReadPin(INT_PD_GPIO_Port, INT_PD_Pin) == GPIO_PIN_RESET;
#else

View File

@@ -6,87 +6,145 @@
*/
#ifndef BSP_MINIWARE_PINS_H_
#define BSP_MINIWARE_PINS_H_
#include "configuration.h"
#define BSP_MINIWARE_PINS_H_
#include "configuration.h"
#ifdef MODEL_TS100
#ifdef MODEL_TS100
#define KEY_B_Pin GPIO_PIN_6
#define KEY_B_GPIO_Port GPIOA
#define TMP36_INPUT_Pin GPIO_PIN_7
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_7
#define TMP36_ADC2_CHANNEL ADC_CHANNEL_7
#define TIP_TEMP_Pin GPIO_PIN_0
#define TIP_TEMP_GPIO_Port GPIOB
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_8
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_8
#define VIN_Pin GPIO_PIN_1
#define VIN_GPIO_Port GPIOB
#define VIN_ADC1_CHANNEL ADC_CHANNEL_9
#define VIN_ADC2_CHANNEL ADC_CHANNEL_9
#define OLED_RESET_Pin GPIO_PIN_8
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_9
#define KEY_A_GPIO_Port GPIOA
#define INT_Orientation_Pin GPIO_PIN_3
#define INT_Orientation_GPIO_Port GPIOB
#define PWM_Out_Pin GPIO_PIN_4
#define PWM_Out_GPIO_Port GPIOB
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define PWM_Out_CCR
#define INT_Movement_Pin GPIO_PIN_5
#define INT_Movement_GPIO_Port GPIOB
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#endif
#define KEY_B_Pin GPIO_PIN_6
#define KEY_B_GPIO_Port GPIOA
#define TMP36_INPUT_Pin GPIO_PIN_7
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_7
#define TMP36_ADC2_CHANNEL ADC_CHANNEL_7
#define TIP_TEMP_Pin GPIO_PIN_0
#define TIP_TEMP_GPIO_Port GPIOB
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_8
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_8
#define VIN_Pin GPIO_PIN_1
#define VIN_GPIO_Port GPIOB
#define VIN_ADC1_CHANNEL ADC_CHANNEL_9
#define VIN_ADC2_CHANNEL ADC_CHANNEL_9
#define OLED_RESET_Pin GPIO_PIN_8
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_9
#define KEY_A_GPIO_Port GPIOA
#define INT_Orientation_Pin GPIO_PIN_3
#define INT_Orientation_GPIO_Port GPIOB
#define PWM_Out_Pin GPIO_PIN_4
#define PWM_Out_GPIO_Port GPIOB
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define TIP_CONTROL_TIMER TIM3
#define ADC_CONTROL_TIMER TIM2
#define ADC_CONTROL_TIMER_IRQ TIM2_IRQn
#define ADC_TRIGGER ADC_EXTERNALTRIGINJECCONV_T2_TRGO
#define INT_Movement_Pin GPIO_PIN_5
#define INT_Movement_GPIO_Port GPIOB
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#endif
#if defined(MODEL_TS80) + defined(MODEL_TS80P) > 0
// TS80 & TS80P pin map
#define KEY_B_Pin GPIO_PIN_0
#define KEY_B_GPIO_Port GPIOB
#define TMP36_INPUT_Pin GPIO_PIN_4
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
#define TMP36_ADC2_CHANNEL ADC_CHANNEL_4
#define TIP_TEMP_Pin GPIO_PIN_3
#define TIP_TEMP_GPIO_Port GPIOA
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
#ifdef MODEL_TS101
#define VIN_Pin GPIO_PIN_2
#define VIN_GPIO_Port GPIOA
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
#define OLED_RESET_Pin GPIO_PIN_15
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_1
#define KEY_A_GPIO_Port GPIOB
#define INT_Orientation_Pin GPIO_PIN_4
#define INT_Orientation_GPIO_Port GPIOB
#define PWM_Out_Pin GPIO_PIN_6
#define PWM_Out_GPIO_Port GPIOA
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define INT_Movement_Pin GPIO_PIN_5
#define INT_Movement_GPIO_Port GPIOB
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#define SCL2_Pin GPIO_PIN_5
#define SCL2_GPIO_Port GPIOA
#define SDA2_Pin GPIO_PIN_1
#define SDA2_GPIO_Port GPIOA
#define KEY_B_Pin GPIO_PIN_10
#define KEY_B_GPIO_Port GPIOA
#define TMP36_INPUT_Pin GPIO_PIN_4
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
#define TMP36_ADC2_CHANNEL ADC_CHANNEL_4
#define TIP_TEMP_Pin GPIO_PIN_3
#define TIP_TEMP_GPIO_Port GPIOA
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
#define VIN_Pin GPIO_PIN_2
#define VIN_GPIO_Port GPIOA
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
#define PD_VIN_Pin GPIO_PIN_6
#define PD_VIN_GPIO_Port GPIOA
#define PD_VIN_ADC1_CHANNEL ADC_CHANNEL_6
#define PD_VIN_ADC2_CHANNEL ADC_CHANNEL_6
#define OLED_RESET_Pin GPIO_PIN_7
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_8
#define KEY_A_GPIO_Port GPIOA
#define PWM_Out_Pin GPIO_PIN_0
#define PWM_Out_GPIO_Port GPIOA
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define TIP_CONTROL_TIMER TIM2
#define ADC_CONTROL_TIMER TIM4
#define ADC_CONTROL_TIMER_IRQ TIM4_IRQn
#define ADC_TRIGGER ADC_EXTERNALTRIGINJECCONV_T4_TRGO
#define SCL_Pin GPIO_PIN_0
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_1
#define SDA_GPIO_Port GPIOB
// PD controller
#define SCL2_Pin GPIO_PIN_6
#define SCL2_GPIO_Port GPIOB
#define SDA2_Pin GPIO_PIN_5
#define SDA2_GPIO_Port GPIOB
#define INT_PD_Pin GPIO_PIN_7
#define INT_PD_GPIO_Port GPIOB
// Selecting the DC source to route to theg
#define DC_SELECT_Pin GPIO_PIN_4
#define DC_SELECT_GPIO_Port GPIOB
#define PD_SELECT_Pin GPIO_PIN_15
#define PD_SELECT_GPIO_Port GPIOA
#endif
#define TIP_RESISTANCE_SENSE_Pin GPIO_PIN_1
#define TIP_RESISTANCE_SENSE_GPIO_Port GPIOA
#ifdef MODEL_TS80P
// TS80P pin map
#define INT_PD_Pin GPIO_PIN_9
#define INT_PD_GPIO_Port GPIOA
#endif
#endif
#if defined(MODEL_TS80) + defined(MODEL_TS80P) > 0
// TS80 & TS80P pin map
#define KEY_B_Pin GPIO_PIN_0
#define KEY_B_GPIO_Port GPIOB
#define TMP36_INPUT_Pin GPIO_PIN_4
#define TMP36_INPUT_GPIO_Port GPIOA
#define TMP36_ADC1_CHANNEL ADC_CHANNEL_4
#define TMP36_ADC2_CHANNEL ADC_CHANNEL_4
#define TIP_TEMP_Pin GPIO_PIN_3
#define TIP_TEMP_GPIO_Port GPIOA
#define TIP_TEMP_ADC1_CHANNEL ADC_CHANNEL_3
#define TIP_TEMP_ADC2_CHANNEL ADC_CHANNEL_3
#define VIN_Pin GPIO_PIN_2
#define VIN_GPIO_Port GPIOA
#define VIN_ADC1_CHANNEL ADC_CHANNEL_2
#define VIN_ADC2_CHANNEL ADC_CHANNEL_2
#define OLED_RESET_Pin GPIO_PIN_15
#define OLED_RESET_GPIO_Port GPIOA
#define KEY_A_Pin GPIO_PIN_1
#define KEY_A_GPIO_Port GPIOB
#define INT_Orientation_Pin GPIO_PIN_4
#define INT_Orientation_GPIO_Port GPIOB
#define PWM_Out_Pin GPIO_PIN_6
#define PWM_Out_GPIO_Port GPIOA
#define PWM_Out_CHANNEL TIM_CHANNEL_1
#define TIP_CONTROL_TIMER TIM3
#define ADC_CONTROL_TIMER TIM2
#define ADC_CONTROL_TIMER_IRQ TIM2_IRQn
#define ADC_TRIGGER ADC_EXTERNALTRIGINJECCONV_T2_TRGO
#define INT_Movement_Pin GPIO_PIN_5
#define INT_Movement_GPIO_Port GPIOB
#define SCL_Pin GPIO_PIN_6
#define SCL_GPIO_Port GPIOB
#define SDA_Pin GPIO_PIN_7
#define SDA_GPIO_Port GPIOB
#define SCL2_Pin GPIO_PIN_5
#define SCL2_GPIO_Port GPIOA
#define SDA2_Pin GPIO_PIN_1
#define SDA2_GPIO_Port GPIOA
#endif
#ifdef MODEL_TS80P
// TS80P pin map
#define INT_PD_Pin GPIO_PIN_9
#define INT_PD_GPIO_Port GPIOA
#endif
#endif /* BSP_MINIWARE_PINS_H_ */

View File

@@ -5,9 +5,9 @@
#include "Settings.h"
#include "USBPD.h"
#include "configuration.h"
#include "stm32f1xx_hal.h"
void power_check() {
#if POW_PD
#ifdef POW_PD
// Cant start QC until either PD works or fails
if (!USBPowerDelivery::negotiationComplete()) {
return;
@@ -25,7 +25,10 @@ bool getIsPoweredByDCIN() {
#if defined(MODEL_TS80) + defined(MODEL_TS80P) > 0
return false;
#endif
#ifdef MODEL_TS101
// TODO have to check what we are using
return HAL_GPIO_ReadPin(DC_SELECT_GPIO_Port, DC_SELECT_Pin) == GPIO_PIN_SET;
#endif
#ifdef MODEL_TS100
return true;
#endif

View File

@@ -18,8 +18,8 @@ DMA_HandleTypeDef hdma_i2c1_rx;
DMA_HandleTypeDef hdma_i2c1_tx;
IWDG_HandleTypeDef hiwdg;
TIM_HandleTypeDef htim2;
TIM_HandleTypeDef htim3;
TIM_HandleTypeDef htimADC;
TIM_HandleTypeDef htimTip;
#define ADC_FILTER_LEN 4
#define ADC_SAMPLES 16
uint16_t ADCReadings[ADC_SAMPLES]; // Used to store the adc readings for the handle cold junction temp
@@ -29,8 +29,8 @@ static void SystemClock_Config(void);
static void MX_ADC1_Init(void);
static void MX_I2C1_Init(void);
static void MX_IWDG_Init(void);
static void MX_TIM3_Init(void);
static void MX_TIM2_Init(void);
static void MX_TIP_CONTROL_TIMER_Init(void);
static void MX_ADC_CONTROL_TIMER_Init(void);
static void MX_DMA_Init(void);
static void MX_GPIO_Init(void);
static void MX_ADC2_Init(void);
@@ -45,11 +45,13 @@ void Setup_HAL() {
MX_GPIO_Init();
MX_DMA_Init();
#ifndef I2C_SOFT_BUS_1
MX_I2C1_Init();
#endif
MX_ADC1_Init();
MX_ADC2_Init();
MX_TIM3_Init();
MX_TIM2_Init();
MX_TIP_CONTROL_TIMER_Init();
MX_ADC_CONTROL_TIMER_Init();
MX_IWDG_Init();
HAL_ADC_Start_DMA(&hadc1, (uint32_t *)ADCReadings, (ADC_SAMPLES)); // start DMA of normal readings
HAL_ADCEx_InjectedStart(&hadc1); // enable injected readings
@@ -68,7 +70,41 @@ uint16_t getADCHandleTemp(uint8_t sample) {
return filter.average() >> 1;
}
#ifdef HAS_SPLIT_POWER_PATH
static history<uint16_t, ADC_FILTER_LEN> filteredDC = {{0}, 0, 0};
static history<uint16_t, ADC_FILTER_LEN> filteredPD = {{0}, 0, 0};
uint16_t getRawDCVin() { return filteredDC.average(); }
uint16_t getRawPDVin() { return filteredPD.average(); }
#endif
uint16_t getADCVin(uint8_t sample) {
#ifdef HAS_SPLIT_POWER_PATH
// In split power path operation, we need to read both inputs, and return the larger
if (sample) {
{
uint16_t latestADC = 0;
latestADC += hadc2.Instance->JDR1;
latestADC += hadc2.Instance->JDR2;
latestADC <<= 3;
filteredDC.update(latestADC);
}
{
uint16_t latestADC = 0;
latestADC += hadc2.Instance->JDR3;
latestADC += hadc2.Instance->JDR4;
latestADC <<= 3;
filteredPD.update(latestADC);
}
}
uint16_t dc = filteredDC.average();
uint16_t pd = filteredPD.average();
if (dc > pd) {
return dc;
}
return pd;
#else
static history<uint16_t, ADC_FILTER_LEN> filter = {{0}, 0, 0};
if (sample) {
uint16_t latestADC = 0;
@@ -77,10 +113,11 @@ uint16_t getADCVin(uint8_t sample) {
latestADC += hadc2.Instance->JDR2;
latestADC += hadc2.Instance->JDR3;
latestADC += hadc2.Instance->JDR4;
latestADC <<= 3;
latestADC <<= 1;
filter.update(latestADC);
}
return filter.average();
#endif
}
// Returns either average or instant value. When sample is set the samples from the injected ADC are copied to the filter and then the raw reading is returned
uint16_t getTipRawTemp(uint8_t sample) {
@@ -178,7 +215,7 @@ static void MX_ADC1_Init(void) {
sConfigInjected.InjectedRank = 1;
sConfigInjected.InjectedNbrOfConversion = 4;
sConfigInjected.InjectedSamplingTime = ADC_SAMPLETIME_28CYCLES_5;
sConfigInjected.ExternalTrigInjecConv = ADC_EXTERNALTRIGINJECCONV_T2_TRGO;
sConfigInjected.ExternalTrigInjecConv = ADC_TRIGGER;
sConfigInjected.AutoInjectedConv = DISABLE;
sConfigInjected.InjectedDiscontinuousConvMode = DISABLE;
sConfigInjected.InjectedOffset = 0;
@@ -203,7 +240,7 @@ static void MX_ADC2_Init(void) {
/**Common config
*/
hadc2.Instance = ADC2;
hadc2.Init.ScanConvMode = ADC_SCAN_DISABLE;
hadc2.Init.ScanConvMode = ADC_SCAN_ENABLE;
hadc2.Init.ContinuousConvMode = ENABLE;
hadc2.Init.DiscontinuousConvMode = DISABLE;
hadc2.Init.ExternalTrigConv = ADC_SOFTWARE_START;
@@ -217,13 +254,18 @@ static void MX_ADC2_Init(void) {
sConfigInjected.InjectedRank = ADC_INJECTED_RANK_1;
sConfigInjected.InjectedNbrOfConversion = 4;
sConfigInjected.InjectedSamplingTime = ADC_SAMPLETIME_28CYCLES_5;
sConfigInjected.ExternalTrigInjecConv = ADC_EXTERNALTRIGINJECCONV_T2_TRGO;
sConfigInjected.ExternalTrigInjecConv = ADC_TRIGGER;
sConfigInjected.AutoInjectedConv = DISABLE;
sConfigInjected.InjectedDiscontinuousConvMode = DISABLE;
sConfigInjected.InjectedOffset = 0;
HAL_ADCEx_InjectedConfigChannel(&hadc2, &sConfigInjected);
sConfigInjected.InjectedRank = ADC_INJECTED_RANK_2;
HAL_ADCEx_InjectedConfigChannel(&hadc2, &sConfigInjected);
#ifdef HAS_SPLIT_POWER_PATH
sConfigInjected.InjectedChannel = PD_VIN_ADC2_CHANNEL;
#endif
sConfigInjected.InjectedRank = ADC_INJECTED_RANK_3;
HAL_ADCEx_InjectedConfigChannel(&hadc2, &sConfigInjected);
sConfigInjected.InjectedRank = ADC_INJECTED_RANK_4;
@@ -259,35 +301,43 @@ static void MX_IWDG_Init(void) {
}
/* TIM3 init function */
static void MX_TIM3_Init(void) {
static void MX_TIP_CONTROL_TIMER_Init(void) {
TIM_ClockConfigTypeDef sClockSourceConfig;
TIM_MasterConfigTypeDef sMasterConfig;
TIM_OC_InitTypeDef sConfigOC;
htim3.Instance = TIM3;
htim3.Init.Prescaler = 8;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.Period = 100; // 5 Khz PWM freq
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV4; // 4mhz before div
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE; // Preload the ARR register (though we dont use this)
HAL_TIM_Base_Init(&htim3);
htimTip.Instance = TIP_CONTROL_TIMER;
#ifdef TIP_HAS_DIRECT_PWM
htimTip.Init.Prescaler = 100;
#else
htimTip.Init.Prescaler = 3;
#endif
htimTip.Init.CounterMode = TIM_COUNTERMODE_UP;
htimTip.Init.Period = 255; // 5 Khz PWM freq
htimTip.Init.ClockDivision = TIM_CLOCKDIVISION_DIV4; // 4mhz before div
htimTip.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE; // Preload the ARR register (though we dont use this)
HAL_TIM_Base_Init(&htimTip);
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig);
HAL_TIM_ConfigClockSource(&htimTip, &sClockSourceConfig);
HAL_TIM_PWM_Init(&htim3);
HAL_TIM_PWM_Init(&htimTip);
HAL_TIM_OC_Init(&htim3);
HAL_TIM_OC_Init(&htimTip);
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig);
HAL_TIMEx_MasterConfigSynchronization(&htimTip, &sMasterConfig);
sConfigOC.OCMode = TIM_OCMODE_PWM1;
sConfigOC.Pulse = 50; // 50% duty cycle, that is AC coupled through the cap
sConfigOC.OCMode = TIM_OCMODE_PWM1;
#ifdef TIP_HAS_DIRECT_PWM
sConfigOC.Pulse = 0; // PWM is direct to tip
#else
sConfigOC.Pulse = 127; // 50% duty cycle, that is AC coupled through the cap to provide an on signal (This does not do tip at 50% duty cycle)
#endif
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_ENABLE;
HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, PWM_Out_CHANNEL);
HAL_TIM_PWM_ConfigChannel(&htimTip, &sConfigOC, PWM_Out_CHANNEL);
GPIO_InitTypeDef GPIO_InitStruct;
@@ -302,12 +352,12 @@ static void MX_TIM3_Init(void) {
// Remap TIM3_CH1 to be on PB4
__HAL_AFIO_REMAP_TIM3_PARTIAL();
#else
// No re-map required
// No re-map required
#endif
HAL_TIM_PWM_Start(&htim3, PWM_Out_CHANNEL);
HAL_TIM_PWM_Start(&htimTip, PWM_Out_CHANNEL);
}
/* TIM3 init function */
static void MX_TIM2_Init(void) {
static void MX_ADC_CONTROL_TIMER_Init(void) {
/*
* We use the channel 1 to trigger the ADC at end of PWM period
* And we use the channel 4 as the PWM modulation source using Interrupts
@@ -318,30 +368,30 @@ static void MX_TIM2_Init(void) {
// Timer 2 is fairly slow as its being used to run the PWM and trigger the ADC
// in the PWM off time.
htim2.Instance = TIM2;
htimADC.Instance = ADC_CONTROL_TIMER;
// dummy value, will be reconfigured by BSPInit()
htim2.Init.Prescaler = 2000; // 2 MHz timer clock/2000 = 1 kHz tick rate
htimADC.Init.Prescaler = 2000; // 2 MHz timer clock/2000 = 1 kHz tick rate
// pwm out is 10k from tim3, we want to run our PWM at around 10hz or slower on the output stage
// These values give a rate of around 3.5 Hz for "fast" mode and 1.84 Hz for "slow"
htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
htimADC.Init.CounterMode = TIM_COUNTERMODE_UP;
// dummy value, will be reconfigured by BSPInit()
htim2.Init.Period = powerPWM + 14 * 2;
htimADC.Init.Period = powerPWM + 14 * 2;
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV4; // 8 MHz (x2 APB1) before divide
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
htim2.Init.RepetitionCounter = 0;
HAL_TIM_Base_Init(&htim2);
htimADC.Init.ClockDivision = TIM_CLOCKDIVISION_DIV4; // 8 MHz (x2 APB1) before divide
htimADC.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
htimADC.Init.RepetitionCounter = 0;
HAL_TIM_Base_Init(&htimADC);
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig);
HAL_TIM_ConfigClockSource(&htimADC, &sClockSourceConfig);
HAL_TIM_PWM_Init(&htim2);
HAL_TIM_OC_Init(&htim2);
HAL_TIM_PWM_Init(&htimADC);
HAL_TIM_OC_Init(&htimADC);
sMasterConfig.MasterOutputTrigger = TIM_TRGO_OC1;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig);
HAL_TIMEx_MasterConfigSynchronization(&htimADC, &sMasterConfig);
sConfigOC.OCMode = TIM_OCMODE_PWM1;
// dummy value, will be reconfigured by BSPInit() in the BSP.cpp
@@ -354,15 +404,15 @@ static void MX_TIM2_Init(void) {
* */
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_ENABLE;
HAL_TIM_PWM_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_1);
HAL_TIM_PWM_ConfigChannel(&htimADC, &sConfigOC, TIM_CHANNEL_1);
sConfigOC.Pulse = 0; // default to entirely off
HAL_TIM_OC_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_4);
HAL_TIM_OC_ConfigChannel(&htimADC, &sConfigOC, TIM_CHANNEL_4);
HAL_TIM_Base_Start_IT(&htim2);
HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_1);
HAL_TIM_PWM_Start_IT(&htim2, TIM_CHANNEL_4);
HAL_NVIC_SetPriority(TIM2_IRQn, 15, 0);
HAL_NVIC_EnableIRQ(TIM2_IRQn);
HAL_TIM_Base_Start_IT(&htimADC);
HAL_TIM_PWM_Start(&htimADC, TIM_CHANNEL_1);
HAL_TIM_PWM_Start_IT(&htimADC, TIM_CHANNEL_4);
HAL_NVIC_SetPriority(ADC_CONTROL_TIMER_IRQ, 15, 0);
HAL_NVIC_EnableIRQ(ADC_CONTROL_TIMER_IRQ);
}
/**
@@ -446,8 +496,8 @@ static void MX_GPIO_Init(void) {
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
#endif
#else
/* TS80 */
/* Leave USB lines open circuit*/
/* TS80 */
/* Leave USB lines open circuit*/
#endif
@@ -462,12 +512,45 @@ static void MX_GPIO_Init(void) {
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(OLED_RESET_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(OLED_RESET_GPIO_Port, OLED_RESET_Pin, GPIO_PIN_RESET);
// Pull down LCD reset
HAL_GPIO_WritePin(OLED_RESET_GPIO_Port, OLED_RESET_Pin, GPIO_PIN_RESET);
HAL_Delay(30);
HAL_GPIO_WritePin(OLED_RESET_GPIO_Port, OLED_RESET_Pin, GPIO_PIN_SET);
#ifdef DC_SELECT_Pin
GPIO_InitStruct.Pin = DC_SELECT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(DC_SELECT_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(DC_SELECT_GPIO_Port, DC_SELECT_Pin, GPIO_PIN_RESET);
#endif
#ifdef PD_SELECT_Pin
GPIO_InitStruct.Pin = PD_SELECT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(PD_SELECT_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(PD_SELECT_GPIO_Port, PD_SELECT_Pin, GPIO_PIN_RESET);
#endif
#ifdef TIP_RESISTANCE_SENSE_Pin
GPIO_InitStruct.Pin = TIP_RESISTANCE_SENSE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(TIP_RESISTANCE_SENSE_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(TIP_RESISTANCE_SENSE_GPIO_Port, TIP_RESISTANCE_SENSE_Pin, GPIO_PIN_RESET);
#endif
#ifdef INT_PD_Pin
GPIO_InitStruct.Pin = INT_PD_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_PULLUP;
HAL_GPIO_Init(INT_PD_GPIO_Port, &GPIO_InitStruct);
#endif
}
#ifdef USE_FULL_ASSERT
void assert_failed(uint8_t *file, uint32_t line) { asm("bkpt"); }

View File

@@ -7,7 +7,7 @@
#ifndef SETUP_H_
#define SETUP_H_
#include "configuration.h"
#ifdef __cplusplus
extern "C" {
#endif
@@ -24,13 +24,18 @@ extern I2C_HandleTypeDef hi2c1;
extern IWDG_HandleTypeDef hiwdg;
extern TIM_HandleTypeDef htim2;
extern TIM_HandleTypeDef htim3;
extern TIM_HandleTypeDef htimADC;
extern TIM_HandleTypeDef htimTip;
void Setup_HAL();
uint16_t getADCHandleTemp(uint8_t sample);
uint16_t getADCVin(uint8_t sample);
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); // Since the hal header file does not define this one
#ifdef HAS_SPLIT_POWER_PATH
uint16_t getRawDCVin();
uint16_t getRawPDVin();
#endif
#ifdef __cplusplus
}
#endif

View File

@@ -10,22 +10,34 @@
#include "BSP.h"
#include "configuration.h"
#include "stm32f1xx_hal.h"
#ifdef I2C_SOFT
#ifdef I2C_SOFT_BUS_2
#define SOFT_SCL2_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
#define SOFT_SCL2_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA2_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
#define SOFT_SDA2_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA2_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port, SDA2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL2_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port, SCL2_Pin) == GPIO_PIN_SET ? 1 : 0)
#endif
#ifdef I2C_SOFT_BUS_1
#define SOFT_SCL1_HIGH() HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET)
#define SOFT_SCL1_LOW() HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_RESET)
#define SOFT_SDA1_HIGH() HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET)
#define SOFT_SDA1_LOW() HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_RESET)
#define SOFT_SDA1_READ() (HAL_GPIO_ReadPin(SDA_GPIO_Port, SDA_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL1_READ() (HAL_GPIO_ReadPin(SCL_GPIO_Port, SCL_Pin) == GPIO_PIN_SET ? 1 : 0)
#endif
#define SOFT_SCL_HIGH() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_SET)
#define SOFT_SCL_LOW() HAL_GPIO_WritePin(SCL2_GPIO_Port, SCL2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_HIGH() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_SET)
#define SOFT_SDA_LOW() HAL_GPIO_WritePin(SDA2_GPIO_Port, SDA2_Pin, GPIO_PIN_RESET)
#define SOFT_SDA_READ() (HAL_GPIO_ReadPin(SDA2_GPIO_Port, SDA2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_SCL_READ() (HAL_GPIO_ReadPin(SCL2_GPIO_Port, SCL2_Pin) == GPIO_PIN_SET ? 1 : 0)
#define SOFT_I2C_DELAY() \
{ \
for (int xx = 0; xx < 15; xx++) { \
for (int xx = 0; xx < 10; xx++) { \
asm("nop"); \
} \
}
#endif
// 40 ~= 100kHz; 15 gives around 250kHz or so which is fast _and_ stable
#endif /* BSP_MINIWARE_SOFTWARE_I2C_H_ */

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
/**
* Configuration.h
* Define here your default pre settings for TS80(P) or TS100
* Define here your default pre settings for TS80(P) or TS10(0/1)
*
*/
@@ -59,6 +59,15 @@
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
/**
* OLED Brightness
*
*/
#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable
#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable
#define BRIGHTNESS_STEP 25 // OLED brightness increment
#define DEFAULT_BRIGHTNESS 25 // default OLED brightness
/**
* Temp change settings
*/
@@ -77,7 +86,7 @@
#define POWER_PULSE_DEFAULT 0
#else
#define POWER_PULSE_DEFAULT 5
#endif
#endif /* TS100 */
#define POWER_PULSE_WAIT_DEFAULT 4 // Default rate of the power pulse: 4*2500 = 10000 ms = 10 s
#define POWER_PULSE_DURATION_DEFAULT 1 // Default duration of the power pulse: 1*250 = 250 ms
@@ -117,13 +126,15 @@
#define ADC_MAX_READING (4096 * 8) // Maximum reading of the adc
#define ADC_VDD_MV 3300 // ADC max reading millivolts
#define POW_PD_EXT 0
// Deriving the Voltage div:
// Vin_max = (3.3*(r1+r2))/(r2)
// vdiv = (32768*4)/(vin_max*10)
#if defined(MODEL_TS100) + defined(MODEL_TS80) + defined(MODEL_TS80P) > 1
#if defined(MODEL_TS100) + defined(MODEL_TS80) + defined(MODEL_TS80P) + defined(MODEL_TS101) > 1
#error "Multiple models defined!"
#elif defined(MODEL_TS100) + defined(MODEL_TS80) + defined(MODEL_TS80P) == 0
#elif defined(MODEL_TS100) + defined(MODEL_TS80) + defined(MODEL_TS80P) + defined(MODEL_TS101) == 0
#error "No model defined!"
#endif
#define NEEDS_VBUS_PROBE 0
@@ -141,7 +152,7 @@
#define MAX_TEMP_C 450 // Max soldering temp selectable °C
#define MAX_TEMP_F 850 // Max soldering temp selectable °F
#define MIN_TEMP_C 10 // Min soldering temp selectable °C
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_TEMP_F 50 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
@@ -161,9 +172,42 @@
#define TIP_RESISTANCE 75 // x10 ohms, 7.5 typical for ts100 tips
#define POW_DC
#define POW_PD 0
#define TEMP_TMP36
#endif
#endif /* TS100 */
#ifdef MODEL_TS101
#define VOLTAGE_DIV 700 // 700 - Default divider from schematic
#define CALIBRATION_OFFSET 900 // 900 - Default adc offset in uV
#define PID_POWER_LIMIT 100 // Sets the max pwm power limit
#define POWER_LIMIT 0 // 0 watts default limit
#define MAX_POWER_LIMIT 100
#define POWER_LIMIT_STEPS 5
#define OP_AMP_GAIN_STAGE OP_AMP_GAIN_STAGE_TS100
#define TEMP_uV_LOOKUP_HAKKO
#define HARDWARE_MAX_WATTAGE_X10 1000
#define TIP_THERMAL_MASS 65 // X10 watts to raise 1 deg C in 1 second
#define TIP_RESISTANCE 75 // x10 ohms, 7.5 typical for ts100 tips
#define TIP_HAS_DIRECT_PWM 1
#define POW_DC 1
#define POW_PD 1
#define I2C_SOFT_BUS_2 1
#define I2C_SOFT_BUS_1 1
#define OLED_I2CBB1 1
#define USB_PD_I2CBB2 1
#define USB_PD_VMAX 28 // Device supposedly can do 28V; looks like vmax is 33 ish
#define OLED_128x32 1
#define OLED_FLIP 1
#define HAS_SPLIT_POWER_PATH 1
#define TEMP_NTC 1
#define ACCEL_I2CBB1 1
#define POW_EPR 1
#define HAS_POWER_DEBUG_MENU
#define DEBUG_POWER_MENU_BUTTON_B
#endif /* TS101 */
#if defined(MODEL_TS80) + defined(MODEL_TS80P) > 0
#define MAX_POWER_LIMIT 40
@@ -177,35 +221,42 @@
#define LIS_ORI_FLIP
#define OLED_FLIP
#endif
#endif /* TS80(P) */
#ifdef MODEL_TS80
#define VOLTAGE_DIV 780 // Default divider from schematic
#define CALIBRATION_OFFSET 900 // the adc offset in uV
#define PID_POWER_LIMIT 24 // Sets the max pwm power limit
#define POWER_LIMIT 24 // 24 watts default power limit
#define PID_POWER_LIMIT 35 // Sets the max pwm power limit
#define POWER_LIMIT 32 // 24 watts default power limit
#define HARDWARE_MAX_WATTAGE_X10 180
#define HARDWARE_MAX_WATTAGE_X10 320
#define POW_QC
#define POW_PD 0
#define TEMP_TMP36
#endif
#endif /* TS80 */
#ifdef MODEL_TS80P
#define VOLTAGE_DIV 650 // Default for TS80P with slightly different resistors
#define CALIBRATION_OFFSET 1500 // the adc offset in uV
#define PID_POWER_LIMIT 35 // Sets the max pwm power limit
#define POWER_LIMIT 30 // 30 watts default power limit
#define POWER_LIMIT 32 // 30 watts default power limit
#define HARDWARE_MAX_WATTAGE_X10 300
#define HARDWARE_MAX_WATTAGE_X10 320
#define POW_PD 1
#define POW_QC 1
#define TEMP_NTC
#define I2C_SOFT
#define I2C_SOFT_BUS_2 1
#define SC7_ORI_FLIP
#endif
#endif
#endif /* TS80P */
#define FLASH_LOGOADDR (0x08000000 + (62 * 1024))
#ifdef MODEL_TS101
#define FLASH_LOGOADDR (0x08000000 + (126 * 1024))
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
#else
#define FLASH_LOGOADDR (0x08000000 + (62 * 1024))
#define SETTINGS_START_PAGE (0x08000000 + (63 * 1024))
#endif /* TS101 */
#endif /* CONFIGURATION_H_ */

View File

@@ -10,7 +10,6 @@
#include "stm32f1xx_hal.h"
#include "string.h"
#define SETTINGS_START_PAGE (0x08000000 + (63 * 1024))
void flash_save_buffer(const uint8_t *buffer, const uint16_t length) {
FLASH_EraseInitTypeDef pEraseInit;
@@ -32,10 +31,9 @@ void flash_save_buffer(const uint8_t *buffer, const uint16_t length) {
HAL_FLASH_Unlock();
for (uint16_t i = 0; i < (length / 2); i++) {
resetWatchdog();
HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD, SETTINGS_START_PAGE+ (i*sizeof(uint16_t)), data[i]);
HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD, SETTINGS_START_PAGE + (i * sizeof(uint16_t)), data[i]);
}
HAL_FLASH_Lock();
}
void flash_read_buffer(uint8_t *buffer, const uint16_t length) { memcpy(buffer, (uint8_t*)SETTINGS_START_PAGE, length); }
void flash_read_buffer(uint8_t *buffer, const uint16_t length) { memcpy(buffer, (uint8_t *)SETTINGS_START_PAGE, length); }

View File

@@ -1,12 +1,12 @@
#include "configuration.h"
#if POW_PD
#ifdef POW_PD
#include "BSP.h"
#include "I2CBB.hpp"
#include "I2CBB2.hpp"
#include "Setup.h"
bool fusb_read_buf(const uint8_t deviceAddr, const uint8_t registerAdd, const uint8_t size, uint8_t *buf) { return I2CBB::Mem_Read(deviceAddr, registerAdd, buf, size); }
bool fusb_read_buf(const uint8_t deviceAddr, const uint8_t registerAdd, const uint8_t size, uint8_t *buf) { return I2CBB2::Mem_Read(deviceAddr, registerAdd, buf, size); }
bool fusb_write_buf(const uint8_t deviceAddr, const uint8_t registerAdd, const uint8_t size, uint8_t *buf) { return I2CBB::Mem_Write(deviceAddr, registerAdd, buf, size); }
bool fusb_write_buf(const uint8_t deviceAddr, const uint8_t registerAdd, const uint8_t size, uint8_t *buf) { return I2CBB2::Mem_Write(deviceAddr, registerAdd, buf, size); }
void setupFUSBIRQ() {
GPIO_InitTypeDef GPIO_InitStruct;

View File

@@ -6,20 +6,27 @@
*/
#include "BSP.h"
#include "I2CBB.hpp"
#include "I2CBB1.hpp"
#include "I2CBB2.hpp"
#include "Pins.h"
#include "Setup.h"
#include "configuration.h"
#include <I2C_Wrapper.hpp>
void preRToSInit() {
/* Reset of all peripherals, Initializes the Flash interface and the Systick.
*/
HAL_Init();
Setup_HAL(); // Setup all the HAL objects
BSPInit();
#ifdef I2C_SOFT
I2CBB::init();
#ifdef I2C_SOFT_BUS_2
I2CBB2::init();
#endif
#ifdef I2C_SOFT_BUS_1
I2CBB1::init();
#endif
/* Init the IPC objects */
FRToSI2C::FRToSInit();
}

View File

@@ -58,14 +58,23 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc) {
*/
GPIO_InitStruct.Pin = TIP_TEMP_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(TIP_TEMP_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = TMP36_INPUT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
HAL_GPIO_Init(TMP36_INPUT_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = VIN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
HAL_GPIO_Init(VIN_GPIO_Port, &GPIO_InitStruct);
#ifdef PD_VIN_Pin
GPIO_InitStruct.Pin = PD_VIN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
HAL_GPIO_Init(PD_VIN_GPIO_Port, &GPIO_InitStruct);
#endif
/* ADC2 interrupt Init */
HAL_NVIC_SetPriority(ADC1_2_IRQn, 15, 0);
HAL_NVIC_EnableIRQ(ADC1_2_IRQn);
@@ -83,7 +92,7 @@ void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c) {
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
/* Peripheral clock enable */
__HAL_RCC_I2C1_CLK_ENABLE();
@@ -128,5 +137,8 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim_base) {
} else if (htim_base->Instance == TIM2) {
/* Peripheral clock enable */
__HAL_RCC_TIM2_CLK_ENABLE();
} else if (htim_base->Instance == TIM4) {
/* Peripheral clock enable */
__HAL_RCC_TIM4_CLK_ENABLE();
}
}

View File

@@ -1,5 +1,6 @@
// This is the stock standard STM interrupt file full of handlers
#include "stm32f1xx_it.h"
#include "Pins.h"
#include "Setup.h"
#include "cmsis_os.h"
#include "stm32f1xx.h"
@@ -11,7 +12,6 @@ extern TIM_HandleTypeDef htim1; // used for the systick
/* Cortex-M3 Processor Interruption and Exception Handlers */
/******************************************************************************/
// Systick is used by FreeRTOS tick
void SysTick_Handler(void) { osSystickHandler(); }
@@ -29,11 +29,33 @@ void ADC1_2_IRQHandler(void) { HAL_ADC_IRQHandler(&hadc1); }
// Timer 1 has overflowed, used for HAL ticks
void TIM1_UP_IRQHandler(void) { HAL_TIM_IRQHandler(&htim1); }
// Timer 3 is used for the PWM output to the tip
void TIM3_IRQHandler(void) { HAL_TIM_IRQHandler(&htim3); }
void TIM3_IRQHandler(void) {
TIM_HandleTypeDef *handle = &htimADC;
if (htimTip.Instance == TIM3) {
handle = &htimTip;
}
HAL_TIM_IRQHandler(handle);
}
// Timer 2 is used for co-ordination of PWM & ADC
void TIM2_IRQHandler(void) { HAL_TIM_IRQHandler(&htim2); }
void TIM2_IRQHandler(void) {
TIM_HandleTypeDef *handle = &htimADC;
if (htimTip.Instance == TIM2) {
handle = &htimTip;
}
HAL_TIM_IRQHandler(handle);
}
// Timer 2 is used for co-ordination of PWM & ADC
void TIM4_IRQHandler(void) {
TIM_HandleTypeDef *handle = &htimADC;
if (htimTip.Instance == TIM4) {
handle = &htimTip;
}
HAL_TIM_IRQHandler(handle);
}
void I2C1_EV_IRQHandler(void) { HAL_I2C_EV_IRQHandler(&hi2c1); }
void I2C1_ER_IRQHandler(void) { HAL_I2C_ER_IRQHandler(&hi2c1); }
@@ -41,4 +63,9 @@ void I2C1_ER_IRQHandler(void) { HAL_I2C_ER_IRQHandler(&hi2c1); }
void DMA1_Channel6_IRQHandler(void) { HAL_DMA_IRQHandler(&hdma_i2c1_tx); }
void DMA1_Channel7_IRQHandler(void) { HAL_DMA_IRQHandler(&hdma_i2c1_rx); }
void EXTI9_5_IRQHandler(void) { HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_9); }
void EXTI9_5_IRQHandler(void) {
#ifdef INT_PD_Pin
HAL_GPIO_EXTI_IRQHandler(INT_PD_Pin);
#endif
}

View File

@@ -12,12 +12,8 @@
#if defined(STM32F100xE) || defined(STM32F101xE) || defined(STM32F101xG) || defined(STM32F103xE) || defined(STM32F103xG)
/* #define DATA_IN_ExtSRAM */
#endif /* STM32F100xE || STM32F101xE || STM32F101xG || STM32F103xE || STM32F103xG */
#ifndef VECT_TAB_OFFSET
#define VECT_TAB_OFFSET \
0x00004000U /*!< Vector Table base offset field. \
This value must be a multiple of 0x200. */
// We offset this by 0x4000 to because of the bootloader
#error VECT_TAB_OFFSET
#endif
/*******************************************************************************

View File

@@ -87,6 +87,7 @@ bool isTipDisconnected() {
}
void setStatusLED(const enum StatusLED state) {}
void setBuzzer(bool on) {}
uint8_t preStartChecks() { return 1; }
uint64_t getDeviceID() { return dbg_id_get(); }
@@ -95,4 +96,5 @@ uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
uint8_t preStartChecksDone() { return 1; }
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipInertia() { return TIP_THERMAL_MASS; }

View File

@@ -93,7 +93,7 @@ void setTipPWM(const uint8_t pulse, const bool shouldUseFastModePWM) {
extern osThreadId POWTaskHandle;
void EXTI5_9_IRQHandler(void) {
#if POW_PD
#ifdef POW_PD
if (RESET != exti_interrupt_flag_get(EXTI_5)) {
exti_interrupt_flag_clear(EXTI_5);

View File

@@ -7,7 +7,7 @@
#include "configuration.h"
void power_check() {
#if POW_PD
#ifdef POW_PD
// Cant start QC until either PD works or fails
if (!USBPowerDelivery::negotiationComplete()) {
return;
@@ -22,7 +22,7 @@ void power_check() {
}
bool getIsPoweredByDCIN() {
#if POW_PD
#ifdef POW_PD
if (!USBPowerDelivery::negotiationComplete()) {
return false; // We are assuming not dc while negotiating
}

View File

@@ -59,6 +59,15 @@
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
/**
* OLED Brightness
*
*/
#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable
#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable
#define BRIGHTNESS_STEP 25 // OLED brightness increment
#define DEFAULT_BRIGHTNESS 25 // default OLED brightness
/**
* Temp change settings
*/
@@ -77,7 +86,7 @@
#define POWER_PULSE_DEFAULT 0
#else
#define POWER_PULSE_DEFAULT 5
#endif
#endif /* Pinecil */
#define POWER_PULSE_WAIT_DEFAULT 4 // Default rate of the power pulse: 4*2500 = 10000 ms = 10 s
#define POWER_PULSE_DURATION_DEFAULT 1 // Default duration of the power pulse: 1*250 = 250 ms
@@ -132,11 +141,12 @@
#define MAX_TEMP_C 450 // Max soldering temp selectable °C
#define MAX_TEMP_F 850 // Max soldering temp selectable °F
#define MIN_TEMP_C 10 // Min soldering temp selectable °C
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_TEMP_F 50 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
#define POW_PD 1
#define POW_PD_EXT 0
#define POW_QC 1
#define POW_DC 1
#define POW_QC_20V 1
@@ -153,9 +163,12 @@
#define HARDWARE_MAX_WATTAGE_X10 750
#define TIP_THERMAL_MASS 65 // X10 watts to raise 1 deg C in 1 second
#define TIP_RESISTANCE 75 // x10 ohms, 7.5 typical for Pinecil tips
#endif
#endif
#define CANT_DIRECT_READ_SETTINGS
#endif /* Pinecil */
#define FLASH_LOGOADDR (0x08000000 + (126 * 1024))
#define FLASH_LOGOADDR (0x08000000 + (126 * 1024))
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
#define HAS_POWER_DEBUG_MENU
#endif /* CONFIGURATION_H_ */

View File

@@ -10,7 +10,7 @@
#include "gd32vf103_libopt.h"
#include "string.h"
#define FMC_PAGE_SIZE ((uint16_t)0x400U)
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
void flash_save_buffer(const uint8_t *buffer, const uint16_t length) {
/* unlock the flash program/erase controller */

View File

@@ -1,5 +1,5 @@
#include "configuration.h"
#if POW_PD
#ifdef POW_PD
#include "BSP.h"
#include "I2C_Wrapper.hpp"
#include "Setup.h"

View File

@@ -21,7 +21,7 @@ const uint8_t tempMeasureTicks = 25;
uint16_t totalPWM = 255; // Total length of the cycle's ticks
void resetWatchdog() {
//#TODO
// #TODO
}
#ifdef TEMP_NTC
@@ -125,9 +125,7 @@ uint8_t getButtonB() {
return val;
}
void reboot() {
hal_system_reset();
}
void reboot() { hal_system_reset(); }
void delay_ms(uint16_t count) {
// delay_1ms(count);
@@ -148,6 +146,7 @@ bool isTipDisconnected() {
void setStatusLED(const enum StatusLED state) {
// Dont have one
}
void setBuzzer(bool on) {}
uint8_t lastTipResistance = 0; // default to unknown
const uint8_t numTipResistanceReadings = 3;
@@ -163,7 +162,13 @@ uint8_t getTipThermalMass() {
if (lastTipResistance >= 80) {
return TIP_THERMAL_MASS;
}
return (TIP_THERMAL_MASS * 25) / 10;
return 45;
}
uint8_t getTipInertia() {
if (lastTipResistance >= 80) {
return TIP_THERMAL_MASS;
}
return 10;
}
// We want to calculate lastTipResistance
// If tip is connected, and the tip is cold and the tip is not being heated

View File

@@ -17,15 +17,18 @@ extern "C" {
#include "bl702_pwm.h"
#include "bl702_timer.h"
}
void start_PWM_output(void);
#define ADC_Filter_Smooth 4
history<uint16_t, ADC_Filter_Smooth> ADC_Vin;
history<uint16_t, ADC_Filter_Smooth> ADC_Temp;
history<uint16_t, ADC_Filter_Smooth> ADC_Tip;
volatile uint8_t ADCBurstCounter = 0;
void adc_fifo_irq(void) {
if (ADC_GetIntStatus(ADC_INT_FIFO_READY) == SET) {
// Read out all entries in the fifo
while (ADC_Get_FIFO_Count()) {
ADCBurstCounter++;
volatile uint32_t reading = ADC_Read_FIFO();
// As per manual, 26 bit reading; lowest 16 are the ADC
uint16_t sample = reading & 0xFFFF;
@@ -46,12 +49,17 @@ void adc_fifo_irq(void) {
}
}
// unblock the PID controller thread
if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
if (pidTaskNotification) {
vTaskNotifyGiveFromISR(pidTaskNotification, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
if (ADCBurstCounter >= 8) {
ADCBurstCounter = 0;
start_PWM_output();
// unblock the PID controller thread
if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
if (pidTaskNotification) {
vTaskNotifyGiveFromISR(pidTaskNotification, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}
}
}
}
@@ -66,12 +74,8 @@ volatile uint16_t PWMSafetyTimer = 0;
volatile uint8_t pendingPWM = 0;
volatile bool lastPeriodWasFast = false;
// Timer 0 is used to co-ordinate the ADC and the output PWM
void timer0_comp0_callback(void) { ADC_Start(); }
void timer0_comp1_callback(void) { PWM_Channel_Disable(PWM_Channel); }
void timer0_comp2_callback(void) {
void start_PWM_output(void) {
// This occurs at timer rollover, so if we want to turn on the output PWM; we do so
if (PWMSafetyTimer) {
PWMSafetyTimer--;
if (lastPeriodWasFast != fastPWM) {
@@ -93,8 +97,16 @@ void timer0_comp2_callback(void) {
} else {
PWM_Channel_Disable(PWM_Channel);
}
TIMER_Enable(TIMER_CH0);
}
// Timer 0 is used to co-ordinate the ADC and the output PWM
void timer0_comp0_callback(void) {
TIMER_Disable(TIMER_CH0);
ADC_Start();
}
void timer0_comp1_callback(void) { PWM_Channel_Disable(PWM_Channel); } // Trigged at end of output cycle; turn off the tip PWM
void switchToFastPWM(void) {
fastPWM = true;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
@@ -139,7 +151,7 @@ extern osThreadId POWTaskHandle;
void GPIO_IRQHandler(void) {
if (SET == GLB_Get_GPIO_IntStatus(FUSB302_IRQ_GLB_Pin)) {
GLB_GPIO_IntClear(FUSB302_IRQ_GLB_Pin, SET);
#if POW_PD
#ifdef POW_PD
if (POWTaskHandle != nullptr) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xTaskNotifyFromISR(POWTaskHandle, 1, eSetBits, &xHigherPriorityTaskWoken);

View File

@@ -7,7 +7,7 @@
#include "configuration.h"
void power_check() {
#if POW_PD
#ifdef POW_PD
// Cant start QC until either PD works or fails
if (!USBPowerDelivery::negotiationComplete()) {
return;
@@ -22,7 +22,7 @@ void power_check() {
}
bool getIsPoweredByDCIN() {
#if POW_PD
#ifdef POW_PD
if (!USBPowerDelivery::negotiationComplete()) {
return false; // We are assuming not dc while negotiating
}

View File

@@ -19,10 +19,11 @@ uint16_t ADCReadings[ADC_NORM_SAMPLES]; // room for 32 lots of the pair of readi
// Heap
extern uint8_t _heap_start;
extern uint8_t _heap_size; // @suppress("Type cannot be resolved")
extern uint8_t __HeapBase;
extern uint8_t __HeapLimit; // @suppress("Type cannot be resolved")
const uint32_t _heap_size = ((&__HeapLimit) - (&__HeapBase));
static HeapRegion_t xHeapRegions[] = {
{&_heap_start, (unsigned int)&_heap_size},
{&__HeapBase, (unsigned int)_heap_size},
{NULL, 0}, /* Terminates the array. */
{NULL, 0} /* Terminates the array. */
};
@@ -62,10 +63,10 @@ void hardware_init() {
setup_timer_scheduler();
setup_adc();
setup_pwm();
I2C_SetSclSync(I2C0_ID,1);
I2C_SetDeglitchCount(I2C0_ID,1); // Turn on de-glitch
//Note on I2C clock rate @ 100Khz the screen update == 20ms which is too long for USB-PD to work
//200kHz and above works
I2C_SetSclSync(I2C0_ID, 1);
I2C_SetDeglitchCount(I2C0_ID, 1); // Turn on de-glitch
// Note on I2C clock rate @ 100Khz the screen update == 20ms which is too long for USB-PD to work
// 200kHz and above works
I2C_ClockSet(I2C0_ID, 300000); // Sets clock to around 25 kHz less than set here
TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_1, 0);
}
@@ -139,32 +140,28 @@ void setup_timer_scheduler() {
TIMER_Disable(TIMER_CH0);
TIMER_CFG_Type cfg = {
TIMER_CH0, // Channel
TIMER_CLKSRC_32K, // Clock source
TIMER_PRELOAD_TRIG_COMP2, // Trigger
TIMER_COUNT_PRELOAD, // Counter mode
22, // Clock div
(uint16_t)(powerPWM + holdoffTicks), // CH0 compare (adc)
0, // CH1 compare (pwm out)
(uint16_t)(powerPWM + tempMeasureTicks + holdoffTicks), // CH2 comapre (total period)
0, // Preload
TIMER_CH0, // Channel
TIMER_CLKSRC_32K, // Clock source
TIMER_PRELOAD_TRIG_COMP0, // Trigger; reset after trigger 0
TIMER_COUNT_PRELOAD, // Counter mode
22, // Clock div
(uint16_t)(powerPWM + holdoffTicks), // CH0 compare (adc)
0, // CH1 compare (pwm out)
0, // CH2 compare not used
0, // Preload
};
TIMER_Init(&cfg);
Timer_Int_Callback_Install(TIMER_CH0, TIMER_INT_COMP_0, timer0_comp0_callback);
Timer_Int_Callback_Install(TIMER_CH0, TIMER_INT_COMP_1, timer0_comp1_callback);
Timer_Int_Callback_Install(TIMER_CH0, TIMER_INT_COMP_2, timer0_comp2_callback);
TIMER_ClearIntStatus(TIMER_CH0, TIMER_COMP_ID_0);
TIMER_ClearIntStatus(TIMER_CH0, TIMER_COMP_ID_1);
TIMER_ClearIntStatus(TIMER_CH0, TIMER_COMP_ID_2);
TIMER_IntMask(TIMER_CH0, TIMER_INT_COMP_0, UNMASK);
TIMER_IntMask(TIMER_CH0, TIMER_INT_COMP_1, UNMASK);
TIMER_IntMask(TIMER_CH0, TIMER_INT_COMP_2, UNMASK);
CPU_Interrupt_Enable(TIMER_CH0_IRQn);
TIMER_Enable(TIMER_CH0);
// switchToSlowPWM();
}
void setupFUSBIRQ() {

View File

@@ -12,13 +12,13 @@
#define BL_WR_BYTE(addr, val) ((*(volatile uint8_t *)(uintptr_t)(addr)) = (val))
#define BL_RDWD_FRM_BYTEP(p) ((p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0]))
#define BL_WRWD_TO_BYTEP(p, val) \
{ \
p[0] = val & 0xff; \
p[1] = (val >> 8) & 0xff; \
p[2] = (val >> 16) & 0xff; \
p[3] = (val >> 24) & 0xff; \
}
#define BL_WRWD_TO_BYTEP(p, val) \
{ \
p[0] = val & 0xff; \
p[1] = (val >> 8) & 0xff; \
p[2] = (val >> 16) & 0xff; \
p[3] = (val >> 24) & 0xff; \
}
/**
* @brief Register access macro
*/
@@ -31,25 +31,25 @@
#define BL_GET_REG_BITS_VAL(val, bitname) (((val)&bitname##_MSK) >> bitname##_POS)
#define BL_SET_REG_BITS_VAL(val, bitname, bitval) (((val)&bitname##_UMSK) | ((uint32_t)(bitval) << bitname##_POS))
#define BL_IS_REG_BIT_SET(val, bitname) (((val) & (1U << (bitname##_POS))) != 0)
#define BL_DRV_DUMMY \
{ \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
}
#define BL_DRV_DUMMY \
{ \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
__ASM volatile("nop"); \
}
/* Std driver attribute macro*/
#ifndef BFLB_USE_CUSTOM_LD_SECTIONS
//#define ATTR_UNI_SYMBOL
#define ATTR_STRINGIFY(x) #x
#define ATTR_TOSTRING(x) ATTR_STRINGIFY(x)
#define ATTR_UNI_SYMBOL __FILE__ ATTR_TOSTRING(__LINE__)
#define ATTR_CLOCK_SECTION __attribute__((section(".sclock_rlt_code." ATTR_UNI_SYMBOL)))
#define ATTR_CLOCK_CONST_SECTION __attribute__((section(".sclock_rlt_const." ATTR_UNI_SYMBOL)))
#define ATTR_TCM_SECTION __attribute__((section(".tcm_code." ATTR_UNI_SYMBOL)))
#define ATTR_TCM_CONST_SECTION __attribute__((section(".tcm_const." ATTR_UNI_SYMBOL)))
#define ATTR_DTCM_SECTION __attribute__((section(".tcm_data")))
// #define ATTR_UNI_SYMBOL
#define ATTR_STRINGIFY(x) #x
#define ATTR_TOSTRING(x) ATTR_STRINGIFY(x)
#define ATTR_UNI_SYMBOL __FILE__ ATTR_TOSTRING(__LINE__)
#define ATTR_CLOCK_SECTION __attribute__((section(".sclock_rlt_code." ATTR_UNI_SYMBOL)))
#define ATTR_CLOCK_CONST_SECTION __attribute__((section(".sclock_rlt_const." ATTR_UNI_SYMBOL)))
#define ATTR_TCM_SECTION __attribute__((section(".tcm_code." ATTR_UNI_SYMBOL)))
#define ATTR_TCM_CONST_SECTION __attribute__((section(".tcm_const." ATTR_UNI_SYMBOL)))
// #define ATTR_DTCM_SECTION __attribute__((section(".tcm_data")))
#define ATTR_HSRAM_SECTION __attribute__((section(".hsram_code")))
#define ATTR_DMA_RAM_SECTION __attribute__((section(".system_ram")))
#define ATTR_NOCACHE_RAM_SECTION __attribute__((section(".nocache_ram")))

View File

@@ -1,65 +1,71 @@
/** @file
* @brief Internal APIs for Bluetooth connection handling.
*/
#include "addr.h"
#include "atomic.h"
#include "slist.h"
#include "types.h"
#include "work_q.h"
#include <stddef.h>
#include <stdint.h>
/*
* Copyright (c) 2015 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
typedef enum __packed {
BT_CONN_DISCONNECTED,
BT_CONN_CONNECT_SCAN,
BT_CONN_CONNECT_DIR_ADV,
BT_CONN_CONNECT,
BT_CONN_CONNECTED,
BT_CONN_DISCONNECT,
BT_CONN_DISCONNECTED,
BT_CONN_CONNECT_SCAN,
BT_CONN_CONNECT_DIR_ADV,
BT_CONN_CONNECT,
BT_CONN_CONNECTED,
BT_CONN_DISCONNECT,
} bt_conn_state_t;
/* bt_conn flags: the flags defined here represent connection parameters */
enum {
BT_CONN_AUTO_CONNECT,
BT_CONN_BR_LEGACY_SECURE, /* 16 digits legacy PIN tracker */
BT_CONN_USER, /* user I/O when pairing */
BT_CONN_BR_PAIRING, /* BR connection in pairing context */
BT_CONN_BR_NOBOND, /* SSP no bond pairing tracker */
BT_CONN_BR_PAIRING_INITIATOR, /* local host starts authentication */
BT_CONN_CLEANUP, /* Disconnected, pending cleanup */
BT_CONN_AUTO_PHY_UPDATE, /* Auto-update PHY */
BT_CONN_SLAVE_PARAM_UPDATE, /* If slave param update timer fired */
BT_CONN_SLAVE_PARAM_SET, /* If slave param were set from app */
BT_CONN_SLAVE_PARAM_L2CAP, /* If should force L2CAP for CPUP */
BT_CONN_FORCE_PAIR, /* Pairing even with existing keys. */
BT_CONN_AUTO_CONNECT,
BT_CONN_BR_LEGACY_SECURE, /* 16 digits legacy PIN tracker */
BT_CONN_USER, /* user I/O when pairing */
BT_CONN_BR_PAIRING, /* BR connection in pairing context */
BT_CONN_BR_NOBOND, /* SSP no bond pairing tracker */
BT_CONN_BR_PAIRING_INITIATOR, /* local host starts authentication */
BT_CONN_CLEANUP, /* Disconnected, pending cleanup */
BT_CONN_AUTO_PHY_UPDATE, /* Auto-update PHY */
BT_CONN_SLAVE_PARAM_UPDATE, /* If slave param update timer fired */
BT_CONN_SLAVE_PARAM_SET, /* If slave param were set from app */
BT_CONN_SLAVE_PARAM_L2CAP, /* If should force L2CAP for CPUP */
BT_CONN_FORCE_PAIR, /* Pairing even with existing keys. */
BT_CONN_AUTO_PHY_COMPLETE, /* Auto-initiated PHY procedure done */
BT_CONN_AUTO_FEATURE_EXCH, /* Auto-initiated LE Feat done */
BT_CONN_AUTO_VERSION_INFO, /* Auto-initiated LE version done */
BT_CONN_AUTO_PHY_COMPLETE, /* Auto-initiated PHY procedure done */
BT_CONN_AUTO_FEATURE_EXCH, /* Auto-initiated LE Feat done */
BT_CONN_AUTO_VERSION_INFO, /* Auto-initiated LE version done */
/* Total number of flags - must be at the end of the enum */
BT_CONN_NUM_FLAGS,
/* Total number of flags - must be at the end of the enum */
BT_CONN_NUM_FLAGS,
};
struct bt_conn_le {
bt_addr_le_t dst;
bt_addr_le_t dst;
bt_addr_le_t init_addr;
bt_addr_le_t resp_addr;
bt_addr_le_t init_addr;
bt_addr_le_t resp_addr;
u16_t interval;
u16_t interval_min;
u16_t interval_max;
u16_t interval;
u16_t interval_min;
u16_t interval_max;
u16_t latency;
u16_t timeout;
u16_t pending_latency;
u16_t pending_timeout;
u16_t latency;
u16_t timeout;
u16_t pending_latency;
u16_t pending_timeout;
u8_t features[8];
u8_t features[8];
struct bt_keys *keys;
struct bt_keys *keys;
#if defined(CONFIG_BT_STACK_PTS)
u8_t own_adder_type;
u8_t own_adder_type;
#endif
};
@@ -68,107 +74,107 @@ struct bt_conn_le {
#define LMP_MAX_PAGES 2
struct bt_conn_br {
bt_addr_t dst;
u8_t remote_io_capa;
u8_t remote_auth;
u8_t pairing_method;
/* remote LMP features pages per 8 bytes each */
u8_t features[LMP_MAX_PAGES][8];
bt_addr_t dst;
u8_t remote_io_capa;
u8_t remote_auth;
u8_t pairing_method;
/* remote LMP features pages per 8 bytes each */
u8_t features[LMP_MAX_PAGES][8];
struct bt_keys_link_key *link_key;
struct bt_keys_link_key *link_key;
};
struct bt_conn_sco {
/* Reference to ACL Connection */
struct bt_conn *acl;
u16_t pkt_type;
/* Reference to ACL Connection */
struct bt_conn *acl;
u16_t pkt_type;
};
#endif
struct bt_conn_iso {
/* Reference to ACL Connection */
struct bt_conn *acl;
/* CIG ID */
uint8_t cig_id;
/* CIS ID */
uint8_t cis_id;
/* Reference to ACL Connection */
struct bt_conn *acl;
/* CIG ID */
uint8_t cig_id;
/* CIS ID */
uint8_t cis_id;
};
typedef void (*bt_conn_tx_cb_t)(struct bt_conn *conn, void *user_data);
struct bt_conn_tx {
sys_snode_t node;
sys_snode_t node;
bt_conn_tx_cb_t cb;
void *user_data;
bt_conn_tx_cb_t cb;
void *user_data;
/* Number of pending packets without a callback after this one */
u32_t pending_no_cb;
/* Number of pending packets without a callback after this one */
u32_t pending_no_cb;
};
struct bt_conn {
u16_t handle;
u8_t type;
u8_t role;
u16_t handle;
u8_t type;
u8_t role;
ATOMIC_DEFINE(flags, BT_CONN_NUM_FLAGS);
ATOMIC_DEFINE(flags, BT_CONN_NUM_FLAGS);
/* Which local identity address this connection uses */
u8_t id;
/* Which local identity address this connection uses */
u8_t id;
#if defined(CONFIG_BT_SMP) || defined(CONFIG_BT_BREDR)
bt_security_t sec_level;
bt_security_t required_sec_level;
u8_t encrypt;
bt_security_t sec_level;
bt_security_t required_sec_level;
u8_t encrypt;
#endif /* CONFIG_BT_SMP || CONFIG_BT_BREDR */
/* Connection error or reason for disconnect */
u8_t err;
/* Connection error or reason for disconnect */
u8_t err;
bt_conn_state_t state;
bt_conn_state_t state;
u16_t rx_len;
struct net_buf *rx;
u16_t rx_len;
struct net_buf *rx;
/* Sent but not acknowledged TX packets with a callback */
sys_slist_t tx_pending;
/* Sent but not acknowledged TX packets without a callback before
* the next packet (if any) in tx_pending.
*/
u32_t pending_no_cb;
/* Sent but not acknowledged TX packets with a callback */
sys_slist_t tx_pending;
/* Sent but not acknowledged TX packets without a callback before
* the next packet (if any) in tx_pending.
*/
u32_t pending_no_cb;
/* Completed TX for which we need to call the callback */
sys_slist_t tx_complete;
struct k_work tx_complete_work;
/* Completed TX for which we need to call the callback */
sys_slist_t tx_complete;
struct k_work tx_complete_work;
/* Queue for outgoing ACL data */
struct k_fifo tx_queue;
/* Queue for outgoing ACL data */
struct k_fifo tx_queue;
/* Active L2CAP channels */
sys_slist_t channels;
/* Active L2CAP channels */
sys_slist_t channels;
atomic_t ref;
atomic_t ref;
/* Delayed work for connection update and other deferred tasks */
struct k_delayed_work update_work;
/* Delayed work for connection update and other deferred tasks */
struct k_delayed_work update_work;
union {
struct bt_conn_le le;
union {
struct bt_conn_le le;
#if defined(CONFIG_BT_BREDR)
struct bt_conn_br br;
struct bt_conn_sco sco;
struct bt_conn_br br;
struct bt_conn_sco sco;
#endif
#if defined(CONFIG_BT_AUDIO)
struct bt_conn_iso iso;
struct bt_conn_iso iso;
#endif
};
};
#if defined(CONFIG_BT_REMOTE_VERSION)
struct bt_conn_rv {
u8_t version;
u16_t manufacturer;
u16_t subversion;
} rv;
struct bt_conn_rv {
u8_t version;
u16_t manufacturer;
u16_t subversion;
} rv;
#endif
};
@@ -178,23 +184,19 @@ void bt_conn_reset_rx_state(struct bt_conn *conn);
void bt_conn_recv(struct bt_conn *conn, struct net_buf *buf, u8_t flags);
/* Send data over a connection */
int bt_conn_send_cb(struct bt_conn *conn, struct net_buf *buf,
bt_conn_tx_cb_t cb, void *user_data);
int bt_conn_send_cb(struct bt_conn *conn, struct net_buf *buf, bt_conn_tx_cb_t cb, void *user_data);
static inline int bt_conn_send(struct bt_conn *conn, struct net_buf *buf)
{
return bt_conn_send_cb(conn, buf, NULL, NULL);
}
static inline int bt_conn_send(struct bt_conn *conn, struct net_buf *buf) { return bt_conn_send_cb(conn, buf, NULL, NULL); }
/* Add a new LE connection */
struct bt_conn *bt_conn_add_le(u8_t id, const bt_addr_le_t *peer);
/** Connection parameters for ISO connections */
struct bt_iso_create_param {
uint8_t id;
uint8_t num_conns;
struct bt_conn **conns;
struct bt_iso_chan **chans;
uint8_t id;
uint8_t num_conns;
struct bt_conn **conns;
struct bt_iso_chan **chans;
};
/* Bind ISO connections parameters */
@@ -251,14 +253,12 @@ struct bt_conn *bt_conn_lookup_id(u8_t id);
/* Look up a connection state. For BT_ADDR_LE_ANY, returns the first connection
* with the specific state
*/
struct bt_conn *bt_conn_lookup_state_le(const bt_addr_le_t *peer,
const bt_conn_state_t state);
struct bt_conn *bt_conn_lookup_state_le(const bt_addr_le_t *peer, const bt_conn_state_t state);
/* Set connection object in certain state and perform action related to state */
void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state);
int bt_conn_le_conn_update(struct bt_conn *conn,
const struct bt_le_conn_param *param);
int bt_conn_le_conn_update(struct bt_conn *conn, const struct bt_le_conn_param *param);
void notify_remote_info(struct bt_conn *conn);
@@ -268,8 +268,7 @@ bool le_param_req(struct bt_conn *conn, struct bt_le_conn_param *param);
#if defined(CONFIG_BT_SMP)
/* rand and ediv should be in BT order */
int bt_conn_le_start_encryption(struct bt_conn *conn, u8_t rand[8],
u8_t ediv[2], const u8_t *ltk, size_t len);
int bt_conn_le_start_encryption(struct bt_conn *conn, u8_t rand[8], u8_t ediv[2], const u8_t *ltk, size_t len);
/* Notify higher layers that RPA was resolved */
void bt_conn_identity_resolved(struct bt_conn *conn);
@@ -282,41 +281,27 @@ void bt_conn_security_changed(struct bt_conn *conn, enum bt_security_err err);
/* Prepare a PDU to be sent over a connection */
#if defined(CONFIG_NET_BUF_LOG)
struct net_buf *bt_conn_create_pdu_timeout_debug(struct net_buf_pool *pool,
size_t reserve, s32_t timeout,
const char *func, int line);
#define bt_conn_create_pdu_timeout(_pool, _reserve, _timeout) \
bt_conn_create_pdu_timeout_debug(_pool, _reserve, _timeout, \
__func__, __LINE__)
struct net_buf *bt_conn_create_pdu_timeout_debug(struct net_buf_pool *pool, size_t reserve, s32_t timeout, const char *func, int line);
#define bt_conn_create_pdu_timeout(_pool, _reserve, _timeout) bt_conn_create_pdu_timeout_debug(_pool, _reserve, _timeout, __func__, __LINE__)
#define bt_conn_create_pdu(_pool, _reserve) \
bt_conn_create_pdu_timeout_debug(_pool, _reserve, K_FOREVER, \
__func__, __line__)
#define bt_conn_create_pdu(_pool, _reserve) bt_conn_create_pdu_timeout_debug(_pool, _reserve, K_FOREVER, __func__, __line__)
#else
struct net_buf *bt_conn_create_pdu_timeout(struct net_buf_pool *pool,
size_t reserve, s32_t timeout);
struct net_buf *bt_conn_create_pdu_timeout(struct net_buf_pool *pool, size_t reserve, s32_t timeout);
#define bt_conn_create_pdu(_pool, _reserve) \
bt_conn_create_pdu_timeout(_pool, _reserve, K_FOREVER)
#define bt_conn_create_pdu(_pool, _reserve) bt_conn_create_pdu_timeout(_pool, _reserve, K_FOREVER)
#endif
/* Prepare a PDU to be sent over a connection */
#if defined(CONFIG_NET_BUF_LOG)
struct net_buf *bt_conn_create_frag_timeout_debug(size_t reserve, s32_t timeout,
const char *func, int line);
struct net_buf *bt_conn_create_frag_timeout_debug(size_t reserve, s32_t timeout, const char *func, int line);
#define bt_conn_create_frag_timeout(_reserve, _timeout) \
bt_conn_create_frag_timeout_debug(_reserve, _timeout, \
__func__, __LINE__)
#define bt_conn_create_frag_timeout(_reserve, _timeout) bt_conn_create_frag_timeout_debug(_reserve, _timeout, __func__, __LINE__)
#define bt_conn_create_frag(_reserve) \
bt_conn_create_frag_timeout_debug(_reserve, K_FOREVER, \
__func__, __LINE__)
#define bt_conn_create_frag(_reserve) bt_conn_create_frag_timeout_debug(_reserve, K_FOREVER, __func__, __LINE__)
#else
struct net_buf *bt_conn_create_frag_timeout(size_t reserve, s32_t timeout);
#define bt_conn_create_frag(_reserve) \
bt_conn_create_frag_timeout(_reserve, K_FOREVER)
#define bt_conn_create_frag(_reserve) bt_conn_create_frag_timeout(_reserve, K_FOREVER)
#endif
/* Initialize connection management */
@@ -326,7 +311,7 @@ int bt_conn_init(void);
struct k_sem *bt_conn_get_pkts(struct bt_conn *conn);
/* k_poll related helpers for the TX thread */
int bt_conn_prepare_events(struct k_poll_event events[]);
int bt_conn_prepare_events(struct k_poll_event events[]);
void bt_conn_process_tx(struct bt_conn *conn);
#if defined(BFLB_BLE)

View File

@@ -17,18 +17,16 @@ OUTPUT_ARCH( "riscv" )
/* configure the entry point */
ENTRY(_enter)
StackSize = 0x1000; /* 4KB */
HeapSize = 0x1000; /* 4KB */
StackSize = 0x800; /* 2KB */
__EM_SIZE = DEFINED(ble_controller_init) ? 8K : 0K;
MEMORY
{
xip_memory (rx) : ORIGIN = 0x23000000, LENGTH = 1022K
itcm_memory (rx) : ORIGIN = 0x22014000, LENGTH = 16K
dtcm_memory (rx) : ORIGIN = 0x42018000, LENGTH = 32K
ram_memory (!rx) : ORIGIN = 0x42020000, LENGTH = 32K
rsvd_memory (!rx) : ORIGIN = 0x42028000, LENGTH = 1K
ram2_memory (!rx) : ORIGIN = 0x42028400, LENGTH = (31K - __EM_SIZE)
itcm_memory (rx) : ORIGIN = 0x22014000, LENGTH = 12K
dtcm_memory (rx) : ORIGIN = 0x42017000, LENGTH = 4K
ram_memory (!rx) : ORIGIN = 0x42018000, LENGTH = 96K
hbn_memory (rx) : ORIGIN = 0x40010000, LENGTH = 0xE00 /* hbn ram 4K used 3.5K*/
}
@@ -211,21 +209,27 @@ SECTIONS
__tcm_data_end__ = .;
} > dtcm_memory
/* .heap_dummy section doesn't contains any symbols. It is only
* used for linker to calculate size of heap sections, and assign
* values to heap symbols later */
.heap_dummy (NOLOAD):
/*************************************************************************/
/* .stack_dummy section doesn't contains any symbols. It is only
* used for linker to calculate size of stack sections, and assign
* values to stack symbols later */
.stack_dummy (NOLOAD):
{
. = ALIGN(0x4);
. = . + HeapSize;
. = . + StackSize;
. = ALIGN(0x4);
} > dtcm_memory
_HeapBase = ORIGIN(dtcm_memory) + LENGTH(dtcm_memory) - StackSize - HeapSize;
_HeapSize = HeapSize;
/* Set stack top to end of RAM, and stack limit move down by
* size of stack_dummy section */
__StackTop = ORIGIN(dtcm_memory) + LENGTH(dtcm_memory);
PROVIDE( __freertos_irq_stack_top = __StackTop);
__StackLimit = __StackTop - SIZEOF(.stack_dummy);
/* Check if data + heap + stack exceeds RAM limit */
ASSERT(_HeapBase >= __tcm_data_end__, "region RAM overflowed with stack")
ASSERT(__StackLimit >= __tcm_data_end__, "region RAM overflowed with stack")
/*************************************************************************/
/*************************************************************************/
/* .stack_dummy section doesn't contains any symbols. It is only
@@ -311,17 +315,16 @@ SECTIONS
. = ALIGN(4);
__HeapBase = .;
/*__end__ = .;*/
/*end = __end__;*/
KEEP(*(.heap*))
. = ALIGN(4);
__HeapLimit = .;
} > ram_memory
PROVIDE (__heap_min_size = 0x400);
__HeapLimit = ORIGIN(ram_memory) + LENGTH(ram_memory);
PROVIDE( _heap_start = ORIGIN(ram2_memory) );
PROVIDE( _heap_size = LENGTH(ram2_memory) );
ASSERT((__HeapLimit - __HeapBase ) >= __heap_min_size, "heap size is too short.")
}

View File

@@ -19,72 +19,75 @@
*/
// d85efab4-168e-4a71-affd-33e27f9bc533
#define BT_UUID_SVC_LIVE_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85efab4, 0x168e, 0x4a71, 0xaffd, 0x33e27f9bc533))
#define BT_UUID_SVC_LIVE_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef000, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
// f6d75f91-5a10-4eba-a233-47d3f26a907f
#define BT_UUID_SVC_SETTINGS_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d75f91, 0x5a10, 0x4eba, 0xa233, 0x47d3f26a907f))
#define BT_UUID_SVC_SETTINGS_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d80000, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
// 9eae1adb-9d0d-48c5-a6e7-ae93f0ea37b0
#define BT_UUID_SVC_BULK_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1adb, 0x9d0d, 0x48c5, 0xa6e7, 0xae93f0ea37b0))
#define BT_UUID_SVC_BULK_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1000, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_LIVE_TEMP BT_UUID_DECLARE_16(0x0001)
#define BT_UUID_CHAR_BLE_LIVE_SETPOINT_TEMP BT_UUID_DECLARE_16(0x0002)
#define BT_UUID_CHAR_BLE_LIVE_DC_INPUT BT_UUID_DECLARE_16(0x0003)
#define BT_UUID_CHAR_BLE_LIVE_HANDLE_TEMP BT_UUID_DECLARE_16(0x0004)
#define BT_UUID_CHAR_BLE_LIVE_POWER_LEVEL BT_UUID_DECLARE_16(0x0005)
#define BT_UUID_CHAR_BLE_LIVE_POWER_SRC BT_UUID_DECLARE_16(0x0006)
#define BT_UUID_CHAR_BLE_LIVE_TIP_RES BT_UUID_DECLARE_16(0x0007)
#define BT_UUID_CHAR_BLE_LIVE_UPTIME BT_UUID_DECLARE_16(0x0008)
#define BT_UUID_CHAR_BLE_LIVE_MOVEMENT BT_UUID_DECLARE_16(0x0009)
#define BT_UUID_CHAR_BLE_LIVE_MAX_TEMP BT_UUID_DECLARE_16(0x000A)
#define BT_UUID_CHAR_BLE_LIVE_RAW_TIP BT_UUID_DECLARE_16(0x000B)
#define BT_UUID_CHAR_BLE_LIVE_HALL_SENSOR BT_UUID_DECLARE_16(0x000C)
#define BT_UUID_CHAR_BLE_LIVE_OP_MODE BT_UUID_DECLARE_16(0x000D)
#define BT_UUID_CHAR_BLE_LIVE_EST_WATTS BT_UUID_DECLARE_16(0x000E)
#define BT_UUID_CHAR_BLE_LIVE_LIVE_TEMP BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef001, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_SETPOINT_TEMP BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef002, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_DC_INPUT BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef003, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_HANDLE_TEMP BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef004, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_POWER_LEVEL BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef005, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_POWER_SRC BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef006, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_TIP_RES BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef007, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_UPTIME BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef008, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_MOVEMENT BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef009, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_MAX_TEMP BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef00A, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_RAW_TIP BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef00B, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_HALL_SENSOR BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef00C, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_OP_MODE BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef00D, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_EST_WATTS BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xd85ef00E, 0x168e, 0x4a71, 0xAA55, 0x33e27f9bc533))
// Bulk data that returns non-fixed sized objects
#define BT_UUID_CHAR_BLE_LIVE_BULK_LIVE_DATA BT_UUID_DECLARE_16(0x0001)
#define BT_UUID_CHAR_BLE_LIVE_ACCEL_NAME BT_UUID_DECLARE_16(0x0002)
#define BT_UUID_CHAR_BLE_LIVE_BUILD BT_UUID_DECLARE_16(0x0003)
#define BT_UUID_CHAR_BLE_LIVE_DEV_ID BT_UUID_DECLARE_16(0x0004)
#define BT_UUID_CHAR_BLE_LIVE_BULK_LIVE_DATA BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1001, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_ACCEL_NAME BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1002, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_BUILD BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1003, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_DEV_SN BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1004, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_LIVE_DEV_ID BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0x9eae1005, 0x9d0d, 0x48c5, 0xAA55, 0x33e27f9bc533))
// Settings
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_SAVE BT_UUID_DECLARE_16(0)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_1 BT_UUID_DECLARE_16(1)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_2 BT_UUID_DECLARE_16(2)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_3 BT_UUID_DECLARE_16(3)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_4 BT_UUID_DECLARE_16(4)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_5 BT_UUID_DECLARE_16(5)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_6 BT_UUID_DECLARE_16(6)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_7 BT_UUID_DECLARE_16(7)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_8 BT_UUID_DECLARE_16(8)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_9 BT_UUID_DECLARE_16(9)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_10 BT_UUID_DECLARE_16(10)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_11 BT_UUID_DECLARE_16(11)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_12 BT_UUID_DECLARE_16(12)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_13 BT_UUID_DECLARE_16(13)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_14 BT_UUID_DECLARE_16(14)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_15 BT_UUID_DECLARE_16(15)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_16 BT_UUID_DECLARE_16(16)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_17 BT_UUID_DECLARE_16(17)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_18 BT_UUID_DECLARE_16(18)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_19 BT_UUID_DECLARE_16(19)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_20 BT_UUID_DECLARE_16(20)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_21 BT_UUID_DECLARE_16(21)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_22 BT_UUID_DECLARE_16(22)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_23 BT_UUID_DECLARE_16(23)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_24 BT_UUID_DECLARE_16(24)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_25 BT_UUID_DECLARE_16(25)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_26 BT_UUID_DECLARE_16(26)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_27 BT_UUID_DECLARE_16(27)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_28 BT_UUID_DECLARE_16(28)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_29 BT_UUID_DECLARE_16(29)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_30 BT_UUID_DECLARE_16(30)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_31 BT_UUID_DECLARE_16(31)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_32 BT_UUID_DECLARE_16(32)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_33 BT_UUID_DECLARE_16(33)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_34 BT_UUID_DECLARE_16(34)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_35 BT_UUID_DECLARE_16(35)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_36 BT_UUID_DECLARE_16(36)
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_37 BT_UUID_DECLARE_16(37)
#endif
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_SAVE BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7FFFF, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_RESET BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7FFFE, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_0 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70000, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_1 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70001, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_2 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70002, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_3 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70003, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_4 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70004, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_5 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70005, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_6 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70006, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_7 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70007, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_8 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70008, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_9 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70009, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_10 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000a, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_11 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000b, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_12 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000c, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_13 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000d, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_14 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000e, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_15 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7000f, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_16 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70010, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_17 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70011, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_18 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70012, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_19 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70013, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_20 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70014, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_21 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70015, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_22 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70016, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_23 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70017, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_24 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70018, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_25 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70019, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_26 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001a, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_27 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001b, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_28 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001c, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_29 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001d, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_30 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001e, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_31 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d7001f, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_32 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70020, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_33 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70021, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_34 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70022, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_35 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70023, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_36 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70024, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_37 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70025, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_38 BT_UUID_DECLARE_128(BT_UUID_128_ENCODE(0xf6d70026, 0x5a10, 0x4eba, 0xAA55, 0x33e27f9bc533))
#endif

View File

@@ -20,23 +20,29 @@
#include "log.h"
#include "uuid.h"
#include "../../version.h"
#include "OLED.hpp"
#include "OperatingModes.h"
#include "USBPD.h"
#include "ble_characteristics.h"
#include "ble_handlers.h"
#include "pd.h"
#include "power.hpp"
#if POW_PD
#ifdef POW_PD
#include "USBPD.h"
#include "pd.h"
#endif
extern TickType_t lastMovementTime;
extern TickType_t lastMovementTime;
extern OperatingMode currentMode;
int ble_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset) {
if (attr == NULL || attr->uuid == NULL) {
return 0;
}
uint16_t uuid_value = ((struct bt_uuid_16 *)attr->uuid)->val;
// Decode the uuid
// Byte 12 has the lowest part of the first UUID chunk
uint16_t uuid_value = ((struct bt_uuid_128 *)attr->uuid)->val[12];
uint32_t temp = 0;
switch (uuid_value) {
case 1: // Live temp
@@ -68,13 +74,7 @@ int ble_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_att
break;
case 6: // power src
// Todo return enum for current power source
if (getIsPoweredByDCIN()) {
temp = 0;
} else if (USBPowerDelivery::negotiationComplete()) {
temp = 1;
} else {
temp = 2;
}
temp = getPowerSrc();
memcpy(buf, &temp, sizeof(temp));
return sizeof(temp);
break;
@@ -122,7 +122,9 @@ int ble_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_att
break;
case 13:
// Operating mode
// TODO: Needs tracking
temp = currentMode;
memcpy(buf, &temp, sizeof(temp));
return sizeof(temp);
break;
case 14:
// Estimated watts
@@ -131,27 +133,36 @@ int ble_char_read_status_callback(struct bt_conn *conn, const struct bt_gatt_att
return sizeof(temp);
break;
}
MSG("Unhandled attr read %d | %d\n", (uint32_t)attr->uuid, uuid_value);
MSG((char *)"Unhandled attr read %d | %d\n", (uint32_t)attr->uuid, uuid_value);
return 0;
}
int ble_char_read_bulk_value_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, void *buf, u16_t len, u16_t offset) {
if (attr == NULL || attr->uuid == NULL) {
return 0;
}
uint16_t uuid_value = ((struct bt_uuid_16 *)attr->uuid)->val;
// Byte 12 has the lowest part of the first UUID chunk
uint16_t uuid_value = ((struct bt_uuid_128 *)attr->uuid)->val[12];
// Bulk is the non-const size service
switch (uuid_value) {
case 1:
// Bulk data
{
uint32_t bulkData[] = {
TipThermoModel::getTipInC(), // Current temp
getSettingValue(SettingsOptions::SolderingTemp), // Setpoint
getHandleTemperature(0), // Handle X10 Temp in C
getInputVoltageX10(getSettingValue(SettingsOptions::VoltageDiv), 0), // Input voltage
x10WattHistory.average(), // Estimated Wattage
X10WattsToPWM(x10WattHistory.average()), // Power as PWM level
TipThermoModel::convertTipRawADCTouV(getTipRawTemp(0), true), // Raw tip
TipThermoModel::getTipInC(), // 0 - Current temp
getSettingValue(SettingsOptions::SolderingTemp), // 1 - Setpoint
getInputVoltageX10(getSettingValue(SettingsOptions::VoltageDiv), 0), // 2 - Input voltage
getHandleTemperature(0), // 3 - Handle X10 Temp in C
X10WattsToPWM(x10WattHistory.average()), // 4 - Power as PWM level
getPowerSrc(), // 5 - power src
getTipResistanceX10(), // 6 - Tip resistance
xTaskGetTickCount() / TICKS_100MS, // 7 - uptime in deciseconds
lastMovementTime / TICKS_100MS, // 8 - last movement time (deciseconds)
TipThermoModel::getTipMaxInC(), // 9 - max temp
TipThermoModel::convertTipRawADCTouV(getTipRawTemp(0), true), // 10 - Raw tip in μV
abs(getRawHallEffect()), // 11 - hall sensor
currentMode, // 12 - Operating mode
x10WattHistory.average(), // 13 - Estimated Wattage *10
};
int lenToCopy = sizeof(bulkData) - offset;
if (lenToCopy > len) {
@@ -170,17 +181,27 @@ int ble_char_read_bulk_value_callback(struct bt_conn *conn, const struct bt_gatt
// TODO: Need to store non-encoded version
break;
case 3:
// Build
// TODO: Need to store non-encoded version
break;
// FW Version
memcpy(buf, &BUILD_VERSION, sizeof(BUILD_VERSION) - 1);
return sizeof(BUILD_VERSION) - 1;
case 4:
// Device unique id
// Device serial number.
// Serial number is the ID burned by manufacturer.
// In case of Pinecil V2, device SN = device MAC.
{
uint64_t id = getDeviceID();
uint64_t sn = getDeviceID();
memcpy(buf, &sn, sizeof(sn));
return sizeof(sn);
}
break;
case 5:
// Device ID [https://github.com/Ralim/IronOS/issues/1609].
// ID is a unique key Pine burns at the factory and records in their db.
{
uint32_t id = getDeviceValidation();
memcpy(buf, &id, sizeof(id));
return sizeof(id);
}
break;
}
return 0;
}
@@ -188,18 +209,19 @@ int ble_char_read_setting_value_callback(struct bt_conn *conn, const struct bt_g
if (attr == NULL || attr->uuid == NULL) {
return 0;
}
uint16_t uuid_value = ((struct bt_uuid_16 *)attr->uuid)->val;
uint16_t temp = 0;
if (uuid_value == 0) {
// Byte 12 has the lowest part of the first UUID chunk
uint16_t uuid_value = ((struct bt_uuid_128 *)attr->uuid)->val[12];
uint16_t temp = 0xFFFF;
if (uuid_value <= SettingsOptions::SettingsOptionsLength) {
temp = getSettingValue((SettingsOptions)(uuid_value));
memcpy(buf, &temp, sizeof(temp));
return sizeof(temp);
} else if (uuid_value <= SettingsOptions::SettingsOptionsLength) {
temp = getSettingValue((SettingsOptions)(uuid_value - 1));
} else {
memcpy(buf, &temp, sizeof(temp));
return sizeof(temp);
}
MSG("Unhandled attr read %d | %d\n", (uint32_t)attr->uuid, uuid_value);
MSG((char *)"Unhandled attr read %d | %d\n", (uint32_t)attr->uuid, uuid_value);
return 0;
}
@@ -207,7 +229,7 @@ int ble_char_write_setting_value_callback(struct bt_conn *conn, const struct bt_
if (flags & BT_GATT_WRITE_FLAG_PREPARE) {
// Don't use prepare write data, execute write will upload data again.
BT_WARN("recv prepare write request\n");
BT_WARN((char *)"recv prepare write request\n");
return 0;
}
if (attr == NULL || attr->uuid == NULL) {
@@ -216,25 +238,77 @@ int ble_char_write_setting_value_callback(struct bt_conn *conn, const struct bt_
if (flags & BT_GATT_WRITE_FLAG_CMD) {
// Use write command data.
BT_WARN("recv write command\n");
BT_WARN((char *)"recv write command\n");
} else {
// Use write request / execute write data.
BT_WARN("recv write request / exce write\n");
BT_WARN((char *)"recv write request / exce write\n");
}
uint16_t uuid_value = ((struct bt_uuid_16 *)attr->uuid)->val;
uint8_t uuid_value = ((struct bt_uuid_128 *)attr->uuid)->val[12];
if (len == 2) {
uint16_t new_value = 0;
memcpy(&new_value, buf, sizeof(new_value));
if (uuid_value == 0) {
if (uuid_value == 0xFF) {
if (new_value == 1) {
saveSettings();
return len;
}
} else if (uuid_value == 0xFE) {
if (new_value == 1) {
resetSettings();
return len;
}
} else if (uuid_value < SettingsOptions::SettingsOptionsLength) {
setSettingValue((SettingsOptions)(uuid_value - 1), new_value);
setSettingValue((SettingsOptions)(uuid_value), new_value);
switch (uuid_value) {
case SettingsOptions::OLEDInversion:
OLED::setInverseDisplay(getSettingValue(SettingsOptions::OLEDInversion));
break;
case SettingsOptions::OLEDBrightness:
OLED::setBrightness(getSettingValue(SettingsOptions::OLEDBrightness));
break;
case SettingsOptions::OrientationMode:
OLED::setRotation(getSettingValue(SettingsOptions::OrientationMode) & 1);
break;
default:
break;
}
return len;
}
}
MSG("Unhandled attr write %d | %d\n", (uint32_t)attr->uuid, uuid_value);
MSG((char *)"Unhandled attr write %d | %d\n", (uint32_t)attr->uuid, uuid_value);
return 0;
}
}
uint32_t getPowerSrc() {
int sourceNumber = 0;
if (getIsPoweredByDCIN()) {
sourceNumber = 0;
} else {
// We are not powered via DC, so want to display the appropriate state for PD or QC
bool poweredbyPD = false;
bool pdHasVBUSConnected = false;
#ifdef POW_PD
if (USBPowerDelivery::fusbPresent()) {
// We are PD capable
if (USBPowerDelivery::negotiationComplete()) {
// We are powered via PD
poweredbyPD = true;
#ifdef VBUS_MOD_TEST
pdHasVBUSConnected = USBPowerDelivery::isVBUSConnected();
#endif
}
}
#endif
if (poweredbyPD) {
if (pdHasVBUSConnected) {
sourceNumber = 2;
} else {
sourceNumber = 3;
}
} else {
sourceNumber = 1;
}
}
return sourceNumber;
}

View File

@@ -13,6 +13,8 @@ int ble_char_read_bulk_value_callback(struct bt_conn *conn, const struct bt_gatt
int ble_char_write_setting_value_callback(struct bt_conn *conn, const struct bt_gatt_attr *attr, const void *buf, u16_t len, u16_t offset, u8_t flags);
uint32_t getPowerSrc();
#ifdef __cplusplus
};
#endif

View File

@@ -26,9 +26,9 @@ NOTES
#include "log.h"
#include "uuid.h"
#include "BSP.h"
#include "ble_characteristics.h"
#include "ble_handlers.h"
bool pds_start;
static void ble_device_connected(struct bt_conn *conn, u8_t err);
@@ -142,7 +142,7 @@ static void ble_tp_ind_ccc_changed(const struct bt_gatt_attr *attr, u16_t value)
/*************************************************************************
* DEFINE : attrs
*/
static struct bt_gatt_attr attrs[] = {
static struct bt_gatt_attr ble_attrs_declaration[] = {
BT_GATT_PRIMARY_SERVICE(BT_UUID_SVC_LIVE_DATA),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_LIVE_TEMP, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_status_callback, NULL, NULL),
@@ -164,10 +164,11 @@ static struct bt_gatt_attr attrs[] = {
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_BULK_LIVE_DATA, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_bulk_value_callback, NULL, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_ACCEL_NAME, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_bulk_value_callback, NULL, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_BUILD, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_bulk_value_callback, NULL, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_DEV_SN, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_bulk_value_callback, NULL, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_LIVE_DEV_ID, BT_GATT_CHRC_READ, BT_GATT_PERM_READ, ble_char_read_bulk_value_callback, NULL, NULL),
BT_GATT_PRIMARY_SERVICE(BT_UUID_SVC_SETTINGS_DATA),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_SAVE, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_0, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_1, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
@@ -243,6 +244,13 @@ static struct bt_gatt_attr attrs[] = {
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_37, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_38, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_SAVE, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
BT_GATT_CHARACTERISTIC(BT_UUID_CHAR_BLE_SETTINGS_VALUE_RESET, BT_GATT_CHRC_READ | BT_GATT_CHRC_WRITE | BT_GATT_CHRC_WRITE_WITHOUT_RESP, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE,
ble_char_read_setting_value_callback, ble_char_write_setting_value_callback, NULL),
};
@@ -250,13 +258,9 @@ static struct bt_gatt_attr attrs[] = {
NAME
get_attr
*/
struct bt_gatt_attr *get_attr(u8_t index) {
return &attrs[index];
}
struct bt_gatt_attr *get_attr(u8_t index) { return &ble_attrs_declaration[index]; }
static struct bt_gatt_service ble_tp_server = BT_GATT_SERVICE(attrs);
const char *DEVICE_BLE_NAME = "Pinecil";
static struct bt_gatt_service ble_tp_server = BT_GATT_SERVICE(ble_attrs_declaration);
// Start advertising with expected default values
int ble_start_adv(void) {
@@ -267,13 +271,17 @@ int ble_start_adv(void) {
.interval_min = BT_GAP_ADV_FAST_INT_MIN_3,
.interval_max = BT_GAP_ADV_FAST_INT_MAX_3,
};
char nameBuffer[16];
uint32_t scratch = getDeviceID() & 0xFFFFFFFF;
scratch ^= (getDeviceID() >> 32) & 0xFFFFFFFF;
int nameLen = snprintf(nameBuffer, 16, "Pinecil-%08X", (int)scratch);
struct bt_data adv_data[2] = {
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_NO_BREDR | BT_LE_AD_GENERAL)),
BT_DATA(BT_DATA_NAME_COMPLETE, DEVICE_BLE_NAME, strlen(DEVICE_BLE_NAME)),
};
// scan and response data must each stay < 31 bytes
struct bt_data adv_data[2] = {BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_NO_BREDR | BT_LE_AD_GENERAL)), BT_DATA(BT_DATA_NAME_COMPLETE, nameBuffer, nameLen)};
return bt_le_adv_start(&adv_param, adv_data, ARRAY_SIZE(adv_data), &adv_data[1], 1);
struct bt_data scan_response_data[1] = {BT_DATA(BT_DATA_UUID128_SOME, ((struct bt_uuid_128 *)BT_UUID_SVC_BULK_DATA)->val, 16)};
return bt_le_adv_start(&adv_param, adv_data, ARRAY_SIZE(adv_data), scan_response_data, ARRAY_SIZE(scan_response_data));
}
// Callback that the ble stack will call once it has been kicked off running
@@ -283,4 +291,4 @@ void bt_enable_cb(int err) {
bt_gatt_service_register(&ble_tp_server);
ble_start_adv();
}
}

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
/**
* Configuration.h
* Define here your default pre settings for Pinecil
* Define here your default pre settings for Pinecilv2
*
*/
@@ -59,6 +59,15 @@
#define ORIENTATION_MODE 2 // 0: Right 1:Left 2:Automatic - Default Automatic
#define REVERSE_BUTTON_TEMP_CHANGE 0 // 0:Default 1:Reverse - Reverse the plus and minus button assigment for temperature change
/**
* OLED Brightness
*
*/
#define MIN_BRIGHTNESS 1 // Min OLED brightness selectable
#define MAX_BRIGHTNESS 101 // Max OLED brightness selectable
#define BRIGHTNESS_STEP 25 // OLED brightness increment
#define DEFAULT_BRIGHTNESS 26 // default OLED brightness
/**
* Temp change settings
*/
@@ -78,7 +87,7 @@
#define POWER_PULSE_DEFAULT 0
#else
#define POWER_PULSE_DEFAULT 5
#endif
#endif /* Pinecil */
#define POWER_PULSE_WAIT_DEFAULT 4 // Default rate of the power pulse: 4*2500 = 10000 ms = 10 s
#define POWER_PULSE_DURATION_DEFAULT 1 // Default duration of the power pulse: 1*250 = 250 ms
@@ -121,9 +130,9 @@
#define VOLTAGE_DIV 600 // 600 - Default divider from schematic
#define CALIBRATION_OFFSET 900 // 900 - Default adc offset in uV
#define MIN_CALIBRATION_OFFSET 100 // Min value for calibration
#define PID_POWER_LIMIT 220 // Sets the max pwm power limit
#define PID_POWER_LIMIT 120 // Sets the max pwm power limit
#define POWER_LIMIT 0 // 0 watts default limit
#define MAX_POWER_LIMIT 220 //
#define MAX_POWER_LIMIT 120 // Sets the max power limit
#define POWER_LIMIT_STEPS 5 //
#define OP_AMP_GAIN_STAGE OP_AMP_GAIN_STAGE_PINECIL // Uses TS100 resistors
#define TEMP_uV_LOOKUP_HAKKO // Use Hakko lookup table
@@ -132,11 +141,12 @@
#define MAX_TEMP_C 450 // Max soldering temp selectable °C
#define MAX_TEMP_F 850 // Max soldering temp selectable °F
#define MIN_TEMP_C 10 // Min soldering temp selectable °C
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_TEMP_F 50 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
#define DEVICE_HAS_VALIDATION_CODE // We have 2 digit validations
#define POW_PD 1 // Supported features
#define POW_PD_EXT 0 // Future-proof macro for other models with other PD modes
#define POW_QC 1 // Supported features
#define POW_DC 1 // Supported features
#define POW_QC_20V 1 // Supported features
@@ -154,8 +164,11 @@
#define TIP_THERMAL_MASS 65 // X10 watts to raise 1 deg C in 1 second
#define BLE_ENABLED
#define NEEDS_VBUS_PROBE 0
#endif
#endif
#define CANT_DIRECT_READ_SETTINGS
#endif /* Pinecilv2 */
#define FLASH_LOGOADDR (0x23000000 + (1022 * 1024))
#define FLASH_PAGE_SIZE (1024)
#define SETTINGS_START_PAGE (1023 * FLASH_PAGE_SIZE) // Hal auto offsets base addr
#endif /* CONFIGURATION_H_ */

View File

@@ -10,10 +10,6 @@
#include "hal_flash.h"
#include "string.h"
#define FLASH_PAGE_SIZE (1024)
#define SETTINGS_START_PAGE (1023 * FLASH_PAGE_SIZE) // Hal auto offsets base addr
void flash_save_buffer(const uint8_t *buffer, const uint16_t length) {
BL_Err_Type err = flash_erase(SETTINGS_START_PAGE, FLASH_PAGE_SIZE);
err = flash_write(SETTINGS_START_PAGE, buffer, length);

View File

@@ -1,5 +1,5 @@
#include "configuration.h"
#if POW_PD
#ifdef POW_PD
#include "BSP.h"
#include "I2C_Wrapper.hpp"
#include "Setup.h"

View File

@@ -20,7 +20,7 @@ void postRToSInit() {
}
#endif
if (getSettingValue(SettingsOptions::BLEEnabled)) {
if (getSettingValue(SettingsOptions::BluetoothLE)) {
ble_stack_start();
}
}

View File

@@ -0,0 +1,239 @@
// BSP mapping functions
#include "BSP.h"
#include "HUB238.hpp"
#include "I2C_Wrapper.hpp"
#include "Pins.h"
#include "Setup.h"
#include "TipThermoModel.h"
#include "configuration.h"
#include "history.hpp"
#include "main.hpp"
#include <IRQ.h>
volatile uint16_t PWMSafetyTimer = 0;
volatile uint8_t pendingPWM = 0;
const uint16_t powerPWM = 255;
static const uint8_t holdoffTicks = 15; // delay of 8 ish ms
static const uint8_t tempMeasureTicks = 15;
uint16_t totalPWM = powerPWM + tempMeasureTicks + holdoffTicks; // htim2.Init.Period, the full PWM cycle
void resetWatchdog() { HAL_IWDG_Refresh(&hiwdg); }
// Lookup table for the NTC
// We dont know exact specs, but it loooks to be roughly a 10K B=4000 NTC
// Stored as ADCReading,Temp in degC
static const uint16_t NTCHandleLookup[] = {
// ADC Reading , Temp in C
23931, 0, //
23210, 2, //
22466, 4, //
21703, 6, //
20924, 8, //
20135, 10, //
19338, 12, //
18538, 14, //
17738, 16, //
16943, 18, //
16156, 20, //
15381, 22, //
14621, 24, //
13878, 26, //
13155, 28, //
12455, 30, //
11778, 32, //
11126, 34, //
10501, 36, //
9902, 38, //
9330, 40, //
8786, 42, //
8269, 44, //
};
uint16_t getHandleTemperature(uint8_t sample) {
int32_t result = getADCHandleTemp(sample);
// S60 uses 10k NTC resistor
// For now not doing interpolation
for (uint32_t i = 0; i < (sizeof(NTCHandleLookup) / (2 * sizeof(uint16_t))); i++) {
if (result > NTCHandleLookup[(i * 2) + 0]) {
return NTCHandleLookup[(i * 2) + 1] * 10;
}
}
return 45 * 10;
}
uint16_t getInputVoltageX10(uint16_t divisor, uint8_t sample) {
// ADC maximum is 32767 == 3.3V at input == 28.05V at VIN
// Therefore we can divide down from there
// Multiplying ADC max by 4 for additional calibration options,
// ideal term is 467
uint32_t res = getADCVin(sample);
res *= 4;
res /= divisor;
return res;
}
static void switchToFastPWM(void) {
// 20Hz
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
htim2.Instance->ARR = totalPWM;
htim2.Instance->CCR1 = powerPWM + holdoffTicks;
htim2.Instance->CCR4 = powerPWM;
htim2.Instance->PSC = 1500;
}
void setTipPWM(const uint8_t pulse, const bool shouldUseFastModePWM) {
PWMSafetyTimer = 20; // This is decremented in the handler for PWM so that the tip pwm is
// disabled if the PID task is not scheduled often enough.
pendingPWM = pulse;
}
// These are called by the HAL after the corresponding events from the system
// timers.
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// Period has elapsed
if (htim->Instance == TIM2) {
// we want to turn on the output again
PWMSafetyTimer--;
// We decrement this safety value so that lockups in the
// scheduler will not cause the PWM to become locked in an
// active driving state.
// While we could assume this could never happen, its a small price for
// increased safety
if (PWMSafetyTimer == 0) {
htim4.Instance->CCR3 = 0;
} else {
htim4.Instance->CCR3 = pendingPWM;
}
} else if (htim->Instance == TIM1) {
// STM uses this for internal functions as a counter for timeouts
HAL_IncTick();
}
}
void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) {
// This was a when the PWM for the output has timed out
if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_4) {
// HAL_TIM_PWM_Stop(&htim4, TIM_CHANNEL_3);
htim4.Instance->CCR3 = 0;
}
}
void unstick_I2C() {
#ifdef SCL_Pin
GPIO_InitTypeDef GPIO_InitStruct;
int timeout = 100;
int timeout_cnt = 0;
// 1. Clear PE bit.
hi2c1.Instance->CR1 &= ~(0x0001);
/**I2C1 GPIO Configuration
PB6 ------> I2C1_SCL
PB7 ------> I2C1_SDA
*/
// 2. Configure the SCL and SDA I/Os as General Purpose Output Open-Drain, High level (Write 1 to GPIOx_ODR).
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Pin = SCL_Pin;
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
GPIO_InitStruct.Pin = SDA_Pin;
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
while (GPIO_PIN_SET != HAL_GPIO_ReadPin(SDA_GPIO_Port, SDA_Pin)) {
// Move clock to release I2C
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_RESET);
asm("nop");
asm("nop");
asm("nop");
asm("nop");
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
timeout_cnt++;
if (timeout_cnt > timeout)
return;
}
// 12. Configure the SCL and SDA I/Os as Alternate function Open-Drain.
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Pin = SCL_Pin;
HAL_GPIO_Init(SCL_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = SDA_Pin;
HAL_GPIO_Init(SDA_GPIO_Port, &GPIO_InitStruct);
HAL_GPIO_WritePin(SCL_GPIO_Port, SCL_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(SDA_GPIO_Port, SDA_Pin, GPIO_PIN_SET);
// 13. Set SWRST bit in I2Cx_CR1 register.
hi2c1.Instance->CR1 |= 0x8000;
asm("nop");
// 14. Clear SWRST bit in I2Cx_CR1 register.
hi2c1.Instance->CR1 &= ~0x8000;
asm("nop");
// 15. Enable the I2C peripheral by setting the PE bit in I2Cx_CR1 register
hi2c1.Instance->CR1 |= 0x0001;
// Call initialization function.
HAL_I2C_Init(&hi2c1);
#endif
}
uint8_t getButtonA() { return HAL_GPIO_ReadPin(KEY_A_GPIO_Port, KEY_A_Pin) == GPIO_PIN_RESET ? 1 : 0; }
uint8_t getButtonB() { return HAL_GPIO_ReadPin(KEY_B_GPIO_Port, KEY_B_Pin) == GPIO_PIN_RESET ? 1 : 0; }
void BSPInit(void) { switchToFastPWM(); }
void reboot() { NVIC_SystemReset(); }
void delay_ms(uint16_t count) { HAL_Delay(count); }
bool isTipDisconnected() {
uint16_t tipDisconnectedThres = TipThermoModel::getTipMaxInC() - 5;
uint32_t tipTemp = TipThermoModel::getTipInC();
return tipTemp > tipDisconnectedThres;
}
void setStatusLED(const enum StatusLED state) {}
uint8_t preStartChecks() {
if (!hub238_has_run_selection()) {
return 0;
}
// We check if we are in a "Limited" mode; where we have to run the PWM really fast
// Where as if we are on 9V for example, the tip resistance is enough
uint16_t voltage = hub238_source_voltage();
uint16_t currentx100 = hub238_source_currentX100();
uint16_t thresholdResistancex10 = ((voltage * 1000) / currentx100) + 5;
if (getTipResistanceX10() <= thresholdResistancex10) {
// We are limited by resistance, not our current limiting, we can slow down PWM to avoid audible noise
htim4.Instance->PSC = 50; // 10 -> 500 removes audible noise
}
return 1; // We are done now
}
uint64_t getDeviceID() {
//
return HAL_GetUIDw0() | ((uint64_t)HAL_GetUIDw1() << 32);
}
uint8_t getTipResistanceX10() { return TIP_RESISTANCE; }
uint8_t preStartChecksDone() { return 1; }
uint8_t getTipThermalMass() { return TIP_THERMAL_MASS; }
uint8_t getTipInertia() { return TIP_THERMAL_INERTIA; }
void setBuzzer(bool on) {}

View File

@@ -0,0 +1,180 @@
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License (version 2) as published by the
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
***************************************************************************
>>! NOTE: The modification to the GPL is included to allow you to !<<
>>! distribute a combined work that includes FreeRTOS without being !<<
>>! obliged to provide the source code for proprietary components !<<
>>! outside of the FreeRTOS kernel. !<<
***************************************************************************
FreeRTOS 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. Full license text is available on the following
link: http://www.freertos.org/a00114.html
***************************************************************************
* *
* FreeRTOS provides completely free yet professionally developed, *
* robust, strictly quality controlled, supported, and cross *
* platform software that is more than just the market leader, it *
* is the industry's de facto standard. *
* *
* Help yourself get started quickly while simultaneously helping *
* to support the FreeRTOS project by purchasing a FreeRTOS *
* tutorial book, reference manual, or both: *
* http://www.FreeRTOS.org/Documentation *
* *
***************************************************************************
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
the FAQ page "My application does not run, what could be wrong?". Have you
defined configASSERT()?
http://www.FreeRTOS.org/support - In return for receiving this top quality
embedded software for free we request you assist our global community by
participating in the support forum.
http://www.FreeRTOS.org/training - Investing in training allows your team to
be as productive as possible as early as possible. Now you can receive
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
Ltd, and the world's leading authority on the world's leading RTOS.
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
compatible FAT file system, and our tiny thread aware UDP/IP stack.
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
licenses offer ticketed support, indemnification and commercial middleware.
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
engineered and independently SIL3 certified version for use in safety and
mission critical applications that require provable dependability.
1 tab == 4 spaces!
*/
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
/*-----------------------------------------------------------
* Application specific definitions.
*
* These definitions should be adjusted for your particular hardware and
* application requirements.
*
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
*
* See http://www.freertos.org/a00110.html.
*----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#ifdef __cplusplus
extern "C" {
#endif
/* USER CODE END Includes */
/* Ensure stdint is only used by the compiler, and not the assembler. */
#if defined(__ICCARM__) || defined(__CC_ARM) || defined(__GNUC__)
#include <stdint.h>
extern uint32_t SystemCoreClock;
#endif
#define configUSE_PREEMPTION 1
#define configSUPPORT_STATIC_ALLOCATION 1
#define configSUPPORT_DYNAMIC_ALLOCATION 0
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 0
#define configCPU_CLOCK_HZ (SystemCoreClock)
#define configTICK_RATE_HZ (1000)
#define configMAX_PRIORITIES (6)
#define configMINIMAL_STACK_SIZE ((uint16_t)256)
#define configTOTAL_HEAP_SIZE ((size_t)1024 * 14) /*Currently use about 9000*/
#define configMAX_TASK_NAME_LEN (32)
#define configUSE_16_BIT_TICKS 0
#define configUSE_MUTEXES 1
#define configQUEUE_REGISTRY_SIZE 8
#define configUSE_TIMERS 0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
#define configCHECK_FOR_STACK_OVERFLOW 2 /*Bump this to 2 during development and bug hunting*/
/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 0
#define configMAX_CO_ROUTINE_PRIORITIES (2)
/* Set the following definitions to 1 to include the API function, or zero
to exclude the API function. */
#define INCLUDE_vTaskPrioritySet 1
#define INCLUDE_uxTaskPriorityGet 0
#define INCLUDE_vTaskDelete 0
#define INCLUDE_vTaskCleanUpResources 0
#define INCLUDE_vTaskSuspend 0
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1
#define INCLUDE_xTaskGetSchedulerState 1
#define INCLUDE_uxTaskGetStackHighWaterMark 1
/* Cortex-M specific definitions. */
#ifdef __NVIC_PRIO_BITS
/* __BVIC_PRIO_BITS will be specified when CMSIS is being used. */
#define configPRIO_BITS __NVIC_PRIO_BITS
#else
#define configPRIO_BITS 4
#endif
/* The lowest interrupt priority that can be used in a call to a "set priority"
function. */
#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 15
/* The highest interrupt priority that can be used by any interrupt service
routine that makes calls to interrupt safe FreeRTOS API functions. DO NOT CALL
INTERRUPT SAFE FREERTOS API FUNCTIONS FROM ANY INTERRUPT THAT HAS A HIGHER
PRIORITY THAN THIS! (higher priorities are lower numeric values. */
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 5
/* Interrupt priorities used by the kernel port layer itself. These are generic
to all Cortex-M ports, and do not rely on any particular library functions. */
#define configKERNEL_INTERRUPT_PRIORITY (configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS))
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
#define configMAX_SYSCALL_INTERRUPT_PRIORITY (configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS))
/* Normal assert() semantics without relying on the provision of an assert.h
header file. */
/* USER CODE BEGIN 1 */
#define configASSERT(x) \
if ((x) == 0) { \
taskDISABLE_INTERRUPTS(); \
for (;;) \
; \
}
/* USER CODE END 1 */
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
standard names. */
#define vPortSVCHandler SVC_Handler
#define xPortPendSVHandler PendSV_Handler
#if configUSE_TIMERS
#define configTIMER_TASK_PRIORITY 2
#define configTIMER_QUEUE_LENGTH 8
#define configTIMER_TASK_STACK_DEPTH (512 / 4)
#endif
#ifdef __cplusplus
}
#endif
#endif /* FREERTOS_CONFIG_H */

View File

@@ -0,0 +1,91 @@
/*
* FRToSI2C.cpp
*
* Created on: 14Apr.,2018
* Author: Ralim
*/
#include "BSP.h"
#include "Setup.h"
#include <I2C_Wrapper.hpp>
SemaphoreHandle_t FRToSI2C::I2CSemaphore = nullptr;
StaticSemaphore_t FRToSI2C::xSemaphoreBuffer;
void FRToSI2C::CpltCallback() {
hi2c1.State = HAL_I2C_STATE_READY; // Force state reset (even if tx error)
if (I2CSemaphore) {
xSemaphoreGiveFromISR(I2CSemaphore, NULL);
}
}
bool FRToSI2C::Mem_Read(uint16_t DevAddress, uint16_t MemAddress, uint8_t *pData, uint16_t Size) {
if (!lock())
return false;
if (HAL_I2C_Mem_Read(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
I2C_Unstick();
unlock();
return false;
}
unlock();
return true;
}
bool FRToSI2C::I2C_RegisterWrite(uint8_t address, uint8_t reg, uint8_t data) { return Mem_Write(address, reg, &data, 1); }
uint8_t FRToSI2C::I2C_RegisterRead(uint8_t add, uint8_t reg) {
uint8_t tx_data[1];
Mem_Read(add, reg, tx_data, 1);
return tx_data[0];
}
bool FRToSI2C::Mem_Write(uint16_t DevAddress, uint16_t MemAddress, uint8_t *pData, uint16_t Size) {
if (!lock())
return false;
if (HAL_I2C_Mem_Write(&hi2c1, DevAddress, MemAddress, I2C_MEMADD_SIZE_8BIT, pData, Size, 500) != HAL_OK) {
I2C_Unstick();
unlock();
return false;
}
unlock();
return true;
}
bool FRToSI2C::Transmit(uint16_t DevAddress, uint8_t *pData, uint16_t Size) {
if (!lock())
return false;
if (HAL_I2C_Master_Transmit_IT(&hi2c1, DevAddress, pData, Size) != HAL_OK) {
I2C_Unstick();
unlock();
return false;
}
return true;
}
bool FRToSI2C::probe(uint16_t DevAddress) {
if (!lock())
return false;
uint8_t buffer[1];
bool worked = HAL_I2C_Mem_Read(&hi2c1, DevAddress, 0x0F, I2C_MEMADD_SIZE_8BIT, buffer, 1, 1000) == HAL_OK;
unlock();
return worked;
}
void FRToSI2C::I2C_Unstick() { unstick_I2C(); }
void FRToSI2C::unlock() { xSemaphoreGive(I2CSemaphore); }
bool FRToSI2C::lock() { return xSemaphoreTake(I2CSemaphore, (TickType_t)50) == pdTRUE; }
bool FRToSI2C::writeRegistersBulk(const uint8_t address, const I2C_REG *registers, const uint8_t registersLength) {
for (int index = 0; index < registersLength; index++) {
if (!I2C_RegisterWrite(address, registers[index].reg, registers[index].val)) {
return false;
}
if (registers[index].pause_ms)
delay_ms(registers[index].pause_ms);
}
return true;
}

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