HAL: Update for GPIO code #572

Merged
mohr merged 6 commits from eive/fsfw:mueller/gpio-update into development 2022-03-14 14:13:34 +01:00
Owner
  • GPIO HAL: Direction, GpioOperation and Levels are enum classes now, which prevents
    name clashes with Windows defines.
  • New CMake option FSFW_HAL_LINUX_ADD_LIBGPIOD to specifically exclude gpiod code.

This is a breaking API change because now the enums always have to prefixed with the enum scope. Also, they don't convert to their respective number values implicitely anymore.

- GPIO HAL: `Direction`, `GpioOperation` and `Levels` are enum classes now, which prevents name clashes with Windows defines. - New CMake option `FSFW_HAL_LINUX_ADD_LIBGPIOD` to specifically exclude `gpiod` code. This is a breaking API change because now the enums always have to prefixed with the enum scope. Also, they don't convert to their respective number values implicitely anymore.
muellerr added 2 commits 2022-03-07 16:10:56 +01:00
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
41a82e923c
muellerr added the
Breaking API Change
label 2022-03-07 16:11:34 +01:00
muellerr requested review from gaisser 2022-03-07 16:19:30 +01:00
gaisser refused to review 2022-03-07 18:32:44 +01:00
gaisser requested review from mohr 2022-03-07 18:32:49 +01:00
Owner

I am a bit confused, the code shows changing the enums to enum class, instead of renaming their value as shown in the description of the PR and in the changelog.
Which is the proposed change?
If I remember correctly, #556 is the precessor of this and was going for the enum class approch.

I am a bit confused, the code shows changing the enums to `enum class`, instead of renaming their value as shown in the description of the PR and in the changelog. Which is the proposed change? If I remember correctly, #556 is the precessor of this and was going for the `enum class` approch.
muellerr added 1 commit 2022-03-08 08:57:59 +01:00
fix changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
e5a9cab34e
Author
Owner

The documentation did not move with the code. Fixed it now

The documentation did not move with the code. Fixed it now
muellerr added 1 commit 2022-03-08 09:00:25 +01:00
another minor changelog update
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
d6856fc54a
muellerr added 1 commit 2022-03-08 09:01:30 +01:00
add link to PR
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
89c1878622
muellerr added 1 commit 2022-03-08 09:02:49 +01:00
minor correction
Some checks are pending
fsfw/fsfw/pipeline/pr-development Build started...
14620fdd72
muellerr added this to the v5.0.0 milestone 2022-03-08 10:40:54 +01:00
mohr approved these changes 2022-03-08 20:08:27 +01:00
mohr left a comment
Owner

looks good

looks good
mohr merged commit 378c6c8006 into development 2022-03-14 14:13:34 +01:00
mohr deleted branch mueller/gpio-update 2022-03-14 14:13:38 +01:00
Sign in to join this conversation.
No description provided.