Commit Graph

270 Commits

Author SHA1 Message Date
6b67f46c80 evil hidden bug found.
CSB uses CommandMessageIF now
2020-06-13 17:37:48 +02:00
a9c7ad84c8 added new interface to host and linux osal 2020-06-11 02:03:18 +02:00
c1fe326f67 Merge branch 'mueller_framework' into mueller_newCommandMessageTest 2020-06-10 23:42:09 +02:00
4dd0375507 0 replaced by MQIF:NO_QUEUE 2020-06-10 01:10:40 +02:00
20e3b3c0e2 0 replaced by MQIF::NO_QUEUE 2020-06-10 01:10:16 +02:00
3277d199ac linux mq update 2020-06-10 01:07:50 +02:00
ea2cd7c1a0 some fixes, doc improvements 2020-06-10 01:07:08 +02:00
8ff6506ad9 MessageQueue refactoring complete 2020-06-09 02:18:39 +02:00
e8bc2cec9f small comment in semaph factory 2020-06-07 23:26:52 +02:00
3b4413a6ee added queue lock for receiveMessage 2020-06-07 16:12:23 +02:00
d0b218c18e renaming for host os 2020-06-07 01:40:48 +02:00
ea548dea5b map lock init 2020-06-06 21:16:47 +02:00
262d34174e using strncat now 2020-06-06 18:56:54 +02:00
bf1b86e809 small form stuff 2020-06-06 18:48:28 +02:00
c602e30a63 std:: added 2020-06-06 18:45:55 +02:00
92f493f13a name correction 2020-06-06 16:48:21 +02:00
b79efa6d6c variable for name len 2020-06-06 16:25:06 +02:00
096fbec156 cleaned includesu p a bit 2020-06-06 15:40:10 +02:00
dc9ef41bec added doc for linux 2020-06-06 15:31:45 +02:00
b0634ab0a2 fixed bug (critical!) 2020-06-06 15:26:22 +02:00
ef01b78140 some issue with stack size .. 2020-06-06 15:01:57 +02:00
212cd58f9a issues with fixed timeslo ttask on linux 2020-06-06 14:45:45 +02:00
be066755c0 even safer and more efficient alternative 2020-06-06 14:39:08 +02:00
6ad36ceb24 variable for max name len 2020-06-06 16:24:33 +02:00
1965a0e33b linux important bugfix and general improvements 2020-06-06 15:47:33 +02:00
788f7a3745 better name for mq 2020-06-06 13:59:00 +02:00
95bc5a871b improved diagnostic messages for linux 2020-06-06 13:56:35 +02:00
d35524ecbc decoupling from raw reciever, linux mq improvements 2020-06-06 12:41:17 +02:00
8e7593d68a removed error handling in separate fnctn 2020-06-06 02:10:21 +02:00
87f64d99cd implemented fixed timeslot task 2020-06-05 23:18:00 +02:00
579115f904 adapting host osal 2020-06-05 21:36:50 +02:00
dbeb04895b added hosted OSAL 2020-06-05 17:55:03 +02:00
5036cdbef3 queue factory first param uint32_t again 2020-06-02 23:54:24 +02:00
54edeacb2d changed names for linux 2020-06-02 22:25:28 +02:00
986dc2047e replaced mutexIF and semaphoreIF name for timeouts 2020-06-02 22:19:48 +02:00
de6ed5c085 improved include guard and removed old comment 2020-06-02 15:57:04 +02:00
42f0687a6b self deletion nullptr 2020-05-31 23:28:51 +02:00
c8a36a79de corrected doc for task factory interface 2020-05-31 00:23:38 +02:00
7a22d12d0f removed extern "C", not needed 2020-05-29 17:48:24 +02:00
f14bacba32 using nullptr now
added new distinction between blocking (MAX_TIMEOUT) and polling
(NO_TIMEOUT)
2020-05-29 14:15:45 +02:00
6a3dc94108 removed extern "C" for freertos includes 2020-05-29 13:18:27 +02:00
d5352a9b87 actually extern "C" is not needed
it is included by freeRTOS
2020-05-29 13:15:37 +02:00
e7ae35c659 improved structure a bit 2020-05-29 13:09:47 +02:00
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