Skip to content

Commit

Permalink
Merge pull request zephyrproject-rtos#6 from madmachineio/fs_issue_fix
Browse files Browse the repository at this point in the history
fix zephyr fs/sdcard issue
  • Loading branch information
andy0808 authored May 12, 2020
2 parents b21c479 + cc5fd4d commit 72afaed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions boards/arm/mm_swiftio/mm_swiftio.dts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,5 @@

&usdhc1 {
status = "okay";
pwr-gpios = <&gpio1 5 0>;
cd-gpios = <&gpio2 28 0>;
cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
2 changes: 1 addition & 1 deletion include/fs/fs_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
extern "C" {
#endif

#if defined(CONFIG_FILE_SYSTEM_LITTLEFS)
#if defined(CONFIG_FILE_SYSTEM_LITTLEFS) || defined(CONFIG_FS_FATFS_LFN)
#define MAX_FILE_NAME 256
#else /* FAT_FS */
#define MAX_FILE_NAME 12 /* Uses 8.3 SFN */
Expand Down

0 comments on commit 72afaed

Please sign in to comment.