* setChannel(ch, v) in Berry
* try
* t2
* b
* fx
* update to berry with autogenerated files
* Add debug to find out whether the submodule is really checked out
* Revert "Add debug to find out whether the submodule is really checked out"
This reverts commit 40ec2f667716aa20180305ec7c3f1e61e88394c8.
* Add src/berry checkout to every build
* berry separate file p1
* #define ENABLE_OBK_BERRY 1 on Beken only
* Compile in obkSimulator
Compiles, but crashes in parser.
Seems like the Berry code has not been tested under MSVC2017.
* Checkout with submodules in obkSimulator workflow
* berry with ffs msvc fix
* berry autogen fiasco fix
* OpenBK7231T compiles from official berry, handle prebuild
Breaks obkSimulator
* Fix botched rebase on .gitmodules
* Build in msvc with a berry prebuild step (requires python)
* MSVC: also extend include directories for Release
* Fix BK723x build, extract common berry build rules into berry.mk
* Fix OpenBL602 build
This doesn't actually compile berry for OpenBL602, but makes compile
errors go away and marks where further work will be needed.
* working delayMs
Test Plan:
```
berry state = 1; var tick; def tick() state = 1 - state; channelSet(1, state); delayMs(1000, tick); end; tick();
```
can be stopped with `stopAllScripts`
* only use os_realloc on PLATFORM_BK7231T
* Move as much berry logic as possible out of cmd_script
* Guard more with ENABLE_OBK_BERRY
* upload script
* file operations & working import
* enough to implement "Advanced turn off after time with timer on UI and timer setting on UI and kept in flash"
* experiments
* clang-format -i src/berry/be_*.{h,c} src/cmnds/cmd_berry.c
* Remove redundant hfile != NULL
Calling with hfile == NULL would be bug in some other part of the code
* Don't checkout other submodules for simulator build
* remove stray debug & .user files
* Use be_newcomobj
* Build sim on linux
* build linux sim [2]
* threads & tests
* Leave enabled on Windows, disable on BEKEN
* SIM_RunWindow fix?
* allow "startScript test.be" as a shorthand for "berry import test" ??
* test?
* fix /
* test arg
* test2
* test
* test add
* fx
* test
* just checking if i can use import without module?
* test with module
* CMD_StopBerry fix?
* run obk command from berry? probably not good idea due to the stack size, will delay execution later?
* str arg
* test to see if i have to repeat import
* submit unfinished code
* concat tst
* more tests
* fix copy/paste mistake, add fib test
* fx
* channelSet
* fx
* try
* tester.fib(11)
* rename
---------
Co-authored-by: Tester23 <85486843+openshwprojects@users.noreply.github.com>
Co-authored-by: NonPIayerCharacter <18557343+NonPIayerCharacter@users.noreply.github.com>
* 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>
* 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
* 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 ...)
* 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
* 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