adafruit / Adafruit_Mynewt

Apache Mynewt documentation and test project for the nRF5x family of BLE SoCs
MIT License
8 stars 3 forks source link

Create config file/folder if missing #28

Closed microbuilder closed 8 years ago

microbuilder commented 8 years ago

On a new system, it looks like the config file isn't being created if it is missing?

When the config system starts up, we should do several things:

Test results looking at nffs contents on a new system (running the 'bleuart' example):

517:      log        ls        rm     mkdir        mv       cat 
518:   config      echo         ?     tasks  mempools      date 
520:     stat bleuarttx bleuartrx 
ls
1580:      dir /lost+found
1580:1 files
hathach commented 8 years ago

Ah right. Forgot to mkdir when move the file to /cfg folder ~.~