Entwicklung der Terkin-Sandbox

Kann auch über eine presets.mk nach dem Vorbild einer presets-example.mk gemacht werden.

1 Like

config.mk

Edit: Oh. Die gibt es ja gar nicht mehr. Dabei wurde sie erst kürzlich eingeführt.

ist vermutlich jetzt die presets.mk, oder?

Ja. Die hat übernommen

Mit einem WiPy und der letzten squirrel firmware (von heute, Pycom MicroPython 1.20.2.rc6-0.10.2-vanilla-squirrel-nosmartconfig) bekomme ich folgende Fehlermeldung:

[boot.py] INFO: Python module search path is: ['', '/flash', '/flash/lib']
[boot.py] INFO: Universal MicroPython Application Loader (umal)
Traceback (most recent call last):
  File "boot.py", line 31, in <module>
ImportError: no module named 'umal'
[main.py] INFO: Loading settings
[main.py] INFO: Starting logging
Traceback (most recent call last):
  File "main.py", line 23, in <module>
ImportError: no module named 'terkin'
Pycom MicroPython 1.20.2.rc6-0.10.2-vanilla-squirrel-nosmartconfig [v1.20.1.r2-122-gd82a6f43e-dirty] on 2020-03-06; WiPy with ESP32
Type "help()" for more information.
>>>

Kannst du noch ergänzen, welche Zeile du für den Upload auf den WiPy genutzt hast und deine presets.mk bzw Umgebungsvariablen für MPY?

???

less presets.mk
# The serial port the device is attached to.
MCU_PORT ?= /dev/ttyS9

# Whether to cross-compile to bytecode.
MPY_CROSS ?= true

# Use "bytecode" or "pycom" here for Genuine MicroPython vs. Pycom MicroPython.
MPY_TARGET ?= pycom

# Specify MicroPython version.
MPY_VERSION ?= 1.11


# Firmware building
FWB_XTENSA_GCC ?= /path/to/xtensa-esp32-elf-1.22.0-98/bin

# Genuine MicroPython
FWB_MICROPYTHON_GENUINE ?= /path/to/micropython
FWB_ESPIDF_GENUINE ?= /path/to/esp-idf

# Pycom MicroPython
FWB_MICROPYTHON_PYCOM ?= /path/to/pycom-micropython-sigfox
FWB_ESPIDF_PYCOM ?= /path/to/pycom-esp-idf

die make ... Zeile in deinem Terminal ;)

1 Like

ahhh, da haben wir den Fehler schon make sketch-and-run! Muss ja erst mal make install sein. Danke!

1 Like