Commit Graph

3181 Commits

Author SHA1 Message Date
Ben V. Brown
20bb895253 Update porting guide + cleanups (#1898)
* Update porting guide + cleanups

* Documentation/README.md: update autogenerated file
2024-04-03 14:00:44 +11:00
Ivan Zorin
d98654bde2 Makefile: add S60P to MODELS (#1897) 2024-03-28 15:39:35 +11:00
Ben V. Brown
b5fc1b5891 4 ohm tip (#1868)
* Add 4 ohm PTS200 tip for PinecilV2

* Add PTS200 4 ohm tip to TS101

* Update BSP.cpp
2024-03-22 10:03:46 +11:00
TheScientistPT
a3f036aae4 Update translation_PT.json (#1896)
New string translations, shortened some existing ones that didn't fit on Pinecil V2 screen.
2024-03-21 09:07:55 +11:00
slark-yuxj
e8a1c34733 fix: handle is uninitialized when BFLB_BLE_DISABLE_STATIC_ATTR defined (#1895)
Signed-off-by: yuxiaojun <yuxiaojun@uniontech.com>
2024-03-20 11:57:36 +00:00
Ivan Zorin
1d12e9d7dd source/Makefile compatibility with BSD find [#1886] (#1892)
* source/Makefile compatibility with BSD find [#1886]

* Align formatting

* source/Makefile: remove trailing /s from DIR vars to fix build using BSD find/OSX env [#1886]
2024-03-16 19:32:31 +11:00
Arturo
9ea71bc4d2 USB-PD Support for Sequre S60P (#1883)
* Basic Init

* Rought implementation of fs2711 usb pd interface

* Rought implementation of fs2711 usb pd interface

* Still needs work overcurrent protection keeps getting tripped

* New pdo selection logic

* Update push.yml

* Update push.yml

* Update push.yml

* Update Makefile

* Adds PPS

* Removed unused define

* Adds PPS

* Apply suggestions from code review

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>

* Code review changes

* Added osDelay include

* New line alignment for S60 softwarei2c

* Code review

* Fixes code review stuff

* code review changes

* Change voltage limit to 20 as that's what the device is rated for

* Shortened wait time for usb pd

* Fixed issues that cuase S60P to restart constantly

* fixing minimal OLED brightness

With the current settings, the OLED turns off if the first level is selected.

* Adds protocol to s60p debug menu

* loosened fs2711 protocol selection timing

* Adds PDO register reading to negotiation logic

* Fixes FS2711 timeout issue and cleans up driver

* Adds FS2711 protocol negotiation to power loop

* Removed uneeded define

* Reverts changes to Font.h and adds clang-format comments

---------

Co-authored-by: Ben V. Brown <Ralim@Ralimtek.com>
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2024-02-25 22:04:48 +11:00
Ben V. Brown
9f6f2f86ff Add S60P init code (#1884)
* Basic Init

* Add S60P to CI
2024-02-23 10:19:07 +11:00
Ben V. Brown
baf2f26e59 Big overhaul of the UI framework (#1749)
* Starting GUI render refactor to be more immediate mode

Update TemperatureAdjust.cpp

.

Cleanup Soldering

Sleep

SolderingProfiles

Soldering Rework

Rough pass GUI

Temp Adjust

Cleanup old OperatingMode

Debug Menu

* Update TemperatureAdjust.cpp

* Roughing some transition work

* Fixup! Hook in the init starter helper

* Better home screen button handler

* FIXUP! Fix typo's

.

* Update SettingsMenu.cpp

* More settings rework

* More settings rendering

* Fixup

* Transitions

Update SolderingProfile.cpp

Hook in transistions

* Update TemperatureAdjust.cpp

* Update push.yml

* Add auto-repeat to settings menu

* Miniware: Use IT for I2C writes

* Update USBPDDebug_HUSB238.cpp

* Force write screen on side animation cancel

.

* Refactor moving down the settings list

* Update settingsGUI.cpp

* Update I2C_Wrapper.cpp

* Update OLED.cpp

* Rework button handling

* Fix PD debug at boot

* Fixup not showing right menu options

* silence some warnings

* Style cleanup

* Fkit use bit-bang I2C for Miniware

* Update GUIRendering.md

* Fixup transition on enter soldering mode

* Save Settings

* Fixes for some animations not running

Dont bail on animations if keypress is still held

* Fixup settings acceleration

* OLED Up animation

* Link up/down on debug meny

* Make all accelerometers I2C bus aware

Update accelerometers_common.h

* Make I2C mag optional

* Miniware -> Only Bit-Bang I2C

* Fixup for scrollbar

FIXUP! Debug menu returns to home screen

FIXUP! Up oled animation

Fix temp exit

* Settings menu -> Both buttons return a menu layer

* Merge fixup

* Update BMA223.cpp

* Re-Enable OLED sleep

* Save Setting on temp adjust exit

* WiP on startup mode

* Some autostart working

* Add hibernation mode & more autostart fixes

* If cant CJC; go to startup

* Hibernate in sleep

* Cleanup scroll indicator

* FIXUP! Ensure startup warnings are linked in

* FIXUP! Ensure we render out temp change before timing out

* Ensure 100ms delay between CJC samples

* Fix not re-calculating menu length on entering menu

* Implement NegotiationinProgress for USB-PD

* Mask heating until PD finishes negotiation

* Fixup staying in hibernate correctly

* Warning timeout

* Show reset settings warning

* Correctly compensate help text start time

* Update GUIThread.cpp

* Update USBPD.cpp

* .

* Fixup sleep time

* Update printSleepCountdown.cpp

* replacing countdown with big plus while in boost mode

* bringing back the + 1 since it was missing when not in boost mode

* Bail on USB-PD check after 3 seconds incase of DC source

* Fix hibernate

* Update PIDThread.cpp

* did center plus symbol (boost mode)

* Big refactor to not make settings increment handler handle the "is last item" return

* Fixup boot logo

* Fix flashing

* Fixup recalculate the menu length on long hold

* Fixup missing menu entries

* Fix junk left on screen after user confirmation

* Re-order button handler to use custom, then default order to allow setting associated setting

* Attach setting for settings using custom handler

* Fix swap +/- keys

* Fix boost temp

* Implement last menu option for Language selector

* Wait for init before CJC runs

* Check last setting via increment value

* Update BSP.cpp

* removed = from >=

Otherwise incrementing would stop and the scroll bar would already flash at the second to last value.

* (Hacky) Fix for Settings reset

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2024-02-18 09:42:08 +11:00
Ben V. Brown
21a1012102 Add rough pass on porting support (#1874) 2024-02-18 09:31:21 +11:00
Marek Kraus
a33770238c Merge pull request #1880 from DominikPalo/bugfix/fix-typo-in-sk-translation
Fix typo in SK translation for `ProfilePhase5Duration`
2024-02-15 12:35:30 +01:00
Dominik Paľo
bd02036310 Fix typo in SK translation for ProfilePhase5Duration 2024-02-15 10:24:03 +01:00
discip
f95528dc99 Merge pull request #1877 from 5mustafa/dev
Update translation_TR.json
2024-02-10 18:35:12 +01:00
Mustafa Tanrıverdi
86a20d2c72 Update translation_TR.json 2024-01-22 22:32:00 +03:00
Mustafa Tanrıverdi
1934f5ab93 Update translation_TR.json 2024-01-22 22:30:40 +03:00
Mustafa Tanrıverdi
16d0c3a532 Update translation_TR.json 2024-01-22 22:27:51 +03:00
discip
6e2bca9699 Reverting accidentally introduced changes (#1871) 2024-01-19 09:46:31 +11:00
discip
813722367d Off=>icon (#1678)
replacing Off by an Icon
2024-01-16 06:54:08 +11:00
discip
2b31d4eafa Merge pull request #1870 from Ralim/discip-patch-1
Update Settings.cpp
2024-01-14 23:00:49 +01:00
discip
fb16575cd9 Update Settings.cpp
format fix
2024-01-14 00:36:24 +01:00
discip
0bd7e03511 Merge pull request #1869 from ia/zzz
Translations/: set "Zzz " as SleepingSimpleString in all translations & revert maxLen value
2024-01-11 20:08:29 +01:00
Ivan Zorin
811b941f4b Translations/: set "Zzz " as SleepingSimpleString in all translations & revert maxLen value 2024-01-11 20:15:18 +03:00
discip
a1fb535d50 Merge pull request #1866 from ia/z-sleep
Translations/: set Zzzz as SleepingSimpleString in all translations for unification
2024-01-10 07:19:18 +01:00
Ivan Zorin
e7fd88be1e Translations/: change Zzzz to Zzz as SleepingSimpleString in all translations for unification & update maxLen for SleepingSimpleString 2024-01-10 05:11:55 +03:00
discip
fa762d42ec Merge branch 'dev' into z-sleep 2024-01-09 21:18:51 +01:00
discip
5db70c48f6 Merge pull request #1867 from eslng/uk-translation-2
Update translation_UK.json
2024-01-09 21:18:20 +01:00
yegor
f0340488e5 Update translation_UK.json 2024-01-09 22:13:15 +02:00
Ivan Zorin
aebbd28741 Translations/: set Zzzz as SleepingSimpleString in all translations for unification 2024-01-09 13:25:21 +03:00
discip
7d9bbbcd9f Merge pull request #1863 from ColoMAX/DjedenOfficial/dev
Dutch translations
2024-01-08 19:52:47 +01:00
discip
38a3696df8 Merge branch 'dev' into DjedenOfficial/dev 2024-01-02 17:41:50 +01:00
discip
166cf934ea Merge pull request #1864 from NunkyJoe/patch-1
Update translation_RU.json. Fixed a phrase that was too long causing …
2024-01-02 16:12:27 +01:00
NunkyJoe
00836793e0 Update translation_RU.json. Fixed a phrase that was too long causing temperature values to not fit on the sleep screen.
The sleep indication phrase in simple mode is too long "Хххррп". The temperature value does not fit on the screen. Replaced it with the original phrase "Zzzz", understandable in all languages.
2024-01-01 14:47:57 +03:00
Max Suurland
8126535a60 Merge branch 'DjedenOfficial/dev' of https://github.com/ColoMAX/IronOS into DjedenOfficial/dev 2023-12-29 11:33:25 +01:00
Max Suurland
4ebb6b81a7 Some messages were cut-ff 2023-12-29 11:29:59 +01:00
discip
37a78e4c97 Merge branch 'dev' into DjedenOfficial/dev 2023-12-29 01:00:53 +01:00
Max Suurland
411ac2d24b Fixed some wrong spelling and totally wrong translations.
Added some missing translations.
Modified single char option in menu.
Not tested on display.
2023-12-28 21:20:22 +01:00
discip
c914ca3969 Merge pull request #1862 from LasseVa/dev
Add Estonian translation
2023-12-28 01:43:31 +01:00
Lasse
3c761bdcd1 Update translation_ET.json 2023-12-28 01:10:39 +02:00
discip
3b9c63a0a9 Merge branch 'dev' into dev 2023-12-27 22:50:35 +01:00
discip
2344194f22 corrected some formatting issues 2023-12-27 22:38:08 +01:00
Lasse
e2cf2adc10 Update translation_ET.json 2023-12-27 19:37:59 +02:00
Lasse
ca128ceab8 Update translation_ET.json 2023-12-27 19:35:53 +02:00
Lasse
8aa0802521 Add files via upload 2023-12-27 19:33:40 +02:00
Ivan Zorin
624674a479 UploadV4 metadata workaround (#1855)
* chore(deps): bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* push.yml: split metadata artifacts into two separated packages since now it's error by design in uploadV4 to stuff multiple files from different jobs/steps into artifact with the same name

* push.yml: add metadata per model artifact since now it's error by design in uploadV4 to stuff multiple files from different jobs/steps into one artifact with the same name

* push.yml: testing proposed by github solution for actions:#472

* push.yml: "fixing" upload as github team suggested

* push.yml: rename upload metadata step to unify build steps naming pattern

* push.yml: upload_metadata: add if-no-files-found: error directive since metadata.zip is essential

* push.yml: giving a second chance for cache save/restore actions

* push.yml: remove unsupported name field from cache actions

* push.yml: add tar to deps so cache action can collect cached files on github

* push.yml: try to retrieve cache by key properly

* push.yml: try to retrieve cache by key properly

* push.yml: remove wildcards from keys

* push.yml: try retrieve cache by explicit name

* push.yml: trying with enableCrossOsArchive == true

* push.yml: revert changes back from cache save/restore to actions download/upload

* push.yml: set retention-days == 1 and testing dot file name hoping it will hide artifacts

* push.yml: upload_metadata - download jsons: fix pattern for testing

* push.yml: adding 3rd party step for testing to delete created artifacts

* push.yml: trying to fix syntax in 3rd party step

* push.yml: revert changes to working workaround but keep retention-days == 1

* push.yml: upload_metadata: download prebuilt artifacts, generate jsons, upload them as metadata.zip - Work in Progress

* push.yml: upload_metadata: trying to fix pattern for artifacts [WiP]

* push.yml: upload_metadata: remove matrix since it doesn't work [WiP]

* push.yml: upload_metadata: remove pattern to download all prebuilt artifacts

* push.yml: add every json to every model of artifact

* push.yml: remove uploading/reuploading individual json files as zips

* push.yml: pushing to see which error will be at this time...

* ci

* Revert "push.yml: pushing to see which error will be at this time..."

This reverts commit ed3ac204ca.

* push.yml: revert manually due to accidential commit from different branch of different repo

* Remove the image of my frustration with github checkout update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-12-27 10:21:02 +11:00
Ben V. Brown
8ebd3e3eed Update ubuntu base image for github CI 2023-12-27 09:28:24 +11:00
Ben V. Brown
ec5f07ec0c Cleanup make includes and formatting rules (#1860)
* Draft cleanup of the folder definition mess

* Move old startup

* Fixup! broken hacky includes

* Update Makefile

* Update Makefile

* Update Makefile

* Bulk format

* Who knew, header guards are a wise idea

* Squash some sizing warnings

* Drop broken usb stack

* Fix BLE headers to be sensible

* Cleaning up proper c styling

* We have newer clang, it does bracketing now

* Run clang-format brackets

* We can drop the old messy bracket-checker with newer clang format

* WiP formatter

* Align grids of scripts by right side

Massively easier to read in nearly all cases

* Excempt the table for compression from formatter
2023-12-27 09:23:12 +11:00
Ben V. Brown
849d1f7d40 Update compilers (#1858)
* Update Alpine Image

* Update push.yml

* Style updates
2023-12-26 19:54:47 +11:00
Ivan Zorin
9931afdb0f Settings: disable Bluetooth LE by default (for PinecilV2) #1856 (#1857) 2023-12-19 14:16:57 +11:00
Ben V. Brown
8ea79e3f7d MHP30: GD32 doesnt implement analog mode (#1845) 2023-12-19 13:53:03 +11:00
dependabot[bot]
9d2f90b140 chore(deps): bump actions/setup-python from 4 to 5 (#1852)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 06:45:38 +11:00