Commit Graph

895 Commits

Author SHA1 Message Date
Ivan Zorin
7e57184b65 Refactoring: unify the names of the variables related to ReverseButtonMenu handling and add the option to the end of the settings struct to avoid the collisions on factory resets 2025-02-17 18:20:55 +03:00
Ivan Zorin
883ef60935 Remove macro from configuration.h files 2025-02-17 17:57:06 +03:00
Ivan Zorin
0e703ca992 Sync 2025-02-12 23:41:35 +03:00
Ben V. Brown
ebdff59293 Default to no EPR/PPS so its opt in (#2073)
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 (T55) (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_docs (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
Some chargers have funky PPS.
Plus some do not want EPR be default (even though 28V is safe by designer on PinecilV2).

So take the safest option by default and make it opt-in
2025-02-08 09:17:01 +03:00
resistancelion
8b60290c7d Summary 2025-02-08 04:41:41 +02:00
Ivan Zorin
bfbd1a533b Sync 2025-02-08 03:35:59 +03:00
Leo
08ff68cd4f Added guide for compiling under Windows (#2060)
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 (T55) (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_docs (push) Waiting to run
* Update documentation to build IronOS in Windows using MSYS2 environment and fix compilation on case-sensitive file systems.

---------

Co-authored-by: Ivan Zorin <ivan.a.zorin@gmail.com>
2025-02-08 00:03:49 +03:00
Ivan Zorin
904a25add0 Merge branch 'patch-2' of github.com:resistancelion/IronOS into rl-menubuttons 2025-02-07 05:21:36 +03:00
Ivan Zorin
893678797c Sync 2025-02-07 05:19:32 +03:00
safocl
5797d5a68b fix: accessing inactive union members
Access to the inactive union members is an undefined behavior.
`column.whole = (1 << height) - 1;` -- 'whole' is active member here,
`fillArea(OLED_WIDTH - 1, 0, 1, 8, column.strips[0]);` -- but the 'strips'
member accessed here.
Same issue: https://gitlab.com/libeigen/eigen/-/issues/2898
2025-02-02 13:48:49 +04:00
safocl
ab1fa24863 settingsGUI.cpp: remove duplicated calls (#2065)
settingsGUI.cpp: remove duplicated calls from if-else blocks
2025-02-02 08:45:17 +03:00
resistancelion
ef8c9a6c20 style (6) 2025-01-30 18:49:30 +02:00
resistancelion
b6642ac01b style (5) 2025-01-30 18:47:44 +02:00
resistancelion
9993fc1a19 style(4) 2025-01-30 18:43:03 +02:00
resistancelion
79cb0b5d92 style(3) 2025-01-30 18:40:34 +02:00
resistancelion
5e78168c90 -style 2025-01-30 18:38:17 +02:00
resistancelion
157769b099 -style 2025-01-30 18:33:30 +02:00
resistancelion
e346a7793e Requested change
Now it flips buttons only in menu by default, however i need the other option, so i've added definition "REVERSE_NAV_EVERYWHERE"
2025-01-30 18:30:08 +02:00
resistancelion
68116f7de2 Revert "Reverse Settings.h" 2025-01-30 11:38:52 +02:00
resistancelion
b7bfa3f4cf Reverse Settings.h 2025-01-30 11:16:29 +02:00
Leo
0646c24b09 Code style (11th try) 2025-01-29 06:48:46 +02:00
Leo
248a7b5525 Code style (10th try) 2025-01-29 06:41:58 +02:00
Leo
f882f57b18 Style cleanup (9th try!!!) 2025-01-29 06:35:14 +02:00
Leo
8908c9d687 Style correction (8th TRY) 2025-01-29 06:28:14 +02:00
Leo
54d14b421c Style correction 2025-01-29 06:23:04 +02:00
Leo
ce86d6594d Update draw_homescreen_simplified (128x32)
Drawer rework, should look ok but testing is required
2025-01-28 16:32:20 +02:00
Leo
b469179058 Update draw_homescreen_simplified.cpp
Code cleanup
2025-01-28 16:31:45 +02:00
Leo
24cb221443 Update draw_homescreen_simplified.cpp
Sorry
2025-01-28 15:50:27 +02:00
Leo
5e5f8581ea Update draw_homescreen_simplified.cpp
Is It fOrMaTtEd EnOuGh??
2025-01-28 15:47:46 +02:00
Leo
719dc6b14d Update draw_homescreen_simplified.cpp
meh(2)
2025-01-28 15:08:06 +02:00
Leo
0f60d737fc Update draw_homescreen_simplified.cpp
meh
2025-01-28 14:44:21 +02:00
Leo
1ed2299ce0 Update draw_homescreen_simplified.cpp
Style corrected
2025-01-28 14:42:24 +02:00
Leo
71551e6db5 Update draw_homescreen_simplified.cpp
Rework of 96x12 drawer, in order to support swapping of setting/heating hints
2025-01-28 14:32:34 +02:00
Leo
659fa48a05 Entirely moved button flipping to GUIIThread.cpp
I don't know is it better or worse, functions the same
2025-01-26 18:55:55 +02:00
Leo
dfce09413f Removed edits from TemperatureAdjust.cpp, so less code will have changes 2025-01-26 16:51:44 +02:00
Leo
c6cd6983fb Update code format in Settings.cpp 2025-01-26 16:38:13 +02:00
Leo
1fb84d5f50 Implemented switching A and B buttons, closing #2034
getButtonState() now have an option int/bool argument to swap the result via XOR
2025-01-26 05:03:46 +02:00
Ben V. Brown
fd91cf9f35 Revert "Merge pull request #2048 from Ralim/pinecilv2-i2c-rework"
Some checks failed
Docs / deploy-docs (push) Has been cancelled
CI / build (MHP30) (push) Has been cancelled
CI / tests (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 (T55) (push) Has been cancelled
CI / build (TS100) (push) Has been cancelled
CI / check_c-cpp (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_docs (push) Has been cancelled
CI / upload_metadata (push) Has been cancelled
This reverts commit b401dc8264, reversing
changes made to 42fb9e1105.
2025-01-11 12:46:32 +11:00
Ben V. Brown
a3082c389e Drop crit section on I2C 2025-01-11 10:00:50 +11:00
Ben V. Brown
169d9e6956 Allocate fixed ID's for Operating Modes 2025-01-06 10:19:57 +11:00
Ivan Zorin
1e285a6a5c Set tip type as auto by default 2024-12-24 04:04:14 +03:00
Ivan Zorin
ee6aff54b3 Restore the original file 2024-12-23 23:01:15 +03:00
Ivan Zorin
6cf9916a6e Revert formatting for the unmodified file 2024-12-23 22:37:49 +03:00
Ivan Zorin
5f38e1812c Implement getUserSelectedTipResistance() as stub 2024-12-23 21:51:51 +03:00
Ivan Zorin
0a63b6b5df Add macro to enable tip types for supported hardware only 2024-12-23 21:13:44 +03:00
Ben V. Brown
dd4a550063 Merge pull request #2018 from Ralim/version
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 (T55) (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_docs (push) Waiting to run
Update version for RC-1
2024-12-22 12:35:47 +11:00
Ben V. Brown
8f05433be2 Update PIDThread.cpp 2024-12-22 12:32:21 +11:00
Ben V. Brown
cfa2591db3 Update Soldering.cpp 2024-12-22 12:32:21 +11:00
Ben V. Brown
d313f62101 Fomatting and adjust setpoint 2024-12-22 12:32:21 +11:00
Ben V. Brown
6cc8b8184e WiP Thermal rewrite 2024-12-22 12:32:21 +11:00