mirror of
https://github.com/thelsing/knx.git
synced 2024-12-23 19:09:41 +01:00
f169e20f2f
* Refactored the knx_facade a bit to make the auto-building of the global knx object and the buttonUp() ISR function opt-in. Also added the ability to quite easily attach another serial (in this case tested with Serial2 of an ESP32). * Added visual studio code temp files to .gitignore * Fix for missing build flag for WifiManager in ESP32_ip demo * Added example in which we DIY build the KNX object and use ESP32's second UART to connect so that you can debug with the first one that's connected to USB. * Minor platform cleanups to remove compilation warnings. * ESP32 can't handle the defaulted 8192 byte EPROM. Next to that I needed to begin() the eprom lib in my setup() to get it to work and that requires knowing how much memory KNX will use. This fix makes the default more conservative and moves it's definition to the .h file so that other files can always use it as well. * After comments from thelsing, inverted the logic. The default global knx object is now opt-out by defining KNX_NO_AUTOMATIC_GLOBAL_INSTANCE. See the knx-demo-diy project for an example. Minor syntactic cleanups. * Removed hardwareserial from facade (detail which was not needed) Placed facade constructors together Minor syntactic cleanup * Fixed knx-cc1310 where own button routine was calling now private internal knx facade variable. Renamed files in knx-demo-diy Minor syntactic stuff * Added gitattributes for binary knxprod files |
||
---|---|---|
.. | ||
ccs | ||
cmake | ||
coresdk_cc13xx_cc26xx | ||
RTT | ||
smartrf_settings | ||
vscode | ||
Board.h | ||
build.sh | ||
CC1310_LAUNCHXL_fxns.c | ||
CC1310_LAUNCHXL_NoRTOS.lds | ||
CC1310_LAUNCHXL.c | ||
CC1310_LAUNCHXL.h | ||
ccfg.c | ||
CMakeLists.txt | ||
knx_wrapper.cpp | ||
knx_wrapper.h | ||
main_nortos.c | ||
README.md | ||
startup_cc13xx_cc26xx_gcc.c |
Example for Texas Instruments LaunchPad LAUNCHXL-CC1310
Requirements:
- Texas Instruments LaunchPad LAUNCHXL-CC1310
- Optional: Segger J-Link
Button0 (BTN-1, DIO13): Programming Mode on/off Button1 (BTN-2, DIO14): Press and hold while starting the board to erase the flash LED0 (RED, DIO6): Programming mode LED1 (GREEN, DIO7): If flashing with 500ms together with LED0 a fatal error occured and the system is halted