Commit Graph

170 Commits

Author SHA1 Message Date
0ec9b4246b Added lcd off and lcd power down functions to the API. This improves sleep current which is around 4.5mA instead of 12mA 2023-01-08 22:16:37 +01:00
1fe8e03a13 Other important changes 2023-01-07 23:17:50 +01:00
5c7bfc223a Some refactoring 2023-01-07 23:16:31 +01:00
a4b6ac5299 Moved uart TX for debug to PB_02 pin, letting the PB_19 pin free for the I2C SDA line 2023-01-07 23:15:53 +01:00
666a841026 Started the implementation of the persistency module allowing to save and retrieve settings 2023-01-07 23:10:44 +01:00
74d48ada96 Moved the display initialization code to it's own file as part of some code cleanup 2023-01-07 10:02:34 +01:00
af85b9b594 Disabled interrupts during an I2C transaction to make them atomic 2023-01-07 10:00:14 +01:00
f53ec9b5db Created the watch settings persistency file containing the watch settings to save and retrieve 2023-01-06 19:32:42 +01:00
Anatole SCHRAMM
59bf4c98bc Corrected a bad case where the return value could be void instead of the expected bool 2023-01-05 13:49:17 +01:00
Anatole SCHRAMM
526845e4f2 Listed the pin mapping here, subject to changes 2023-01-05 13:48:16 +01:00
Anatole SCHRAMM
2c854e2535 Cleaned the lv_port_indev c file to now use the CST816D chip driver 2023-01-05 13:47:39 +01:00
Anatole SCHRAMM
a5407e8de9 Minor updates to the readme file 2023-01-05 13:45:51 +01:00
anschrammh
a01d3157aa Added a new folder which will eventually contain persistent storage logic 2023-01-05 07:12:50 +01:00
anschrammh
4d1079be66 Added pressure related API functions 2023-01-05 07:11:21 +01:00
Anatole SCHRAMM
3b0f2e30f5 Updated MCU pin mapping 2023-01-03 14:22:38 +01:00
anschrammh
6187537a78 Minor updates the QMC5883L driver, implemented the softreset function for the BMP280 sensor and wrote the driver for the CST816D touch screen ic. 2023-01-03 08:32:02 +01:00
anschrammh
facbd92bf5 Removed old screen documentation because it used the wrong serial interface, so it has been removed from the project. 2023-01-02 21:18:50 +01:00
anschrammh
47dca73834 Renamed the drivers folder to app_drivers because of a library name conflict. Moved bad makefile lib linkage 2023-01-02 21:07:40 +01:00
Anatole SCHRAMM
59765a6fc3 Updated readme file 2023-01-02 12:26:00 +01:00
a165e8a243 Added new function to the watch face api to force a RTC resync. 2023-01-01 19:03:44 +01:00
b088e585c5 Overwrote the old indev driver to make the touch ic work with lvgl. Code is dirty, needs to be cleaned. 2023-01-01 19:02:43 +01:00
b5fc007404 Test code to try the touch screen driver out (CST816D) 2023-01-01 19:01:37 +01:00
857cfef622 Added empty source files regarding the touch screen driver CST816D - work in progress 2023-01-01 19:00:35 +01:00
f4a2c59ab2 Reworked the way the pwm brightness works 2023-01-01 18:59:27 +01:00
0138b7d152 Added BMA456 application note about wearables 2022-12-28 14:02:06 +01:00
aa4cccf3d5 Updated readme file by adding new supported hardware 2022-12-28 14:01:23 +01:00
0cd605e0a4 Added initialization sequence and support for the GC9A01 lcd driver 2022-12-28 14:00:23 +01:00
a19c3a68bf Settings screen is being developed and more 2022-12-23 23:24:10 +01:00
dd0ebdfeb0 Added the pwm initialization code for the backlight 2022-12-23 23:22:18 +01:00
4ab0768ae5 Wrote part of the BMP280 driver, temperature reading is working, added bosch BMA456 driver with wrist tilt detection feature working, added missing burst write in the i2c driver 2022-12-23 23:21:38 +01:00
anschrammh
ba885b52b9 Renamed config_screen to settings_screen work in progress 2022-12-21 10:04:27 +01:00
anschrammh
1909fac7f9 Added missing comment part 2022-12-21 10:01:10 +01:00
anschrammh
eaf5473928 Reworked the compass graphics a bit and did some minor changes to the menu screen. 2022-12-17 20:45:22 +01:00
anschrammh
a636659a95 Commented the I2C API 2022-12-17 20:42:23 +01:00
anschrammh
4f65089b22 Commented the driver API and added a way to calibrate the temperature reading 2022-12-17 20:41:41 +01:00
anschrammh
9820b1ddb0 Updated lvgl simulator source files 2022-12-17 12:17:00 +01:00
anschrammh
748f7465e3 Added the compass app which needs a lot of refinement and corrections, reworked the way menu screen icon callback is handled and other minor changes 2022-12-17 12:13:30 +01:00
anschrammh
ca6a45f132 Enabled new font size needed for the compass screen 2022-12-17 12:08:32 +01:00
anschrammh
fc3c55d56d Changed the memory layout to have more flash space allocated to the application, should now have 1.855 MB instead of the 1.152 MB 2022-12-17 12:07:44 +01:00
Anatole SCHRAMM
ee877803ab Removed HMC5883L datasheet because QMC2883L was selected. Updated the README.md file 2022-12-15 17:45:23 +01:00
anschrammh
cc108584c2 Added spaces between comma and function parameter 2022-12-15 08:20:44 +01:00
anschrammh
4667ece5c8 QMC5883L magnetometer driver done 2022-12-15 08:19:30 +01:00
anschrammh
29d5f6ce74 I2C driver implementation done 2022-12-15 08:18:50 +01:00
anschrammh
5fb5c57495 Implemented more I2C functions and started to write the driver for the QMC5883L magnetometer 2022-12-14 08:20:47 +01:00
anschrammh
b90d14fb79 Continued i2c driver by implementing read and write reg, did some tests with i2c 2022-12-13 08:20:01 +01:00
Anatole SCHRAMM
a94ee14b2f Updated the README file 2022-12-12 13:34:54 +01:00
Anatole SCHRAMM
602db72aad Updated the README file 2022-12-12 13:25:03 +01:00
65a1a5dd49 Clean project structure up, added some commented out functions to try make the ST7789 round lcd work (was a failure). Added the i2c.h and .c file, still work to be done on that side. The round LCD display is using a 3-line 9 bit serial interface ... This suck ! 2022-12-11 21:20:29 +01:00
anschrammh
eeaf819b80 Minor changes 2022-12-08 07:32:29 +01:00
anschrammh
d13e201767 Converted all menu icons to chroma key transparency, added new makefiles to demos to test them 2022-12-08 07:31:59 +01:00