Repository navigation
v0.1.2
Register-layer completeness fixes, a real NVIC/vector-table cross-check,
the drivers/ error-status contract, per-peripheral Doxygen grouping, and
this changelog.
Added
drivers/inc/driver_status.h: theDriverStatus_eerror-status contract
required by every driver function that can fail, perCONTRIBUTING.md's
error-handling contract - a small, closed set of failure categories,
DRIVER_MUST_CHECK-marked, with a non-zeroDRIVER_STATUS_OKand an
explicitDRIVER_STATUS_UNINITIALIZEDsentinel so an unassigned status
can't silently read as success under this project's-O0build.tools/check_vector_table.awk, run as part ofmake test: a real
cross-check betweencore/inc/nvic_reg.h'sIRQn_eenum and
startup/startup_stm32f446re.s's vector table, replacing a test that only
asserted the enum against its own values and could not catch the two
files drifting apart.- Per-peripheral Doxygen subgroups (
mpu_registers,nvic_registers,
scb_registers,fpu_registers,systick_registers,gpio_registers,
rcc_registers,uart_registers,exti_registers,flash_registers,
iwdg_registers,pwr_registers,syscfg_registers,wwdg_registers),
nested undercore_peripherals/device_peripheralsinstead of every
register header joining one flat parent group.scb_reg.h's two
architecturally distinct blocks (SCB, FPU) now render as separate groups. -Werror=unused-resultin the Makefile'sCFLAGSand host test compile
line: promotes an ignoredDRIVER_MUST_CHECKreturn from a warning to a
build failure on botharm-none-eabi-gccand the hostcc.
Fixed
core/inc/scb_reg.h: added the missing FPU lazy-stacking fault bits to
SCB_CFSR(MLSPERR, bit 5;LSPERR, bit 13) - Cortex-M4F-specific
CFSR extensions the header omitted, relevant to any future HardFault
handler or PendSV context switch.core/inc/mpu_reg.h: added the missingMPU_RASR_AP_PRIV_RW_UNPRIV_RO
(AP=0x2) encoding, one of six legitimate MPU access-permission values -
the one needed to make kernel-owned data read-only to task code.- CI: Arm GNU Toolchain, cppcheck, and clang-format are now pinned to exact
versions (15.2.rel1,2.13.0-2ubuntu3,1:18.0-59~exp2) instead of
floatingaptpackages, so an archive update can only fail the build
loudly rather than silently changing what CI enforces.
Changed
device/inc/flash_reg.h,device/inc/rcc_reg.h: documented previously
unstated scope decisions (which real register fields each header
intentionally omits, and why), matching the pattern already used in
uart_reg.h/exti_reg.h/syscfg_reg.h.CONTRIBUTING.md: documents the two-level Doxygen grouping convention
(parent layer group, per-peripheral subgroup, multi-block-per-file
splitting) for future register headers.README.md,docs/VERSIONING.md,docs/mainpage.md,docs/ARCHITECTURE.md:
corrected status text that still describeddrivers/as entirely empty
scaffolding afterdriver_status.hlanded, and updateddocs/mainpage.md's
description of the Doxygen Topics page to match the per-peripheral
subgroup structure above.
Removed
.github/dependabot.yml: Dependabot is disabled for this repository.
SECURITY.md's claim that no automated tooling watches the Actions SHA
pins is now accurate as a result.