knx/src
Matthias B 8b9ff4fce1
H8I8O (#209)
* Add defines for LED, button and serial port

To make supporting different board layouts easier, this introduces some new defines:

For all platforms:
- `KNX_LED` -  the programming LED, defaults to `LED_BUILTIN`
- `KNX_BUTTON` - the programming button, defaults to `0`

For Arduino platforms:
- `KNX_DEBUG_SERIAL` - the serial port that is used for debugging, defaults to `Serial`
- `KNX_SERIAL` - the serial port used for communication with the TPUART, default depends on platform

* GD32 flash workaround

Addressing #181

At least some GD32 devices seem to require unlocking the flash twice. As the unlock function exits with `HAL_OK` if the flash is already unlocked, STM32 devices can run the same code without issues.

* Add H8I8O and H8C09 configurations to knx-demo

Addressing #181

These configurations both serve as examples for the use of these boards and other custom boards that don't use the standard pinout.

* Add STM32 unlock target

This copies the brute force unlock approach by @pavkriz into a custom target. With this commit, it is possible to automatically unlock e.g. a H8I8O board without leaving the PlatformIO IDE.

See #181
2022-06-08 21:13:34 +02:00
..
knx Fix last CodeFactor Style issues (#202) 2022-04-25 20:30:53 +02:00
arduino_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
arduino_platform.h H8I8O (#209) 2022-06-08 21:13:34 +02:00
cc1310_platform.cpp Add KNX_NO_PRINT to define in project to avoid console info and reduce footprint (#127) 2021-03-11 09:38:06 +01:00
cc1310_platform.h Removed redundant declaration (#199) 2022-04-25 11:27:40 +02:00
esp32_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
esp32_platform.h add KNX IP discovery support (#141) 2021-06-04 17:23:23 +02:00
esp_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
esp_platform.h add KNX IP discovery support (#141) 2021-06-04 17:23:23 +02:00
knx_facade.cpp Fix prog button handling (#207) 2022-05-31 07:20:59 +02:00
knx_facade.h H8I8O (#209) 2022-06-08 21:13:34 +02:00
knx.h Add support for CC1310 platform based on SimpleLink SDK (#94) 2020-11-10 21:52:38 +01:00
linux_platform.cpp Add KNX_NO_PRINT to define in project to avoid console info and reduce footprint (#127) 2021-03-11 09:38:06 +01:00
linux_platform.h Add UART support for Linux platform to use TP1 KNX transceivers (#88) 2020-09-11 13:32:29 +02:00
rp2040_arduino_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
rp2040_arduino_platform.h Branch flash pr with large eeprom (#177) 2022-02-22 14:24:36 +01:00
samd_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
samd_platform.h - Get rid of EEPROM emulation (#186) 2022-02-26 22:39:21 +01:00
stm32_platform.cpp H8I8O (#209) 2022-06-08 21:13:34 +02:00
stm32_platform.h generate unique serial number (#90) (#131) 2021-04-12 11:40:56 +02:00