Commit Graph

57 Commits

Author SHA1 Message Date
nanosonde
d90843ba45
Add support for CC1310 platform based on SimpleLink SDK (#94)
* Initial commit

* Clean up

* Remove display code

* Change cmake build

* Add SimpleLink SDK for CC13xx/CC26xx as submodule

* Remove commented line from build.sh

* Working build

* Remove SDK submodule

* Squashed 'examples/knx-cc1310/coresdk_cc13xx_cc26xx/' content from commit 0d78d32

git-subtree-dir: examples/knx-cc1310/coresdk_cc13xx_cc26xx
git-subtree-split: 0d78d3280357416a5c0388148cda13717c9ffaa5

* Add more comments and enable Power_idleFunc() for NoRTOS variant.
Internal SDK driver functions which have to wait for something
will cause Power_idleFunc to be called instead of doing busy wait.

* Move CC1310 platform init around

* Optimize a bit more in debug build config as the binary does not fit into 128Kb flash otherwise.

* Explicitly list each source/header file in build config. Use linker group to resolve circular dependencies.

* Ignore vscode settings.json

* Increase stacks size

* Only compile CC1310 source code if #define DeviceFamily_CC13X0

* initial commit of CC1310 RF driver with first working RX version

* Better handling of buttonUp() across platforms

* Start cleanup

* continue cleanup

* Fix bau2920 compilation

* Continue cleanup

* Fix compilation in other examples

* Fix compilation

* htons() and ntohs() only for SAMD and STM32, but not for Linux and ESP8266 and ESP32

* htons(9 and ntohs() needed for CC13x0

* Continue cleanup

* Add CC1310 platform to CI

* Fix CI

* Use more recent toolchain from ARM

* Fix travis

* Use Ubuntu Focal

* Fix toolchain for travis

* Fix package name

* Fix toolchain

* Add libstdc++-dev package

* Add newlib packages

* Remove commented commands from CI

* Fix travis

* Fix compilation of knxPython

* Clean up linefeeds

* Fix RX callback

* Move RF CRC16-DNP to bits.cpp

* Fix TX

* Optimization: do not calc CRC for block1 again in rf_data_link_layer

* Make newline optional in printHex

* Cleanup. First working version: ETS5 programming of individual address via KNX/RF coupler.

* Use LEDs and Buttons to control ProgMode and Flash Erase

* Remove settings.json (VScode)

* Add README.md

* Update README.md

* Update README.md

* Fix typo
2020-11-10 21:52:38 +01:00
thelsing
ffa2eea65b
Update .travis.yml 2020-10-29 20:24:35 +01:00
thelsing
ca79c4ed35
Update .travis.yml 2020-10-29 00:10:38 +01:00
Thomas Kunze
edb9b6b526 change cmake file for travis 2020-10-28 21:46:08 +01:00
nanosonde
77a796a39c
Add coupler support (#79)
* save work.

* save work

* save work

* save work

* save work

* Remember which interface received the cemi frame

* save work

* save work

* save work

* Use default value from PID_ROUTING_COUNT

* Add simple alternative to std::function without smart pointers or move semantics

* Remove include

* Add more comments about cleanup

* save work

* Remove forgotten code.

* Move crc16Ccitt to bits.c as it also used for PID_MCB

* save work

* move comment

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* derive from TableObject instead of InterfaceObject

* save work

* save work

* Fix wrong pointer arithmetic in TableObject

* Filter table setting/clearing

* move comment

* save work

* save work

* save work

* handle SBC on closed media

* save work

* move coupler example to different dir

* Restore device example for linux

* save work

* Remove MEDIUM_TYPE and use MASK_VERSION

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* Replace MEDIUM_TYPE by MASK_VERSION

* Remove adafruit/travis-ci tests

* Disable travis ci cache for platformio

* Fix missing changes

* Fix cemi server and add missing MASK_VERSION definitions

* Enable platformio caching on travis ci again

* Handle device address update for routing decision

* source address is set in network layer and not in data link layer

* Add remaining APCI types that are used with system broadcast

* Add debug print for routing

* Remove simple_functional

* Fix CMakLists.txt

* Use MASK_VERSION to conditionally compile code.

* Remove fixed version reuqirement from platform esp8266

* Add demo-coupler for MCUs

* Remove simple_functional.h from demo knx-linux

* Enable CI for coupler demos

* Correct path for knx-linux-coupler

* Fix knx_facade.h

* Refactor NetworkLayer to use getInterface() for devices and getPrimaryInterface(), getSecondaryInterface() for couplers

* Add platformio configs for other currently possible mask/platform combinations

* Add class diagrams and remove obsolete includes

* Add some minimal docs
2020-09-06 21:41:34 +02:00
nanosonde
d1701db1d1
Disable Travis-CI 8266 Arduino test 2020-06-08 11:43:06 +02:00
thelsing
cc1fc7d5fb
Update .travis.yml 2020-05-08 02:33:53 +02:00
nanosonde
31319a690b
Fix travis build (#56)
* Disable knx-usb example

* Update python to 3.8

* Enable knx-usb example

* Update to Arduino 1.8.11

* Pin to version 1.8.11

* Use python 3.7

* Use python 3.8 and fix path

* Fix paths and remove obsolete stuff

* Add lib Wire to deps.

* Use Adafruit TinyUSB lib version 0.7.1
2020-05-07 19:35:10 +02:00
thelsing
f7de00c1df
Update .travis.yml 2019-12-18 23:05:08 +01:00
thelsing
fdbe74b3c2
Update .travis.yml 2019-12-18 22:53:59 +01:00
thelsing
721bd8c831
Update .travis.yml 2019-12-18 22:49:06 +01:00
thelsing
5f84c25120
Update .travis.yml 2019-12-18 22:46:08 +01:00
thelsing
20d5158620
Update .travis.yml 2019-12-18 22:40:35 +01:00
thelsing
980924bcf8
Update .travis.yml 2019-12-18 22:36:21 +01:00
nanosonde
1f5056325b Improve CI (#49)
* Add platformio config for knx-demo example for SAMD, ESP8266 and ESP32
2019-12-17 17:32:50 +01:00
nanosonde
1d01317845 Travis knx usb (#48)
* Update .travis.yml

* Update platformio.ini

* Update .travis.yml

* Fix compilation

* Change platformio config

* Try to fix travis build

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* save work

* Add new pio config for CI

* save work

* save work

* save work

* save work

* Try to fix CI run for example knx-linux

* Fix compilation

* Try to fix ESP8266 compilation

* Do not enable cEMI server per default. Is only enabled during platformio build externally
2019-12-16 19:52:10 +01:00
thelsing
fd0b16b1b4
Update .travis.yml 2019-12-08 12:00:47 +01:00
thelsing
c0705edf66
Update .travis.yml 2019-11-26 21:43:19 +01:00
thelsing
3063bf8195
Update .travis.yml 2019-10-15 09:50:46 +02:00
thelsing
8017c8b9c3
Update .travis.yml 2019-07-11 20:27:46 +02:00
thelsing
86e94407ab
Update .travis.yml
samd is v1.8.2 now
2019-07-03 09:56:57 +02:00
Thomas Kunze
cb840c2201 add class diagram, protect constuctors of *PDU 2019-06-25 21:21:58 +02:00
Thomas Kunze
34baf79810 . 2019-06-12 23:10:44 +02:00
Thomas Kunze
a0bc8e7455 . 2019-06-12 23:02:54 +02:00
Thomas Kunze
077fa4898b . 2019-06-12 22:35:18 +02:00
Thomas Kunze
f7e33d8d43 also build esp8266 2019-06-12 22:16:48 +02:00
Thomas Kunze
ac24e1206a . 2019-06-12 22:09:05 +02:00
Thomas Kunze
ce190a44e4 . 2019-06-12 21:33:33 +02:00
Thomas Kunze
ea88945f18 . 2019-06-12 21:27:15 +02:00
Thomas Kunze
0a9a2177e4 . 2019-06-12 19:35:52 +02:00
Thomas Kunze
ba45d3926f . 2019-06-12 19:34:50 +02:00
Thomas Kunze
187f305c08 . 2019-06-12 19:13:13 +02:00
Thomas Kunze
ba7a65d8eb disable some warnings 2019-06-12 19:10:16 +02:00
Thomas Kunze
1a047d92b3 . 2019-06-04 01:12:12 +02:00
Thomas Kunze
885852a88b . 2019-06-04 01:01:32 +02:00
Thomas Kunze
c5291f3e8e disable bme build for now 2019-06-04 00:46:23 +02:00
Thomas Kunze
b36555f7aa . 2019-06-04 00:30:45 +02:00
Thomas Kunze
715aeeec0e build more sketches 2019-06-04 00:09:40 +02:00
Thomas Kunze
939a80a29f . 2019-06-03 23:56:21 +02:00
Thomas Kunze
189885fc3a install more libs 2019-06-03 23:37:54 +02:00
Thomas Kunze
58c2758e49 . 2019-06-03 23:06:51 +02:00
Thomas Kunze
10c0549004 change travis build 2019-06-03 22:59:42 +02:00
Thomas Kunze
4e5085740d fix unzip 2019-06-03 22:27:08 +02:00
Thomas Kunze
d72a81bbf4 remove knx-vito for now 2019-06-03 22:25:46 +02:00
Thomas Kunze
58cb349e6f next 2019-06-02 02:25:24 +02:00
Thomas Kunze
0d5ad80f6a try another dir 2019-06-02 02:18:17 +02:00
Thomas Kunze
3eebbf0e17 sudo 2019-06-02 02:09:59 +02:00
Thomas Kunze
3a85e9c909 fetch my Flashstorage lib first 2019-06-02 02:05:40 +02:00
Thomas Kunze
0c2f7e2e8d use samd for build 2019-06-02 01:56:21 +02:00
thelsing
33bd80b9d0
Update .travis.yml 2019-06-02 01:19:45 +02:00