33 Commits

Author SHA1 Message Date
NonPIayerCharacter
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
alexsandroz
86fbfe90e0 Mqtt-mbedtls (#960)
* Update package.json

Update repo url for build

* MQTT over TLS first build

* MQTT TLS boot ok

* Funcional version MQTT secure TLS

* Add option for mqtt to use tls in web config

* Versao funcional pendente otimizacao de rom

* Versao funcional com verify certificate disabled

* Adicao de informacoes para debug

* Versao funcional com verificacao do certificado

* Otimizacoes de rom e heap usage

* Versao com webserver enable/disable

* Versao boa para mqtt mbedtls boa uso

* Invert CFG enable_web_server to disable_web_server

* MQTT over TLS first build

* MQTT TLS boot ok

* Funcional version MQTT secure TLS

* Add option for mqtt to use tls in web config

* Versao funcional pendente otimizacao de rom

* Versao funcional com verify certificate disabled

* Adicao de informacoes para debug

* Versao funcional com verificacao do certificado

* Otimizacoes de rom e heap usage

* Versao com webserver enable/disable

* Versao boa para mqtt mbedtls boa uso

* Invert CFG enable_web_server to disable_web_server

* Same documentation

* Rever submodulos configuration

* Rever ignore submodules

Rever ignore submodules

* Fix for git actions

* Fix build start_type_pub only in platform Beken

* Fix build git w600

* Fix BL602 build

* Remove format only changes

* Delete src/driver/drv_ir.cpp

Space changes only

* Updates to pull request

* Revert space only changes

* Change cfg bool to byte and some documentation

* Fix get initial time from compile time

* Fix base64.c duplicate module

* Fix base64.c duplicate module for git workflow

* Fix strange behavior on BK7231n. Connection completed only in the second callback WIFI_STA_CONNECTED

* MQTT-MBEDTLS default disable

* Fix SERIOUS bug breaking all platforms except BK7231N (did you want to set g_bHasWiFiConnected  in #else?)

---------

Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
2025-03-05 19:27:51 +01:00
NonPIayerCharacter
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
NonPIayerCharacter
d4d6c69be3 BK7238 (#1527)
* beken new sdk + bk7238

* fix bk7238
2025-02-14 22:22:59 +01:00
NonPIayerCharacter
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
NonPIayerCharacter
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
MaxineMuster
1f51f65816 OTA for W800 + "Simple OTA" w/o httpd (#1471)
* OTA for W800
Removed unnecessary (and wasting resources) fetching of "index?status=1" on pages not using "state" div
Added simple "internal OTA" (just POST-ing a file)
Basic tests done - try avoiding other TCP connections to save memory
Somtimes there are memory related messages in log like "Thread create HTTP Client - errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY".

OTA working in most cases, somtimes device crashes during update.
Device will immediatly reboot after OTA completion, even printfs after writing last bytes was not visible in console.

* Add some more warnings
Make file selector accepting images on extension for platform
For Beken: Check magic "RBL" and future Platform name in header

* Changed way to verify firmware files: must match OBK file structure for the platform
As suggested by @NonPIayerCharacter added "NO_PLATFORM_OTA" in obk_config.h
For platforms w/o OTA the page will be only showing a hint.

* Fix page for non OTA devices

* streamlined tests
moved platform dependent #define for OTA extension to obk_config.h

* Optimized JS code

Only show hint for ".rbl" file on Beken platforms

Added a #define OBK_OTA_NAME_EXTENSION, actually only for LN882H
(here UART and OTA file are identicaly except an "_OTA" in the file name).
Otherwise the UART file would also match the template
(this file would not be flashed because of additional checks, but if we can prevent this ...)
2024-12-30 23:20:21 +01:00
NonPIayerCharacter
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
NonPIayerCharacter
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
MaxineMuster
968ebc1b09 Make changes to sdk from shell scripts just before start of build (#1381)
* Add possibility to call a shell script to make changes to  sdk just before building the app

* Changes to Makefile

* Changed pre_build.sh to only contain some comments how to use it
2024-10-16 13:10:32 +02:00
MaxineMuster
54f9129454 Speeding up consecutive builds for W800 (#1314)
* Speeding up consecutive builds

Update Makefile for W800:

Download toolchain only once
  - after downloading and extracting create a file
 - check for presence of this file before downloading and extracting again

* fix linebreak
2024-08-19 17:11:47 +02:00
Tester23
c5b92c0625 pass to makefile 2024-06-05 10:29:33 +02:00
tarwirdur
632aa0f5ef Draft: OpenLN882H autobuild support (#1041)
* OpenLN882H autobuild support

* LN882H: add _OTA.bin asset, changes in .relaserc.yaml, separate build directory for cmake
2024-01-20 08:13:21 +01:00
openshwprojects
4b31a72a38 Update Makefile 2023-01-23 16:56:53 +01:00
openshwprojects
7c16012817 Update Makefile (#630)
* Update Makefile

* Update .releaserc.yaml

* Update workflow.yaml
2023-01-22 13:39:25 +01:00
openshwprojects
7919627ce7 Update Makefile 2023-01-22 10:53:20 +01:00
openshwprojects
18d03a8d71 Test BL602 ota (#628)
test release
2023-01-22 10:10:25 +01:00
openshwprojects
54f8fe2ef6 Update Makefile 2023-01-22 03:01:14 +01:00
openshwprojects
a6f1092dc5 copy out xz file 2023-01-22 02:48:43 +01:00
openshwprojects
f4f9c2e360 Update Makefile 2023-01-22 01:55:52 +01:00
TallTechDude
0a8c05ff69 fix: submodule auto-update 2022-10-22 11:59:33 +00:00
TallTechDude
301e8e446d feat: add W600 auto build 2022-10-14 04:55:11 +00:00
TallTechDude
365da00a3c fix: still run normal build for OpenXR809 to check status 2022-07-23 11:43:52 +00:00
TallTechDude
b7f150cd97 fix: retry OpenXR809 build 3 times on failure 2022-07-23 11:31:48 +00:00
TallTechDude
653e825a4a feat: add OpenW800 OTA .img file to relases 2022-07-23 04:44:19 +00:00
TallTechDude
bfd3d89718 feat: add OpenW800 Platform 2022-07-22 12:26:38 +00:00
TallTechDude
0f5bcb4e44 feat: add BL602 to automated release builds 2022-05-16 10:39:19 +00:00
TallTechDude
a27281257b ci(sdk): automatically update SDK submodules 2022-03-02 18:11:04 +11:00
openshwprojects
9a7120a478 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2022-02-28 09:49:59 +01:00
openshwprojects
5e91bcccfd FIX usercmd not passing (thanks boozeman for pointing that out!) 2022-02-28 09:49:52 +01:00
TallTechDude
034a1e5bdc feat(makefile): add update-submodule target to simplify SDK updates 2022-02-28 08:14:08 +11:00
TallTechDude
eb84443ec2 build: update makefile for multi-platform build 2022-02-21 04:41:44 +00:00
TallTechDude
7d288882c5 feat: simplified Makefile build with SDK submodule 2022-02-21 02:23:50 +00:00