33 Commits

Author SHA1 Message Date
Ken Van Hoeylandt
a9e890a7f3
USB mass storage driver (#146) 2025-01-03 01:48:48 +01:00
Ken Van Hoeylandt
737c0f7447
CoreS3 refactored & remove M5 libraries (#143)
Remove dependencies M5Unified and M5GFX because:
- Sometimes the release doesn't even compile
- The amount of functions is too close to the limit (I recently had to remove some code/dependency to be able to make a build at all)
- Graphics performance issue since last update
- Touch screen performance issues (not perfect yet, but better)
- Compatibility issues with Tactility SPI/I2C versus M5Unified/M5GFX variants.
2025-01-02 00:19:24 +01:00
Ken Van Hoeylandt
3214923425
Core2 M5Unified independence + general fixes (#142)
- Change init sequence: I2C is now initialized before "power" init phase, to allow for I2C power control
- I2c HAL: Added read/write support for registers
- Added axp192 code from https://github.com/tuupola/axp192 to Core2 implementation
- Fixes for Core2Power
- Fix for root project CMakeLists.txt
2025-01-01 18:47:48 +01:00
Ken Van Hoeylandt
9581978fc7
Re-implement Core2 and other improvements (#141)
- Create real drivers instead of wrapping M5Unified/M5GFX
- Display HAL improvements (better default base class behaviour)
- Fixed bug with LVGL statusbar service locking (would hang indefinitely waiting for mutex, causing WDT issues)
- Fixes for `Critical.h`
- Fixes and improvements for `Dispatcher` and `DispatcherThread`
2024-12-30 14:17:47 +01:00
Ken Van Hoeylandt
50bd6e8bf6
Merge develop into main branch (#137)
* SdCard HAL refactored (#135)

- Refactor SdCard HAL
- introduce Lockable

* Screenshot and FatFS improvements (#136)

- Fix screenshots on ESP32
- Improve Screenshot service
- Convert Screenshot app to class-based instead of structs
- Screenshot app now automatically updates when task is finished
- Enable FatFS long filename support

* Re-use common log messages (#138)

For consistency and binary size reduction

* Toolbar spinner should get margin to the right

* More TactilityC features (#139)

* Rewrote Loader

- Simplified Loader by removing custom threa
- Created DispatcherThread
- Move auto-starting apps to Boot app
- Fixed Dispatcher bug where it could get stuck not processing new
messages

* Hide AP settings if the AP is not saved

* Missing from previous commit

* Replace LV_EVENT_CLICKED with LV_EVENT_SHORT_CLICKED

* Refactored files app and created InputDialog (#140)

- Changed Files app so that it has a View and State
- Files app now allows for long-pressing on files to perform actions
- Files app now has rename and delete actions
- Created InputDialog app
- Improved AlertDialog app layout
2024-12-27 23:12:39 +01:00
Ken Van Hoeylandt
da3a93ce73
Display driver simplified and implemented gamma (#133) 2024-12-18 16:43:41 +01:00
Ken Van Hoeylandt
f34440eb6f
Fixes and improvements (#132)
- Fix glitch when turning on WiFi: It would temporarily show "No networks found" right before starting the first scan.
- Fix spinner to use Assets.h
- Replace statusbar battery icons 
- Better statusbar icon for when WiFi is on but not connected
- Replace statusbar WiFi icons and Wifi Manage RSSI/lock icons
- Fix for crash when timer is null in I2cScanner
- Deprecate Spacer
- Fixes for toolbar layout (simplified)
- Improved ImageViewer app: center image and add filename text on the bottom
- Add LV debug params to sdkconfig.developer
- Disabled LV spinner, msgbox and window widgets. These have equivalents in Tactility.
2024-12-17 23:32:43 +01:00
Ken Van Hoeylandt
49bf8e824c
Various improvements and fixes (#128)
- Fix for display orientation assumption in Display app
- Update logo (added colours)
- Fix for double stopping the Files app
- Deny registration of apps and services that are already registered
- Updated `ideas.md` for these changes
- Other cleanup
2024-12-15 21:15:54 +01:00
Ken Van Hoeylandt
103588948f
Implement forgetting WiFi APs (#116)
.. and fix the simulator build
2024-12-09 23:37:21 +01:00
Ken Van Hoeylandt
da81256622
Power improvements (#114) 2024-12-09 21:58:30 +01:00
Ken Van Hoeylandt
e4206e8637
Compiler warning cleanup (#113)
Cleanup + expose more methods for external ELFs
2024-12-08 19:59:01 +01:00
Ken Van Hoeylandt
415442e410
Support for building and running external apps (#112) 2024-12-08 16:46:19 +01:00
Ken Van Hoeylandt
42e843b463
C++ conversions (#111)
* Remove version from artifact name
* Target C++ 20 and higher
* Use cpp string
* Better crash implementation
* String utils in cpp style
* Replace parameter methods with start() method
* MutexType to Mutex::Type
* Kernel c to cpp style
* Cleanup event flag
* More cpp conversions
* Test fixes
* Updated ideas docs
2024-12-07 12:24:28 +01:00
Ken Van Hoeylandt
d52fe52d96
Various services improved (#110) 2024-12-06 23:16:29 +01:00
Ken Van Hoeylandt
36bb25deba
Service data refactored (#109) 2024-12-06 01:02:53 +01:00
Ken Van Hoeylandt
c6f1cd6098
Remove [[nodiscard]] (#108) 2024-12-05 23:25:31 +01:00
Ken Van Hoeylandt
50ee77d572
App and Service improvements (#106) 2024-12-05 22:46:27 +01:00
Ken Van Hoeylandt
e86a11b7e2
App improvements (#105) 2024-12-04 23:06:03 +01:00
Ken Van Hoeylandt
c7314546fe
WiFi improvements (#102) 2024-12-03 22:22:45 +01:00
Ken Van Hoeylandt
e9c02ab58e
WiFi fixes and improvements (#100) 2024-12-02 22:16:08 +01:00
Ken Van Hoeylandt
33bb742dfb
Hal refactored (#99) 2024-12-02 00:32:39 +01:00
Ken Van Hoeylandt
0188ce721c
Boot splash and more (#98)
* Boot splash and more

- Added developer sdkconfig
- Refactored the way FreeRTOS includes are included
- Improved Gui/Loader logic
- Implemented boot app with splash screen

* Updated naming for Gui and Loader services

* Renamed Screenshot service methods

* Renames

* Service renames
2024-11-30 15:37:16 +01:00
Ken Van Hoeylandt
3f62ec2efa
Implemented I2C scanner app (#97) 2024-11-28 21:42:18 +01:00
Ken Van Hoeylandt
03d14ef74b
Unified AppEsp and AppSim into a single App module (#94) 2024-11-27 00:06:59 +01:00
Ken Van Hoeylandt
ca5d4b8226
C++ refactoring (#91) 2024-11-26 17:51:05 +01:00
Ken Van Hoeylandt
d06137ba76
Enable FreeRTOS SMP (multicore) (#90) 2024-11-25 21:57:20 +01:00
Ken Van Hoeylandt
dfd9349e6c
Create I2C app icon (#89) 2024-11-25 20:45:42 +01:00
Ken Van Hoeylandt
8fc653fa51
Various improvements (#88) 2024-11-24 23:44:03 +01:00
Ken Van Hoeylandt
76c14a5f47
Sort apps on Desktop and Settings (#87)
- Sort apps by name
- Make manifest IDs consistent
- Updated screenshots
- Renamed Screenshot app so it always renders at the bottom of the app list
2024-11-24 22:16:43 +01:00
Ken Van Hoeylandt
c8f63adba4
Added I2C settings app (#85) 2024-11-24 21:31:15 +01:00
Ken Van Hoeylandt
d8731eaa17
I2C Implementation (#84) 2024-11-24 18:04:57 +01:00
Ken Van Hoeylandt
854fefa1a1
Thread and Timer converted to class (#81) 2024-11-22 23:08:18 +01:00
Ken Van Hoeylandt
85e26636a3
C++ conversion (#80)
Converted project to C++
2024-11-22 20:26:08 +01:00