aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nrf/README.md')
-rw-r--r--ports/nrf/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/nrf/README.md b/ports/nrf/README.md
index b797f3eb7..1e7536d1e 100644
--- a/ports/nrf/README.md
+++ b/ports/nrf/README.md
@@ -86,6 +86,13 @@ To use frozen modules, put them in a directory (e.g. `freeze/`) and supply
make BOARD=pca10040 FROZEN_MPY_DIR=freeze
+## Enable MICROPY_FATFS
+As the `oofatfs` module is not having header guards that can exclude the implementation compile time, this port provides a flag to enable it explicitly. The MICROPY_FATFS is by default set to 0 and has to be set to 1 if `oofatfs` files should be compiled. This will be in addition of setting `MICROPY_VFS` and `MICROPY_VFS_FAT` in mpconfigport.h.
+
+For example:
+
+ make BOARD=pca10040 MICROPY_FATFS=1
+
## Target Boards and Make Flags
Target Board (BOARD) | Bluetooth Stack (SD) | Bluetooth Support | Flash Util