nrf: dsd6,pinetime,nitrogen: Disable micro:bit filesystem

Currently pinetime reserves 64k of FLASH for an unused file system. This
is pointless because we have a 4MB SPI flash that we can use as a
filesystem.

It is also pointless on dsd6 and nitrogen because we'd prefer to run
without a filesystem than to have something so stunted!

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
wasp-os
Daniel Thompson 2020-06-17 21:32:22 +01:00
parent 8ea3211068
commit 0abaa09f89
4 changed files with 13 additions and 0 deletions

View File

@ -67,4 +67,10 @@
#define MICROPY_HW_PWM1_NAME "PWM1"
#define MICROPY_HW_PWM2_NAME "PWM2"
#define MICROPY_MBFS (0)
#define MICROPY_VFS (1)
//MICROPY_VFS_LFS2 is defined via the command line to ensure the
//library code gets built
#define HELP_TEXT_BOARD_LED ""

View File

@ -72,4 +72,9 @@
#define MICROPY_HW_PWM1_NAME "PWM1"
#define MICROPY_HW_PWM2_NAME "PWM2"
#define MICROPY_MBFS (0)
#define MICROPY_VFS (1)
//MICROPY_VFS_LFS2 is defined via the command line to ensure the
//library code gets built
#define HELP_TEXT_BOARD_LED "1,2"

View File

@ -4,6 +4,7 @@
_flash_size = 0x78000; /* bootloader starts at 0x78000 */
_ram_size = 64K;
_fs_size = 0;
/* produce a link error if there is not this amount of RAM for these sections */
_stack_size = 8K;

View File

@ -69,6 +69,7 @@
#define MICROPY_HW_PWM1_NAME "PWM1"
#define MICROPY_HW_PWM2_NAME "PWM2"
#define MICROPY_MBFS (0)
#define MICROPY_VFS (1)
//MICROPY_VFS_LFS2 is defined via the command line to ensure the
//library code gets built