Commit Graph

116 Commits

Author SHA1 Message Date
e39053b528 port new LED table to preferred systems: store calibration in CFG; update self tests to respect new gamma ramp; fix other pplatforms pwms 2023-01-09 19:32:47 +01:00
bfc2f663f6 Improved resolution for RGB/CW color and brightness [Dev note: Will merge in few days, just need final feedback] (#447)
@rogere66 better LED colours pull request applied; so far in unmodified form, but I will adjust channels handling in the several hours and then do release
2023-01-09 17:24:47 +01:00
f4403a8263 Added missing HAL_GetGPIOPin 2022-12-31 14:11:22 -06:00
572d449c1e automatic self tests: add MQTT publish tracking for automatic testing of MQTT featuures 2022-12-27 22:11:47 +01:00
0f555f5d4e WiFi state event (docs to be added soon, but argument is a HALWifiStatus_t) 2022-12-27 18:14:16 +01:00
682b7a281e Merge pull request #558 from iprak/w600-drivers-attempt2
W600: Basic driver support
2022-12-26 16:29:48 +01:00
ba02fb1189 buffer size fixes 2022-12-26 10:21:31 +01:00
6ac38d3bf7 Basic driver support 2022-12-23 06:49:48 -06:00
b13ac8efb3 Implementation of GPI interrupts on Beken.
You can enable them for testing by setting
#define BEKEN_PIN_GPI_INTERRUPTS
in quicktick.h
Also changes MQTT triggering to trigger a single read cycle even if multiple MQTT messages arrive before they are serviced.
2022-12-17 09:24:25 +00:00
0bc946bafc Merge pull request #540 from btsimonh/nologloops
Nologloops - toward power save
2022-12-15 12:30:03 +01:00
6a0b5b1159 add OBK_rtos_callback_in_timer_thread function 2022-12-14 09:05:30 +00:00
e053ba1a68 Adjusted address 2022-12-12 18:52:46 -06:00
b459feae50 Start tracking state in flash 2022-12-12 06:54:51 -06:00
6cb7bf5c34 fix warning/bl602 build, disable safe on win, add a space 2022-12-09 15:33:42 +01:00
3d44a996a7 more automatic tests for MQTT topics; add potentiometer mechanism to simulator; allow simulator to set ADC values on Windows; fix adc strange variable types on BK7231; fix cleaning pin roles between simulator scenes; add windows-only debug macro $channelstates 2022-12-08 08:35:40 +01:00
9ff151fef0 expose more variables for $ syntax, mostly for testing sim but also for scripts.. 2022-12-05 19:07:55 +01:00
5af98c1c61 remove not needed comment 2022-11-29 23:37:13 +01:00
3c17a048e9 use #define (who forget that?!) 2022-11-29 21:11:49 +01:00
9a0d636dbe cosmetic only - display pwm1 name 2022-11-29 15:09:57 +01:00
675948382b sim: save and load system (stores both device flash image with config and littlefs and the drawn connections) 2022-11-29 14:22:02 +01:00
63047691f4 sim/win: let Windows/simulator pin PWM roles mimic BK7231 roles 2022-11-28 13:23:45 +01:00
7bee9d9de2 bk7231 - cosmetic change - show "N/A" for extra pin desc because otherwise it breaks HTML formatting badly (TODO: use a table or smth? anyone here likes CSS and wants to help?) 2022-11-27 14:28:01 +01:00
4507055479 sim: basic io sim 2022-11-26 19:19:05 +01:00
e1895f684b cosmetic only change - on Beken, display pin alias along with name (eg. display "PWM5" next to P26) 2022-11-26 18:08:33 +01:00
0b207fc83c Merge pull request #486 from btsimonh/mqtt_test2
Mqtt test2
2022-11-21 22:53:10 +01:00
4b0391c59e fix cypher printf
(cherry picked from commit 8fe3ecf2a31414b76067c869682ecbe8a3173b13)
2022-11-21 18:19:08 +00:00
dcb4def1e9 mqtt_test2 2022-11-21 15:36:40 +00:00
ad7c3081c5 win32 pin values interface for simulation 2022-11-21 07:24:24 +01:00
78e15198a5 add a HAL for Windows 2022-11-08 16:10:39 +01:00
e4cf468245 add stubs - fix compile 2022-11-07 08:48:56 +01:00
feb64bd305 fix for LED driver saving state etc 2022-11-06 19:01:08 +01:00
df81ca2f82 Update hal_wifi_bk7231.c
dhcp improvement by azavialov from elektroda
2022-10-30 12:49:35 +01:00
7148d484ec Merge branch 'openshwprojects:main' into main 2022-10-28 08:59:27 +02:00
b125dfa7f5 replace last bk_printf in runtime app. 2022-10-27 20:27:54 +01:00
c530c8cd10 DRV - BL09XX - added date/time when consumption statistics were cleared. 2022-10-27 14:53:02 +02:00
42a1c4fee1 Platform build fix V 2022-10-27 01:23:15 +02:00
d7d08db1e3 DRV - BL09XX - history calculation updated.
Warnings resolved.
2022-10-26 23:54:56 +02:00
6d86cdc3d7 DRV - EMetering data storing updates. 2022-10-26 22:09:24 +02:00
0573d8cd91 BL09XX - implemented saving of consumption history
HAL - Added fields for saving metring variables
OTA - added donwload progress in HTTP front page
MAIN - added Saving of metering status before reboot.
2022-10-26 22:08:17 +02:00
6fe708162c BL0937 - measurements refinement, added past seven days stats
BL09XX - HTTP plugin afdjustment, added new output doe daily stats.
DRV - updated NTP.
NTP - added HTTP plugin
HAL - added Wifi Disconnect command (TODO: other platforms)
MAIN - ping watchdog added wifi disconnect command after ping watchdog triggered
2022-10-26 22:08:17 +02:00
449d66a2d0 Merge branch 'snprintf' into snprintfPR
# Conflicts:
#	src/driver/drv_bl_shared.c
2022-10-25 06:29:59 +01:00
6516205d37 Chore: replace many sprintf with snprintf. Only one was doubtful - 5 x %f into a small string? 2022-10-25 06:19:23 +01:00
8b7ba20544 sample 2022-10-24 21:34:21 +02:00
8f618a874a realloc fix? 2022-10-23 06:59:14 +02:00
f18d97e87b rem duplicate func 2022-10-19 15:36:31 +02:00
2b46f0face Fixed position of PB8 2022-10-19 06:58:20 -05:00
583521f04a Defined portTICK_RATE_MS for W800 2022-10-15 19:30:10 -05:00
73459c4fc8 Accounting for ticks 2022-10-15 15:05:20 -05:00
5b616bf045 Using correct API to display ip/gateway/etc. 2022-10-14 05:30:23 -05:00
9d260f7b9a Implemented some missing functions 2022-10-13 20:51:02 -05:00