meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:c:ceedling [2021/04/22 12:52] – niziak | programming:c:ceedling [2021/04/22 16:55] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ceedling ====== | ====== Ceedling ====== | ||
* **support files ** - additional C files needed for tests but not for project (not added to project src). | * **support files ** - additional C files needed for tests but not for project (not added to project src). | ||
- | | + | |
+ | ====== Hints ====== | ||
+ | | ||
+ | * Make separate '' | ||
+ | * Try to create separate '' | ||
+ | * Always wrap HAL or other lower parts using some thin wrappers | ||
===== add .c file ===== | ===== add .c file ===== | ||
Line 24: | Line 30: | ||
# To prevent this: | # To prevent this: | ||
#include " | #include " | ||
+ | </ | ||
+ | |||
+ | ===== common includes ===== | ||
+ | <code yaml> | ||
+ | :cmock: | ||
+ | :includes: | ||
+ | - < | ||
+ | - < | ||
</ | </ | ||