File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 7
7
#define INCLUDE_HW_SPI_H_
8
8
9
9
/**
10
- * Max supported Hardware SPI speed (default)
10
+ * Max supported Hardware SPI speed (default 10MHz )
11
11
*/
12
- #define SPI_MAX_SPEED 10000000U
12
+ #define SPI_MAX_SPEED 32000000U
13
13
14
14
/**
15
15
* SPI Modes to configure clock polarity and clock phase.
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ enum sfstat_e {
17
17
SF_STAT_MOUNTED , /**< SPI Flash enabled and filesystem is mounted successfully */
18
18
};
19
19
20
+ #ifdef __cplusplus
21
+ extern "C" {
22
+ #endif
23
+
20
24
/**
21
25
* Enable SPI Flash and mount LFS filesystem
22
26
* @param gpio_cs [in] GPIO number connected to SPI chip select
@@ -39,4 +43,8 @@ int spifs_disable(void);
39
43
*/
40
44
int spifs_getstatus (void );
41
45
46
+ #ifdef __cplusplus
47
+ }
48
+ #endif
49
+
42
50
#endif /* INC_SPIFS_H_ */
You can’t perform that action at this time.
0 commit comments