Skip to content

Instantly share code, notes, and snippets.

@mcauser
Created August 8, 2016 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcauser/b837daee2ae54feb248f8fc51a28f666 to your computer and use it in GitHub Desktop.
Save mcauser/b837daee2ae54feb248f8fc51a28f666 to your computer and use it in GitHub Desktop.
$ make clean && make axtls
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
rm -rf build
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; make oldconfig -B
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C config/scripts/config conf
cp ../../scripts/config/zconf.tab.h_shipped zconf.tab.h
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c ../../scripts/config/conf.c -o conf.o
cp ../../scripts/config/zconf.tab.c_shipped zconf.tab.c
cp ../../scripts/config/lex.zconf.c_shipped lex.zconf.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../../scripts/config -I. -c zconf.tab.c -o zconf.tab.o
In file included from zconf.tab.c:2123:
lex.zconf.c:2969:16: warning: 'static' function 'input' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration]
static int input (void)
^
1 warning generated.
gcc conf.o zconf.tab.o -o conf
#
# using defaults found in config/.config
#
config/.config:46: trying to assign nonexistent symbol CONFIG_SSL_ENABLE_V23_HANDSHAKE
*
* axTLS Configuration
*
Platform
> 1. Linux (CONFIG_PLATFORM_LINUX)
2. Cygwin (CONFIG_PLATFORM_CYGWIN)
3. Win32 (CONFIG_PLATFORM_WIN32)
choice[1-3]: 1
*
* General Configuration
*
axTLS installation prefix (PREFIX) [/usr/local] /usr/local
Build axTLS with Debugging symbols (CONFIG_DEBUG) [N/y/?] n
Strip unwanted sections from elf binaries (CONFIG_STRIP_UNWANTED_SECTIONS) [N/y/?] n
Any extra CFLAGS options for the compiler? (CONFIG_EXTRA_CFLAGS_OPTIONS) []
Any extra LDFLAGS options for the compiler? (CONFIG_EXTRA_LDFLAGS_OPTIONS) []
*
* SSL Library
*
Mode
1. Server only - no verification (CONFIG_SSL_SERVER_ONLY)
2. Server only - with verification (CONFIG_SSL_CERT_VERIFICATION)
3. Client/Server enabled with diagnostics (CONFIG_SSL_FULL_MODE)
> 4. Skeleton mode - the smallest server mode (CONFIG_SSL_SKELETON_MODE)
choice[1-4]: 4
Server enabled (CONFIG_SSL_ENABLE_SERVER) [Y/n/?] y
Client enabled (CONFIG_SSL_ENABLE_CLIENT) [Y/n/?] y
Diagnostic messages (CONFIG_SSL_DIAGNOSTICS) [N/y/?] n
Protocol Preference
> 1. Low (CONFIG_SSL_PROT_LOW)
2. Medium (CONFIG_SSL_PROT_MEDIUM)
3. High (CONFIG_SSL_PROT_HIGH)
choice[1-3]: 1
Enable AES cipher (CONFIG_SSL_AES) [Y/n/?] y
Enable default key (CONFIG_SSL_USE_DEFAULT_KEY) [Y/n/?] y
Generate X.509 Certificate (CONFIG_SSL_GENERATE_X509_CERT) [N/y/?] n
Maximum number of certificate authorites (CONFIG_X509_MAX_CA_CERTS) [0] 0
Maximum number of chained certificates (CONFIG_SSL_MAX_CERTS) [3] 3
Enable SSL_CTX mutexing (CONFIG_SSL_CTX_MUTEXING) [N/y/?] n
Use /dev/urandom (CONFIG_USE_DEV_URANDOM) [N/y/?] n
Enable openssl API compatibility (CONFIG_OPENSSL_COMPATIBLE) [N/y/?] n
Enable axtlswrap (CONFIG_AXTLSWRAP) [N/y/?] n
Enable HTTP/HTTPS Web Server (CONFIG_AXHTTPD) [N/y/?] n
*
* Language Bindings
*
Create language bindings (CONFIG_BINDINGS) [N/y/?] n
*
* Samples
*
Create Samples (CONFIG_SAMPLES) [N/y/?] n
cd ../lib/axtls; make clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C test clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C c clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C csharp clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C vbnet clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C java clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C perl clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lua clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C csharp clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C vbnet clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C java clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C perl clean
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lua clean
cd ../lib/axtls; make all CC="xtensa-lx106-elf-gcc" LD="xtensa-lx106-elf-ld" AR="xtensa-lx106-elf-ar" CFLAGS_EXTRA="-fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C crypto
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o aes.o aes.c
aes.c: In function 'AES_cbc_encrypt':
aes.c:276:9: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration]
tout[i] = ntohl(iv[i]);
^
aes.c:293:13: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration]
out_32[i] = htonl(tout[i]);
^
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o bigint.o bigint.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o crypto_misc.o crypto_misc.c
crypto_misc.c:56:16: warning: 'entropy_pool' defined but not used [-Wunused-variable]
static uint8_t entropy_pool[ENTROPY_POOL_SIZE];
^
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o hmac.o hmac.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o md5.o md5.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o rc4.o rc4.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o rsa.o rsa.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o sha1.o sha1.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o sha256.o sha256.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o sha384.o sha384.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o sha512.o sha512.c
sha512.c: In function 'SHA512_Process':
sha512.c:119:8: warning: implicit declaration of function '__be64_to_cpu' [-Wimplicit-function-declaration]
w[t] = be64toh(w[t]);
^
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ssl
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o asn1.o asn1.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o gen_cert.o gen_cert.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o loader.o loader.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o openssl.o openssl.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o os_port.o os_port.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o p12.o p12.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o tls1.o tls1.c
tls1.c: In function 'process_certificate':
tls1.c:1791:9: warning: unused variable 'i' [-Wunused-variable]
int i = 0;
^
tls1.c:1787:15: warning: variable 'chain' set but not used [-Wunused-but-set-variable]
X509_CTX *chain = 0;
^
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o tls1_svr.o tls1_svr.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o tls1_clnt.o tls1_clnt.c
xtensa-lx106-elf-gcc -I../config -I../ssl -I../crypto -fsingle-precision-constant -Wdouble-promotion -D__ets__ -DICACHE_FLASH -fno-inline-functions -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 -DLWIP_OPEN_SRC -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072 -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -c -o x509.o x509.c
x509.c: In function 'x509_new':
x509.c:77:13: warning: variable 'bi_ctx' set but not used [-Wunused-but-set-variable]
BI_CTX *bi_ctx;
^
xtensa-lx106-elf-ar -rcs .././_stage/libaxtls.a ../crypto/aes.o ../crypto/bigint.o ../crypto/crypto_misc.o ../crypto/hmac.o ../crypto/md5.o ../crypto/rc4.o ../crypto/rsa.o ../crypto/sha1.o ../crypto/sha256.o ../crypto/sha384.o ../crypto/sha512.o asn1.o gen_cert.o loader.o openssl.o os_port.o p12.o tls1.o tls1_svr.o tls1_clnt.o x509.o
cp ../lib/axtls/_stage/libaxtls.a build/libaxtls.a
$ make PORT=/dev/tty.wchusbserial1420 deploy
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Generating build/frozen.c
mkdir -p build/genhdr
Generating build/genhdr/mpversion.h
GEN build/genhdr/qstr.i.last
GEN build/genhdr/qstr.split
GEN build/genhdr/qstrdefs.collected.h
QSTR updated
GEN build/genhdr/qstrdefs.generated.h
mkdir -p build/build
mkdir -p build/drivers/dht
mkdir -p build/extmod
mkdir -p build/lib/berkeley-db-1.xx/btree
mkdir -p build/lib/berkeley-db-1.xx/mpool
mkdir -p build/lib/fatfs
mkdir -p build/lib/fatfs/option
mkdir -p build/lib/libc
mkdir -p build/lib/libm
mkdir -p build/lib/mp-readline
mkdir -p build/lib/netutils
mkdir -p build/lib/timeutils
mkdir -p build/lib/utils
mkdir -p build/py
mkdir -p build/py/../lib/embed
mkdir -p build/stmhal
CC ../py/mpstate.c
CC ../py/nlrx86.S
CC ../py/nlrx64.S
CC ../py/nlrthumb.c
CC ../py/nlrxtensa.S
CC ../py/nlrsetjmp.c
CC ../py/malloc.c
CC ../py/gc.c
CC ../py/qstr.c
CC ../py/vstr.c
CC ../py/mpprint.c
CC ../py/unicode.c
CC ../py/mpz.c
CC ../py/lexer.c
CC ../py/lexerstr.c
CC ../py/lexerunix.c
CC ../py/parse.c
CC ../py/scope.c
CC ../py/compile.c
CC ../py/emitcommon.c
CC ../py/emitbc.c
CC ../py/asmx64.c
CC ../py/emitnative.c
CC ../py/asmx86.c
CC ../py/emitnative.c
CC ../py/asmthumb.c
CC ../py/emitnative.c
CC ../py/emitinlinethumb.c
CC ../py/asmarm.c
CC ../py/emitnative.c
CC ../py/formatfloat.c
CC ../py/parsenumbase.c
CC ../py/parsenum.c
CC ../py/emitglue.c
CC ../py/runtime.c
CC ../py/runtime_utils.c
CC ../py/nativeglue.c
CC ../py/stackctrl.c
CC ../py/argcheck.c
CC ../py/warning.c
CC ../py/map.c
CC ../py/obj.c
CC ../py/objarray.c
CC ../py/objattrtuple.c
CC ../py/objbool.c
CC ../py/objboundmeth.c
CC ../py/objcell.c
CC ../py/objclosure.c
CC ../py/objcomplex.c
CC ../py/objdict.c
CC ../py/objenumerate.c
CC ../py/objexcept.c
CC ../py/objfilter.c
CC ../py/objfloat.c
CC ../py/objfun.c
CC ../py/objgenerator.c
CC ../py/objgetitemiter.c
CC ../py/objint.c
CC ../py/objint_longlong.c
CC ../py/objint_mpz.c
CC ../py/objlist.c
CC ../py/objmap.c
CC ../py/objmodule.c
CC ../py/objobject.c
CC ../py/objpolyiter.c
CC ../py/objproperty.c
CC ../py/objnone.c
CC ../py/objnamedtuple.c
CC ../py/objrange.c
CC ../py/objreversed.c
CC ../py/objset.c
CC ../py/objsingleton.c
CC ../py/objslice.c
CC ../py/objstr.c
CC ../py/objstrunicode.c
CC ../py/objstringio.c
CC ../py/objtuple.c
CC ../py/objtype.c
CC ../py/objzip.c
CC ../py/opmethods.c
CC ../py/sequence.c
CC ../py/stream.c
CC ../py/binary.c
CC ../py/builtinimport.c
CC ../py/builtinevex.c
CC ../py/modarray.c
CC ../py/modbuiltins.c
CC ../py/modcollections.c
CC ../py/modgc.c
CC ../py/modio.c
CC ../py/modmath.c
CC ../py/modcmath.c
CC ../py/modmicropython.c
CC ../py/modstruct.c
CC ../py/modsys.c
CC ../py/moduerrno.c
CC ../py/modthread.c
CC ../py/vm.c
CC ../py/bc.c
CC ../py/showbc.c
CC ../py/repl.c
CC ../py/smallint.c
CC ../py/frozenmod.c
CC ../py/../extmod/moductypes.c
CC ../py/../extmod/modujson.c
CC ../py/../extmod/modure.c
CC ../py/../extmod/moduzlib.c
CC ../py/../extmod/moduheapq.c
CC ../py/../extmod/moduhashlib.c
CC ../py/../extmod/modubinascii.c
CC ../py/../extmod/virtpin.c
CC ../py/../extmod/machine_mem.c
CC ../py/../extmod/machine_pinbase.c
CC ../py/../extmod/machine_pulse.c
CC ../py/../extmod/machine_i2c.c
CC ../py/../extmod/modussl_axtls.c
CC ../py/../extmod/modurandom.c
CC ../py/../extmod/modwebsocket.c
CC ../py/../extmod/modwebrepl.c
CC ../py/../extmod/modframebuf.c
CC ../py/../extmod/fsusermount.c
CC ../py/../extmod/vfs_fat.c
CC ../py/../extmod/vfs_fat_ffconf.c
CC ../py/../extmod/vfs_fat_diskio.c
CC ../py/../extmod/vfs_fat_file.c
CC ../py/../extmod/vfs_fat_lexer.c
CC ../py/../extmod/vfs_fat_misc.c
CC ../py/../extmod/moduos_dupterm.c
CC ../py/../lib/embed/abort_.c
CC strtoll.c
CC main.c
CC help.c
CC esp_mphal.c
CC gccollect.c
CC lexerstr32.c
CC uart.c
CC esppwm.c
CC esponewire.c
CC espneopixel.c
CC espapa102.c
CC intr.c
CC modpyb.c
CC modpybpin.c
CC modpybpwm.c
CC modpybrtc.c
CC modpybadc.c
CC modpybuart.c
CC modpybspi.c
CC modesp.c
CC modnetwork.c
CC modutime.c
CC moduos.c
CC modmachine.c
CC modonewire.c
CC ets_alt_task.c
CC build/frozen.c
CC fatfs_port.c
CC axtls_helpers.c
CC ../extmod/modbtree.c
CC ../lib/berkeley-db-1.xx/btree/bt_close.c
CC ../lib/berkeley-db-1.xx/btree/bt_conv.c
CC ../lib/berkeley-db-1.xx/btree/bt_debug.c
CC ../lib/berkeley-db-1.xx/btree/bt_delete.c
CC ../lib/berkeley-db-1.xx/btree/bt_get.c
CC ../lib/berkeley-db-1.xx/btree/bt_open.c
CC ../lib/berkeley-db-1.xx/btree/bt_overflow.c
CC ../lib/berkeley-db-1.xx/btree/bt_page.c
CC ../lib/berkeley-db-1.xx/btree/bt_put.c
CC ../lib/berkeley-db-1.xx/btree/bt_search.c
CC ../lib/berkeley-db-1.xx/btree/bt_seq.c
CC ../lib/berkeley-db-1.xx/btree/bt_split.c
CC ../lib/berkeley-db-1.xx/btree/bt_utils.c
CC ../lib/berkeley-db-1.xx/mpool/mpool.c
AS gchelper.s
CC ../stmhal/pybstdio.c
CC ../stmhal/input.c
CC ../extmod/modlwip.c
CC ../lib/libc/string0.c
CC ../lib/libm/math.c
CC ../lib/libm/fmodf.c
CC ../lib/libm/roundf.c
CC ../lib/libm/ef_sqrt.c
CC ../lib/libm/kf_rem_pio2.c
CC ../lib/libm/kf_sin.c
CC ../lib/libm/kf_cos.c
CC ../lib/libm/kf_tan.c
CC ../lib/libm/ef_rem_pio2.c
CC ../lib/libm/sf_sin.c
CC ../lib/libm/sf_cos.c
CC ../lib/libm/sf_tan.c
CC ../lib/libm/sf_frexp.c
CC ../lib/libm/sf_modf.c
CC ../lib/libm/sf_ldexp.c
CC ../lib/libm/asinfacosf.c
CC ../lib/libm/atanf.c
CC ../lib/libm/atan2f.c
CC ../lib/mp-readline/readline.c
CC ../lib/netutils/netutils.c
CC ../lib/timeutils/timeutils.c
CC ../lib/utils/pyexec.c
CC ../lib/utils/pyhelp.c
CC ../lib/utils/printf.c
CC ../lib/fatfs/ff.c
CC ../lib/fatfs/option/ccsbcs.c
CC ../drivers/dht/dht.c
MPY modules//_boot.py
MPY modules//flashbdev.py
MPY modules//webrepl.py
MPY modules//webrepl_setup.py
Creating build/frozen_mpy.c
CC build/frozen_mpy.c
LINK build/firmware.elf
text data bss dec hex filename
530524 1060 56208 587792 8f810 build/firmware.elf
Create build/firmware-combined.bin
esptool.py v1.1
('flash ', 34976)
('padding ', 1888)
('irom0text', 496656)
('total ', 533520)
('md5 ', '5318342e40dafe0c08163e89a1d3d189')
Writing build/firmware-combined.bin to the board
esptool.py v1.1
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0020
Writing 536576 @ 0x0... 536576 (100 %)
Wrote 536576 bytes at 0x0 in 46.3 seconds (92.7 kbit/s)...
Leaving...
Verifying just-written flash...
Verifying 0x82420 (533536) bytes @ 0x00000000 in flash against build/firmware-combined.bin...
-- verify OK (digest matched)
#@esptool.py --port /dev/tty.wchusbserial1420 --baud 115200 write_flash --flash_size=8m 0 build/firmware.elf-0x00000.bin 0x9000 build/firmware.elf-0x0[1-f]000.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment