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:
parent
2e90ff7fa8
commit
ce1de1faf0
|
@ -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
|
||||
|
|
|
@ -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')
|
|
@ -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')
|
|
@ -1 +0,0 @@
|
|||
../../../drivers/dht/dht.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/ds18x20.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/ntptime.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/onewire.py
|
|
@ -1 +0,0 @@
|
|||
../../../../../micropython-lib/umqtt.robust/umqtt/robust.py
|
|
@ -1 +0,0 @@
|
|||
../../../../../micropython-lib/umqtt.simple/umqtt/simple.py
|
|
@ -1 +0,0 @@
|
|||
../../../tools/upip.py
|
|
@ -1 +0,0 @@
|
|||
../../../tools/upip_utarfile.py
|
|
@ -1 +0,0 @@
|
|||
../../../../micropython-lib/upysh/upysh.py
|
|
@ -1 +0,0 @@
|
|||
../../../../micropython-lib/urequests/urequests.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/webrepl.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/webrepl_setup.py
|
|
@ -1 +0,0 @@
|
|||
../../esp8266/modules/websocket_helper.py
|
Loading…
Reference in New Issue