We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f67e5 commit fecd5d2Copy full SHA for fecd5d2
ports/esp32/Makefile
@@ -622,11 +622,16 @@ flash:
622
idf-version:
623
$(ECHO) "ESP IDF supported hash: $(ESPIDF_SUPHASH)"
624
625
+otto-deploy: otto-dev otto-cp-main flash
626
+
627
otto-dev: otto-dump-settings docker-build
628
629
otto-dump-settings:
630
$(Q)$(PYTHON) dump_settings.py > modules/settings.py
631
632
+otto-cp-main:
633
+ ampy --port $(PORT) put modules/main.py /main.py
634
635
################################################################################
636
# Declarations to build the application
637
ports/esp32/modules/main.py
@@ -0,0 +1,2 @@
1
+import otto
2
+otto.Otto().run()
0 commit comments