Commit Graph

632 Commits

Author SHA1 Message Date
Marco Scholl
f94bd0b674
allow to change MAX_TX_QUEUE 2024-05-19 23:52:21 +02:00
Dom
7cbc0d8fff
Merge pull request #21 from OpenKNX/features/add_rp2040_to_demo
add rp2040 to knx-demo example
2024-04-23 17:20:46 +02:00
Dom
1ef4856740
Update platformio-ci.ini
use newest atmelsam plattform
2024-04-22 13:22:15 +02:00
Marco Scholl
97e15c7d92
remove some debug output.
adds a tx queue size limit with warning.
2024-04-10 14:36:19 +02:00
Marco Scholl
1754e5387b
fixes some problems with txqueue 2024-04-08 21:21:30 +02:00
Marco Scholl
e65afebd3a
reenable sendframe handling
reenable rxProcess in loop
fixes a memory leak
2024-04-05 00:04:43 +02:00
Marco Scholl
7b910eba59
small optimizes 2024-04-04 20:51:45 +02:00
Marco Scholl
9d7e29d705
auto format 2024-03-30 09:52:15 +01:00
Marco Scholl
6884734cc3
fixes the missing processRx() in loop() 2024-03-30 06:58:18 +01:00
Marco Scholl
cf1b6bc7ac
some bugfixes 2024-03-29 22:32:18 +01:00
Marco Scholl
8388c79f9f
adds gcc optimize for tp frame 2024-03-29 22:31:59 +01:00
Marco Scholl
1ee78a45d1
Reimplementation of the tpuart data link layer 2024-03-28 08:38:55 +01:00
Marco Scholl
6b2ac7e50b
Adds dma support for rp2040 uart 2024-03-28 08:33:15 +01:00
Marco Scholl
f5724c64d1
Extends the platforms with additional uart methods. 2024-03-28 08:21:59 +01:00
Marco Scholl
03f55f5503
Makes the data link layer accessible from outside 2024-03-28 08:20:12 +01:00
Ing-Dom
cacbd9f175 add rp2040 build environment to knx-demo example for both example project and ci 2024-02-26 12:40:29 +01:00
Ing-Dom
9d7c8acde6 update library.properties to V2.0.0 2024-02-13 09:38:51 +01:00
Cornelius Köpp
21ab50fd00 Document ComFlagEx for Uninitialized State Handling Fix 2024-02-12 23:11:00 +01:00
Cornelius Köpp
96bd0ee9ec Fix for New Uninitialized-Handling 2024-02-12 16:05:56 +01:00
Waldemar Porscha
7b8db75d5c Finalize uninitialized handling 2024-02-12 16:05:46 +01:00
Waldemar Porscha
e43325e42b New implementation of Uninitialized state for group object
- old implementation is still there for compatibility reasons
- new implementation reflects the case "uninitialized while transmitting"
- Just states "Updated", "WriteRequest" and "Ok" remove uninitialized state
2024-02-12 16:05:39 +01:00
Cornelius Köpp
a12ff2dcf8 Merge remote-tracking branch 'origin/master' into devel
# Conflicts:
#	src/knx/group_object.cpp
2024-02-12 10:24:12 +01:00
thelsing
57b5b05ce1
Merge pull request #272 from OpenKNX/feature/set-value-and-check-change
Allow Setting Value of Group-Object with Checking for Modification of Converted Value
2024-02-12 08:54:21 +01:00
thelsing
969b4c441e
Merge pull request #271 from OpenKNX/fix/dpt13_int32t
fixes the dpt13 converting
2024-02-12 08:52:46 +01:00
Marco Scholl
9ab6b6c51a
Merge pull request #20 from OpenKNX/openknx/fix/pipeline_knxusb 2024-01-31 07:13:55 +01:00
Dom
5521e4bb53
Merge branch 'thelsing:master' into devel 2024-01-30 12:27:34 +01:00
Ing-Dom
defffbd573 fix build pipeline errors
custom_hwids.py was never executed in the ci pipeline, but the missing script was just a warning. With Plattform I/O Core 6.1.11 missing scripts are errors, so the pipeline fails.
2024-01-30 10:49:26 +01:00
Cornelius Köpp
1f426e9203 Update for New Uninitialized-Handling 2024-01-24 21:54:08 +01:00
Cornelius Köpp
f5f45e2ce1 Allow Setting Value of GroupObject (KO) with Checking Change after Conversion by valueNoSendCompare(..)
* Return if Value was Changed
* Always Set the First Value
* Copy on Changes Only
* Make Comparison Independent of Sending
* Extend Doc of `valueNoSendCompare(..)`; Add Note for using `valueNoSend(..)`
2024-01-24 21:54:07 +01:00
thelsing
52b578091f
Merge pull request #277 from nerdoc/patch-2
replace deprecated CreateKnxProd link with Kaenx-Creator
2024-01-24 18:11:02 +01:00
Christian González
a81aa7f8f2
replace deprecated CreateKnxProd link with Kaenx-Creator 2024-01-23 20:22:31 +01:00
Waldemar Porscha
c6368db8a3 Finalize uninitialized handling 2024-01-18 22:43:31 +01:00
Waldemar Porscha
efe2c46d32 New implementation of Uninitialized state for group object
- old implementation is still there for compatibility reasons
- new implementation reflects the case "uninitialized while transmitting"
- Just states "Updated", "WriteRequest" and "Ok" remove uninitialized state
2024-01-16 00:39:26 +01:00
Cornelius Köpp
0b33f0d67e Fix Error Detected in Pipeline: Build knx-demo 2024-01-07 20:18:02 +01:00
Cornelius Köpp
e9541a9e76 Extend Doc of valueNoSendCompare(..); Add Note for using valueNoSend(..) 2024-01-07 19:55:42 +01:00
Cornelius Köpp
fd887b9df1 Fix: Prevent False-Positive Change-Detection from Undefined Bits in (at least) DPT1 2024-01-07 19:31:08 +01:00
Cornelius Köpp
ee55abd2b9 Allow Setting Value of GroupObject (KO) with Checking Change after Conversion
* Return if Value was Changed
* Always Set the First Value
* Copy on Changes Only
* Make Comparison Independent of Sending
2024-01-07 19:31:06 +01:00
Marco Scholl
50cde2cd0f fixes the dpt13 converting 2024-01-05 15:36:25 +01:00
thelsing
c8685facac
Merge pull request #270 from mgeramb/FixBuildErrorIfKNX_NETIFisNotDefined
Fix build error for missing variable if KNX_NETIF is not defined
2024-01-02 20:16:12 +01:00
Michael Geramb
4cd733b86d Fix build error for missing variable if KNX_NETIF is not defined 2024-01-02 19:37:52 +01:00
thelsing
4deead3342
Merge pull request #269 from mgeramb/FixRP2040UARTPinHandling
Fix for RP2040 UART pin handling: Setting of uart pins moved setupUart
2024-01-02 15:20:37 +01:00
Michael Geramb
c1691b7e81 Fix for RP2040 UART pin handling: Setting of uart pins moved setupUart method. 2023-12-31 14:25:24 +01:00
thelsing
7215f470af
Merge pull request #264 from OpenKNX/feature_activitycallback
Add activity callback function
2023-12-26 21:24:55 +01:00
Ing-Dom
142e0a2325 fixing issues from PR review 2023-12-26 13:48:50 +01:00
thelsing
946d116e63
Merge pull request #267 from OpenKNX/rp2040_ip_merge2
IP support for RP2040 plattform
2023-12-26 13:13:03 +01:00
thelsing
a1b7e5d459
Merge pull request #268 from mgeramb/setUartPins
Allow to set uart pins for RP2040 and ESP32 platform
2023-12-26 13:11:07 +01:00
Michael Geramb
ddd8284578 Allow to set uart pins for RP2040 and ESP32 platform 2023-12-25 19:45:52 +01:00
Ing-Dom
311abdd88f redesigned the activitycallback without using the facade and with a more flexible approach.
For performace reasons, the calls in the actual link layer is only activated when KNX_ACTIVITYCALLBACK is defined.

There is now a DataLinkLayerCallback class where a specific Bau *can* inherit from and - if the specific link layer supports it, pass itself to that linklayer(s).
2023-12-25 16:34:40 +01:00
Ing-Dom
470ec8b521 this adds IP (WiFi and wired Ethernet) support to the rp2040 platform.
It includes also some optimizations for KNX-IP in general.

Squashed commit of the following:

commit 14bf9bef25ccc2c9bddefe7c8f1e0f6b1d63b3bc
Author: Ing-Dom <dom@ing-dom.de>
Date:   Sun Dec 24 10:17:05 2023 +0100

    clean up, remove KNX_LOG_IP

commit 57223e46e414010662772989c2520cf1960ed268
Merge: 2911448 a870dd8
Author: Ing-Dom <dom@ing-dom.de>
Date:   Sun Dec 24 10:10:19 2023 +0100

    Merge remote-tracking branch 'remotes/origin/master' into rp2040_ip

commit 2911448d22a454aacae472762677381acce6a159
Merge: 8ac6aec 3c29d16
Author: Dom <dom@ing-dom.de>
Date:   Wed Dec 20 10:04:32 2023 +0100

    Merge pull request #13 from OpenKNX/fix_serialnumber

    Fix serialnumber

commit 8ac6aeccce20a9e5e1bbf5300008a72383f7ee71
Author: Ing-Dom <dom@ing-dom.de>
Date:   Thu Dec 14 12:28:02 2023 +0100

    fix macAddress reading for Wifi

commit 9db2cd58708e9d7bbfd485ada2ff38c829447c42
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Dec 12 13:08:53 2023 +0100

    remove LARGE_BUFFERS and clean up header files of ETHERNET_GENERIC

commit 2f229ae90c6f72e01c2a9b9efe134f75fc85547c
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Dec 12 00:56:32 2023 +0100

    temporary fix, solution needed for tunneling

commit f6e7e619a454f43db10e644b41c58b43a1a2b453
Author: Ing-Dom <dom@ing-dom.de>
Date:   Mon Dec 11 13:54:26 2023 +0100

    unified approach for different ip stacks with rp2040 plattform

commit 4723edab84986bca6d31ea7b3083b1b7b8ef907e
Author: Marco Scholl <develop@marco-scholl.de>
Date:   Mon Dec 11 08:34:25 2023 +0100

    wip

commit 5bf3e615c8649dd9c34be7b1fe6ad4062ce96c34
Author: Ing-Dom <dom@ing-dom.de>
Date:   Thu Dec 7 14:53:42 2023 +0100

    ip and not ip in one rp2040 plattform

commit aaca34a237686c5389888b7bd040b860331bdbff
Merge: fd97f59 d44606d
Author: Dom <dom@ing-dom.de>
Date:   Wed Dec 6 15:30:17 2023 +0100

    Merge branch 'thelsing:master' into rp2040_lwip

commit fd97f5920ef486ca955f5425cbcaec062e3ef977
Author: Marco Scholl <develop@marco-scholl.de>
Date:   Thu Nov 30 23:19:13 2023 +0100

    dd sime ifdef to allow build without ip interface

commit c665a79db9cee7063dd77a155108633db81ef8e8
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Nov 14 10:03:48 2023 +0100

    stub for handling SearchRequestExt to prevent console messages

commit 50745be66681616681f67d7bdf17008f5d19640d
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Nov 14 00:02:49 2023 +0100

    adding ip support for rp2040 plattform
2023-12-24 10:20:23 +01:00
thelsing
a870dd812d
Merge pull request #265 from OpenKNX/fix_serialnumber
fixes the serial number handling
2023-12-20 22:45:17 +01:00