Not creating code.py file for non-express boards
This commit is contained in:
parent
9c6466cffb
commit
5e1740d11f
@ -71,10 +71,7 @@ static void make_empty_file(FATFS *fatfs, const char *path) {
|
||||
|
||||
|
||||
static void make_sample_code_file(FATFS *fatfs) {
|
||||
#if CIRCUITPY_FULL_BUILD == 0
|
||||
make_empty_file(fatfs, "/code.py");
|
||||
|
||||
#else
|
||||
#if CIRCUITPY_FULL_BUILD == 1
|
||||
FIL fs;
|
||||
UINT char_written = 0;
|
||||
const byte buffer[] = "print('Hello World!')\n";
|
||||
|
Loading…
Reference in New Issue
Block a user