Skip to content

Commit

Permalink
cc3200: Fix breakage after VfsFat refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sokolovsky committed Feb 15, 2016
1 parent 46a0ac0 commit 4cd45f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion cc3200/application.mk
Expand Up @@ -157,7 +157,6 @@ APP_LIB_SRC_C = $(addprefix lib/,\

APP_STM_SRC_C = $(addprefix stmhal/,\
bufhelper.c \
file.c \
builtin_open.c \
import.c \
input.c \
Expand Down
2 changes: 1 addition & 1 deletion cc3200/mods/moduos.c
Expand Up @@ -37,7 +37,7 @@
#include "moduos.h"
#include "diskio.h"
#include "sflash_diskio.h"
#include "file.h"
#include "extmod/vfs_fat_file.h"
#include "random.h"
#include "mpexception.h"
#include "version.h"
Expand Down
1 change: 1 addition & 0 deletions cc3200/mpconfigport.h
Expand Up @@ -70,6 +70,7 @@
#define MICROPY_FATFS_REENTRANT (1)
#define MICROPY_FATFS_TIMEOUT (2500)
#define MICROPY_FATFS_SYNC_T SemaphoreHandle_t
#define MICROPY_FSUSERMOUNT_ADHOC (1)

#define MICROPY_STREAMS_NON_BLOCK (1)
#define MICROPY_MODULE_WEAK_LINKS (1)
Expand Down
4 changes: 3 additions & 1 deletion extmod/vfs_fat_file.c
Expand Up @@ -25,7 +25,9 @@
*/

#include "py/mpconfig.h"
#if MICROPY_FSUSERMOUNT
// *_ADHOC part is for cc3200 port which doesn't use general uPy
// infrastructure and instead duplicates code. TODO: Resolve.
#if MICROPY_FSUSERMOUNT || MICROPY_FSUSERMOUNT_ADHOC

#include <stdio.h>
#include <errno.h>
Expand Down

0 comments on commit 4cd45f4

Please sign in to comment.