diff options
author | Daniel Campora <daniel@wipy.io> | 2015-04-10 21:02:07 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-04-11 13:35:05 +0200 |
commit | 6e25d955f489ee3446c5af10ea28b1f9038a733b (patch) | |
tree | 4eb6d4b2ee4af0646ee0a2aeebbabfbcce596bbe /cc3200/ftp/updater.c | |
parent | d35ac956d1710cb688c4ee4d56e19a3ec1c34bbc (diff) | |
download | micropython-6e25d955f489ee3446c5af10ea28b1f9038a733b.tar.gz micropython-6e25d955f489ee3446c5af10ea28b1f9038a733b.zip |
cc3200: Enable long filename support in FatFS.
This has implications all over the place. I have to admit that
you can instantly see that usability improves, but it costs 3K.
At the same time I took the oportunity to rename the '/SFLASH'
drive to '/flash' which improves compatibility with the pyboard.
Diffstat (limited to 'cc3200/ftp/updater.c')
-rw-r--r-- | cc3200/ftp/updater.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cc3200/ftp/updater.c b/cc3200/ftp/updater.c index 2e240c7226..98282a0517 100644 --- a/cc3200/ftp/updater.c +++ b/cc3200/ftp/updater.c @@ -14,9 +14,9 @@ /****************************************************************************** DEFINE PRIVATE CONSTANTS ******************************************************************************/ -#define UPDATER_IMG_PATH "/SFLASH/SYS/MCUIMG.BIN" -#define UPDATER_SRVPACK_PATH "/SFLASH/SYS/SRVPCK.UCF" -#define UPDATER_SIGN_PATH "/SFLASH/SYS/SRVPCK.SIG" +#define UPDATER_IMG_PATH "/flash/sys/mcuimg.bin" +#define UPDATER_SRVPACK_PATH "/flash/sys/servicepack.ucf" +#define UPDATER_SIGN_PATH "/flash/sys/servicepack.sig" /****************************************************************************** DEFINE TYPES @@ -37,8 +37,6 @@ static updater_data_t updater_data; DEFINE PUBLIC FUNCTIONS ******************************************************************************/ bool updater_check_path (void *path) { - // conert the path supplied to upper case - stoupper (path); if (!strcmp(UPDATER_IMG_PATH, path)) { updater_data.path = IMG_UPDATE; updater_data.fsize = IMG_SIZE; |