79784577

Date: 2025-10-07 13:15:13
Score: 0.5
Natty:
Report link

Ceedling does not include by default the headers of the mocked file. It is a problem in this case because the headers are needed and the source files cannot be modified. I had to include it in project.yml like this in order to make it work :

:cmock:
  :includes:
  - src/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h                       
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: PM Laforest