Commit 253e1a6f authored by Dave Hylands's avatar Dave Hylands Committed by Damien George
Browse files

teensy: Fix execution of frozen boot.py and main.py

parent d2d9dfcd
......@@ -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();
......
import pyb
print("Executing main.py")
led = pyb.LED(1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment