* Try fix flash restrictions for W600 and W800 by moving start of FLASH_VARS (changing FLASH_VARS_STRUCTURE_ADDR)
So restrictions in new_pins.h should be obsolete (allowing e.g. second SSID for W600 and W800)
For W800 restriction should be no longer present since some time, because it was moved to easyflash some time ago...
* Fix code in new_cfg.c, too
Removed special handling for W600 and updated config version.
* Tried an "update" mechanism: move flash_vars to new location if config is version 3
* Fix overwriting configSize in CFG_CalcChecksum() in case of V3 config
* I try fixing error for XR platforms for conflicting SSD1306_Init by excluding local "components" dir
* Try fixig build by removing "-lcomponent"
* Try fix for XR806, too
* try zeroing new space in config
* Try fixing zero memory
Add some more debug output
* Removed test code for fixing XRadio devices - nothing to do with this PR
Removed debug output
* Change to reflect moving flashvars from local structure to easyflash in latest commit
On startup PINS that conditionally processed based on g_lastValidState
would be ignore if they were currently 0 regardless of the state before
the module woke up.
This change intializes them with the proper restored channel values.
Co-authored-by: Anthony Sepa <protectivedad@gmail.com>
* Add int HAL_PIN_Find(const char *name) for all platforms
add simple selftest (and added some alias strings to windows pins)
* fix ESP
* fix second occurence of isdigit for ESP by casting to unsigned char
* Moved code for HAL_PIN_Find to "src/hal/generic/hal_pins_generic.c" and removed it from the (few) platforms aleady implemented it.
Added some "complex" pin alias descriptions for windows to test
made function case insensitive - introducing "char *wal_stristr(const char *haystack, const char *needle);" as a case insensitiver version of "strstr" in new_common.c
* Try fix windows (by including src\hal\generic\hal_pins_generic.c)
Enable ENABLE_TEST_COMMANDS for all platforms to do some testing
* comment out weak functions for Windows
* including "../hal/hal_pins.h" in cmd_test.c to clear warning about HAL_PIN_Find()
* comment out StackOverflow test for ESP - it won't compile
* fix
* Moved code from hal_pins_generic.c to new_pins.c
reverted usage of hal_pins_generic.c in Windows build
changed Tokenizer_GetPin()
* Changed driver commands to use Tokenizer_GetPin() instead of Tokenizer_GetArgIntegerDefault() to get drivers pins
* Fix typo in drv_pinMutex.c
* Fix cmd_test.c and ds1820_full.c
Added debug output to Tokenizer_GetPin()
* Removed tesing and debugging code
* Also allow pin alias in SetPinRole command
* Fix typo
* Remove duplicate definition of SM2135_DELAY
This macro is also defined in drv_local.h. Only user of
drv_sm2235.h is drv_sm2235.c, which also included drv_local.h.
* Add command to configure clock period for soft I2C
Default setting of 4 seems to fast for a SM2185N controller.
* Rework to reduce flash usage