diff options
Diffstat (limited to 'teensy')
-rw-r--r-- | teensy/Makefile | 1 | ||||
-rw-r--r-- | teensy/main.c | 4 | ||||
-rw-r--r-- | teensy/memzip_files/main.py | 2 | ||||
-rw-r--r-- | teensy/mpconfigport.h | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/teensy/Makefile b/teensy/Makefile index 7b34ba90e2..0ab07121ca 100644 --- a/teensy/Makefile +++ b/teensy/Makefile @@ -110,7 +110,6 @@ LIB_SRC_C = $(addprefix lib/,\ mp-readline/readline.c \ utils/pyexec.c \ utils/pyhelp.c \ - utils/printf.c \ ) SRC_TEENSY = $(addprefix core/,\ diff --git a/teensy/main.c b/teensy/main.c index 41e445cb59..890ee81493 100644 --- a/teensy/main.c +++ b/teensy/main.c @@ -302,7 +302,7 @@ soft_reset: #endif #if MICROPY_MODULE_FROZEN - pyexec_frozen_module("boot"); + pyexec_frozen_module("boot.py"); #else if (!pyexec_file("/boot.py")) { flash_error(4); @@ -314,7 +314,7 @@ soft_reset: // run main script #if MICROPY_MODULE_FROZEN - pyexec_frozen_module("main"); + pyexec_frozen_module("main.py"); #else { vstr_t *vstr = vstr_new(); diff --git a/teensy/memzip_files/main.py b/teensy/memzip_files/main.py index 4f30f2fc5f..b652377f97 100644 --- a/teensy/memzip_files/main.py +++ b/teensy/memzip_files/main.py @@ -1,3 +1,5 @@ +import pyb + print("Executing main.py") led = pyb.LED(1) diff --git a/teensy/mpconfigport.h b/teensy/mpconfigport.h index 05c040d415..334f76d8a0 100644 --- a/teensy/mpconfigport.h +++ b/teensy/mpconfigport.h @@ -59,8 +59,6 @@ extern const struct _mp_obj_module_t time_module; typedef int32_t mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size -typedef void *machine_ptr_t; // must be of pointer size -typedef const void *machine_const_ptr_t; // must be of pointer size typedef long mp_off_t; #define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len) |