fac2cf081c
w800 + berry ( #1629 )
...
* w800 + berry
* fix w600
* Update XR and makefile
* Berry cmake
* BL602 lfs test
* Update w800
* Fix
* W600 heap
* sensors & bl602
* bl602 delay_us
2025-06-20 09:35:00 +02:00
fe51ee8f47
Update hal_flashConfig_xr809.c
2025-05-06 09:50:27 +02:00
754aca5c01
BL602 powersave workaround ( #1630 )
2025-05-04 09:54:59 +02:00
5916fbd8a7
Update BL602 code to work with latest sdk. ( #1487 )
...
* Support new BL602 SDK
* Update .gitmodules
---------
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com >
2025-05-02 14:42:14 +02:00
5d09349b9d
also add XR806 to online builds (it boots but there is some issue with WiFi?)
...
* Update .gitmodules
* w
* Manually added submodule OpenXR
* Update Makefile
* Update Makefile
* Update Makefile
* Update OpenXR806
* Update OpenXR806
* Update OpenXR806
* Update hal_wifi_xr809.c
2025-04-19 11:58:35 +02:00
fd853eb203
Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App
2025-04-18 20:29:43 +02:00
d70e9e93e1
xr fixes
2025-04-18 20:29:23 +02:00
5b763e3194
Update hal_pins_xr809.c
2025-04-18 18:32:27 +02:00
a5a5b4b7b9
xr872 (A9 camera)
2025-04-18 18:05:04 +02:00
ac3c5d6da6
Faster wifi connecting (up to 2sec restart -> connected) ( #1297 )
...
* Wifi fast connect + extra
* --
2025-04-15 16:38:10 +02:00
5810db7ae1
BL0492 Frequency to HASS (MQTT) + Energy calculation in TWIN_BL_ENABLED mode for channel 2 ( #1578 )
...
* twinbl energy for channel 2
* .
* removed movavg
* Added HASS MQTT frequency (both standard and TWIN_MODE)
* .
* simplify, store total only IX0
* Ext BugFix: addChangeHandler Power < 20 appears broken #1543
2025-03-26 13:24:34 +01:00
7ace8c31ba
tr6260 ( #1564 )
2025-03-13 09:01:58 +01:00
544f48d022
ECR6600 ( #1553 )
...
* ECR6600
* fix macstr
* uart, bl0937
* vbat adc, ota
* pwm freq
* static ip, change mac
* update partitions
2025-03-07 22:11:42 +01:00
a5301939a7
Update hal_wifi_bk7231.c ( #1560 )
...
Ensure that connected event is triggered only once.
2025-03-06 21:07:46 +01:00
55e76b504a
PWM frequncy select and move freq code outside hal ( #1554 )
...
* test
* w
* fx
* fx
* reapply to change pwm ffreq?
* array
2025-03-02 15:03:20 +01:00
969e5bfa50
RTL8720D ( #1550 )
...
* ambd
* update sdk, get current fw idx
* test
* ota
* reset if hard fault
* revert and fix
* uart flow control
* disable uart tcp debug by default
* test
* wifi test
* adjust lwip
adjust scan
* increase timeout
* enable ssdp, close uart tcp sockets on restart
* test
* pwm
* fix bl0942
* cut some code
2025-02-28 08:43:00 +01:00
9b9f6359d4
remove printf per request
2025-02-24 10:06:05 +01:00
80111be27e
Update hal_pins_ln882h.c
2025-02-20 08:35:07 +01:00
e88875a458
Update hal_generic_bk7231.c
2025-02-15 10:34:33 +01:00
d4d6c69be3
BK7238 ( #1527 )
...
* beken new sdk + bk7238
* fix bk7238
2025-02-14 22:22:59 +01:00
dd75d3f773
xr806 p1
2025-02-09 23:43:49 +01:00
4dde6c80a9
Uart2bufmod - mod for using 2 UARTs simultaneously ( #1516 )
...
* Mod for using 2 UARTs simultaneously (Beken)
* .
* uartindex checking
* return undefided bug
* changed index to pointer to struct, corrected buffer on devices with UART_2_UARTS_CONCURRENT disabled
* retrigger checks
2025-02-04 20:01:35 +01:00
6ac1f260ed
RTL8710B/RTL8711AM ( #1501 )
...
* --
* test
* ota
* ameba1/rtl8711am
* workflow build
* uart tcp bridge driver
* fix build
* Static ip fix
* fix
* Rework amebaz ota
---------
Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com >
2025-02-01 19:04:23 +01:00
017929d189
enable GPIO13 - Update hal_pins_tr6260.c ( #1526 )
2025-02-01 14:03:40 +01:00
77efc7ebca
make startup command multiline
...
* step 1
* step2
* Update cmd_script.c
* Update cmd_script.c
* Update obk_config.h
* Update cmd_script.c
* Update cmd_script.c
* fx
* Update obk_config.h
* Update OpenW800
* Update OpenW800
* Update obk_config.h
* f
* fix waitfor
* Update obk_config.h
* Update Makefile
* json escap9ijgng
* crash checks and size check
* w600 bmp
* fx
* Update Makefile
* test
* fx
* Tokenizer_GetPin
* fix
* fix
* ln882h pins
* Update new_http.c
* Update new_http.c
* Update new_http.c
* aht
* aht
* Update obk_config.h
* drv_sht3x
* aht pins
* f
* fx
* aht
* sunset fx
* ln owm
* Update CMakeLists.txt
2025-01-23 23:10:35 +01:00
36400a4e74
W800 hostname+uart ( #1508 )
...
* Set hostname to device name
add uart driver
* fix warnings
2025-01-11 19:36:47 +01:00
eb5b1ca2d0
Allow to disable more drivers and features in order to reduce binary size ( #1500 )
...
* Update obk_config.h
* Update obk_config.h
* shared
* fx
* he
* fix
* fx
* ffff
* F
* T
* tre
* fcx
* leeed
* ww
* w
* fx
* t
* ENABLE_OLD_YAML_GENERATOR
* w
* startyuip[
* dis all
* remove test post
* ENABLE_HTTP_SEND
* extra guard
* ENABLE_TCP_COMMANDLINE
* better OBK_DISABLE_ALL_DRIVERS
* tr
* ENABLE_PING_WATCHDOG
* ENABLE_HA_DISCOVERY
* TEST WITH EMPTY USER_MAIN
* fx
* no mqtt
* nm
* tr
* ENABLE_MQTT
* Update cmd_newLEDDriver.c
* tr
* header
* fx
* Update user_main.c
* t
* Update hal_main_bk7231.c
* w
* ENABLE_DRIVER_IR
* RESTORE
* fx
* #warning "Platform not defined"
* fx 1
* Update obk_config.h
* ENABLE_DRIVER_TESTPOWER
* DS1820
* fx
* fx
* enable DHT on W800
* Update Makefile
* ntp w800
* ntp
* ssdp
* OWM AND CHARTS
* why utils net has flash pub included
* nmakefile only, no refs
* makefile only
* drv
* Update Makefile
* drcs
* ENABLE_DRIVER_BMP280
* Update Makefile
* d
* ENABLE_I2C
* Update Makefile
* fin
2025-01-10 19:50:17 +01:00
51a572e492
fx
2025-01-06 00:00:25 +01:00
97f3ae3743
Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App
2025-01-05 23:10:36 +01:00
4bb2eebb98
Update hal_wifi_rtl87x0c.c
2025-01-05 23:09:50 +01:00
6eb8162b45
static rtl ( #1492 )
...
* Update hal_wifi_rtl87x0c.c
* Update hal_wifi_rtl87x0c.c
* test
* fx
* test
2025-01-05 22:57:17 +01:00
2a9a7270f2
RTL8710C/RTL8720C support ( #1468 )
...
* Move delay us and wdt to hals, update workflow
* rtl8720c initial
* move uart to hal
* rtl uart
* obk adjustments
* sdk adjustments, fix ota
* add some features
* fix some warnings
* esp uart + tr6260/esp tcp_msl
* add bl0937, adjust ota
* enable artifacts merge
* add forgotten ln882h delay
* fix mqtt, pwm on boot
* irq fix
* fix wifi disconnect
* update sdk, change lfs location and size
* Update Makefile
2025-01-01 12:11:49 +01:00
532a90313c
TR6260 support ( #1446 )
...
* TR6260 initial
* fix gh-actions
* various fixes/features
* wifi fast connect fix
* fix gpio, add i2c
* move config to obk
2024-12-12 18:55:26 +01:00
a8c76f2936
Add internal chip temperature for W600 (untested) and W800 ( #1393 )
...
* Add internal chip temperature for W600 (untested) and W800
* Add comment to force rebuild
2024-11-08 20:57:12 +01:00
c50515603a
ESP32 support ( #1344 )
...
* esp-idf
* fix, add s2, s3
* fix + ci
* fix naming
* ota
* adc
* reboot reason
* wdt + uart
* dht + ds1820
* fix esp32
* pwm
* uart hack
* fix build
* charts
* increase stack size
* tests
* fix timer
* optimize
* further c2 optimization
* gpio test, wifi reconnect fix
* gpio test
* Revert ledc freq
* cht83xx, increase inttemp stack size
* fix
* S3 fix, enable sht3x, pwm freq selection
* gpio & i2c fix attempt
* s2 fix
* Update defines for DHT
* Update sdk
---------
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com >
2024-11-06 14:47:22 +01:00
9bd4779fbd
fix simulator ADC
2024-09-20 18:43:51 +02:00
f83d7d21ae
Update hal_pins_ln882h.c ( #1331 )
2024-09-20 18:07:42 +02:00
89f49da09e
LN882H - static ip ( #1342 )
...
* First changes for static IP on LN882H - WiP - need to set DNS server IP
Needs change in SDK in components/net/lwip-2.1.3/src/port/ln_osal/netif/ethernetif.c
to make sure, DHCP isn't called after we set the IP:
diff --git a/components/net/lwip-2.1.3/src/port/ln_osal/netif/ethernetif.c b/components/net/lwip-2.1.3/src/port/ln_osal/netif/ethernetif.c
index e2b485e..2884ef3 100644
--- a/components/net/lwip-2.1.3/src/port/ln_osal/netif/ethernetif.c
+++ b/components/net/lwip-2.1.3/src/port/ln_osal/netif/ethernetif.c
@@ -16,6 +16,7 @@
#define IF_NAME_STA "ST" // Only support two ascii characters
#define IF_NAME_AP "AP" // Only support two ascii characters
+static int STA_USE_DHCP = 1;
typedef struct {
struct netif nif;
@@ -267,9 +268,10 @@ int netdev_set_state(netif_idx_t nif_idx, netdev_state_t state)
netif_set_status_callback(nif, sta_netif_status_changed_cb);
netif_set_link_callback(nif, sta_netif_link_changed_cb);
-
netifapi_dhcp_stop(nif);
+ if (STA_USE_DHCP) {
netifapi_dhcp_start(nif);
+ }
}
else
{
@@ -362,6 +364,8 @@ int netdev_set_ip_info(netif_idx_t nif_idx, tcpip_ip_info_t *ip_info)
if (ndev && ip_info) {
netifapi_netif_set_addr(netdev2netif(ndev), &ip_info->ip, &ip_info->netmask, &ip_info->gw);
+ // we set an IP in STA mode? --> disable DHCP, or it will be overwritten
+ if (nif_idx == NETIF_IDX_STA) STA_USE_DHCP = 0;
return 0;
}
return -1;
* set DNS with dns_setserver()
* Changed code so during STA init a golbal variable is set, wheter static IP is used.
This will be respected in netif (see OpenLN882H PR#17)
2024-09-09 12:44:22 +02:00
beec3ac072
w800 leds save/write - untested
2024-09-04 15:17:27 +02:00
2b95195a0e
Beautify/fix networking info of W800 ( #1313 )
2024-08-28 21:48:43 +02:00
d5c4e3157d
LN882H PWM ( #1328 )
...
* LN882H PWM
* Update SDK
2024-08-23 13:00:01 +02:00
9be6418025
add support for 7 segment driver HD2015E ( #1214 )
...
qqq
2024-05-07 15:20:54 +02:00
846a215d3c
pwm freqq ( #1203 )
2024-05-02 17:28:51 +02:00
9aabbd0cea
Set DNS hostname for ln882h ( #1189 )
2024-04-30 10:13:49 +02:00
c158499791
fix network data log ( #1175 )
2024-04-12 01:02:07 +02:00
108384fcd2
Fix RSSI for W600 ( #1172 )
...
Looks like rrsi is inverted for W600, otherwise looks similar to beken in similar places
2024-04-07 08:12:45 +02:00
3ec7f19fb9
Add static ip for W600 ( #1168 )
2024-04-06 07:56:04 +02:00
b3213022ac
HAL_FlashVars_GetEnergyExport for contributor
2024-04-04 09:08:42 +02:00
9003bc67d1
add HAL_FlashVars_SaveEnergyExport for contributor
2024-04-04 08:48:01 +02:00
76311b7da9
Add static ip for bl602 ( #1155 )
2024-03-29 15:21:01 +01:00