Using enums to configure baudrate and bits per word in Linux HAL UART #585

Merged
mohr merged 3 commits from mohr/hal_uart into development 2022-03-28 14:47:05 +02:00
Owner

This is an alternative/extension to #581.

As these values are used without user interaction, there is no way of returning and thus safely handling misconfiguration.
Using enums provides a set range of valid values the compiler can check at compile time.

This is an alternative/extension to #581. As these values are used without user interaction, there is no way of returning and thus safely handling misconfiguration. Using enums provides a set range of valid values the compiler can check at compile time.
mohr added 107 commits 2022-03-24 15:47:50 +01:00
this module should not be needed anymore
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
2f1b923009
removed source from cmakelists.txt
fsfw/fsfw/pipeline/pr-development This commit looks good
6fb64f9ada
apply clang format
fsfw/fsfw/pipeline/pr-development This commit looks good
025f79fcb4
apply clang format
fsfw/fsfw/pipeline/pr-development This commit looks good
90b8ad1e6d
add i2c wiretapping option
fsfw/fsfw/pipeline/pr-development This commit looks good
6739890d53
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
d119479c0a
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
68ace0b74a
one shot flag not static anymore
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9c2ceb4a9f
periodic printouts are runtime configurable now
fsfw/fsfw/pipeline/pr-development This commit looks good
aebd4817b8
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
0c4835bfb5
try readme tweak
fsfw/fsfw/pipeline/pr-development This commit looks good
eac7e6db07
Fixed an issue in host OSAL and added more coverage to IER
fsfw/fsfw/pipeline/pr-master This commit looks good
a50b52df51
still clang
fsfw/fsfw/pipeline/pr-master This commit looks good
fsfw/fsfw/pipeline/pr-development This commit looks good
e5e85bcff9
display run commands in helper script
fsfw/fsfw/pipeline/pr-development This commit looks good
fdc8a3d4f7
Reviewed-on: #562
Merge branch 'development' into mueller/test-task-one-shot-flag-not-static
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
56d0c8c616
Merge branch 'development' into mueller/hal-i2c-wiretapping
fsfw/fsfw/pipeline/pr-development This commit looks good
5f7e384442
Merge branch 'development' into mueller/dev-printout-runtime-configurable
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
f99f5ed730
Added more coverage and Documentation
fsfw/fsfw/pipeline/pr-development This commit looks good
d6508e23b6
Merge branch 'development' into mueller/update-helper-script
fsfw/fsfw/pipeline/pr-development This commit looks good
d4e48006f2
Merge branch 'development' into mueller/apply-clang-format
fsfw/fsfw/pipeline/pr-development This commit looks good
e75155c329
Reviewed-on: #558
Merge branch 'development' into gaisser_unit_test_internal_error
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
d6d13eec95
Merge branch 'development' into mueller/update-helper-script
fsfw/fsfw/pipeline/pr-development This commit looks good
a10e5c6ed4
Fixed an missing include
fsfw/fsfw/pipeline/pr-development This commit looks good
1ef3dae72e
Fixed include based on Feedback
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
0e8328fca3
Merge remote-tracking branch 'upstream/development' into mueller/delete-obsolete-module
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
a6c0f3fef5
Reviewed-on: #559
Merge remote-tracking branch 'upstream/development' into mueller/test-task-one-shot-flag-not-static
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
f4520ea346
Merge remote-tracking branch 'upstream/development' into mueller/test-task-one-shot-flag-not-static
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9d9f19781d
Merge remote-tracking branch 'upstream/development' into mueller/dev-printout-runtime-configurable
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
cf45eca100
Reviewed-on: #557
Merge branch 'development' into mueller/update-helper-script
fsfw/fsfw/pipeline/pr-development This commit looks good
2635f39344
Reviewed-on: #564
Merge branch 'development' into gaisser_unit_test_internal_error
fsfw/fsfw/pipeline/pr-development This commit looks good
20928732ec
Merge remote-tracking branch 'upstream/development' into mueller/dev-printout-runtime-configurable
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
19d217e3b9
Reviewed-on: #563
Merge branch 'development' into gaisser_compiler_flags
fsfw/fsfw/pipeline/pr-development This commit looks good
68ca6fd122
Reviewed-on: #560
Changing build to -j4 from -j to lessen load on build server
fsfw/fsfw/pipeline/head Build started...
fsfw/fsfw/pipeline/pr-development This commit looks good
f659f13759
Reviewed-on: #569
some forgotten size_t
fsfw/fsfw/pipeline/pr-development This commit looks good
117747970d
Merge branch 'development' into gaisser_compiler_flags
fsfw/fsfw/pipeline/pr-development This commit looks good
14b44f8bb2
Reviewed-on: #570
Reviewed-on: #561
Reviewed-on: #568
small test device handler fixes
fsfw/fsfw/pipeline/pr-development This commit looks good
d06eecf9b0
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
41a82e923c
SPI HAL improvement
fsfw/fsfw/pipeline/pr-development This commit looks good
32f420c4f0
- Initialize line state
update CHANGELOG
fsfw/fsfw/pipeline/pr-development This commit looks good
983fa346b3
Changed behaviour of Host and Linux Clock
Fixed another issue of time checks
fsfw/fsfw/pipeline/pr-development This commit looks good
a4f97a7ba7
fix changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
e5a9cab34e
another minor changelog update
fsfw/fsfw/pipeline/pr-development This commit looks good
d6856fc54a
add link to PR
fsfw/fsfw/pipeline/pr-development This commit looks good
89c1878622
minor correction
fsfw/fsfw/pipeline/pr-development Build started...
14620fdd72
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
77e5fba7fd
small form change
fsfw/fsfw/pipeline/pr-development This commit looks good
7932afc315
call setTimeout
fsfw/fsfw/pipeline/pr-development This commit looks good
238baa8597
Added Checks for CDSShort in unittests
fsfw/fsfw/pipeline/pr-development This commit looks good
445d5dd6f0
improved version.h
fsfw/fsfw/pipeline/pr-development This commit looks good
345a799031
getter not required anymore
fsfw/fsfw/pipeline/pr-development This commit looks good
ca508bfe61
added tests
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
7daa9812ff
update changelog
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
949549178a
added some more minor tests
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
3779b44813
minor tweaks
fsfw/fsfw/pipeline/pr-development This commit looks good
6b1a81ee92
this tests even a bit more
fsfw/fsfw/pipeline/pr-development This commit looks good
14ac852b7e
avoid namespace pollution
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
e684680d60
minor event changes
fsfw/fsfw/pipeline/pr-development This commit looks good
0bdcb40609
Reviewed-on: #571
Reviewed-on: #572
Reviewed-on: #573
Reviewed-on: #574
Merge remote-tracking branch 'upstream/development' into mueller/version-getter-upstream
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
97c93afeff
bugfix
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
ce5bcc5897
Reviewed-on: #575
Merge branch 'development' into mueller/countdown-improvement-upstream
fsfw/fsfw/pipeline/pr-development This commit looks good
24ad858b64
Reviewed-on: #577
Merge branch 'development' into mueller/event-update
fsfw/fsfw/pipeline/pr-development This commit looks good
48c5c3fbd5
Reviewed-on: #578
Reviewed-on: #576
Add more baud rates
fsfw/fsfw/pipeline/pr-development This commit looks good
7c64797f03
update changelog
fsfw/fsfw/pipeline/pr-development This commit looks good
f441505476
changed hal linux uart baudrate and bits per word to enums
fsfw/fsfw/pipeline/head This commit looks good
fsfw/fsfw/pipeline/pr-master This commit looks good
fsfw/fsfw/pipeline/pr-development This commit looks good
c60aa68d00
mohr changed target branch from master to development 2022-03-24 15:48:41 +01:00
mohr requested review from muellerr 2022-03-24 15:54:48 +01:00
mohr requested review from meierj 2022-03-24 15:54:48 +01:00
Owner

Seems very useful. LGTM

Seems very useful. LGTM
muellerr approved these changes 2022-03-24 16:41:32 +01:00
meierj approved these changes 2022-03-24 20:05:20 +01:00
gaisser added this to the v5.0.0 milestone 2022-03-28 14:46:36 +02:00
mohr added the Breaking API Change label 2022-03-28 14:46:39 +02:00
mohr self-assigned this 2022-03-28 14:46:53 +02:00
mohr merged commit d43caa8296 into development 2022-03-28 14:47:05 +02:00
mohr deleted branch mohr/hal_uart 2022-03-28 14:47:10 +02:00
Sign in to join this conversation.