278 Commits

Author SHA1 Message Date
Ken Van Hoeylandt
ddf46b07e9
SD card support for 2432S024C and some fixes (#24)
- Implemented SD card support for Yellow Board 2432S024C
- Fix for locking bug when showing gui keyboard
- T-Deck driver naming fixes
- Loader tag name consistency improvement
2024-01-28 21:52:05 +01:00
Ken Van Hoeylandt
d27579848a
SD card support (#23)
### General
- Added support for SD cards in `HadwareConfig`
- Properly disabled PC build for now (I was still getting error emails)
- Updated `README.md` with a device compatibility table

### T-Deck:
- Implemented SD card support
- Logging message cleanup
- Updated `config,h` with various new settings
- Reduced stack depth from `8096` to `5000`
2024-01-28 16:34:25 +01:00
Ken Van Hoeylandt
618f557a16
Simplify keyboard support (#22)
* simplify keyboard support

* removed cleanup code as it wasn't necessary

* improved docs
2024-01-28 00:04:47 +01:00
Ken Van Hoeylandt
7a7b31e426
Various improvements (#21)
* T-Deck stability and naming improvements

* allow main task to clean itself up

* remove unused includes

* various lvgl improvements

* added docs
2024-01-27 23:13:17 +01:00
Ken Van Hoeylandt
a2f0399c9f
Improved startup sequence (#20)
* Improved startup sequence

* updated comments/order
2024-01-27 16:28:48 +01:00
Ken Van Hoeylandt
ccbe6b7ab8
LilyGo T-Deck keyboard support & display driver improvements (#19)
* LilyGo T-Deck keyboard support

* reverse logic

* docs and readability

* cleanup

* optimize driver buffer

* cleanup
2024-01-27 12:34:02 +01:00
Ken Van Hoeylandt
14eb43211d
Support for Waveshare S3 Touch LCD 4.3 (#18)
* initial changes for waveshare s3 touch support

* fix lvgl locking

* fix for lvgl locking

* cleaned up dependencies

* boards now depend on tactility instead of tactility-esp

* revert deletion

* remove component

* working touch&display driver

* added waveshare to github actions

* cleanup

* fix for driver

* fix for sim build

* build fixes

* updated docs

* updated docs

* attempt new sdl2 github action

* revert

* fixes for clion/cmdline build

environment wasn't parsed properly

* temporarily disable pc sim build
2024-01-26 21:36:21 +01:00
Ken Van Hoeylandt
ed2d0cc78a
Move FreeRTOSConfig.h to app-sim (#17)
* Move FreeRTOSConfig.h to app-sim

* improved docs

* updated ideas.md and removed finished todos
2024-01-22 00:27:17 +01:00
Ken Van Hoeylandt
d6baf40d0b
Implement LVGL with SDL for simulator (#16)
* Implemented LVGL with SDL for simulator

* cleanup

* added SDL to build

* build fix

* mutex fixes

* sim app cleanup and improvements

* docs updated

* fix for sdl?

* fix for SDL cmake setup
2024-01-21 22:27:00 +01:00
Ken Van Hoeylandt
18a5c5aa45
Move Config back to tactility project (#15) 2024-01-20 16:23:33 +01:00
Ken Van Hoeylandt
e2209ccba8
Move app/service code from tactility-core to tactility (#14)
* Move app/service code from tactility-core to tactility

* fix formatting

* updated dev docs
2024-01-20 15:41:01 +01:00
Ken Van Hoeylandt
0c724e2e68 Improved gitignore for cmake directory generation 2024-01-20 14:21:38 +01:00
Ken Van Hoeylandt
6bd65abbb4
Tactility modules refactored (#13)
* refactor modules

* moved esp_lvgl_port to libs/

* added missing file

* fix for sim build

* various sim/pc fixes

* lvgl improvements

* added missing cmake files
2024-01-20 14:10:19 +01:00
Ken Van Hoeylandt
a94baf0d00
Support for PC platform (#12)
* improvements for cross-platform compiling

* moved tactility-core to libs/

* splitup improvements

* remove git/gitmodules from freertos

* better platformbetter platform checks

* added build scripts

* delete mbedtls

* re-add mbedtls

* fixes and improvements

* added pc build

* simplify build scripts

* revert build scrpit

* updated builds

* fix for pc

* fix for pc

* fix for build
2024-01-19 17:39:30 +01:00
Ken Van Hoeylandt
c830c66063 View and state updating simplified 2024-01-17 23:59:04 +01:00
Ken Van Hoeylandt
aa6f05e54c Use TT logging instead of ESP 2024-01-17 23:56:02 +01:00
Ken Van Hoeylandt
468bbdc308 Use CBC not ECB 2024-01-17 23:52:31 +01:00
Ken Van Hoeylandt
36f24776b1 Prepare code for non-ESP usage 2024-01-17 23:21:45 +01:00
Ken Van Hoeylandt
1ed7489088 Don't store ssid when encryption failed 2024-01-17 23:16:07 +01:00
Ken Van Hoeylandt
d8b22912e6 cross-platform logging 2024-01-17 22:49:25 +01:00
Ken Van Hoeylandt
6550fa4583 move mlib to libs folder 2024-01-17 21:45:57 +01:00
Ken Van Hoeylandt
a931b83435 removed cmsis lib and references 2024-01-17 21:02:08 +01:00
Ken Van Hoeylandt
622c9f780c Revert "fix for flash size in default config"
This reverts commit 38e7a359109115f4e3d6fdda963009e3544a6ef3.
2024-01-17 20:52:08 +01:00
Ken Van Hoeylandt
38e7a35910 fix for flash size in default config 2024-01-17 20:50:19 +01:00
Ken Van Hoeylandt
74bfe5e792 Removed custom string implementation 2024-01-15 00:21:53 +01:00
Ken Van Hoeylandt
d9c42ab326 Removed heap tracing and custom output 2024-01-15 00:21:38 +01:00
Ken Van Hoeylandt
16dc1e385c Various UI/UX improvements
- Implemented keyboard in gui service
- Various UI/UX improvements in wifi apps
2024-01-14 23:26:37 +01:00
Ken Van Hoeylandt
ba1f81f599
Implemented wifi credentials storage (#11)
* implemented wifi credentials storage

* encrypt wifi credentials
2024-01-14 18:46:04 +01:00
Ken Van Hoeylandt
069416eee5
Rename furi to tactility-core (#10)
* renamed module

* renamed code

* more renames

* cleanup
2024-01-13 22:12:40 +01:00
Ken Van Hoeylandt
64a01df750
Wifi support and much more (#9)
* add wifi service

* updates for service/app registry changes

* wifi wip

* basic wifi functionality

radio on/off is working
scanning state is working

* fix for wifi switch state

* reduce singleton usage

* various improvements

* improved error handling for low memory issues

* working scanning

* various improvements

* various improvements and fixes

+ added auto-start support in Config

* allow hardwareconfig customizations

* fix for rgb format

* increased lvgl fps

17ms works but 16ms makes the touch events hang for some reason

* layout improvements

* wip on multi-screen view

* basic connection dialog

* more connection logic

* created proper app stack and lifecycle

* cleanup

* cleanup

* cleanup lv widgets

* proper toolbar implementation

* split up wifi apps

* wip

* revert naming

* wip

* temp fix for internal disconnect

* added bundle

* app/service vs appdata/servicedata

* working wifi connect parameters
2024-01-13 14:15:53 +01:00
Ken Van Hoeylandt
83e226f696
implemented service registry (#8)
+ implemented app and service context for data sharing
2024-01-06 20:37:41 +01:00
Ken Van Hoeylandt
051b1548ec added spi ram support 2024-01-06 13:03:51 +01:00
Ken Van Hoeylandt
28bd80c1f1
Rename project to tactility (#7)
* wifi wip

* renamed project to Tactility

* renamed code files and defines

* changed prefixes to tt_

* removed wifi wip code
2024-01-06 12:24:38 +01:00
Ken Van Hoeylandt
b0ffa04d78
semaphore cleanup (#6) 2024-01-05 20:56:44 +01:00
Ken Van Hoeylandt
73ed5a5ebe added comment about hardware 2024-01-05 20:53:14 +01:00
Ken Van Hoeylandt
1d1dd820df simplify config 2024-01-05 19:40:08 +01:00
Ken Van Hoeylandt
e842e30ab3
created ServiceManifest (#5)
based on AppManifest
2024-01-05 19:38:39 +01:00
Ken Van Hoeylandt
3b9986fcef updated readme 2024-01-05 17:12:04 +01:00
Ken Van Hoeylandt
8336316133
Added Lilygo T-Deck support & more (#4)
* added lilygo t-deck

restructured boards
implemented HardwareConfig
implemented lilygo t-deck lcd and touch drivers
added sdkconfig defaults for supported boards

* cleanup

* added esp32s3 job

* build job names updated

* wip

* partial revert

* update readme and build.yml

* updated build.yaml with fix for quotes

* use esp-idf 5.1.2

* improvements and fixes

* fixes for display code

* made config const

* various improvements
2024-01-05 17:01:39 +01:00
Ken Van Hoeylandt
eed990217f cleanup and fixes for widgets 2024-01-03 14:59:10 +01:00
Ken Van Hoeylandt
bb047b4a5f added missing fonts 2024-01-03 14:35:28 +01:00
Ken Van Hoeylandt
48d2fd6c2d implemented basic desktop 2024-01-03 14:13:13 +01:00
Ken Van Hoeylandt
f6c547ad45 implemented basic top bar 2024-01-02 23:47:49 +01:00
Ken Van Hoeylandt
e0fc80ca64 cleanup 2024-01-02 17:21:56 +01:00
Ken Van Hoeylandt
1ca6c3ba28
Merge pull request #3 from ByteWelder/app_loading_various
Added data partitions and app loading logic
2024-01-02 17:17:17 +01:00
Ken Van Hoeylandt
768ab52cd3
App loading progress (#2)
* app loading wip

* various improvements

irq/isr stuff is now working
lvgl locking where needed
hello world now uses proper mutex for app unlocking
etc?

* various improvements

* cmsis_esp improvements

* implement interrupts
2024-01-02 17:05:41 +01:00
Ken Van Hoeylandt
c0824af966 added data partitions and app loading logic 2024-01-02 16:55:17 +01:00
Ken Van Hoeylandt
b9427d4eba
App Loading via Loader (#1)
* app loading wip

* various improvements

irq/isr stuff is now working
lvgl locking where needed
hello world now uses proper mutex for app unlocking
etc?

* various improvements

* cmsis_esp improvements

* implement interrupts
2023-12-30 12:39:07 +01:00
Ken Van Hoeylandt
60372076d5 cleanup filenames and extern usage 2023-12-28 13:18:05 +01:00
Ken Van Hoeylandt
1cafa1ec1a renamed struct types 2023-12-28 13:07:01 +01:00