Compare commits

...

304 Commits

Author SHA1 Message Date
Robin Müller fb2e480705 did i forgot to push? 2024-04-16 13:58:10 +02:00
Robin Müller b8ae646060 this include might be missing 2024-04-16 13:53:35 +02:00
Robin Müller 8b21dd276d Merge pull request 'implement relative timeshift' (#173) from time-service-relative-timeshift into develop
Reviewed-on: #173
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-04-09 13:31:13 +02:00
Robin Müller e00da212cd Merge branch 'develop' into time-service-relative-timeshift 2024-04-09 11:11:59 +02:00
Robin Müller a229748aa4 distinct clock dump events 2024-04-09 10:57:00 +02:00
Robin Müller e6e3753324 Merge pull request 're-work some FDIR logic' (#172) from improve-dev-fdir into develop
Reviewed-on: #172
2024-04-09 10:47:32 +02:00
Robin Müller 94bd1ba2ab fix comment blocks 2024-04-08 13:38:14 +02:00
Robin Müller e12a8cfa29 make this change downwards compatible 2024-04-08 13:31:21 +02:00
Robin Müller efbcddc2e5 improvements for time service 2024-04-08 13:26:55 +02:00
Robin Müller 31d4b85523 some optimizations 2024-04-08 13:14:20 +02:00
Robin Müller aff6bb673b
make marius the happies man alive 2024-04-08 10:34:28 +02:00
Robin Müller f8e3777c43
more fixes 2024-04-03 16:23:21 +02:00
Robin Müller 0e2fa8dc83
lets not forget error handling 2024-04-03 16:19:40 +02:00
Robin Müller 0cfe559b93
implement relative timeshift 2024-04-03 16:15:07 +02:00
Robin Müller c5159fb645
optimize docs 2024-04-03 12:52:32 +02:00
Robin Müller 203c0bac5c
re-work some FDIR logic 2024-04-03 12:47:11 +02:00
Marius Eggert 43ea29cb84 Merge pull request 'Function to prevent Quaternion Sign Jump' (#171) from quat-no-sign-jump into develop
Reviewed-on: #171
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-03-18 10:59:19 +01:00
Marius Eggert 27c8a97d45 added function to prevent quaternion sign jump 2024-03-13 16:59:14 +01:00
Marius Eggert 47b21caf5f Merge pull request 'Removed duplicate Code' (#170) from cleanup into develop
Reviewed-on: #170
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-03-06 10:54:12 +01:00
Marius Eggert 2673070204 actually do something with this rtval 2024-03-06 09:41:02 +01:00
Marius Eggert 518a07d05b removed duplicate code 2024-03-05 14:29:47 +01:00
Marius Eggert 516357d855 Merge pull request 'Expand Globalfunctions' (#168) from expand-globalfunctions into develop
Reviewed-on: #168
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-02-27 12:50:28 +01:00
Marius Eggert ac28b7e00d Merge branch 'develop' into expand-globalfunctions 2024-02-26 13:57:04 +01:00
Marius Eggert 0d4a862c1a Merge pull request 'Increase configurability of PusServiceBase' (#169) from psb-update into develop
Reviewed-on: #169
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-02-26 13:56:46 +01:00
Marius Eggert b2576d3422 why are we ignoring usec 2024-02-23 11:33:20 +01:00
Marius Eggert bccaf4a9ea capital 2024-02-23 11:31:11 +01:00
Marius Eggert 7d4e77843b frmt 2024-02-23 11:09:59 +01:00
Robin Müller cd2cd61ba5 Increase configurability of PusServiceBase 2024-02-13 15:57:43 +01:00
Marius Eggert 90f3f8ef1f removed printout 2024-02-12 14:51:54 +01:00
Marius Eggert 9894935e99 time systems 2024-02-12 14:42:58 +01:00
Marius Eggert a3a6c0720c fixes 2024-02-12 14:36:14 +01:00
Marius Eggert d5a52eadbb i should have done this ages ago 2024-02-12 14:20:04 +01:00
Marius Eggert b5e7179af1 Merge pull request 'Rotation from Quaternions' (#167) from rotation-from-quaternions into develop
Reviewed-on: #167
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2024-01-29 14:11:08 +01:00
Marius Eggert 5879eb7f7b rotation from quaternions 2024-01-26 11:06:05 +01:00
Robin Müller e64e8b274d Merge pull request 'check whether map is full on insert' (#166) from insert-full-check into develop
Reviewed-on: #166
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-12-12 17:53:14 +01:00
Robin Müller 48bcce65b1 check whether map is full on insert 2023-12-12 11:24:35 +01:00
Marius Eggert 7105e199c6 Merge pull request 'SLERP for antiparallel Quaternions' (#165) from slerp-fix-antiparallel-quaternions into develop
Reviewed-on: #165
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2023-12-06 10:41:02 +01:00
Marius Eggert 94de483836 small fix 2023-12-06 09:26:22 +01:00
Robin Müller c648229c99 Merge pull request 'SLERP' (#163) from slerp into develop
Reviewed-on: #163
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2023-12-05 09:25:48 +01:00
Marius Eggert 5b661551a8 fixes 2023-12-04 17:52:24 +01:00
Robin Müller 3978524181 Merge branch 'develop' into slerp 2023-11-29 15:19:09 +01:00
Robin Müller 7187f2b5cd Merge pull request 'TLE turns too old after just 7 Days' (#164) from tle-too-old into develop
Reviewed-on: #164
2023-11-29 15:17:39 +01:00
Robin Müller 8e367abb47 Merge branch 'develop' into tle-too-old 2023-11-29 15:17:19 +01:00
Robin Müller b28174db24 Merge pull request 'Fresh DHB pre-queue check hook' (#162) from fresh-dhb-pre-queue-hook into develop
Reviewed-on: #162
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-11-29 14:18:23 +01:00
Marius Eggert c906acd659 tle turns too old after just 7 days 2023-11-29 09:48:11 +01:00
Marius Eggert 8dfc84c0b5 smoll fix 2023-11-27 10:52:47 +01:00
Marius Eggert 74775bb59d slerp 2023-11-27 10:38:25 +01:00
Robin Müller c02d9e009e docs improvements and fix 2023-11-21 17:40:06 +01:00
Robin Müller 0021aa29f5 pre-queue hook 2023-11-21 17:37:02 +01:00
Ulrich Mohr 41d67bff63 Merge pull request 'New simpler DHB' (#161) from new-dhb into develop
Reviewed-on: #161
Reviewed-by: Ulrich Mohr <mohr@irs.uni-stuttgart.de>
2023-11-16 11:02:44 +01:00
Robin Müller 8d7bb51d44
add missing call to perform HK op 2023-11-15 11:39:04 +01:00
Robin Müller 7673d8b396
add paramHelper 2023-11-15 10:03:56 +01:00
Robin Müller 91b194d8eb Merge branch 'new-dhb' of https://egit.irs.uni-stuttgart.de/eive/fsfw into new-dhb 2023-11-14 11:48:20 +01:00
Robin Müller 698897bfc5 default args 2023-11-14 11:48:17 +01:00
Robin Müller d554062b86
trigger event default arguments 2023-11-13 15:32:42 +01:00
Robin Müller bf7fac071c add mode setters 2023-11-09 17:18:33 +01:00
Robin Müller 35be7da353
some more docs 2023-11-09 11:28:59 +01:00
Robin Müller 18cc870c8e
add FDIR handling 2023-11-09 11:04:45 +01:00
Robin Müller 133ca51d18
visibility changes 2023-11-09 10:45:21 +01:00
Robin Müller 0a40391a75
thats the baseline 2023-11-09 10:36:45 +01:00
Robin Müller cc3e64e70d Merge pull request 'CFDP SOURCE handler' (#157) from cfdp-source-handler into develop
Reviewed-on: #157
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-10-19 10:59:53 +02:00
Robin Müller 6021257a87
unittest fix 2023-10-19 10:21:18 +02:00
Robin Müller 63c238005e Merge remote-tracking branch 'origin/develop' into cfdp-source-handler 2023-10-11 12:57:14 +02:00
Marius Eggert 0f604b35c6 improved readability 2023-10-09 09:26:56 +02:00
Marius Eggert e3a815444e checkModeCommand to protected 2023-09-29 15:26:43 +02:00
Marius Eggert 19093866ee rtval for non op soc 2023-09-29 14:27:54 +02:00
Robin Müller 497f947237
add missing 0 termination 2023-09-14 15:04:54 +02:00
Robin Müller 5bd020193b
initialize result 2023-09-11 15:38:46 +02:00
Robin Müller 420c0625a5
result was not stored properly 2023-09-11 15:38:06 +02:00
Robin Müller 42a0b15303
hardcore bug 2023-09-06 20:49:53 +02:00
Robin Müller c199cbedaa
some improvements, remove debugging stuff 2023-09-06 13:40:18 +02:00
Robin Müller c4e18cc2f3
what was i thinking here? 2023-09-06 11:45:02 +02:00
Robin Müller c143198494
debugging 2023-09-06 10:11:09 +02:00
Robin Müller 448fbd0d38
this should be less confusing, saner defaults 2023-09-05 16:04:48 +02:00
Robin Müller 470f589bde
need to rework this fsm.. but works now 2023-09-04 11:01:55 +02:00
Robin Müller dfcfb035be
fix some retval duplications 2023-08-31 15:09:22 +02:00
Robin Müller 6e53582dc9
split up CFDP retval domains 2023-08-31 14:59:09 +02:00
Robin Müller fb1500e041
continue 2023-08-30 11:34:38 +02:00
Robin Müller ea2e58249d
API improvements 2023-08-30 11:18:49 +02:00
Robin Müller 9ef63825f3
optimization 2023-08-16 13:15:34 +02:00
Robin Müller 073cb4b3d5
adaptions for reserved message handling 2023-08-16 13:10:21 +02:00
Robin Müller 8c11685240
introduce handling for full target queue 2023-08-14 21:19:35 +02:00
Robin Müller cb1aaea6cd
add more checks 2023-08-14 21:04:22 +02:00
Robin Müller 22df8f6147
fix the tests 2023-08-14 21:01:29 +02:00
Robin Müller 60dcacf432
further tweaks for both CFDP handlers 2023-08-14 20:47:27 +02:00
Robin Müller b39e1c7e07 Merge remote-tracking branch 'origin/develop' into cfdp-source-handler 2023-08-14 15:59:13 +02:00
Robin Müller 036667a969
type improvements 2023-08-14 15:58:01 +02:00
Robin Müller 67c38f327e
rename source file 2023-08-14 13:54:11 +02:00
Robin Müller e1816ed230
that should be all indications 2023-08-14 13:45:13 +02:00
Robin Müller 5ff464252f
added some user checks 2023-08-14 13:40:25 +02:00
Robin Müller cd8d64830c
more checks 2023-08-14 13:33:47 +02:00
Robin Müller b7056a7467
additional checks 2023-08-14 13:24:22 +02:00
Robin Müller 0fc2c7b5e9
oops 2023-08-14 13:19:48 +02:00
Robin Müller eae7c44874
reset error count 2023-08-14 13:19:32 +02:00
Robin Müller e4aae75747
more checks 2023-08-14 12:19:55 +02:00
Robin Müller b094ba145f
multi file segment works 2023-08-14 12:15:35 +02:00
Robin Müller 15629abf19
the joys of UB or whatever that crap was 2023-08-14 12:13:29 +02:00
Robin Müller 7aeb25e064
unittest for transfer with 2 segments 2023-08-14 11:26:57 +02:00
Robin Müller d246ce34d0 Merge pull request 'Change TLE validity duration' (#159) from spg4-tle-too-old into develop
Reviewed-on: #159
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
2023-08-14 10:09:00 +02:00
Marius Eggert 796c7a9e37 tle is too old after 30 days now 2023-08-09 11:42:11 +02:00
Robin Müller 7c875f1067
unittest for small file transfer done 2023-08-04 15:17:53 +02:00
Robin Müller e8451cac31
add one test condition 2023-08-04 14:21:36 +02:00
Robin Müller 8ddd6eb18d
some improvements for test 2023-08-03 17:44:30 +02:00
Robin Müller 6c6b552059
start small file transfer test 2023-08-03 17:43:03 +02:00
Robin Müller 9a1437980f
add empty stubs 2023-08-03 15:50:27 +02:00
Robin Müller 12e52a92f2
empty file transfer test done 2023-08-03 15:49:23 +02:00
Robin Müller dffce43e6b
metadata PDU seems to be correct 2023-08-03 15:30:38 +02:00
Robin Müller daf75547a4
insidious bug 2023-08-03 15:13:26 +02:00
Robin Müller 0cccf26021
should not be problematic but somehow is.. 2023-08-03 14:34:21 +02:00
Robin Müller c075f27e20
start verifying metadata PDU 2023-08-03 13:57:55 +02:00
Robin Müller 3167988951
continue source handler 2023-08-03 13:03:58 +02:00
Robin Müller a856f91c67
nice 2023-07-27 17:15:01 +02:00
Robin Müller f49e607881
finally it works 2023-07-27 15:07:14 +02:00
Robin Müller 0f208ec75a
seems to work well 2023-07-27 14:55:46 +02:00
Robin Müller 5679b139ad
reserved message unittest working 2023-07-26 18:20:32 +02:00
Robin Müller 947f2b8685
add some additional API 2023-07-26 17:47:27 +02:00
Robin Müller 291c75c01f
test put request 2023-07-26 17:29:35 +02:00
Robin Müller fde277cd06
start adding dedicated put request handler 2023-07-26 17:17:51 +02:00
Robin Müller bb186fc965
more bugfixes 2023-07-26 16:58:58 +02:00
Robin Müller e8bf8b9575
looking good 2023-07-26 16:36:21 +02:00
Robin Müller 8f5a8b13d3
parsing finally works 2023-07-26 16:25:42 +02:00
Robin Müller 314cba363f
contnue msg parser unittest 2023-07-25 16:16:35 +02:00
Robin Müller 244e2d0737
start adding message parser unittests 2023-07-25 13:58:22 +02:00
Robin Müller 8f0974d83e
finished reserved msg creator function 2023-07-24 18:07:20 +02:00
Robin Müller 8581f9a6f3
start implementing reserved message creator 2023-07-24 18:01:25 +02:00
Robin Müller 844c90a625
constructor fix 2023-07-24 16:42:13 +02:00
Robin Müller 437851db3e
naming 2023-07-24 16:40:44 +02:00
Robin Müller e8b9897ee3
even better name 2023-07-24 16:40:25 +02:00
Robin Müller 33df8e8cc5
this parser should do the job 2023-07-24 16:38:11 +02:00
Robin Müller 52fc0958f7
iniitalize field 2023-07-24 11:58:06 +02:00
Robin Müller 66704dc571
getting tricky again.. 2023-07-24 11:57:33 +02:00
Robin Müller 0943863ec6
need to think about that parser again.. 2023-07-24 11:35:26 +02:00
Robin Müller 2585028e75
put request serializable now 2023-07-24 11:33:37 +02:00
Robin Müller 7bf7336d4a
almost done 2023-07-24 11:15:50 +02:00
Robin Müller b0b6c68720
we already have CFDP messages 2023-07-24 11:05:11 +02:00
Robin Müller a1f36a0dd8
put request 2023-07-24 10:58:18 +02:00
Robin Müller e4665c9394
continue with the msg to user / put request architecture 2023-07-24 10:52:38 +02:00
Robin Müller 98cbf38432
this is going to be complex.. 2023-07-24 10:11:16 +02:00
Robin Müller 5d3f00da7f
that should do the job 2023-07-24 10:06:45 +02:00
Robin Müller 69fd6d0f6a
lets see how we can do this 2023-07-21 16:35:05 +02:00
Robin Müller 045054fce0
start implementing metadata parser 2023-07-21 16:12:17 +02:00
Robin Müller 4c9e731113 Merge branch 'cfdp-source-handler' of https://egit.irs.uni-stuttgart.de/eive/fsfw into cfdp-source-handler 2023-07-21 16:09:59 +02:00
Robin Müller e00e198ff1
this seems to work 2023-07-21 16:09:52 +02:00
Robin Müller 9c8434d856
LOOKING GOOOD 2023-07-19 23:43:40 +02:00
Robin Müller 42c215ef70
some additional notes 2023-07-19 23:24:43 +02:00
Robin Müller 273fd3ebfd
added sequence count provider abstraction 2023-07-19 23:22:55 +02:00
Robin Müller 6c9c4ee047
add EOF impl 2023-07-19 14:06:15 +02:00
Robin Müller 1bfb695b41
some minor tweaks 2023-07-19 14:02:03 +02:00
Robin Müller 1561b9a247
implemented fle data PDUs 2023-07-19 13:44:52 +02:00
Robin Müller 896b7a7358
start FD PDU handling 2023-07-19 00:12:14 +02:00
Robin Müller 8e62143ac8
continue impl 2023-07-18 09:38:46 +02:00
Robin Müller 1d97327f79
start implementing metadata PDU generation 2023-07-17 18:56:10 +02:00
Robin Müller 5e9d402598
getFileSize API for fsfw 2023-07-17 16:40:44 +02:00
Robin Müller b53c48863f
start introducing FSM result 2023-07-17 15:21:22 +02:00
Robin Müller 4dc6398fd5
continue source FSM 2023-07-17 15:11:51 +02:00
Robin Müller 8fcc4eab60
some internal state handling 2023-07-17 15:03:08 +02:00
Robin Müller 972dc7e19e
continue source handler 2023-07-17 14:54:45 +02:00
Robin Müller 06ef498a18
start implementing put request function 2023-07-17 14:48:37 +02:00
Robin Müller 6322a31566
some fixes 2023-07-17 13:43:48 +02:00
Robin Müller 95b77ed826
put request support baseline 2023-07-17 13:28:32 +02:00
Robin Müller 3b1da85229
start setting up source handler 2023-07-17 11:37:20 +02:00
Robin Müller 1cbcfc08ff
reorder includes 2023-07-17 10:46:12 +02:00
Robin Müller d575da8540 Merge pull request 'Small tweak to allow immediate HK generation' (#158) from small-hk-tweak into develop
Reviewed-on: #158
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-07-17 10:37:39 +02:00
Robin Müller ca27cef2ee
Merge branch 'small-hk-tweak' into cfdp-source-handler 2023-07-17 10:37:03 +02:00
Robin Müller 62ace649a7
fix unittest 2023-07-17 10:35:35 +02:00
Robin Müller aac74fae38
shared cmake file 2023-07-17 10:34:19 +02:00
Robin Müller a26b0c38ac
small tweak to allow immediate HK generation 2023-07-17 10:31:02 +02:00
Robin Müller f44110a7f5
share the FSFW Param block 2023-07-17 10:25:09 +02:00
Robin Müller 35712070cf
source handler 2023-07-17 10:15:06 +02:00
Robin Müller 1b79713430 Merge branch 'cfdp-source-handler' of https://egit.irs.uni-stuttgart.de/eive/fsfw into cfdp-source-handler 2023-07-17 09:53:51 +02:00
Robin Müller a6cc5171da
continue source handler 2023-07-17 09:53:23 +02:00
Robin Müller 9994c46e47 Merge branch 'develop' into cfdp-source-handler 2023-07-14 16:01:51 +02:00
Robin Müller cf927ecee7
added bare structure of FSM 2023-07-14 15:56:38 +02:00
Robin Müller 42e74d22cc Merge pull request 'countdown based HK generation' (#156) from hk-generation-countdown-based into develop
Reviewed-on: #156
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-07-11 17:35:10 +02:00
Robin Müller 36caa58043 Merge branch 'develop' into hk-generation-countdown-based 2023-07-11 17:34:24 +02:00
Robin Müller 988e07f0be
countdown 2023-07-11 15:40:43 +02:00
Robin Müller 88e8665280
important bugfix for PUS TM creator 2023-07-10 17:45:02 +02:00
Robin Müller 9c8b1c697b
added back missing function 2023-07-10 14:20:02 +02:00
Robin Müller 110cb903a6
countdown based HK generation 2023-07-10 14:14:31 +02:00
Robin Müller 1b23aa4246
bugfixes and improvements for dest handler 2023-06-30 12:01:18 +02:00
Robin Müller 7d713219c5
continue source handler 2023-06-30 11:59:22 +02:00
Robin Müller 1be09a2310
the C++ tooling is shit 2023-06-30 11:48:25 +02:00
Robin Müller 7add782470
start CFDP source handler 2023-06-30 11:36:19 +02:00
Marius Eggert 8da89eba80 Merge pull request 'add API to set msg counter' (#155) from pus-msg-counter-mutable into develop
Reviewed-on: #155
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-06-28 13:19:28 +02:00
Robin Müller 7e8845f2c2 Merge remote-tracking branch 'origin/develop' into pus-msg-counter-mutable 2023-06-26 18:12:36 +02:00
Robin Müller 6aff3250c2 Merge pull request 'Internal Error Reporter Configurability' (#154) from internal-error-reporter-set into develop
Reviewed-on: #154
2023-06-26 18:10:06 +02:00
Robin Müller c3572e31a8
add API to set msg counter 2023-06-25 12:35:50 +02:00
Robin Müller 2293e7f2bb
typo 2023-06-22 16:12:41 +02:00
Robin Müller a85a38c882
some thnings are configurable now 2023-06-22 16:08:29 +02:00
Robin Müller 0f76cdb3ba
typo 2023-06-20 20:36:03 +02:00
Robin Müller 268c2e87c9 Merge pull request 'max value calc fix' (#153) from max-value-fix-v2 into develop
Reviewed-on: #153
2023-06-20 18:20:00 +02:00
Robin Müller 87f94a252f Merge branch 'develop' into max-value-fix-v2 2023-06-20 18:19:19 +02:00
Ulrich Mohr c7037d417a nullptr check for optional argument 2023-06-20 11:54:15 +02:00
Marius Eggert f80c5980ea max value calc fix 2023-06-19 17:04:45 +02:00
Marius Eggert ad01642fee Merge pull request 'specify truncate flag explicitely' (#151) from specify-truncate-flag-explicitely into develop
Reviewed-on: #151
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-06-19 09:32:19 +02:00
Robin Müller f2947bc78e
specify truncate flag explicitely 2023-06-18 19:04:36 +02:00
Robin Müller 0a977ea688 Merge pull request 'make number of parallel cmds configurable' (#149) from make-srv3-num-parallel-cmds-configurable into develop
Reviewed-on: #149
2023-06-14 03:37:02 +02:00
Robin Müller 74b164b1da make number of parallel cmds configurable 2023-06-13 08:09:04 +02:00
Robin Müller 5322de0599 Merge pull request 'Pull CFPD bugfix in dev branch' (#147) from pull-cfdp-fix-into-dev-branch into obsw-v3.0.0-dev
Reviewed-on: #147
2023-06-09 13:41:29 +02:00
Robin Müller 9a4bf51006 Merge branch 'develop' into obsw-v3.0.0-dev 2023-06-09 13:11:30 +02:00
Robin Müller 3a70229510 Merge pull request 'configurable queue depth' (#146) from service-8-configurable-queue-depth into obsw-v3.0.0-dev
Reviewed-on: #146
2023-06-09 13:03:17 +02:00
Robin Müller b3beedad9f Merge branch 'obsw-v3.0.0-dev' into service-8-configurable-queue-depth 2023-06-09 13:03:08 +02:00
Robin Müller efe217a197 Merge pull request 'Rework L3GD20H Config' (#143) from gyr-config-rework into obsw-v3.0.0-dev
Reviewed-on: #143
2023-06-09 13:01:23 +02:00
Robin Müller b442ca09b9 configurable queue depth 2023-06-07 13:46:46 +02:00
Robin Müller 9372b2a575
Merge remote-tracking branch 'upstream/development' into develop 2023-05-25 15:03:54 +02:00
Marius Eggert aafa53148e Merge pull request 'CFDP Bugfix' (#144) from cfdp-bugfix-unittest-fixes into develop
Reviewed-on: #144
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2023-05-22 10:40:44 +02:00
Robin Müller e0adb3325f
werks 2023-05-22 10:37:26 +02:00
Robin Müller 4391823f01
changelog 2023-05-15 16:14:36 +02:00
Robin Müller 1a77e6bb09
proper floating point comparison 2023-05-15 16:13:05 +02:00
Robin Müller cae131edcf
CFDP and unittest bugfixes 2023-05-15 16:02:55 +02:00
Ulrich Mohr 4518fec65c CHANGELOG 2023-05-08 15:25:47 +02:00
Ulrich Mohr dac1aacab2 Merge pull request 'Update Power Switch IF' (#743) from eive/fsfw:update_power_switch_if into development
Reviewed-on: fsfw/fsfw#743
2023-05-08 15:00:47 +02:00
Ulrich Mohr 0042f92fdf Merge pull request 'bump ETL version' (#748) from KSat/fsfw:bump_etl_dep into development
Reviewed-on: fsfw/fsfw#748
2023-05-08 14:53:02 +02:00
Ulrich Mohr 656faf8169 Merge remote-tracking branch 'upstream/development' into update_power_switch_if 2023-05-08 14:44:27 +02:00
Ulrich Mohr f84431e965 Merge pull request 'bugfix and changelog for Linux getUptime' (#745) from eive/fsfw:important_bugfix_linux_get_uptime into development
Reviewed-on: fsfw/fsfw#745
2023-05-08 14:29:55 +02:00
Ulrich Mohr 0cec9ebb73 Merge pull request 'small tweak for version getter' (#744) from eive/fsfw:small_version_getter_tweak into development
Reviewed-on: fsfw/fsfw#744
2023-05-08 14:13:06 +02:00
Ulrich Mohr a440b7c394 Merge pull request 'add CFDP subsystem ID' (#742) from eive/fsfw:add_cfdp_subsystem_id into development
Reviewed-on: fsfw/fsfw#742
2023-05-08 14:09:04 +02:00
Ulrich Mohr bbfc1b2b34 Merge pull request 'FixedArrayList compile time assert' (#740) from eive/fsfw:container_additional_assert into development
Reviewed-on: fsfw/fsfw#740
2023-05-08 14:04:56 +02:00
Robin Müller 025b379e8b
bump ETL version 2023-05-04 14:04:55 +02:00
Marius Eggert 258f0d3313 use both LPFs 2023-04-19 15:25:14 +02:00
Robin Müller 5eb9ee8bc1
DHB fdir: event queue depth confgurable 2023-04-14 21:22:24 +02:00
Robin Müller 7f61d17cee
even better event manager printout 2023-04-14 21:08:44 +02:00
Robin Müller ffa2fa477f Merge pull request 'move CFDP handler' (#142) from move_cfdp_handler into develop
Reviewed-on: #142
2023-04-11 16:50:46 +02:00
Robin Müller 894d1e3b87
move CFDP handler 2023-04-11 16:36:54 +02:00
Robin Müller 285d327b97
clean up spi retval defs 2023-04-07 17:42:44 +02:00
Robin Müller e97fa5ac84
add skip directive for retvals 2023-04-07 11:03:46 +02:00
Robin Müller 5a9304765f
accepts action commands without ipc data 2023-04-06 22:34:57 +02:00
Robin Müller 6650c293da
change collection interval is public now 2023-04-04 15:59:26 +02:00
Robin Müller 9fca7581dd Merge branch 'develop' of https://egit.irs.uni-stuttgart.de/eive/fsfw into develop 2023-04-04 01:52:29 +02:00
Robin Müller 4af90f99f3
changelog 2023-04-04 01:52:26 +02:00
Robin Müller 94cdf67a80
make health functions virtual 2023-04-04 01:51:58 +02:00
Robin Müller 7966ede11b
add O_SYNC flag for UioMapper 2023-04-03 21:57:18 +02:00
Robin Müller 7a392dc33a
new register function 2023-04-03 18:54:35 +02:00
Robin Müller 1e3c89b672
i dont think ths needs to be public 2023-04-03 17:59:14 +02:00
Robin Müller e2e87b149d
initialize switch state list 2023-04-03 14:31:45 +02:00
Robin Müller 4f632e2c68
ctrl base bugfix 2023-03-28 19:37:47 +02:00
Robin Müller 314f0fa2cd
start power switch component in undefined mode 2023-03-28 15:27:48 +02:00
Robin Müller b31e1037fb
HK service configurable queue depth 2023-03-26 20:05:10 +02:00
Robin Müller b814e7198f Merge pull request 'Allow creating regular threads' (#140) from allow_creating_regular_threads into develop
Reviewed-on: #140
2023-03-24 14:15:53 +01:00
Robin Müller 6328b70d7b Merge branch 'develop' into allow_creating_regular_threads 2023-03-24 14:15:39 +01:00
Robin Müller a937b457f9
this is so confusing 2023-03-24 14:10:47 +01:00
Robin Müller 4415dc24e1
fix host OSAL 2023-03-24 13:25:34 +01:00
Robin Müller e704295cce
default value 2023-03-24 11:58:23 +01:00
Robin Müller d16b3c7e67
try to do this cleanly 2023-03-24 11:53:41 +01:00
Robin Müller 3b86545725 Merge pull request 'add BUSY retval' (#141) from busy_retval_dhb_com into develop
Reviewed-on: #141
2023-03-24 11:35:09 +01:00
Robin Müller cf6150cc18
add BUSY retval 2023-03-24 00:57:44 +01:00
Robin Müller bfb5c2ff03 Merge branch 'develop' into allow_creating_regular_threads 2023-03-23 18:45:49 +01:00
Robin Müller bf02061d47 Merge pull request 'use RR sched instead of FIFO for Linux RT' (#139) from use_rr_sched into develop
Reviewed-on: #139
2023-03-23 18:45:09 +01:00
Robin Müller 2c4e110254 Merge branch 'develop' into use_rr_sched 2023-03-23 18:44:59 +01:00
Robin Müller 7ed75ea87b Merge remote-tracking branch 'origin/develop' into allow_creating_regular_threads 2023-03-23 18:44:06 +01:00
Robin Müller db4587bb59
allow creating regular threads 2023-03-23 18:29:17 +01:00
Robin Müller 33ac395072
use RR sched instead of FIFO for Linux RT 2023-03-23 15:42:14 +01:00
Robin Müller f8a7c1d4ed
rename namespace 2023-03-22 01:03:49 +01:00
Robin Müller 341437df13
add flush functions for serial helpers 2023-03-21 20:20:13 +01:00
Robin Müller 227524a21d
transition source submode is tricky 2023-03-20 15:49:09 +01:00
Robin Müller 0f81d5e458
Merge remote-tracking branch 'upstream/development' into container_additional_assert 2023-03-15 12:34:36 +01:00
Robin Müller b50f092939
Merge remote-tracking branch 'upstream/development' into update_power_switch_if 2023-03-15 12:33:08 +01:00
Robin Müller 2f90e12179
Merge remote-tracking branch 'upstream/development' into important_bugfix_linux_get_uptime 2023-03-15 12:32:25 +01:00
Robin Müller 8b77fac099 Merge pull request 'health service fixes and changelog' (#746) from eive/fsfw:health_service_fixes into development
Reviewed-on: fsfw/fsfw#746
2023-03-15 12:29:31 +01:00
Robin Müller 47503824d7
health service fixes and changelog 2023-03-15 12:27:39 +01:00
Robin Müller 5e3f5c4121
fuse update 2023-03-15 12:25:39 +01:00
Robin Müller 1f36c082ef
bugfix and changelog for Linux getUptime 2023-03-15 12:21:50 +01:00
Robin Müller aa84e93603
small tweak for version getter 2023-03-15 12:17:36 +01:00
Robin Müller 8f63a0e747
changelog 2023-03-15 12:15:21 +01:00
Robin Müller 6fc8f756a7
update power switch IF 2023-03-15 12:13:55 +01:00
Robin Müller d98ed40e3d
add CFDP subsystem ID 2023-03-15 12:09:30 +01:00
Robin Müller b057250bfb
changelog 2023-03-15 11:53:12 +01:00
Robin Müller 066dd0d397
changelog 2023-03-15 11:52:20 +01:00
Robin Müller f735c2e9d4
assert size larger than 0 2023-03-15 11:51:51 +01:00
Robin Müller 43fd0b2f59
resolve some more merge conflicts 2023-03-15 11:48:50 +01:00
Robin Müller d0607824ad
Merge remote-tracking branch 'upstream/development' into develop 2023-03-15 11:40:48 +01:00
Robin Müller cf27954a86
changelog 2023-03-14 19:55:01 +01:00
Robin Müller f84e3284ab
just hardcode spill option to true 2023-03-14 19:54:21 +01:00
Robin Müller 5250423d1d Merge pull request 'Periodic HK helper simplification' (#136) from periodic_hk_helper_simplification into develop
Reviewed-on: #136
2023-03-14 18:27:14 +01:00
Robin Müller 522bd41d6e
changelog 2023-03-14 18:26:44 +01:00
Robin Müller c61c85280b
remove more code 2023-03-14 18:26:04 +01:00
Robin Müller afbe5e1f65
Merge remote-tracking branch 'origin/develop' into periodic_hk_helper_simplification 2023-03-14 18:23:57 +01:00
Robin Müller 4c88ab80c8 Merge pull request 'Pool Manager spill to higher pools option' (#135) from pool_manager_spilling_opt into develop
Reviewed-on: #135
2023-03-14 18:22:31 +01:00
Robin Müller 5ba69b169f
changelog 2023-03-14 18:22:00 +01:00
Robin Müller 40405fe6c7
add spill option 2023-03-14 18:21:16 +01:00
Robin Müller aac32e763c
some compile fixes 2023-03-14 18:20:17 +01:00
Robin Müller bf980d74c0
HK helper simplification 2023-03-14 17:40:39 +01:00
Robin Müller b6b9d1d790
make dataset enable idempotent 2023-03-14 16:49:46 +01:00
Robin Müller 0973ba6bf2 Merge pull request 'basic faulty cb for power switcher component' (#134) from feature_power_switch_faulty_cb into develop
Reviewed-on: #134
2023-03-14 14:15:11 +01:00
Robin Müller 1cfebb5d47 Merge branch 'develop' into feature_power_switch_faulty_cb 2023-03-14 14:14:50 +01:00
Robin Müller 0b0a0299bc
power switch IF improvements 2023-03-14 13:45:03 +01:00
Robin Müller 8382d61b92
possible fix for power switch component 2023-03-14 11:44:13 +01:00
Robin Müller 7208343b6d
basic faulty cb for power switcher component 2023-03-13 16:01:13 +01:00
Ulrich Mohr dc7afc5415 Version bump, CHANGELOG update, format 2023-02-23 13:38:24 +01:00
Ulrich Mohr 9bf3ff95b7 Merge pull request 'Add Health Service Announce All Health Info' (#725) from eive/fsfw:add_health_service_announce_all into development
Reviewed-on: fsfw/fsfw#725
2023-02-23 13:13:56 +01:00
Ulrich Mohr 61562b18ab Merge branch 'development' into add_health_service_announce_all 2023-02-23 12:56:12 +01:00
Ulrich Mohr d76d97a36b changed health table parameter to objectId 2023-02-23 12:44:42 +01:00
Ulrich Mohr 76b377c4c0 Merge pull request 'Mode Service: Add allowed subservice' (#739) from eive/fsfw:small_mode_service_fix into development
Reviewed-on: fsfw/fsfw#739
2023-02-20 13:40:53 +01:00
Ulrich Mohr 3562bf11b9 CHANGELOG update 2023-02-10 11:06:46 +01:00
Ulrich Mohr fffb2b61e5 release check helper 2023-02-10 11:06:30 +01:00
Robin Müller 94e5f62331
add allowed subservice 2023-02-09 18:30:08 +01:00
Ulrich Mohr 0a9c563bbc format 2023-02-09 15:58:48 +01:00
Steffen Gaisser 5b92247fbd Merge branch 'development' into add_health_service_announce_all 2023-02-06 16:31:05 +01:00
Steffen Gaisser d9da55fdab Merge branch 'development' into add_health_service_announce_all 2023-02-06 15:03:52 +01:00
Robin Müller 066f7a6f9b
remove unreachable code 2023-02-06 14:41:14 +01:00
Robin Müller c1f42618db small but important bugfix for health service 2023-02-01 19:59:32 +01:00
Robin Müller 61df451dd8
update changelog 2023-02-01 17:41:47 +01:00
Robin Müller 29ea89044e beatufil 2023-02-01 17:35:49 +01:00
Robin Müller e487f5be87
proper announce all impl 2023-02-01 17:35:32 +01:00
191 changed files with 3726 additions and 1296 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
# PyCharm and CLion
/.idea/*
.idea/*
!/.idea/runConfigurations
!/.idea/cmake.xml
!/.idea/codeStyles

8
.idea/cmake.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeSharedSettings">
<configurations>
<configuration PROFILE_NAME="Debug Test" ENABLED="true" CONFIG_NAME="Debug" GENERATION_OPTIONS="-DFSFW_OSAL=host -DFSFW_BUILD_TESTS=ON" NO_GENERATOR="true" />
</configurations>
</component>
</project>

View File

@ -8,17 +8,55 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
# [unreleased]
# [v6.0.0]
## Fixes
- The `PusTmCreator` API only accepted 255 bytes of source data. It can now accept source
data with a size limited only by the size of `size_t`.
- Important bugfix in CFDP PDU header format: The entity length field and the transaction sequence
number fields stored the actual length of the field instead of the length minus 1 like specified
in the CFDP standard.
- PUS Health Service: Size check for set health command.
Perform operation completion for announce health command.
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/746
- Linux OSAL `getUptime` fix: Check validity of `/proc/uptime` file before reading uptime.
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/745
- Small tweak for version getter
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/744
## Added
- add CFDP subsystem ID
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/742
- `PusTmZcWriter` now exposes API to set message counter field.
- Relative timeshift in the PUS time service.
## Changed
- The PUS time service now dumps the time before setting a new time and after having set the
time.
- HK generation is now countdown based.
- Bump ETL version to 20.35.14
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/748
- Renamed `PCDU_2` subsystem ID to `POWER_SWITCH_IF`.
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/743
- Add new `PowerSwitchIF::SWITCH_UNKNOWN` returnvalue.
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/743
- Assert that `FixedArrayList` is larger than 0 at compile time.
https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/740
- Health functions are virtual now.
- PUS Service Base request queue depth and maximum number of handled packets per cycle is now
configurable.
# [v6.0.0] 2023-02-10
## Fixes
- Add monotonic watchdog Clock API and use it in `Countdown` and `Stopwatch` class.
- Bugfix in `Service11TelecommandScheduling` which allowed commands
time tagged in the past to be inserted.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/738
- Mode Service: Add allowed subservice
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/739
- `CService200ModeManagement`: Various bugfixes which lead to now execution complete being generated
on mode announcements, duplicate mode reply generated on announce commands, and the mode read
subservice not working properly.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/736
- Memory leak fixes for the TCP/IP TMTC bridge.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/737
- `Service9TimeManagement`: Fix the time dump at the `SET_TIME` subservice: Include clock timeval
@ -27,16 +65,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- HAL MGM3100 Handler: Use axis specific gain/scaling factors. Previously,
only the X scaling factor was used.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/724
- Bugfix for RM3100 MGM sensors. Z value was previously calculated
with bytes of the X value.
- HAL MGM3100 Handler: Z value was previously calculated with bytes of the X value.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/733
- DHB `setNormalDatapoolEntriesInvalid`: The default implementation did not set the validity
to false correctly because the `read` and `write` calls were missing.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/728
- PUS TMTC creator module: Sequence flags were set to continuation segment (0b00) instead
of the correct unsegmented flags (0b11) as specified in the standard.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/727
- TC Scheduler Service 11: Add size and CRC check for contained TC.
Bug: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/issues/719
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/720
- Only delete health table entry in `HealthHelper` destructor if
health table was set.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/710/files
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/710
- I2C Bugfixes: Do not keep iterator as member and fix some incorrect handling with the iterator.
Also properly reset the reply size for successfull transfers and erroneous transfers.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/700
@ -46,6 +88,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `TcpTmTcServer.cpp`: The server was actually not able to handle
CCSDS packets which were clumped together. This has been fixed now.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/673
- `CServiceHealthCommanding`: Add announce all health info implementation
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/725
- various fixes related to linux Unittests and memory leaks
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/715
- small fix to allow teardown handling
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/713
- fix compiler warning for fixed array list copy ctor
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/704
- missing include
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/703
- defaultconfig did not build anymore
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/702
- hotfix
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/699
- small fix for helper
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/698
- missing retval conv
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/697
- DHB Countdown Bug
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/693
- doc corrections
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/687
- better error printout
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/686
- include correction
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/683
- better warning for missing include paths
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/676
- Service 11 regression
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/670
## Added
@ -64,17 +136,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/709
- Add new `UnsignedByteField` class
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/660
- publish documentation for development and master branch
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/681
- Add Linux HAL options
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/663
- Expand SerializeIF
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/656
- PUS Service 11: Additional Safety Check
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/666
- improvements for auto-formatter script
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/665
- provide a weak print char impl
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/674
## Removed
- now that doc server is up, remove markdown files
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/688
- remove bsp specific code
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/679
## Changes
- `CService201HealthCommanding` renamed to `CServiceHealthCommanding`,
service ID customizable now. `CServiceHealthCommanding` expects configuration struct
`HealthServiceCfg` now
PR: https://egit.irs.uni-stuttgart.de/eive/fsfw/pulls/122
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/725
- `AcceptsTelemetryIF`: `getReportReceptionQueue` is const now
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/712
- Moved some container returnvalues to dedicated header and namespace
to they can be used without template specification.
so they can be used without template specification.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/707
- Remove default secondary header argument for
`uint16_t getTcSpacePacketIdFromApid(uint16_t apid, bool secondaryHeaderFlag)` and
@ -104,18 +195,41 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `DeviceHandlerBase`: New signature of `handleDeviceTm` which expects
a `const SerializeIF&` and additional helper variant which expects `const uint8_t*`
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/671
- Move some generic `StorageManagerIF` implementations from `LocalPool` to
interface itself so it can be re-used more easily. Also add new
abstract function `bool hasDataAtId(store_address_t storeId) const`.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/685
- Improvements for `AcceptsTelemetryIF` and `AcceptsTelecommandsIF`:
- Make functions `const` where it makes sense
- Add `const char* getName const` abstract function
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/684
- Move some generic `StorageManagerIF` implementations from `LocalPool` to
interface itself so it can be re-used more easily. Also add new
abstract function `bool hasDataAtId(store_address_t storeId) const`.
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/685
- Generic TMTC Bridge Update
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/734
- comment tweak to event parser can read everything
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/732
- CMakeLists file updates
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/731
- improve srv20 error messages
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/723
- I2C Linux: remove duplicate printout
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/718
- printout handling improvements
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/717
- vec getter, reset for content
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/716
- updates for source sequence counter
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/714
- SP reader getPacketData is const now
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/708
- refactoring of serial drivers for linux
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/705
- Local Pool Update Remove Add Data Ignore Fault Argument
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/701
- Switch to new documentation server
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/694
- Windows Tweaks
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/691
- Refactor Local Pool API
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/667
- group MGM data in local pool vectors
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/664
## CFDP
@ -135,17 +249,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
implementation without an extra component
PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/682
## HAL
- SPI: Cache the SPI device in the communication interface. Architecturally, this makes a
lot more sense because each ComIF should be responsible for one SPI bus.
- SPI: Move the empty transfer to update the line polarity to separate function. This means
it is not automatically called when calling the setter function for SPI speed and mode.
The user should call this function after locking the CS mutex if multiple SPI devices with
differing speeds and modes are attached to one bus.
- SPI: Getter functions for SPI speed and mode.
# [v5.0.0] 25.07.2022
# [v5.0.0] 2022-07-25
## Changes

View File

@ -13,7 +13,7 @@ list(APPEND CMAKE_MODULE_PATH
# Version file handling #
# ##############################################################################
set(FSFW_VERSION_IF_GIT_FAILS 5)
set(FSFW_VERSION_IF_GIT_FAILS 6)
set(FSFW_SUBVERSION_IF_GIT_FAILS 0)
set(FSFW_REVISION_IF_GIT_FAILS 0)
@ -72,7 +72,7 @@ set(FSFW_ETL_LIB_MAJOR_VERSION
20
CACHE STRING "ETL library major version requirement")
set(FSFW_ETL_LIB_VERSION
${FSFW_ETL_LIB_MAJOR_VERSION}.28.0
${FSFW_ETL_LIB_MAJOR_VERSION}.35.14
CACHE STRING "ETL library exact version requirement")
set(FSFW_ETL_LINK_TARGET etl::etl)

110
scripts/check_release.py Executable file
View File

@ -0,0 +1,110 @@
#! /bin/python
import argparse
import json
import urllib.request
import re
from pathlib import Path
def main() -> None:
parser = argparse.ArgumentParser(
description="List undocumented PRs"
)
parser.add_argument("-v", "--version", type=str, required=True)
args = parser.parse_args()
match = re.search("([0-9]+\.[0-9]+\.[0-9]+)", args.version)
if not match:
print("invalid version")
exit(1)
version = "v" + match.group(1)
print("looking for milestone for " + version + " ...")
with urllib.request.urlopen("https://egit.irs.uni-stuttgart.de/api/v1/repos/fsfw/fsfw/milestones?name=" + version) as milestone_json:
milestones = json.load(milestone_json)
if (len(milestones) == 0):
print("did not find any milestone")
exit(1)
if (len(milestones) > 1):
print("found multiple milestons")
milestone_title = milestones[0]['title']
milestone = str(milestones[0]['id'])
print("Using Milestone \""+ milestone_title + "\" with id " + milestone)
milestone_prs = []
page = 1
last_count = 1;
while last_count != 0:
with urllib.request.urlopen("https://egit.irs.uni-stuttgart.de/api/v1/repos/fsfw/fsfw/pulls?state=closed&milestone=" + str(milestone) + "&limit=100&page=" + str(page)) as pull_requests_json:
pull_requests = json.load(pull_requests_json)
for pr in pull_requests:
milestone_prs.append({'number': str(pr['number']), 'title' : pr['title']})
page += 1
last_count = len(pull_requests)
print("Found " + str(len(milestone_prs)) + " closed PRs in Milestone")
print("looking for CHANGELOG.md ...")
path = Path(".")
files = list(path.glob("CHANGELOG.md"))
if (len(files) != 1):
files = list(path.glob("../CHANGELOG.md"))
if (len(files) != 1):
print("did not find CHANGELOG.md. Run script in either root directory or scripts subfolder.")
exit(1)
print("Scanning CHANGELOG.md ...")
changelog_prs = []
with open(files[0]) as changelog:
line = changelog.readline()
while (line):
#print("line: " + line)
match = re.search("\#.+(v[0-9]+\.[0-9]+\.[0-9]+)", line)
if (match):
if match.group(1) == version:
#print("found version")
line = changelog.readline()
continue
else:
#print("done with " + match.group(1))
break
match = re.search("PR: https://egit\.irs\.uni-stuttgart\.de/fsfw/fsfw/pulls/([0-9]+)", line)
if match:
changelog_prs.append(match.group(1))
line = changelog.readline()
print("Found " + str(len(changelog_prs)) + " PRs in CHANGELOG.md")
print("")
copy_array = changelog_prs.copy()
print("PRs in CHANGELOG.md that are not in Milestone:")
for pr in milestone_prs:
if pr['number'] in copy_array:
copy_array.remove(pr['number'])
for pr in copy_array:
print("https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/" + pr)
print("")
print("PRs in milestone that are not in CHANGELOG.md:")
for pr in milestone_prs:
if pr['number'] not in changelog_prs:
print("- " + pr['title'] + "\n PR: https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/" + pr['number'])
main()

View File

@ -32,6 +32,7 @@ add_subdirectory(timemanager)
add_subdirectory(tmtcpacket)
add_subdirectory(tmtcservices)
add_subdirectory(filesystem)
add_subdirectory(util)
# Optional