* 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
* TuyaMCU: Update for version 3 battery powered sensors
- Added support for report status record types
- Added TuyaMCU_PowerSave command
* TuyaMCU: Rename command
- Renamed command from tuyaMcu_powerSave to tuyaMcu_batteryPoweredMode
---------
Co-authored-by: Anthony Sepa <protectivedad@gmail.com>
* Driver vor NEO6m GPS receiver
Tested on W800
* Some tweaks:
empty RX buffer betewwn readings
on several unsuccessful reads, try enabling the NMEA RMC messages again
* empty buffer every second
remove commented out old code
* fix broken log if no lat/long NS or EW is present
* Add "savecfg" argument to save config to NEO after configuring - so next time we might use it without sending commands to NEO module
this way, only NEOs Tx is needed (and OpenBekens Rx)
---------
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>