esp32: Convert to use FROZEN_MANIFEST to specify frozen code.

All symlinks are removed.  boards/manifest.py is used as a default, and can
optionally use boards/manifest_release.py for more scripts.
This commit is contained in:
Damien George 2019-10-10 23:51:35 +11:00
parent 2e90ff7fa8
commit ce1de1faf0
16 changed files with 15 additions and 15 deletions

View File

@ -32,8 +32,7 @@ MICROPY_SSL_AXTLS = 0
MICROPY_FATFS = 1
MICROPY_PY_BTREE = 1
#FROZEN_DIR = scripts
FROZEN_MPY_DIR = modules
FROZEN_MANIFEST ?= boards/manifest.py
# include py core make definitions
include $(TOP)/py/py.mk

View File

@ -0,0 +1,6 @@
freeze('modules')
freeze('$(MPY)/tools', ('upip.py', 'upip_utarfile.py'))
freeze('$(MPY)/ports/esp8266/modules', 'ntptime.py')
freeze('$(MPY)/ports/esp8266/modules', ('webrepl.py', 'webrepl_setup.py', 'websocket_helper.py',))
freeze('$(MPY)/drivers/dht', 'dht.py')
freeze('$(MPY)/drivers/onewire')

View File

@ -0,0 +1,8 @@
include('boards/manifest.py')
LIB = '../../../micropython-lib'
freeze(LIB + '/upysh', 'upysh.py')
freeze(LIB + '/urequests', 'urequests.py')
freeze(LIB + '/umqtt.simple', 'umqtt/simple.py')
freeze(LIB + '/umqtt.robust', 'umqtt/robust.py')

View File

@ -1 +0,0 @@
../../../drivers/dht/dht.py

View File

@ -1 +0,0 @@
../../esp8266/modules/ds18x20.py

View File

@ -1 +0,0 @@
../../esp8266/modules/ntptime.py

View File

@ -1 +0,0 @@
../../esp8266/modules/onewire.py

View File

@ -1 +0,0 @@
../../../../../micropython-lib/umqtt.robust/umqtt/robust.py

View File

@ -1 +0,0 @@
../../../../../micropython-lib/umqtt.simple/umqtt/simple.py

View File

@ -1 +0,0 @@
../../../tools/upip.py

View File

@ -1 +0,0 @@
../../../tools/upip_utarfile.py

View File

@ -1 +0,0 @@
../../../../micropython-lib/upysh/upysh.py

View File

@ -1 +0,0 @@
../../../../micropython-lib/urequests/urequests.py

View File

@ -1 +0,0 @@
../../esp8266/modules/webrepl.py

View File

@ -1 +0,0 @@
../../esp8266/modules/webrepl_setup.py

View File

@ -1 +0,0 @@
../../esp8266/modules/websocket_helper.py