-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathmodcopy.sh
More file actions
executable file
·125 lines (120 loc) · 4.36 KB
/
modcopy.sh
File metadata and controls
executable file
·125 lines (120 loc) · 4.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
cd unix
cp ../../../micropython/micropython-async/aswitch.py .
cp ../../../micropython/micropython-async/asyn.py .
cp ../../../micropython/micropython-lib/copy/copy.py .
cp ../../../micropython/micropython/drivers/dht/dht.py .
cp ../../../micropython/micropython/drivers/onewire/ds18x20.py .
cp ../../../micropython/micropython-lib/ffilib/ffilib.py .
cp -fR ../../../micropython/micropython-lib/json/json .
cp ../../../micropython/micropython/drivers/display/lcd160cr.py .
cp ../../../micropython/micropython-lib/logging/logging.py .
cp ../../../micropython/micropython-lib/operator/operator.py .
cp -fR ../../../micropython/picoweb/picoweb .
cp ../../../micropython/micropython-lib/pkg_resources/pkg_resources.py .
cp ../../../micropython/micropython-lib/re-pcre/re.py .
cp ../../../micropython/micropython/drivers/sdcard/sdcard.py .
cp ../../../micropython/micropython/drivers/display/ssd1306.py .
cp ../../../micropython/micropython-lib/types/types.py .
cp ../../../micropython/micropython-lib/uaiohttpclient/uaiohttpclient.py .
cp -fR ../../../micropython/modbus/uModbus .
mv -f uModbus umodbus
cp ../../../micropython/micropython/tools/upip.py .
cp ../../../micropython/micropython/tools/upip_utarfile.py .
cp ../../../micropython/micropython-lib/upysh/upysh.py .
cp ../../../micropython/micropython-lib/urequests/urequests.py .
cp -fR ../../../micropython/micropython-lib/urllib .
cp -fR ../../../micropython/utemplate/utemplate .
cp ../../../micropython/utemplate/utemplate_util.py .
mkdir collections
cd collections
cp ../../../../micropython/micropython-lib/collections.defaultdict/collections/defaultdict.py .
cp ../../../../micropython/micropython-lib/collections.deque/collections/deque.py .
cp ../../../../micropython/micropython-lib/collections/collections/__init__.py .
cd ..
mkdir uasyncio
cd uasyncio
cp ../../../../micropython/micropython-lib/uasyncio.core/uasyncio/core.py .
cp ../../../../micropython/micropython-lib/uasyncio/uasyncio/__init__.py .
cp ../../../../micropython/micropython-lib/uasyncio.queues/uasyncio/queues.py .
cp ../../../../micropython/micropython-lib/uasyncio.synchro/uasyncio/synchro.py .
cd ..
mkdir umqtt
cd umqtt
cp ../../../../micropython/micropython-lib/umqtt.robust/umqtt/robust.py .
cp ../../../../micropython/micropython-lib/umqtt.simple/umqtt/simple.py .
cd ../..
cd esp32
cp ../../../micropython/micropython/drivers/dht/dht.py .
cp ../../../micropython/micropython/drivers/onewire/ds18x20.py .
cp ../../../micropython/micropython/drivers/onewire/onewire.py .
ln -sf ../unix/aswitch.py
ln -sf ../unix/asyn.py
ln -sf ../unix/copy.py
ln -sf ../unix/collections
ln -sf ../unix/console_sink.py
ln -sf ../unix/filedb.py
ln -sf ../unix/json
ln -sf ../unix/lcd160cr.py
ln -sf ../unix/log_config.py
ln -sf ../unix/logging.py
ln -sf ../unix/log_sink.py
ln -sf ../unix/operator.py
ln -sf ../unix/picoweb
ln -sf ../unix/pkg_resources.py
ln -sf ../unix/re.py
ln -sf ../unix/sdcard.py
ln -sf ../unix/ssd1306.py
ln -sf ../unix/syslog_sink.py
ln -sf ../unix/types.py
ln -sf ../unix/uaiohttpclient.py
ln -sf ../unix/uasyncio
ln -sf ../unix/ulog.py
ln -sf ../unix/umodbus
ln -sf ../unix/umqtt
ln -sf ../unix/upip.py
ln -sf ../unix/upip_utarfile.py
ln -sf ../unix/upysh.py
ln -sf ../unix/urequests.py
ln -sf ../unix/urllib
ln -sf ../unix/usyslog.py
ln -sf ../unix/utemplate
ln -sf ../unix/utemplate_util.py
cd ..
cd stm32
cp ../../../micropython/micropython/drivers/dht/dht.py .
cp ../../../micropython/micropython/drivers/onewire/ds18x20.py .
cp ../../../micropython/micropython/drivers/onewire/onewire.py .
ln -sf ../unix/aswitch.py
ln -sf ../unix/asyn.py
ln -sf ../unix/copy.py
ln -sf ../unix/collections
ln -sf ../unix/console_sink.py
ln -sf ../unix/filedb.py
ln -sf ../unix/json
ln -sf ../unix/lcd160cr.py
ln -sf ../unix/log_config.py
ln -sf ../unix/logging.py
ln -sf ../unix/log_sink.py
ln -sf ../unix/operator.py
ln -sf ../unix/picoweb
ln -sf ../unix/pkg_resources.py
ln -sf ../unix/re.py
ln -sf ../unix/sdcard.py
ln -sf ../unix/ssd1306.py
ln -sf ../unix/syslog_sink.py
ln -sf ../unix/types.py
ln -sf ../unix/uaiohttpclient.py
ln -sf ../unix/uasyncio
ln -sf ../unix/ulog.py
ln -sf ../unix/umodbus
ln -sf ../unix/umqtt
ln -sf ../unix/upip.py
ln -sf ../unix/upip_utarfile.py
ln -sf ../unix/upysh.py
ln -sf ../unix/urequests.py
ln -sf ../unix/urllib
ln -sf ../unix/usyslog.py
ln -sf ../unix/utemplate
ln -sf ../unix/utemplate_util.py
cd ..
chmod -fR 777 *