Skip to content

Commit fecd5d2

Browse files
committed
otto: otto-deploy
1 parent 07f67e5 commit fecd5d2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ports/esp32/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,11 +622,16 @@ flash:
622622
idf-version:
623623
$(ECHO) "ESP IDF supported hash: $(ESPIDF_SUPHASH)"
624624

625+
otto-deploy: otto-dev otto-cp-main flash
626+
625627
otto-dev: otto-dump-settings docker-build
626628

627629
otto-dump-settings:
628630
$(Q)$(PYTHON) dump_settings.py > modules/settings.py
629631

632+
otto-cp-main:
633+
ampy --port $(PORT) put modules/main.py /main.py
634+
630635
################################################################################
631636
# Declarations to build the application
632637

ports/esp32/modules/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import otto
2+
otto.Otto().run()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy