Commit Graph

10 Commits

Author SHA1 Message Date
KlausMu 4488b1e589 gui for scene selection 2024-04-05 13:18:50 +02:00
KlausMu 665b6908e1 MQTT support in lvgl simulator 2024-03-18 20:20:59 +01:00
KlausMu dd36f09c15 only activate used commands. Saves 15k of memory 2024-03-12 20:26:55 +01:00
KlausMu 63d50baa11 changed comment for hardware rev 2 and 3 in platformio.ini 2024-03-11 07:44:29 +01:00
KlausMu 153535b586 simulator for Windows, WSL2 and Linux 2024-03-10 19:27:46 +01:00
KlausMu b98a06e91c memory optimization, only three tabs in memory at the same time 2024-03-10 14:41:50 +01:00
Klaus Musch 7ba79d5c92
Modular approach - first version for main branch (#60)
* first version of "modular-approach"

* changed keyboard commands for HOME and BACK

* Update README.md

* only some typos in comments

* readability

* comment for what the mqtt keyboard is used

* removed numbering of tab variables. not needed anymore

* changed the default keyboard from "´mqtt keyboard" to "BLE keyboard"

* updated to latest version of keypad library from Github, changes for inverted logic are explicitely marked

* added comment for key repeatModes

* added comment for MQTT keyboard

* setting timout via GUI now works, not only dropdown without functionality

* BLE indicator added; separation of BLE/WiFi activation from activation of devices using it

* report battery level to BLE device

* Dynamic keyboard commands, so you can safely deactivate BLE and/or WiFi and not break the example code

* reorganized files into folders

* moved lv_conf.h into the gui folder

* added devices for appleTV and smarthome

* assets.c broken up and placed them where they are used

* added support for IR RC5

* reorganization of files and folder

* added comment

* renamed assets files

* introduction of gui_registry

* removed unnecessary functions from sleep.h

* use gui_registry.h only once

* some files renamed for better understandability

* minor renaming

* some more renaming

* check if WiFi label was instantiated before using it

* introduction of a scene registry

* save prefs directly after timeout is changed

* renaming of preferencesStorage

* comment added

* only readability

* detailled definition of key layout for the diferrent scenes

* made code compile for "device_smarthome" when WiFi is deactivated

* fixed access violation when no scene was active

* added support for IR DENON commands

* increased lvgl heap from 32K to 48K
2024-02-12 19:57:51 +01:00
phant0mias a42a756205
Update platformio.ini (#43)
The used CPU has 4MB of flash memory. With the default settings only 1310720 bytes are used for the program
Current omote with default settings: Flash: [========= ]  85.1% (used 1115225 bytes from 1310720 bytes)

Using a different partition table will solve this problem. 

As the OTA feature is not needed this partition can be used for the application.
With this partition table 3145728 bytes are available for the application

Flash: [====      ]  35.5% (used 1115225 bytes from 3145728 bytes)
2023-09-27 20:46:52 +02:00
Max ff472fe232 Lower default SPI Clock
Lowered the default SPI clock as some displays might show glitches with the SPI frequency set above 40MHz.
2023-07-31 20:20:56 +02:00
Max 00145ed0dc Initial Upload 2023-06-28 20:26:56 +02:00