Commit Graph

328 Commits

Author SHA1 Message Date
c03f7d9ce3 Update changelog for 2.8.0~rc2-1 release debian/2.8.0_rc2-1 2024-11-12 10:54:50 +01:00
0bbd94942d Merge tag 'unstable/2.8.0_rc2' into pkg/debian_rc 2024-11-12 10:54:41 +01:00
f50a7744cd chore: Increase to RC2 of upcoming Release 2.8.0 unstable/2.8.0_rc2 2024-11-12 10:53:47 +01:00
a9ec71e970 test: Update runtime warning for exceeded cycle time in mainloop 2024-11-12 10:53:47 +01:00
5cbc7d4c28 Update changelog for 2.8.0~rc1-1 release 2024-11-12 10:52:31 +01:00
5563d9a31f Merge tag 'unstable/2.8.0_rc1' into pkg/debian_rc 2024-11-12 10:52:17 +01:00
19bbdb03e8 test: Fix test for default location of config.rsc
The tests for the default path of the config.rsc are now performed
optionally. If write permission exists for the standard paths, the
tests are performed with the config.rsc.
2024-11-12 10:18:52 +01:00
41720ee042 chore: Increase to RC1 of upcoming Release 2.8.0 unstable/2.8.0_rc1 2024-11-12 09:48:44 +01:00
e5510f5726 Merge branch 'main' into rc 2024-11-12 09:47:49 +01:00
24744a5a9c test: Add tests for RevPi Connect 5 2024-11-08 09:40:09 +01:00
94ac5c9b92 feat: Add support for RevPi Connect 5 2024-11-08 09:40:09 +01:00
f3f81f3633 refactor: Show deprecation warning on root context manager
This context manager can delete the entire instance of ModIO when using
`with rpi:` after creating an instance of ModIO by
`rpi = revpimodio.RevPiModIO(...)`.
2024-11-08 09:37:40 +01:00
579617d223 feat: Add more colors in constants for a RGB status LED
On the Connect 4, the status LEDs are RGB. By switching several LEDs,
further colors can be generated as red, green, blue.
2024-11-08 09:21:05 +01:00
276ea8dd72 test: Cleanup tests and use relative imports 2024-11-08 08:31:39 +01:00
dc5906288c test: Cycle loop functions 2024-10-29 14:15:16 +01:00
1de230c1e2 test: Events and signals 2024-10-29 14:15:16 +01:00
32d113540c test: Test mainloop functions 2024-10-29 14:15:16 +01:00
d7a185451a test: IO values and counter 2024-10-29 14:13:06 +01:00
601d018eba test: Old core rap file without error limits 2024-10-29 14:13:06 +01:00
43d2b12413 test: Connect devices 2024-10-29 14:13:06 +01:00
e876c97c30 test: Core devices 2024-10-29 14:13:06 +01:00
f95b2d6c49 test: Basic IO functions 2024-10-29 14:13:06 +01:00
4c64387649 test: Replace io function 2024-10-29 14:13:06 +01:00
c10f0a2d05 test: Common device functions 2024-10-29 14:13:06 +01:00
960f21539e test: ModIO class basics 2024-10-29 14:13:05 +01:00
125f8bb4fe test: Init ModIO classes 2024-10-29 14:13:05 +01:00
442071c212 test: Configuration errors in config.rsc 2024-10-29 14:13:05 +01:00
1e331feb2f fix: Resolve constants of internal module 2024-10-28 13:33:44 +01:00
629a517ab8 test: Connect 4 integrated input and output 2024-10-28 12:48:50 +01:00
8702c3c8c1 chore: Release 2.7.2 2.7.2 2024-09-23 12:20:26 +02:00
9bb1cee4a1 test: Update wd_toggle test for connect 4
This function will now raise a NotImplementedError.
2024-09-20 16:37:50 +02:00
0ba8772d1b fix: Raise error on connect 4 when using wd_toggle function
On the Connect 4, the hardware watchdog was removed from the process
image by KUNBUS. To use the hardware watchdog, other functions must now
be used that are not implemented by RevPiModIO.
2024-09-18 10:57:17 +02:00
0c849dc8ec Update changelog for 2.7.2~rc1-1 release debian/2.7.2_rc1-1 2024-09-18 10:19:06 +02:00
d3ead4159b feat(deb): Use rc branch as upstream branch 2024-09-18 10:16:52 +02:00
4ed08c41a4 Merge tag 'unstable/2.7.2_rc1' into pkg/debian_rc 2024-09-18 10:14:48 +02:00
5d9f513f71 chore: Increase to RC1 of upcoming Release 2.7.2 unstable/2.7.2_rc1 2024-09-18 10:00:04 +02:00
88d5fc4e98 build: Add test target as dependency of all target in Makefile 2024-09-18 10:00:04 +02:00
e8d7860dd2 fix: Colors of constants GREEN and RED match LEDs of RevPi Connect 4
The LED colors for the A1-A5 objects of the .core class of the connect 4
did not match the values of the constants for GREEN and RED, as on all
other RevPi Devices. In addition, the color BLUE was added.
2024-09-18 09:20:21 +02:00
c6ae318a15 test: Add RevPi Compact tests 2024-09-18 09:09:25 +02:00
6adfe95201 test: Add RevPi Flat tests 2024-09-18 09:09:25 +02:00
379899f54c test: Add connect 4 tests 2024-09-18 09:09:25 +02:00
d2d37f4972 test: Test replace_io file 2024-09-18 09:09:25 +02:00
24b50c2973 test: Insert default test class for ModIO
The standard tests provide a prepared process image and a defined
config.rsc.
2024-09-18 09:09:25 +02:00
782ea5840d chore: PyCharm IDE settings update 2024-09-18 09:05:14 +02:00
Ayman628
2ac39e2619 fix: Address of x2out on connect 4
Updating parameter value of the object x2out of the "class Connect4",
from "self._slc_led" to "self._slc_output". Also updating the position
of the bit in "_slc_output" from 6 to 0!
2024-09-16 15:17:50 +02:00
9741d13514 chore: Release 2.7.1
Signed-off-by: Sven Sager <akira@narux.de>
2.7.1
2023-12-04 16:01:51 +01:00
41a09c4f17 fix: Context manager crashes in monitoring mode
The context managers tried to write to the process image in
monitoring=True mode. This is not allowed and the application crashed
 with an error.

Signed-off-by: Sven Sager <akira@narux.de>
2023-12-01 15:58:28 +01:00
ad4a1fcd38 fix: Error of loop management in the context manager
When leaving the IO context manager, the loop flag was not reset
properly. The context manager could therefore only be traversed once.

Signed-off-by: Sven Sager <akira@narux.de>
2023-12-01 15:48:57 +01:00
8df43106e4 chore: Release 2.7.0
Signed-off-by: Sven Sager <akira@narux.de>
2.7.0
2023-11-24 09:45:23 +01:00
17ea488cfe Update changelog for 2.7.0~rc3-1 release debian/2.7.0_rc3-1 2023-11-20 12:44:44 +01:00