Commit Graph

3966 Commits

Author SHA1 Message Date
4d677604dc ESP32-C5 bootloader offset (#1780) 1.18.161 2025-08-29 18:57:34 +02:00
670798a83a merge LED strip backend separation before DMX support
* stub

* clear

* clear upo

* one more test

* split

* fx

* Update drv_led_shared.c

* step

* split

* Update drv_leds_shared.c

* Update selftest_ws2812b.c

* port

* dmx

* DMX

* s

* with test

* fix

* fx

* ChType_Ph test and RGBW test

* ddp formats unfinished

* Update selftest_ws2812b.c

* Update selftest_hass_discovery_ext.c

* fxes
1.18.160
2025-08-28 21:52:59 +02:00
f9134dd3ac BK IR fix? (#1771)
* BK IR fix?

* ir fix
1.18.159
2025-08-27 08:49:45 +02:00
f8b98ca0ff cosmetic only - finally move hal interrupts to _pins files
* moive out

* fixes

* fs

* f1

* fx

* fx?
2025-08-26 12:26:49 +02:00
707bd127ac Split interrupts code into HAL - part 1
* bl602 test

* w600 test

* simplify

* rtl clear

* t

* draft for beken etc

* draft w600

* fxes

* fxes bl602

* realtek

* fx bl_gpio_intmask

* xradio

* esp

* gpio_isr_handler_add cast

* not needed

* reorg

* fx

* ecr

* fxes

* almost?

* HAL_DetachInterrupt fx

* newline

* use hal_pins.h

* counter

* silly fx

* Update hal_pins.h

* XR FIX? HOW I DIDN'T SEE THAT EARLIER

* guard for double call of HAL_DetachInterrupt

* do not do much in interrupt handler routine, apply deltas in quick tick

* try w800 blindly

* try

* tls_clr_gpio_irq_status

* try intptr_t to see if it compiles

* call tls_clr_gpio_irq_status  first?

* fx 2 omg

* frgot

* change to pullup input by default, add partially counter_r

* more

* ADD POS/NEG EDGE FOR MORE PLATFORMS

* esp
2025-08-24 17:29:17 +02:00
e6dbea6007 simple TCA9554 driver, enabled by default on 4MB ESP32, for Waveshare barrd
* TCA9554

* fx

* proj

* makeff

* io

* better

* fx

* TCA9554 almoisy

* test

* fx
1.18.158
2025-08-22 09:07:28 +02:00
4d42d8bf43 SM16703P_setPixel out of range crash fix 1.18.157 2025-08-21 14:45:31 +02:00
e5b1b864fa spellings (#1767) 1.18.156 2025-08-19 08:50:37 +02:00
9adcd9950f Realtek/BL602 spi led (#1763)
* realtek spi led

* fix RTL_A and RTL_B

* fix esp version

* Update docs
add missing esp8266 pins

* bl602 spi led

* fix

* deinit

* bl602 miso swap
2025-08-18 20:37:18 +02:00
36218fd38e ota cosmetic (#1762)
* step 1

* Update obk_main.mk

* Update OpenBeken.mk

* Update obk_main.cmake

* Update hal_ota_bk7231.c

* Update hal_ota_bk7231.c

* m

* split

* guards

* Update hal_ota_bl602.c

* Update hal_ota_bl602.c

* bk

* better

* header

* w

* TMP

* tttttttt

* Update rest_interface.c

* hal_ota is xradio header....

* undoi

* header

* move

* xradio

* read

* fx

* t

* makefile

* move out xradi o read

* fx

* move out esp

* move out bl602

* move out beken, ln

* move out w8

* ecr tr

* realtek

* Update rest_interface.c

* win

* forgot

* tr6260 split

* Update hal_ota_tr6260.c

* rename ota_progress

* use OTA_GetProgress on all paltforms

* fx

* not needed header

* call OTA_IncrementProgress on OTA so we at laest know that something is happening
1.18.155
2025-08-16 16:04:57 +02:00
b6662ec8b8 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.154 2025-08-12 20:20:07 +02:00
a1501c00c4 RTL8721DA (AmebaDplus) and RTL8720E (AmebaLite) (#1718)
* amebadplus

* fix + amebalite

* ota, lfs, fast connect fix

* Fix TCP_MSL and hostname

* Readme and releaserc
fix esp irq

* small fixes

* setting mac on amebad/1

* ameba ir

* win ef

* update sdk & disable rtl8720e rest ota

* fix
2025-08-12 17:28:36 +02:00
d65e0db83e remove unused stubs 2025-08-12 11:02:17 +02:00
9e89d4f375 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.153 2025-08-12 10:31:21 +02:00
893a7edde0 few more led tests before new led feature 2025-08-12 10:30:11 +02:00
b8965817f6 bl602 deep sleep & ecr sdk update (#1743)
* bl602 deep sleep & ecr sdk update

* esp8266 disable wpa3

* platforms.md
1.18.152
2025-08-10 17:08:33 +02:00
45fc4d5023 ENABLE_DRIVER_PINMUTEX 1.18.151 2025-08-10 15:19:56 +02:00
94812a2587 BK7231T/U/ESP32/LN882H SPI LED (#1749)
* BK7231U/T_ALT SPI LED

* esp32 spi led dma

* ln882h led spi dma

* simplify

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
2025-08-10 14:46:01 +02:00
0fb70227df add pinmutex driver (potentially for shutters); disabled by default
* draft

* Update drv_pinMutex.c

* working with self test?

* Update selftest_cmd_generic.c

* ENABLE_DRIVER_PINMUTEX on beken

* ChType_StopUpDown

* addRepeatingEventUID

* rest

* Update obk_config.h
1.18.150
2025-08-10 14:27:26 +02:00
aaaa95a8d1 correct spelling and grammar (#1747)
* Update http_fns.c

* Update flags.json

* Update flags.md

* Update selftest_mqtt_get.c

* Update flags.md

* Update flags.json

* Update http_fns.c

* Update user_main.c

* Update drv_ir_new.cpp

* Update subpages.json

* Update flags.json

* Update http_fns.c

* Update flags.md

* Update tcpServer.md

* Update hal_flashConfig.h

* Update flash_pub.h

* Update win_flash_stub.c

* Update hal_flashConfig_bk7231.c
1.18.149
2025-08-10 08:46:49 +02:00
3ccd7c293c Platforms.md WPA3 updates (#1754)
* Update drv_ir_new.cpp

* Update hass.h - add missing  "hass_init_textField_info()" to avoid breaking ESP builds 

ESP builds with "-Werror=implicit-function-declaration", so we get

 error: implicit declaration of function 'hass_init_textField_info';

* Update platforms.md - wpa3

* Update platforms.md

* revert ameba1 wpa3 to unknown

---------

Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>
2025-08-10 08:45:57 +02:00
a22207f12a Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.18.148 2025-08-09 23:42:37 +02:00
4b5a80312c restore original tuyamcu led behaviour by setting g_tuyaMCU_allowAutomaticSending from PR to true by default 2025-08-09 23:42:08 +02:00
d34ef02b54 enable irRemoteESP8266 variant on BK7238 - it seems to receive something, but original IR works better for RC6, I didn't test anything more
* try irRemoteESP bk7238

* add IRremoteESP8266
1.18.147
2025-08-09 23:40:20 +02:00
a358187f32 fixes p1 1.18.146 2025-08-09 22:39:48 +02:00
718afdaaad IR2 - fix DEBUG_WAVE_WITH_GPIO but leave disabled for testing in future 2025-08-09 22:35:39 +02:00
b5d9d5f5f1 IR: change IR events to Event3 and include 'repeats' argument - this should not break anything, cause Event2 handlers will still be called as before, if not, let me know 2025-08-09 22:34:13 +02:00
a72fe4a4c5 add software SPI flash support (disabled by default) along with ultra-fast BK7231 software SPI and ability to store littlefs on that SPI , rel: https://www.elektroda.pl/rtvforum/topic4133583.html
* tt

* tt

* kk

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* nodelay

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* test

* test

* test

* tt

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* Update our_lfs.c

* t

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* ttt

* Update drv_spi_flash.c

* unrolll

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* Update drv_spi_flash.c

* better wait for logic

* Update drv_spi_flash.c

* revert

* Update drv_spi_flash.c

* PLATFORM_BEKEN_NEW fix???

* faster?>

* faster?

* test memory

* test2

* restore

* coarse time test

* test

* restore

* DISABLE
2025-08-09 19:13:17 +02:00
eb77165be9 Update hass.h - add missing "hass_init_textField_info()" to avoid breaking ESP builds (#1753)
ESP builds with "-Werror=implicit-function-declaration", so we get

 error: implicit declaration of function 'hass_init_textField_info';
2025-08-09 19:10:58 +02:00
5e363ab42f ln882h update sdk (#1724)
* ln882h update sdk

* Disable test commands
2025-08-09 11:49:03 +02:00
54ffddc75f textfield 2025-08-07 23:47:12 +02:00
8ee93ace88 Update http_fns.c 2025-08-07 23:44:19 +02:00
6ae05de560 textfield hass discovery? 2025-08-07 23:44:04 +02:00
61d035f616 bk new spi & spidma (#1745)
* bk new spi & spidma

* long app version fix

* esp fix
1.18.145
2025-08-03 11:01:31 +02:00
6c3e1478e8 Add TG7100C (BL602) info + latest toml links (#1740)
* Update README.md

* Update README.md

* Update README.md

* Update .releaserc.yaml
1.18.144
2025-07-31 08:21:42 +02:00
bc64926da3 Tuya mcu automatic sending (#1739)
* Update drv_tuyaMCU.h

* Update drv_tuyaMCU.c
1.18.143
2025-07-29 08:13:17 +02:00
c7d48e427c SM16703P: learn to handle RGBCW, e.g. more than 3 channels per pixel. (#1736) 1.18.142 2025-07-28 13:29:58 +02:00
6bb7a5743d Fix spacing in main page (#1738) 1.18.141 2025-07-26 15:53:54 +02:00
afdf4b5cb5 Update platforms.md (#1735) 1.18.140 2025-07-21 15:10:34 +02:00
9f7fca3cd5 Update .releaserc.yaml - ESPC5+C61 (#1728)
* Update .releaserc.yaml

* Update .releaserc.yaml
1.18.139
2025-07-20 19:25:55 +02:00
f6ec3e3d74 update powersave info (#1733)
* Update cmd_main.c

* Update cmd_main.c
2025-07-20 19:25:23 +02:00
e7db07f7ab esp8266 fix (#1734) 2025-07-20 19:24:41 +02:00
8b7cf56731 update platforms.md (#1730)
* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md

* Update platforms.md
2025-07-20 09:19:16 +02:00
728066de76 esp8266 dout mode by default (#1713)
* esp8266 dout mode by default
enable float printf

* irq fix

* timer stack
1.18.138
2025-07-19 19:18:38 +02:00
901295154a Create platforms.md 1.18.137 2025-07-19 16:26:32 +02:00
8b7d9d5be5 Update .releaserc.yaml - ESP 2/4MB link fixes (#1726)
* Update .releaserc.yaml

* Update .releaserc.yaml

* correct esp8266 again
2025-07-19 16:23:52 +02:00
773c4e9d99 Only report used channels up to PIN_IOR_NofChan() for this role (#1725) 1.18.136 2025-07-19 09:58:49 +02:00
1c7cdd4881 Ds1820 simple+full as separate drivers (#1705)
* Seperate simple and full driver, introduce "common" for shared code

* Fix command prefixes

* Generate command as multiline if requested

* Fix JS linebreak

* Only use simple dirver - check sizes of firmware images

* Update obk_config.h - enable Full driver for all platforms to allow testing

* Change parsing sttring to device address to allow compact form
Change obk_config.h: remove extra entry for W800, add "FULL" driver to windows build

* fix windows code for "fake" DS18B20

* fix missing files in openBeken_win32_mvsc2017.vcxproj

* fix handle missing task.h for windows

* change Windows emulation to MAX/2 fake sensors

* try fix BL602

* change "fake temperature" of sensors in windows

* change windows sensor temperature once more

* shorten commands by alias

* fix escaping linebreak

* Fix broken JS code ...

* Fix ESP32 is crashing if interrupts are disabled during OWReset for > 480us

* Change output for unused channels
Test if DS1820 channels are in use

* fix warning/error for channel (<=64) printed into a char[5] value

* removeunuses quotes for address

* Fix language

* Capial "S" in Menu entry "Sensors"

* restore obk_config - #define ENABLE_DRIVER_DS1820_FULLonly for WINDOWS and SENSORS variant
2025-07-19 08:03:46 +02:00
1fe6ab74ed win stub 1.18.135 2025-07-12 08:38:04 +02:00
01c029898d Show correct BSSID in json status instead of a "fake" one (#1689)
* Add HAL_GetWiFiBSSID() and HAL_GetWiFiChannel() commands
Display correct BSSID and channel in JSON status

* Testing bssid RTL

* Typo and new try for RTL

* Fix BSSID returned

* bettter

* test

* Update hal_wifi_xradio.c

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
2025-07-10 21:51:05 +02:00