Commit Graph

227 Commits

Author SHA1 Message Date
5169c09fd8 improved includes 2020-05-29 13:07:35 +02:00
78ae109a08 removed context switch request
(shall be done at end of ISR, so must be performed by caller)
2020-05-29 13:02:13 +02:00
da403c01d0 retval fix, unittest running again 2020-05-29 03:03:48 +02:00
3d2935ac69 linux time lib improvements
stop watch other function used (more precise for linux)
2020-05-29 02:23:14 +02:00
ccf79ab5b6 output correction for linux 2020-05-29 01:55:20 +02:00
671f298935 implemented counting semaph for linux 2020-05-29 01:41:16 +02:00
56498e5bc1 linux bin semaph unlocked 2020-05-29 00:50:44 +02:00
8676fcd9a9 yay, linux bin semaph finished 2020-05-29 00:47:54 +02:00
60872f936c some output improvements 2020-05-27 23:43:40 +02:00
08ffe89682 doc and api improvements 2020-05-27 23:41:59 +02:00
7ce505fdf9 some safety updates and fixes 2020-05-27 23:29:06 +02:00
63dbf99592 counting semaph implementation finished 2020-05-27 22:12:52 +02:00
95bf5c1071 improved const correctness 2020-05-27 21:33:34 +02:00
c4e60946d3 improved bin semaph implementation 2020-05-27 21:30:20 +02:00
88e3dc15b2 replaced old semaph api 2020-05-27 21:27:31 +02:00
7145982b4a improved documentation 2020-05-27 19:59:59 +02:00
eabee85ba9 tweaked factory to have configurability 2020-05-27 19:56:02 +02:00
b4065c7764 seperation of semaph implementations finished 2020-05-27 19:46:56 +02:00
8a1e0dab03 continued with task notifications 2020-05-27 19:03:46 +02:00
2d33274c23 implementing new task notifications 2020-05-27 17:42:18 +02:00
968d7fad81 replaced some timeout values 2020-05-27 17:07:35 +02:00
badcacad49 added new timeout values 2020-05-27 11:48:11 +02:00
f6ae0348cb some linux mutex tweaks 2020-05-27 11:41:36 +02:00
be4ac0bc8f added semaph factory to linux 2020-05-27 00:28:13 +02:00
aea18c423e Merge branch 'mueller_framework' into front_branch 2020-05-21 17:01:29 +02:00
f6b17d6e2e deleted copyctor and copy assignment 2020-05-20 12:50:56 +02:00
9b53e2b64f added informative comment for counting semaphore 2020-05-19 22:45:48 +02:00
3c7e2c7cff Merge branch 'mueller_BinSempahInterface' into mueller_framework 2020-05-18 20:46:50 +02:00
066930b110 improvements 2020-05-18 20:39:48 +02:00
7227c3a866 implemented semaph factory 2020-05-18 20:35:13 +02:00
067cd95731 removed file header 2020-05-18 19:42:45 +02:00
4dd6594845 integrated interface into bin semaphore 2020-05-18 19:38:02 +02:00
45b0193ef3 bin semaph todo 2020-05-18 18:06:40 +02:00
b237287315 bin semaph sif replacements 2020-05-18 17:48:16 +02:00
ec8538b442 Merge branch 'mueller_binSemaph' into mueller_FreeRTOS_improvements 2020-05-18 17:46:04 +02:00
41c0ca6c52 added doc for switchSystemContext 2020-05-18 17:39:10 +02:00
f8614e23a8 deleted copy ans assignment ctor 2020-05-18 17:38:19 +02:00
d1500a7868 mq doc improvements 2020-05-18 17:31:05 +02:00
1d4d01d190 Added ISR calls for MQ and task mgmt
The task management defines an external function which
implements a context switch call from an ISR
2020-05-18 17:22:10 +02:00
7c48274c9b Merge branch 'mueller_framework' into front_branch 2020-05-17 17:27:04 +02:00
a0cb3a9b6b changed cast to be comptaible with newer freeRTOS 2020-05-17 17:13:43 +02:00
b673e13892 some refactoring 2020-05-16 20:58:48 +02:00
7d57988979 added deadline check 2020-05-16 13:09:50 +02:00
20900227f8 periodic posix task ctor format 2020-05-15 22:53:01 +02:00
ebcc4742a9 removed conflict markers 2020-05-15 21:14:21 +02:00
abdf04ce79 Merge branch 'mueller_framework' into front_branch 2020-05-15 21:10:56 +02:00
69237bc2e8 freertos includes adapted 2020-05-14 21:26:04 +02:00
49fa2fe32c changed void* cast to QueueHandle_t cast 2020-05-14 16:12:01 +02:00
e5c46c5ec1 Merge branch 'mueller_FixedSequenceImprovements' into mueller_framework 2020-05-11 19:25:45 +02:00
fc4f9156b9 Merge remote-tracking branch 'upstram/master' into mueller_FixedSequenceImprovements 2020-05-11 17:16:25 +02:00
3d8a152496 removed newline 2020-05-11 17:14:12 +02:00
d35a6e6c14 Merge remote-tracking branch 'upstream/master' into front_branch 2020-05-08 18:41:07 +02:00
24441809a9 Merge remote-tracking branch 'upstream/master' into mueller_FixedSequenceImprovements 2020-05-07 20:06:17 +02:00
3b63dd72e3 added missing sif prefixes 2020-05-07 19:41:42 +02:00
10628ddbb6 Merge remote-tracking branch 'upstream/master' into mueller_sifRenaming_soooMany 2020-05-07 19:28:06 +02:00
6b205e166b Merge branch 'master' into mueller_framework 2020-05-06 13:54:18 +02:00
98e505c9ab todo removed 2020-05-05 19:03:00 +02:00
bc17b5a907 resolved conflict 2020-05-05 18:43:28 +02:00
ad31a1b97d Merge branch 'luz_FixedTimeslotTask_ExistenceCheck' into mueller_framework 2020-05-05 18:41:40 +02:00
f1a0bb9dc3 whitespace 2020-05-05 18:36:18 +02:00
f3dca8044e typo 2020-05-05 18:34:04 +02:00
736a69795d change ported to linux and rtems 2020-05-05 18:32:50 +02:00
5b933dfe3d also added additonal time check
for freeRTOS
2020-05-05 18:28:50 +02:00
fc8302e08a Merge remote-tracking branch 'upstream/master' into luz_FixedTimeslotTask_ExistenceCheck 2020-05-05 18:28:39 +02:00
3e4263f068 freeRTOS task factory fix 2020-05-03 12:27:18 +02:00
35594d4b71 goofed up, delay function back in task factory 2020-05-03 00:48:18 +02:00
281da25bf9 extended task management for freeRTOS 2020-05-01 16:47:53 +02:00
15c03863c0 additional docmentation for freeRTOS task factory 2020-05-01 14:49:52 +02:00
e39d669ed8 put linux prinouts in namespace 2020-04-30 22:03:16 +02:00
e1aa285b6d linux osal output in namespace 2020-04-29 13:46:30 +02:00
a5d2cbd7db some more sif replacements 2020-04-23 21:59:24 +02:00
0ea692a5ea some more sif changes 2020-04-23 20:04:48 +02:00
01195093e3 Merge branch 'mueller_sifRenaming_soooMany' into mueller_framework 2020-04-23 19:21:12 +02:00
2c6b446500 it is done :-)
However, commented outputs are not changed yet.
2020-04-23 19:13:18 +02:00
fc4199c3b1 architecture dependant call delcared external 2020-04-23 18:13:14 +02:00
328737d0ad newer non-deprecated semaphore call used 2020-04-23 18:12:02 +02:00
1415cd2339 using newer bin semaph create call.
architecture dependant function call is external now and shall
be implemented by developer
2020-04-23 17:54:41 +02:00
0e6f8d3f82 comment adapted 2020-04-22 19:53:06 +02:00
1b5127dc85 added task management implementation 2020-04-22 19:50:07 +02:00
6eda5a0838 task management header added 2020-04-22 19:46:49 +02:00
e26f0d54b2 binary semaphore init 2020-04-22 19:44:03 +02:00
9f7f8073f1 freertos includes in extern "C" 2020-04-22 19:42:42 +02:00
Uli
6553450b4b Actually, not that horrible, thanks to sed 2020-04-21 22:28:43 +02:00
Uli
a42832ca01 working on updating SerializeIF, to quote Basti: This is going to be horrible 2020-04-21 21:34:03 +02:00
4d64a76b8e Merge remote-tracking branch 'upstream/master' into mueller_FixedSequenceImprovements 2020-04-19 21:36:50 +02:00
4d8aca8417 message queue adaptation for ISRs 2020-04-18 13:32:40 +02:00
a405357578 Merge remote-tracking branch 'upstream/master'
into mueller_framework
2020-04-18 13:30:22 +02:00
f45a8cc171 fixed slot sequence safety check added 2020-04-16 13:17:26 +02:00
0d016e5a2b slight formatting 2020-04-13 16:37:25 +02:00
eb2df3d88c Using C++ to implement preamble. adding optional flag for carriage return 2020-04-12 23:06:57 +02:00
69e9710bf1 added intial carriage return im preamble 2020-04-10 17:06:06 +02:00
8a8761ea88 stopwatch bugfix 2020-04-09 17:56:48 +02:00
e0e1e64a09 various changes, stopwatch
Semaphore: Some bugfixes, some constructors added
Stopwatch: First implementation, can measure in ms(double) and
ms(normal)
2020-04-08 18:08:14 +02:00
c88c6c2a45 binary semaphore info printout added 2020-04-06 19:51:45 +02:00
58008c8db5 all fixed slot sequence improvenements, freeRTOS
fix
2020-04-06 11:19:05 +02:00
3654c7bf81 some form stuff 2020-04-06 11:15:44 +02:00
bd468a1b74 timeslot time 0 definitely leads to error 2020-04-01 17:19:03 +02:00
335df7787a testing timeslot task 0 2020-04-01 17:15:27 +02:00
5d071a1cf1 new device comIF return value in DHB
request receive message
2020-03-26 19:53:05 +01:00
7e8d92f956 replaced std::list by std::set for fixedSlotSequen 2020-03-24 00:22:17 +01:00
d3e2652078 replaced DHB sizes by size_t, rework
Cookie now passed to DHB, rework in progress
2020-03-23 17:58:23 +01:00
22e4dabd1b BinSemaphore reset function added 2020-03-06 15:39:42 +01:00
fb6172fdc5 communication message continued.
Some fixed timeslot task improvements
2020-03-04 00:37:58 +01:00
72963f5855 Merge branch 'mueller_framework' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller_framework 2020-03-03 00:07:48 +01:00
d0e8eb386c renamed system context to call context
to avoid conflicts with ISIS library, I don't want to fiddle with
it if we don't have source code
2020-03-02 01:00:17 +01:00
238892bd66 Merge branch 'mueller_framework' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller_framework 2020-02-29 01:22:41 +01:00
6d6c78b255 task management doc 2020-02-29 01:21:36 +01:00
fa38a37604 all context switches calls to TaskManagement.h now 2020-02-28 22:55:25 +01:00
c93ee5c6cd message queue IF return values 2020-02-27 19:00:51 +01:00
abccd81fdf new file for freeRTOS task management functions 2020-02-26 16:55:35 +01:00
083cc7c50a sempahore wrapper extended 2020-02-25 17:04:21 +01:00
bfc7a768ce message queue adaptions for calls from ISR
functions moved to top
binary sempahore file init
mutex return values
2020-02-25 12:54:28 +01:00
a5692079c6 Small possilbe bugfix in MessageQueue.cpp
And other small changes.
Only assign last partner if message receiving was successful.
Some formatting stuff, include in <> notation
doc for task factory free RTOS, high priority means high number
2020-02-15 15:37:00 +01:00
a7964c7200 Merge branch 'luz_FixedTimeslotTask_ExistenceCheck' into mueller_framework 2020-02-15 15:34:53 +01:00
413d659381 slight change 2020-02-15 15:27:06 +01:00
782ba143a6 FixedTimeslotTask object check
Before adding to PST. Prevents NULL exception.
2020-01-20 22:03:13 +01:00
d2325e60b6 Import bugfix in MessageQueue.cpp
lastPartner is only assigned if receiveMessage is successful
2020-01-12 15:51:59 +01:00
29b4480fc4 include adapted 2019-12-26 18:55:31 +01:00
e24f9b89e4 Pool Raw Access Helper tested, appesrs to work. SerializeAdapter doc
changes, tm packet stored debug output if not enough
storage available
2019-12-26 16:44:50 +01:00
Maximilian Luz
d17146d847 Check object existence before adding it to the PST
Currently, adding new objects/components to the FixedSlotSequence PST is
not being checked, meaning that it is possible to add NULL objects here
without any warning. This causes NULL-pointer errors when non-existent
components are added, which can be hard to debug.

To solve this, add a check for the object existence before adding it to
PST and emit an error message.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
2019-12-20 18:10:39 +01:00
4db655e489 task priority order comment 2019-10-22 14:01:17 +02:00
cbc8012198 ioBoardAddress protected instead of private to allow custom initialize 2019-10-22 00:06:11 +02:00
cd7e47ccbb Updated FreeRTOS Osal
CommandingServiceBase is no longer a template
2019-08-28 14:50:24 +02:00
fd782b20c0 Adding Code for Linux 2018-12-19 19:42:00 +01:00
db1f93a155 Adding Code for freeRTOS 2018-07-20 15:10:41 +02:00
575f70ba03 updating code from Flying Laptop
This is the framework of Flying Laptop OBSW version A.13.0.
2018-07-12 16:29:32 +02:00
Bastian Baetz
1d22a6c97e Today's the day. Renamed platform to framework. 2016-06-15 23:48:49 +02:00