feat(util): opt-in MMWHAL_CRITICAL_SECTION_NOOP for critical-section IRQ masking #125
No reviewers
Labels
No labels
Category
App
Category
Documentation
Category
Firmware
Category
Hardware
Category
Qms
PR_Size
L
PR_Size
M
PR_Size
S
PR_Size
XL
PR_Size
XS
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Very Low Priority
Size
Epic
Size
Feature
Size
Task
Status
Blocked
Status
Draft
Status
Needs-review
Team
Board
Team
Dev
Team
Management
Type
Bug
Type
Capa
Type
Improvement
Type
New-feature
Type
Regulatory
Type
Usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
opendutchsolutions.public/hal_awr6843!125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/124-critical-section-noop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #124.
Adds an opt-in
MMWHAL_CRITICAL_SECTION_NOOPdefine (viahal_config_mss.h, same customization path asENABLE_<X>_MODULE) that turnsMMWHAL_DISABLE_IRQ()/MMWHAL_ENABLE_IRQ()into no-ops. Default (unset) behavior is unchanged for every existing consumer -- see issue #124 for the real-hardware failure this addresses for projects that never enable an interrupt source.Also reformats
hal/util/mmwhal_types.h(pre-existing clang-format debt, unrelated to this change -- brought in line withextern "C"indentation already used by every other module header in this repo, e.g.hal_gpio.h/hal_pinmux.h).Local verification:
ctest: 403/403 passing (clean full rebuild)tools/misra/run_misra.sh): 0 findingsclang-format --dry-run --Werror: cleanPR_Size/S