Commit Graph

3390 Commits

Author SHA1 Message Date
ReimuHakurei
7d58d1c7c0 Fix profile mode 2024-07-16 23:35:40 -05:00
Ben V. Brown
db126831bd Pinecil 2 PID tune adjustments (#1925)
Some checks failed
CI / check_c-cpp (push) Has been cancelled
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
Lower P/I Terms

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2024-07-12 08:28:10 +10:00
Ben V. Brown
48649908a7 WIP: Split Render for multiple screen resolutions (#1888)
* Create README.md

* Move to new folder

* Migrating

* Migrate Remainder

* format fix (all but one) (#1889)

* Update USBPDDebug_FS2711.cpp

* Delete PrintVoltage.cpp

* Copy in 128x32 template

* Mask drawing for 96x16

* Import #1819

* Update Font.h

* Homescreen

* Update draw_homescreen_detailed.cpp

* Fix oled normal draw for variable height

* Update OLED.cpp

* Draw settings icons

* Update draw_homescreen_simplified.cpp

* Update draw_power_source_icon.cpp

* Fixup oled drawing for fill area

* Update the region fill for mixed heights

* Fix newline height

* FIXUP! Draw icons in settings menu at correct size

* Fix scrollbar

* Update settingsGUI.cpp

* S60(P) Disable auto display rotation

* On tall oled, scroll in 2 line increments

* Bugfix transition L<->R

@discip I take it back, there was a bug :)

* Draw every other one on transitions

* .

* cleanup

* Bootup logo: Draw in centre

* Update OLED.hpp

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2024-07-12 08:27:05 +10:00
discip
ae21be2913 Merge branch 'dev' into dev 2024-07-11 22:04:43 +02:00
Ivan Zorin
18e936ae6d Implement OLED::drawUnavailableIcon() to simplify duplicated calls (#1947)
Some checks are pending
Docs / deploy-docs (push) Waiting to run
CI / build (MHP30) (push) Waiting to run
CI / build (Pinecil) (push) Waiting to run
CI / check_shell (push) Waiting to run
CI / check_readme (push) Waiting to run
CI / build (Pinecilv2) (push) Waiting to run
CI / build (S60) (push) Waiting to run
CI / build (S60P) (push) Waiting to run
CI / build (TS100) (push) Waiting to run
CI / build (TS101) (push) Waiting to run
CI / build (TS80) (push) Waiting to run
CI / build (TS80P) (push) Waiting to run
CI / build_multi-lang (Pinecil) (push) Waiting to run
CI / build_multi-lang (Pinecilv2) (push) Waiting to run
CI / upload_metadata (push) Blocked by required conditions
CI / tests (push) Waiting to run
CI / check_c-cpp (push) Waiting to run
CI / check_python (push) Waiting to run
2024-07-12 00:34:12 +10:00
discip
fa3d4d49d5 Merge branch 'dev' into dev 2024-07-11 15:36:02 +02:00
Ivan Zorin
c19e882338 Add enum for USB PD modes (#1943)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
* Add enum for USB PD modes

* Update comments for clarification according to code review
2024-07-09 19:20:02 +10:00
Ivan Zorin
ac6994a676 Update BG translation for PD mode options (#1941)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
* Update BG translation for PD mode options

* Update BG and RU translations for PD mode options
2024-07-08 12:06:38 +10:00
dmitrygribenchuk
b72ff94ece update translation_BE.json (#1942)
Some checks are pending
Docs / deploy-docs (push) Waiting to run
CI / check_readme (push) Waiting to run
CI / upload_metadata (push) Blocked by required conditions
CI / tests (push) Waiting to run
CI / check_c-cpp (push) Waiting to run
CI / check_python (push) Waiting to run
CI / check_shell (push) Waiting to run
CI / build (MHP30) (push) Waiting to run
CI / build (Pinecil) (push) Waiting to run
CI / build (Pinecilv2) (push) Waiting to run
CI / build (S60) (push) Waiting to run
CI / build (S60P) (push) Waiting to run
CI / build (TS100) (push) Waiting to run
CI / build (TS101) (push) Waiting to run
CI / build (TS80) (push) Waiting to run
CI / build (TS80P) (push) Waiting to run
CI / build_multi-lang (Pinecil) (push) Waiting to run
CI / build_multi-lang (Pinecilv2) (push) Waiting to run
2024-07-07 22:56:46 +10:00
fredericuslaurentii
116afeca60 PD modes IT translation (#1937)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
Update translation_IT.json
2024-07-03 10:51:56 +10:00
Ivan Zorin
9007f6c0e8 Update RU translation for PD mode options (#1940) 2024-07-03 10:51:40 +10:00
jonasius
693c1a3f2f Merge branch 'dev' into dev 2024-06-28 23:49:53 +02:00
jonasius
f21630eb79 Enable/add DC support for S60P 2024-06-28 17:54:43 +02:00
jonasius
4634fa8ba7 Fix showing displayPowerMenu for POW_PD and POW_PD_EXT 2 2024-06-28 17:47:59 +02:00
jonasius
6ad0b65bff Correct README to Sequre S60, S60P and S99 2024-06-27 19:08:26 +02:00
jonasius
69493ba212 Add missing braces 2024-06-27 19:07:39 +02:00
jonasius
e6a3f380e1 4x faster PWM, add Timer changes from #1926 2024-06-26 00:13:23 +02:00
jonasius
56b91ac13c Add missing __HAL_RCC_GPIOB_CLK_ENABLE 2024-06-25 23:53:07 +02:00
jonasius
0d74f773b2 Code cleanup, always init both I2C bus 2024-06-25 23:40:17 +02:00
jonasius
51e08f3992 Fix clang-format issues 2024-06-25 19:13:30 +02:00
jonasius
e9117269ef Add experimental detection of separate USB-PD I2C bus for S99 v1.5 and S60P v1.2 2024-06-25 19:07:22 +02:00
jonasius
c776390ac3 Add pins for S99 v1.5 and probably S60P v1.2 2024-06-25 19:03:07 +02:00
jonasius
a626d5a9c1 Fix missing PD related description of menu items and messages for POW_PD_EXT 2024-06-25 17:26:14 +02:00
jonasius
c8c36d29bf Fix clang-format code style mismatches 2024-06-19 22:24:05 +02:00
jonasius
b772e1dc26 Add S99 to overview table 2024-06-19 22:05:55 +02:00
eslng
1b042fcf65 Update translation_UK.json with PD mode option (#1929)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
2024-06-10 08:36:04 +10:00
Ben V. Brown
3b344c8680 Fixup! S60 asm source folder
Some checks failed
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
Been broken for a while but better to be correct
2024-06-08 17:58:08 +10:00
Ben V. Brown
2a4e1cd8ab Refactor: Rename Sequre bsp (#1927)
* Rename Sequre BSP Folder

* Update Makefile
2024-06-08 17:53:19 +10:00
Ben V. Brown
e925037988 Sequre Faster PWM (#1926)
* 4x faster PWM

* Add light filter to displayed temp
2024-06-08 17:34:20 +10:00
Ben V. Brown
14b92cde08 Pinecilv2 adc v2 (#1916)
Some checks are pending
Docs / deploy-docs (push) Waiting to run
CI / build (MHP30) (push) Waiting to run
CI / build (Pinecil) (push) Waiting to run
CI / build (Pinecilv2) (push) Waiting to run
CI / build (S60) (push) Waiting to run
CI / build (S60P) (push) Waiting to run
CI / build (TS100) (push) Waiting to run
CI / build (TS101) (push) Waiting to run
CI / build (TS80) (push) Waiting to run
CI / build (TS80P) (push) Waiting to run
CI / build_multi-lang (Pinecil) (push) Waiting to run
CI / build_multi-lang (Pinecilv2) (push) Waiting to run
CI / upload_metadata (push) Blocked by required conditions
CI / tests (push) Waiting to run
CI / check_c-cpp (push) Waiting to run
CI / check_python (push) Waiting to run
CI / check_shell (push) Waiting to run
CI / check_readme (push) Waiting to run
* Updated NTC lookup

* remove float compute from adc (as we dont use it)

* Updated adc settings

* Updated ADC Init

* Custom max temp lookup

* Mask Timer around changing timer rate

* Use timer channels in sane order

* Update IRQ.cpp

* Remove ADC dummy wait on start/stop

* Dont use ADC IRQ

* Disable sampling delay

* Update Setup.cpp

* PinecilV2 disable ROM driver utils

Always use our source

* Force settings upgrade on PinecilV2

Fix forced settings upgrade on Pinecilv2

* Prevent ADC rollover

* Update Setup.cpp

* ADC cleanup

* Rollover prevention

* Measure tip temperature 2nd

* Rebase Buffalo SDK to 1.4.5 (#1923)

* Update bl702_adc.c

* Update board.c

* .

* Update bl702_adc.c

* Import updated hal_drv

* Remove accidental dupe of stack in linker

* First pass update BLE stack

* Update ReleaseNotes

* Update push.yml

* Drop BT Audio which we dont use

* .

* Reformat

* Update conn.c

* Update hog.c
2024-06-08 14:33:06 +10:00
jonasius
8514edfdea Fix clang-format code style mismatches 2024-06-06 23:35:12 +02:00
jonasius
f5d6d8b1af Add define for USB_PD_TIMEOUT, the default value for PDNegTimeout 2024-06-06 23:13:58 +02:00
jonasius
da28492f00 Add define for USB_PD_TIMEOUT, the default value for PDNegTimeout 2024-06-06 23:09:43 +02:00
jonasius
6ef1fbd46a Support for S99
* Enable PD Options
* Make PDNegTimeout configureable
* Add default value for PDNegTimeout, also for S60 and S60P
* Add basic DC detection / correct debug readings while powered via DC
* Add basic ThermoModel for C245 Tips
* Modify op-amp gain
2024-06-06 22:35:35 +02:00
jonasius
6e53d85b32 Rename Sequre_S60 folder to Sequre 2024-06-06 20:27:08 +02:00
jonasius
31ff398150 Correct debug menu "Tip R" to "Tip uV" 2024-06-03 22:30:07 +02:00
jonasius
a2615a57b8 Use SettingsOptions::PDNegTimeout in FS2711 driver 2024-06-02 22:53:34 +02:00
jonasius
e327be5bd8 Correct debug menu "Tip R" to "Tip uV" 2024-06-02 16:15:46 +02:00
jonasius
a306de5c37 Merge branch 'Ralim:dev' into dev 2024-06-01 14:03:50 +02:00
Ben V. Brown
442dbd982e Expand USB-PD mode option (#1917)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
* Use PDMode to decide if we do resistance pad

* Rename PDVpdo to USBPDMode

* Add options for PD Mode

* OLED: Allow soft line-wrap x position

* Add new translation option for menu settings values

* Use new setting value for PD Mode

* Update translations for new menu setting

* Fixup! S60

* black python
2024-06-01 16:36:34 +10:00
jonasius
2c5d2a08ed Add whitespaces according to coding style
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2024-05-26 23:09:13 +02:00
jonasius
5ea42a8bbf Add whitespaces according to coding style
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2024-05-26 23:09:06 +02:00
jonasius
a3b7abbf0e Add Sequre S99 with correct bootloader offset 2024-05-26 21:14:11 +02:00
jonasius
1521b5ea31 Add S99 2024-05-26 21:13:41 +02:00
jonasius
653a0803e2 Add support for Sequre S99, copied S60P settings 2024-05-26 21:13:09 +02:00
Mustafa Tanrıverdi
c135732ebb Completed TR translation file (#1912)
Some checks failed
CI / check_readme (push) Has been cancelled
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
* Update translation_TR.json

* Update translation_TR.json

* Update translation_TR.json

* Update translation_TR.json

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2024-05-24 08:24:41 +00:00
Ben V. Brown
88d7a8e154 Handle non-EPR devices not encoding PPS correctly (#1911)
Handle non EPR devices not encoding PPS correctly

By not trusting them at all.
2024-05-24 18:21:42 +10:00
Ivan Zorin
f11290891e Remove register keyword according to ISO C++17 for fixing related warning (#1893)
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / build (Pinecil) (push) Has been cancelled
CI / build (Pinecilv2) (push) Has been cancelled
CI / build (S60) (push) Has been cancelled
CI / build (S60P) (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / build (TS101) (push) Has been cancelled
CI / build (TS80) (push) Has been cancelled
CI / build (TS80P) (push) Has been cancelled
CI / build_multi-lang (Pinecil) (push) Has been cancelled
CI / build_multi-lang (Pinecilv2) (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / check_c-cpp (push) Has been cancelled
CI / check_python (push) Has been cancelled
CI / check_shell (push) Has been cancelled
CI / check_readme (push) Has been cancelled
* Remove register keyword according to ISO C++17 for fixing related warning from compiler
2024-05-22 19:44:14 +10:00
discip
ad15a53cd9 Merge pull request #1902 from PockyBum522/patch-1
Add description of fix for around common error under Windows section...
2024-04-10 12:49:32 +02:00
DSikes
ac0cd2a61d Added description of how to get around common error under Windows section of installation guide
Added a message about how to get around windows dialog prompt when copying from NTFS filesystems (Most of what Windows users will be copying from) to FAT which the iron uses.

This is an extremely common problem for Windows users, and I'd like to put in a tested workaround in the guide as it would have saved me about 15 minutes on what would have been a 20 second install.

I believe this will be of similar benefit to most Windows users.
2024-04-10 06:17:53 -04:00