Commit graph

32 commits

Author SHA1 Message Date
Thomas Bittner
53fa7b7c87 Added wifi UI and change debug print function
* HardwareAbstract debug print function now uses VA_LIST
* Added wifi handling UI
* Notification items currently part of hardware abstract
2023-09-09 21:47:04 -04:00
Thomas Bittner
02d973f8b1 Updated user interface with wifi settings page 2023-09-09 21:47:04 -04:00
Matthew Colvin
fe51337458 Remove timer passed into display and convert to a notification send out by the display class
Handle that notification by resetting the sleep timer.
2023-09-09 21:47:04 -04:00
Matthew Colvin
916f589344 Update Notification class to allow for easier reference to the handler type 2023-09-09 21:47:04 -04:00
Matthew Colvin
7a9dc1d93d Implement Simulator Display Abstract without public function support. 2023-09-09 21:47:04 -04:00
Matthew Colvin
b182f0b75d move display abstract to first parameter of hardware
abstract and no longer provide a default for it.
2023-09-09 21:47:04 -04:00
Matthew Colvin
509d71cdaa rename HardwareInterfaces folder to hardwaremodules
since it now contains an abstract
2023-09-09 21:47:04 -04:00
Matthew Colvin
ddccfa141d Rename DisplayInterface file to DisplayAbstract 2023-09-09 21:47:04 -04:00
Matthew Colvin
305541bc52 Rename from Display Interface to abstract 2023-09-09 21:47:04 -04:00
Matthew Colvin
5731148bf6 Turn Display Interface into a singleton Abstract class that can do the registration of callbacks to LVGL and allow implementers of the abstract to support LVGL. 2023-09-09 21:47:04 -04:00
Matthew Colvin
419ac45e98 update Display interface and downstream code to add flush callback
Hoping to allow implementation of interface to allow Hardware abstract to setup LVGL
2023-09-09 21:47:04 -04:00
Matthew Colvin
40841c8d09 remove unnecessary battery in HardwareRevX 2023-09-09 21:47:04 -04:00
Matthew Colvin
bbcb6368d0 remove wifi code from hardwareRevX 2023-09-09 21:47:04 -04:00
Matthew Colvin
b3aa617a59 Implement Battery Update Task in HardwareRevX 2023-09-09 21:47:04 -04:00
Matthew Colvin
7967300508 Add Template Class for Notification to allow for easier creation of notifications 2023-09-09 21:47:04 -04:00
Matthew Colvin
d73b816578 Add docs around battery notifications 2023-09-09 21:47:04 -04:00
Matthew Colvin
6268a28682 rough draft a callback inside HardwareAbstract
to show concept.
2023-09-09 21:45:58 -04:00
Matthew Colvin
35de08d2e3 add display interface to HardwareAbstract 2023-09-09 21:44:47 -04:00
Thomas Bittner
03c4441bb0 Added seperate UI HAL interface
* DisplayInterface now is for hardware display only
* UIInterface is the general interface for UI
2023-09-09 21:44:47 -04:00
Matthew Colvin
1bbafd4bb5 update wifi interface and handler
add the wifi interface to the hardware abstract
2023-09-09 21:44:47 -04:00
Matthew Colvin
a4e35a2219 remove IR and
mqtt functions from hardwareAbstraction
2023-09-09 21:44:47 -04:00
Matthew Colvin
6bbc0e5e5d Add Quick draft of some UML to help conceptualize the Architecture a bit better. 2023-09-09 21:44:47 -04:00
Matthew Colvin
a771c64c71 rename interface folder to HardwareInterfaces
rename HardwareInterface file to hardware
abstract.

update ini to reflect new file structure
2023-09-09 21:44:47 -04:00
Matthew Colvin
44b5d8cf14 rename HardwareInterface to HardwareAbstract in file 2023-09-09 21:44:47 -04:00
Matthew Colvin
85343d9bd4 Further update battery Interface and downstream code 2023-09-09 21:44:47 -04:00
Matthew Colvin
cd603a2a83 Update Battery Interface by adding it to hardwareInterface
Remove Display out of some classes and leave comments to replace for callbacks
I dont know about the function of this code but it compiles :)
2023-09-09 21:44:47 -04:00
Matthew Colvin
c4547917c8 Move Battery Status Struct to Battery Interface
Fix small compiler errors in new interfaces
2023-09-09 21:44:47 -04:00
Thomas Bittner
e2138764ac Added new interface abstract classes 2023-09-09 21:44:47 -04:00
Matthew Colvin
bcfda0641c clean up build defines by using platform.ini to override default lv_config.
remove unneeded include directory.

Change-Id: Id63baa80dae89977d239a539b5db9ff67266e1d6
2023-09-09 21:44:46 -04:00
Matthew Colvin
d2051daf8b ensure all targets build
remove unused assets.c
add new github actions that reflect new simulator
2023-09-09 21:44:46 -04:00
Matthew Colvin
4185ff3bb6 put init code into HardwareSimulator Class 2023-09-09 21:44:46 -04:00
Matthew Colvin
5b1228b167 Re work directory structure to support new architecture
Still need to get the Sim building
2023-09-09 21:44:46 -04:00