aboutsummaryrefslogtreecommitdiff
path: root/esp8266/Makefile
diff options
context:
space:
mode:
authorDamien George2016-04-28 12:23:55 +0100
committerDamien George2016-04-28 12:23:55 +0100
commita6aa35af09584bdf5d52275e0d9703ca4fec4231 (patch)
treeda7d4fed0aae19e6dcb0d83a1414769495722d45 /esp8266/Makefile
parent3c2e40b008e2f4818553a29e3d8f3d679fe00a43 (diff)
esp8266: Move pyb.info() function to esp module and remove pyb module.
All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed.
Diffstat (limited to 'esp8266/Makefile')
-rw-r--r--esp8266/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 83300d490..f70e9db48 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -163,7 +163,7 @@ deploy: $(BUILD)/firmware-combined.bin
#$(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $(BUILD)/firmware.elf-0x00000.bin 0x9000 $(BUILD)/firmware.elf-0x0[1-f]000.bin
reset:
- echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)
+ echo -e "\r\nimport machine; machine.reset()\r\n" >$(PORT)
$(BUILD)/firmware-combined.bin: $(BUILD)/firmware.elf
$(ECHO) "Create $@"