* Expand testRealloc
I was debugging an issue in another pull request and I noticed that
`realloc` was behaving weird on my OpenBK7231T device.
I've found #298, so it looked like a known problem.
The old test doesn't hang my device, so extended it and it looks like
sometimes reallocated memory gets overwritten.
Here's a log from my device:
```
Info:CMD:Realloc difference: rep 90, i 2 j 0 initialra1 230 ra1 242 msg[j] 8 (j % 100) 0
Info:CMD:Realloc difference: rep 90, i 2 j 1 initialra1 230 ra1 242 msg[j] 121 (j % 100) 1
Info:CMD:Realloc difference: rep 90, i 2 j 2 initialra1 230 ra1 242 msg[j] 66 (j % 100) 2
Info:CMD:Realloc difference: rep 90, i 2 j 3 initialra1 230 ra1 242 msg[j] 0 (j % 100) 3
Info:CMD:Realloc difference: rep 90, i 2 j 4 initialra1 230 ra1 242 msg[j] 88 (j % 100) 4
Info:CMD:Realloc difference: rep 90, i 2 j 5 initialra1 230 ra1 242 msg[j] 1 (j % 100) 5
Info:CMD:Realloc difference: rep 90, i 2 j 6 initialra1 230 ra1 242 msg[j] 0 (j % 100) 6
Info:CMD:Realloc difference: rep 90, i 2 j 7 initialra1 230 ra1 242 msg[j] 0 (j % 100) 7
Info:CMD:Realloc has been tested! Total calls 90, reps now 100, reallocBroken 1
```
It's pretty non-deterministic, but during my debugging I've noticed it's
related to timers and one way we use timers is logging.
Issue #298 mentions eaf4e1a606/platforms/bk7231t/bk7231t_os/beken378/os/mem_arch.c (L30)
which references `platform_is_in_interrupt_context` which I assume is
related to timers as well.
* Technically malloc and realloc could return NULL
* Unbreak CI by restoring obk_config.h
* 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
* Twin BL0942 mod
* Energy data more checks for index 0
* BL09XX_ResetEnergyCounter reset lastSavedEnergyCounterValue
* added ENABLE_BL_TWIN compiler option, default disabled
* added more ENABLE_BL_TWIN
* 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
value = pulses / time
More pulses for same time - bigger value.
More time for same pulses count - smaller value.
Twice more pulses for twice time - same value.