1#add include
2include_directories(${MPYENGINEDIR}/extmod)
3include_directories(${MPYENGINEDIR}/extmod/crypto-algorithms)
4include_directories(${MPYENGINEDIR}/extmod/re1.5)
5include_directories(${MPYENGINEDIR}/extmod/uzlib)
6
7#add src
8# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/crypto-algorithms/sha256.c")
9list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_i2c.c")
10list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_mem.c")
11list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_pinbase.c")
12list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_pulse.c")
13list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_signal.c")
14list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/machine_spi.c")
15list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modbtree.c")
16list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modframebuf.c")
17list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modubinascii.c")
18list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moductypes.c")
19list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduhashlib.c")
20list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduheapq.c")
21list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modujson.c")
22list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modurandom.c")
23list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modure.c")
24list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduselect.c")
25list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modussl_axtls.c")
26list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modussl_mbedtls.c")
27list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modutimeq.c")
28list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduzlib.c")
29list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modwebrepl.c")
30list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduwebsocket.c")
31list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moduasyncio.c")
32list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/moducryptolib.c")
33list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/modbluetooth.c")
34list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uos_dupterm.c")
35list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs.c")
36list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_fat.c")
37list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_fat_diskio.c")
38list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_fat_file.c")
39list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_reader.c")
40list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_posix.c")
41list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/vfs_posix_file.c")
42list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/virtpin.c")
43# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/re1.5/charclass.c")
44# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/re1.5/compilecode.c")
45# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/re1.5/dumpcode.c")
46# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/re1.5/recursiveloop.c")
47# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uzlib/adler32.c")
48# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uzlib/crc32.c")
49# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uzlib/tinfgzip.c")
50# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uzlib/tinflate.c")
51# list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/uzlib/tinfzlib.c")
52list(APPEND SOURCEFILE "${MPYENGINEDIR}/extmod/utime_mphal.c")
53