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
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
2f1b923009
removed source from cmakelists.txt
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
6fb64f9ada
apply clang format
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
025f79fcb4
apply clang format
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
90b8ad1e6d
add i2c wiretapping option
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
6739890d53
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d119479c0a
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
68ace0b74a
one shot flag not static anymore
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9c2ceb4a9f
periodic printouts are runtime configurable now
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
aebd4817b8
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
0c4835bfb5
try readme tweak
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
eac7e6db07
Fixed an issue in host OSAL and added more coverage to IER
All checks were successful
fsfw/fsfw/pipeline/pr-master This commit looks good
a50b52df51
still clang
All checks were successful
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
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
fdc8a3d4f7
Merge pull request 'README tweak' (#562) from eive/fsfw:mueller/readme-tweak into development
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
5ff0f8ea10
Reviewed-on: #562
Merge branch 'development' into mueller/test-task-one-shot-flag-not-static
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
56d0c8c616
Merge branch 'development' into mueller/hal-i2c-wiretapping
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
5f7e384442
Merge branch 'development' into mueller/dev-printout-runtime-configurable
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
f99f5ed730
Added more coverage and Documentation
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d6508e23b6
Merge branch 'development' into mueller/update-helper-script
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d4e48006f2
Merge branch 'development' into mueller/apply-clang-format
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
e75155c329
Reviewed-on: #558
Merge branch 'development' into gaisser_unit_test_internal_error
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
d6d13eec95
Merge branch 'development' into mueller/update-helper-script
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
a10e5c6ed4
Fixed an missing include
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
1ef3dae72e
Fixed include based on Feedback
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
0e8328fca3
Merge remote-tracking branch 'upstream/development' into mueller/delete-obsolete-module
Some checks failed
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
Some checks failed
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
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9d9f19781d
Merge remote-tracking branch 'upstream/development' into mueller/delete-obsolete-module
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
c0fa365f8f
Merge remote-tracking branch 'upstream/development' into mueller/dev-printout-runtime-configurable
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
cf45eca100
Reviewed-on: #557
Merge branch 'development' into mueller/update-helper-script
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
2635f39344
Reviewed-on: #564
Merge branch 'development' into gaisser_unit_test_internal_error
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
20928732ec
Merge remote-tracking branch 'upstream/development' into mueller/test-task-one-shot-flag-not-static
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
af286d3bc6
Merge remote-tracking branch 'upstream/development' into mueller/dev-printout-runtime-configurable
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
19d217e3b9
Reviewed-on: #563
Merge branch 'development' into gaisser_compiler_flags
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
68ca6fd122
Merge branch 'development' into mueller/test-task-one-shot-flag-not-static
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
2d12618c96
Reviewed-on: #560
Merge remote-tracking branch 'upstream/development' into mueller/dev-printout-runtime-configurable
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
95078e1103
Changing build to -j4 from -j to lessen load on build server
Some checks are pending
fsfw/fsfw/pipeline/head Build started...
fsfw/fsfw/pipeline/pr-development This commit looks good
f659f13759
Reviewed-on: #569
some forgotten size_t
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
117747970d
Merge branch 'development' into gaisser_compiler_flags
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
14b44f8bb2
Merge pull request 'some forgotten size_t' (#570) from eive/fsfw:mohr/sizes into development
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
dbe31dd339
Reviewed-on: #570
Merge branch 'development' into mueller/dev-printout-runtime-configurable
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
10ffa2f44a
Reviewed-on: #561
Reviewed-on: #568
small test device handler fixes
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d06eecf9b0
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
41a82e923c
SPI HAL improvement
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
32f420c4f0
- Initialize line state
update CHANGELOG
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
983fa346b3
Changed behaviour of Host and Linux Clock
Fixed another issue of time checks
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
a4f97a7ba7
fix changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
e5a9cab34e
another minor changelog update
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d6856fc54a
add link to PR
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
89c1878622
minor correction
Some checks are pending
fsfw/fsfw/pipeline/pr-development Build started...
14620fdd72
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
77e5fba7fd
small form change
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
7932afc315
call setTimeout
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
238baa8597
Added Checks for CDSShort in unittests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
445d5dd6f0
improved version.h
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
345a799031
getter not required anymore
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
ca508bfe61
added tests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
7daa9812ff
update changelog
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
949549178a
added some more minor tests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
3779b44813
minor tweaks
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
6b1a81ee92
this tests even a bit more
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
14ac852b7e
avoid namespace pollution
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
e684680d60
minor event changes
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
0bdcb40609
Reviewed-on: #571
Merge pull request 'HAL: Update for GPIO code' (#572) from eive/fsfw:mueller/gpio-update into development
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
378c6c8006
Reviewed-on: #572
Merge remote-tracking branch 'upstream/development' into mueller/spi-initialize-line-state
Some checks are pending
fsfw/fsfw/pipeline/pr-development Build queued...
5d6de90859
Reviewed-on: #573
Reviewed-on: #574
Merge remote-tracking branch 'upstream/development' into mueller/version-getter-upstream
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
97c93afeff
bugfix
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
ce5bcc5897
Merge remote-tracking branch 'upstream/development' into mueller/version-getter-upstream
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
522cbc7f3d
Reviewed-on: #575
Merge branch 'development' into mueller/countdown-improvement-upstream
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
24ad858b64
Merge branch 'development' into mueller/define-fsfw-disabled-printout-upstream
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
6998626ad4
Reviewed-on: #577
Merge branch 'development' into mueller/event-update
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
48c5c3fbd5
Reviewed-on: #578
Merge branch 'development' into mueller/define-fsfw-disabled-printout-upstream
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d2dd16aef3
Reviewed-on: #576
Add more baud rates
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
7c64797f03
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
f441505476
changed hal linux uart baudrate and bits per word to enums
All checks were successful
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.
No description provided.