Introduce FSFW.h which sanitizes user configuration #427

Closed
opened 2021-06-07 09:54:55 +02:00 by muellerr · 1 comment
Owner

This is how lwIP and FreeRTOS do it. There is a file like lwip/conf.h or FreeRTOS.h which includes the user configuration file and sanitizes the input. It default defines all undefined fields and is also able to perform basic sanity checks on the combination of defines. This would require all #include <FSFWConfig.h> calls in the framework to be replaced by #include "../(../...)FSFW.h"

This is how lwIP and FreeRTOS do it. There is a file like lwip/conf.h or FreeRTOS.h which includes the user configuration file and sanitizes the input. It default defines all undefined fields and is also able to perform basic sanity checks on the combination of defines. This would require all `#include <FSFWConfig.h>` calls in the framework to be replaced by `#include "../(../...)FSFW.h"`
muellerr added the
feature
label 2021-06-12 12:13:03 +02:00
Author
Owner

This file exists now (first merged by #432) and can be used to sanitize user configuration

This file exists now (first merged by #432) and can be used to sanitize user configuration
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fsfw/fsfw#427
No description provided.