You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GPIO translation unit must be under following project path:
14
-
```C
15
-
#include"drivers/peripheral/gpio/gpio.h"
12
+
```
13
+
"root/drivers/peripheral/gpio/gpio.h"
16
14
```
17
15
18
16
### **2. Filter module**
19
-
---
20
-
Button library is also dependent from filter module. Filter module sources can be found under this [link](https://github.com/GeneralEmbeddedCLibraries/filter). Filter module must take following path:
17
+
[Filter module](https://github.com/GeneralEmbeddedCLibraries/filter) is not mandatory to be used as it can be disabled via *BUTTON_CFG_FILTER_EN* inside ***button_cfg.h*** file.
21
18
22
-
```C
23
-
#include"middleware/filter/src/filter.h"
19
+
If Filter module is used, it must take following path:
20
+
```
21
+
"root/middleware/filter/src/filter.h"
24
22
```
25
23
26
-
### **3. float32_t definition**
27
-
Definition of float32_t must be provided by user. In current implementation it is defined in "project_config.h". Just add following statement to your code where it suits the best.
28
-
29
-
```C
30
-
// Define float
31
-
typedeffloatfloat32_t;
24
+
## **General Embedded C Libraries Ecosystem**
25
+
In order to be part of *General Embedded C Libraries Ecosystem* this module must be placed in following path:
26
+
```
27
+
root/drivers/hmi/button/button/"module_space"
32
28
```
33
-
### **4. Static assert**
34
-
Additionaly module uses "static_assert()" function defined in <assert.h>. It is being used for cross-module compatibility.
0 commit comments