901 Commits

Author SHA1 Message Date
Karakurt
c00df49708 Added support for spaces in directory names (#2140) 2025-07-16 23:07:19 +00:00
Ivan Zorin
24ffc3eb8c Switch slide scrolling animation for debug menu from the bottom 2025-03-16 23:29:33 +03:00
Ivan Zorin
1a673b8b91 Swap AB buttons setting: use another approach by keeping original switch/case intact but adding another one 2025-03-10 10:51:10 +03:00
Ivan Zorin
ccda1713c1 Disable ReverseButtonSettings option by default 2025-03-10 05:42:37 +03:00
Ivan Zorin
ce3fea8176 Add option to swap A/B buttons in Settings menu with minimal changes (#2034) 2025-03-10 05:01:07 +03:00
Ivan Zorin
c698c58e3a Making clang-format happy 2025-03-07 07:03:24 +03:00
Ivan Zorin
42aeee1c0b Alternative solution with more code lines in different functions 2025-03-07 06:59:33 +03:00
Ivan Zorin
11d9f1ab1d Fix code style 2025-03-07 05:35:53 +03:00
Ivan Zorin
7dbc55fa2b Probably a finally proper fix for #2076 2025-03-07 05:22:20 +03:00
Philippe Teuwen
83aa1b6425 Adding Pinecilv2 ws2812b mod option (#2099)
* support for WS2812B mod on Pinecil v2

* document support for WS2812B mod on Pinecil v2

* update IronOS-mkdocs.yml

* Protect WS2812B_Pin with define WS2812B_ENABLE
2025-03-06 22:36:01 +03:00
Ben V. Brown
5e8ab27958 Mhp 30 fixes (#2094)
* Fix LED control for MHP30

* Refactor the draw rect function to fix heating

* FIXUP to include correct menu title for MHP30

Closes #2036

* Fixes for ADC mode init

Fixes #2043
2025-03-06 08:59:05 +11:00
Ivan Zorin
51afcbd733 Revert "Add option to swap A / B buttons in Settings menu" (#2098)
Revert "Add option to swap A / B buttons in Settings menu (#2059)"

This reverts commit c6bdc28081.
2025-03-05 10:53:38 +11:00
Ben V. Brown
5041326335 Add missing BLE settings (#2095)
Fixes #2044
2025-03-05 08:22:20 +11:00
Leo
c6bdc28081 Add option to swap A / B buttons in Settings menu (#2059)
* Add option to swap A / B buttons in Settings menu

---------

Co-authored-by: Ivan Zorin <ivan.a.zorin@gmail.com>
2025-03-04 14:35:48 +03:00
tabudz
d775036c9e Fix: Potential Vulnerability in Cloned Function (#2087)
* Fix for #168

* Adapt style ecc_dsa.c

* Update ecc_dsa.c
2025-03-02 09:07:51 +11:00
Ben V. Brown
08002e0d33 Fix RToS Update (#2091)
* Silence undef

* Update Makefile

* Fix task priorities

* Bump CI host images

* Format c++

* Update make_translation.py

* Update bl702_common.c
2025-03-02 08:56:23 +11:00
Ben V. Brown
3a6a22c351 Use indexed notifications for I2C 2025-02-24 20:39:04 +11:00
Ben V. Brown
dd6c71a385 Merge branch 'update' into i2c-rework-2 2025-02-24 20:30:15 +11:00
Ben V. Brown
e8db6d5f4d Update FreeRTOSConfig.h 2025-02-24 20:26:53 +11:00
Ben V. Brown
f026e513fd Update GUIThread.cpp 2025-02-24 20:11:01 +11:00
Ben V. Brown
3e453f1363 Update FreeRTOS to latest release 2025-02-23 22:59:19 +11:00
Ben V. Brown
2794547817 Explicit cast 2025-02-23 20:18:46 +11:00
Ben V. Brown
5feefc5b89 Mask BLE IRQ's during OLED update 2025-02-23 18:31:41 +11:00
Ben V. Brown
0ed2d84fca Refactor I2C result to use notifications, allowing faster task yield
So that one I2C done, task can directly swap and pickup later if I2C is blocking
2025-02-23 13:02:57 +11:00
Ben V. Brown
4087fc60ed IRQ Read from FiFo 2025-02-23 13:02:57 +11:00
Ben V. Brown
c4df679b21 Ensure lock occurs once result captured 2025-02-23 13:02:57 +11:00
Ben V. Brown
166339e74d Add Rx FIFO status 2025-02-23 13:02:57 +11:00
Ben V. Brown
786a0a41e5 Use IRQ for all I2C Writes 2025-02-23 13:02:57 +11:00
Ben V. Brown
5c7cfe2e19 I2C inner function needs irq's 2025-02-23 13:02:57 +11:00
Ben V. Brown
48b28123a6 [Squash] Move I2C to IRQ based for big txn
Squash DMA attempt out

.
2025-02-23 13:02:57 +11:00
Ben V. Brown
c2ec65cafb Use runaway counter trigger 2025-02-23 13:02:57 +11:00
Ben V. Brown
53982efa14 Use the ADC_MAX_READING value 2025-02-23 13:02:57 +11:00
Ben V. Brown
be1536b82f Update I2C_Wrapper.cpp 2025-02-23 13:02:57 +11:00
Ben V. Brown
05158321ba Merge pull request #2082 from Ralim/pinecil-v2-tip-disconnected
Dont adjust pinecilv2 max temp by Coe
2025-02-23 09:04:57 +11:00
Ben V. Brown
f810921b0c Merge pull request #2083 from tabudz/fix-CVE-2021-31571
Fix: Potential Vulnerability in Cloned Function
2025-02-22 18:55:43 +11:00
tabudz
2b8568ce37 add assert for addition overflow on queue creation (#225) 2025-02-22 15:46:12 +08:00
Ben V. Brown
d122a9fb52 Dont adjust pinecilv2 max temp by Coe 2025-02-22 15:19:43 +11:00
Ben V. Brown
3ed86d2acf sink caps: Add default profiles 2025-02-22 11:35:49 +11:00
Ben V. Brown
7c6ce812f6 Add minimal sink caps 2025-02-22 11:24:02 +11:00
Ben V. Brown
ebdff59293 Default to no EPR/PPS so its opt in (#2073)
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
Leo
08ff68cd4f Added guide for compiling under Windows (#2060)
* 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
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
Ben V. Brown
fd91cf9f35 Revert "Merge pull request #2048 from Ralim/pinecilv2-i2c-rework"
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