Commit Graph

436 Commits

Author SHA1 Message Date
anschrammh
beb7a86af1 Added a lot of settings handling callbacks, added the code to test the BMA456 step counter feature and it seems to work just fine 2023-03-26 23:22:45 +02:00
anschrammh
721db527ce Added the ble modem and service source files (at last) 2023-03-26 23:21:27 +02:00
anschrammh
85e5fec2cd Updated the watch face background image 2023-03-26 23:19:08 +02:00
anschrammh
622681128c Reworked the vibration duration when touching the screen 2023-03-26 23:18:14 +02:00
anschrammh
214e174ffc Implemented the logic to detect and read the charge controller status pins using two different policies :
- the first one (also used right now) is using interrupts on the two lines
- the second one was doing some polling using a timer interrupt to check the controller status
2023-03-26 23:17:20 +02:00
anschrammh
9f574f0486 Added new features and graphics to the watch face :
Added a battery icon which is blinking when the battery is low
Addes a charging and charged battery icon
Added a step count counter widget with icon and count
Added a bluetooth status icon showing when ble is enabled,disabled and when a device is connected
Added the possibility to hide the hour and minute hands with a long press on the screen, this enables to see information which might be hidden by the hands ...
2023-03-26 23:13:30 +02:00
anschrammh
8a9b805b95 Added new persistency methods, reworked some old ones and added every settings set functions 2023-03-26 23:09:36 +02:00
anschrammh
9458948f59 Added support for new settings with their callbacks, adjusted vibration motor duration, added a factory reset button and now saving the settings to flash memory when leaving the settings screen 2023-03-26 23:07:43 +02:00
anschrammh
22805a4e54 Added the I2C clock speed parameter to the app_config.h file. Max working clock speed seems to be 300kHz 2023-03-26 23:04:43 +02:00
7329d86437 Mise à jour de 'LICENSE' 2023-03-24 21:42:52 +01:00
2a8c21205b Mise à jour de 'README.md' 2023-03-24 21:41:54 +01:00
anschrammh
e393c2c18a Updated the README file by adding some pictures of the PCB + otherinformation 2023-03-24 21:37:57 +01:00
anschrammh
f1af0cd0d6 Adjusted rtc's year setting ... 2023-03-24 16:39:22 +01:00
anschrammh
e03c8d1585 Added the datasheet of an other display which might be used in version 2 of the watch to get rid of the big round black bezel 2023-03-24 16:38:49 +01:00
anschrammh
e18faba6a9 Did some cleanup and added more files/folders to the ignored pile 2023-03-24 15:27:52 +01:00
anschrammh
f1e71bba67 Turned off a lot of functionalities related to TCP IP and WiFi to free some RAM, might be turned on back again later if needed and if RAM space left :P 2023-03-24 15:26:11 +01:00
anschrammh
d05aa72135 Updated all the settings callbacks to be compatible with the new setting system 2023-03-24 15:23:17 +01:00
anschrammh
4c1f1e168a Updated a log trace to be more meaningful 2023-03-24 15:22:15 +01:00
anschrammh
f8dace1dc1 Reduced the main's task stack size from 4k to 2k 2023-03-24 15:18:07 +01:00
anschrammh
2761a53a49 Reduced FreeRTOS available heap from 12k to 4k 2023-03-24 15:17:04 +01:00
anschrammh
2481699356 Vibration settings are now taken into account at lvgl input device driver layer 2023-03-24 15:15:19 +01:00
anschrammh
b65ab1ad4e Reduced LVGL allocated RAM by 10K. This RAM will be useful when running the BLE stack ... 2023-03-24 15:10:17 +01:00
anschrammh
b31cc96c10 Added the tls_is_rtc_running function which is not part of the official SDK. This allows to start the RTC after a reset and to know when it stopped running. 2023-03-24 15:10:16 +01:00
anschrammh
061fdb729b Updated the menu to now use the translation module to display the selected language 2023-03-24 15:06:14 +01:00
anschrammh
7e11913535 Added new watch settings in the persistency layer, added flash read and write functions, work still in progress 2023-03-24 15:06:14 +01:00
anschrammh
185b7a7efa Major rework of the settings screen :
- reduced RAM footprint by 10K :-)
- Added the new about category displaying infos about the watch's firmware
- Now widgets are reloaded with current parameters's values
- Almost all settings are taken into account
2023-03-24 15:06:14 +01:00
anschrammh
728394ff22 Reworked the compass screen to work for both possible platforms (breadboard and PCB) 2023-03-24 15:06:14 +01:00
anschrammh
86be55b404 Reworked the common screen header to add scrolling when the title is too long and to be able to update it's title after is has been created 2023-03-24 15:06:14 +01:00
anschrammh
5d3b5b5285 Added new wrapper functions to interact more easily with the watch's peripherals 2023-03-24 15:06:14 +01:00
anschrammh
beec1570c0 Reworked the orientation of the screen depending on the defined platform in app_config.h 2023-03-24 15:06:14 +01:00
anschrammh
f770a8e436 Added new parameter to be able to build the firmware for the breadboard platform or the PCB (latest) platform 2023-03-24 15:06:14 +01:00
anschrammh
ccad2b7494 Corrected a typo, added some precision about the BMA456 IRQ line used for wakeup 2023-03-24 14:49:11 +01:00
anschrammh
6c4a186a19 Added the new translation module to the project by updating the include paths + makefile 2023-03-24 14:48:20 +01:00
anschrammh
323f1f2996 Added a translation module to implement multilanguage support 2023-03-24 14:45:55 +01:00
anschrammh
0874a24cb9 Added a new header file to track the version history of the firmware and to display the running version 2023-03-24 14:44:30 +01:00
anschrammh
099fe8cea7 Added an other charging state which wasn't an error : when both lines are high, this indicates that no charger is currently plugged to the watch 2023-03-22 08:24:20 +01:00
anschrammh
242fbc3df9 Updated readme by adding pictures of the PCBs, added the next steps section + mail address 2023-03-21 19:36:01 +01:00
Anatole SCHRAMM
c97891d898 Added MCU pin definition for reading battery charge controller IC statuses 2023-03-20 17:55:01 +01:00
Anatole SCHRAMM
a752c9765d Adding the battery controller IC charging, charged and unplugged status detection, work in progress 2023-03-20 17:53:38 +01:00
anschrammh
60cf47b142 Added the state of the FreeRTOS stack (free heap/total heap) 2023-03-14 07:32:27 +01:00
anschrammh
66a3c87131 Renamed some file's header guards to be more consistent, clean some useless object in the UI, renamed a watch settings which name could be misleading 2023-03-12 21:44:43 +01:00
anschrammh
6e2a3e88fa Added a battery icon indicating if the watch is charging, charged or if the battery is running low, adde new bluetooth icon, work is still in progress for bluetooth 2023-03-12 21:41:03 +01:00
anschrammh
408853788f Minor changes : silkscreen update and minor rework 2023-03-08 08:03:17 +01:00
anschrammh
609b374f4b Finished to design and implement the altimeter/atmoshperic pressure app screen 2023-03-06 20:47:42 +01:00
anschrammh
13d967c92c Corrected badly formated check box 2023-03-06 20:44:36 +01:00
anschrammh
ee2dc8fb12 Reworked the 3V3 MCU trace design and added a few more vias - nothing major 2023-03-03 10:05:27 +01:00
anschrammh
2af9a06f94 Updated the getting started section of the README.md file 2023-02-27 23:32:52 +01:00
655a37404d Updated README.md file
Updated current progress status in the README.md file + started to add a getting started section describing the steps required to build and flash the W800_Smart_Watch firmware
2023-02-27 17:27:06 +01:00
a5d1c3dc49 Final PCB update for PCB version 1.0 2023-02-26 12:05:32 +01:00
anschrammh
7e7b93c694 Altimeter screen continued but not finished 2023-02-23 06:22:50 +01:00