Skip to content

Instantly share code, notes, and snippets.

@aseelye

aseelye/upy.txt Secret

Created Jul 20, 2021
Embed
What would you like to do?
micropython build
aaron@esp32-build:~$ git clone https://github.com/micropython/micropython.git
Cloning into 'micropython'...
remote: Enumerating objects: 88497, done.
remote: Counting objects: 100% (674/674), done.
remote: Compressing objects: 100% (430/430), done.
remote: Total 88497 (delta 316), reused 447 (delta 239), pack-reused 87823
Receiving objects: 100% (88497/88497), 49.19 MiB | 13.35 MiB/s, done.
Resolving deltas: 100% (63772/63772), done.
aaron@esp32-build:~$ cd micropython/
aaron@esp32-build:~/micropython$ make -C mpy-cross
make: Entering directory '/home/aaron/micropython/mpy-cross'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build/genhdr
GEN build/genhdr/mpversion.h
GEN build/genhdr/moduledefs.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/py/
mkdir -p build/shared/runtime/
CC ../py/mpstate.c
CC ../py/nlr.c
CC ../py/nlrx86.c
CC ../py/nlrx64.c
CC ../py/nlrthumb.c
CC ../py/nlraarch64.c
CC ../py/nlrpowerpc.c
CC ../py/nlrxtensa.c
CC ../py/nlrsetjmp.c
CC ../py/malloc.c
CC ../py/gc.c
CC ../py/pystack.c
CC ../py/qstr.c
CC ../py/vstr.c
CC ../py/mpprint.c
CC ../py/unicode.c
CC ../py/mpz.c
CC ../py/reader.c
CC ../py/lexer.c
CC ../py/parse.c
CC ../py/scope.c
CC ../py/compile.c
CC ../py/emitcommon.c
CC ../py/emitbc.c
CC ../py/asmbase.c
CC ../py/asmx64.c
CC ../py/emitnx64.c
CC ../py/asmx86.c
CC ../py/emitnx86.c
CC ../py/asmthumb.c
CC ../py/emitnthumb.c
CC ../py/emitinlinethumb.c
CC ../py/asmarm.c
CC ../py/emitnarm.c
CC ../py/asmxtensa.c
CC ../py/emitnxtensa.c
CC ../py/emitinlinextensa.c
CC ../py/emitnxtensawin.c
CC ../py/formatfloat.c
CC ../py/parsenumbase.c
CC ../py/parsenum.c
CC ../py/emitglue.c
CC ../py/persistentcode.c
CC ../py/runtime.c
CC ../py/runtime_utils.c
CC ../py/scheduler.c
CC ../py/nativeglue.c
CC ../py/pairheap.c
CC ../py/ringbuf.c
CC ../py/stackctrl.c
CC ../py/argcheck.c
CC ../py/warning.c
CC ../py/profile.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/objdeque.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/builtinhelp.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 main.c
CC gccollect.c
CC ../shared/runtime/gchelper_generic.c
LINK mpy-cross
text data bss dec hex filename
287837 17128 896 305861 4aac5 mpy-cross
make: Leaving directory '/home/aaron/micropython/mpy-cross'
aaron@esp32-build:~/micropython$ cd ports/esp32
aaron@esp32-build:~/micropython/ports/esp32$ make submodules
git submodule update --init ../../lib/berkeley-db-1.xx
Submodule 'lib/berkeley-db-1.xx' (https://github.com/pfalcon/berkeley-db-1.xx) registered for path '../../lib/berkeley-db-1.xx'
Cloning into '/home/aaron/micropython/lib/berkeley-db-1.xx'...
Submodule path '../../lib/berkeley-db-1.xx': checked out '35aaec4418ad78628a3b935885dd189d41ce779b'
aaron@esp32-build:~/micropython/ports/esp32$ make
idf.py -D MICROPY_BOARD=GENERIC -B build-GENERIC build
Executing action: all (aliases: build)
Running cmake in directory /home/aaron/micropython/ports/esp32/build-GENERIC
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DMICROPY_BOARD=GENERIC -DCCACHE_ENABLE=0 /home/aaron/micropython/ports/esp32"...
-- Found Git: /usr/bin/git (found version "2.20.1")
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Loading defaults file /home/aaron/micropython/ports/esp32/build-GENERIC/sdkconfig.combined...
/home/aaron/micropython/ports/esp32/build-GENERIC/sdkconfig.combined:8 CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE was replaced with CONFIG_COMPILER_OPTIMIZATION_SIZE
/tmp/confgen_tmp8sifg_ne:64 line was updated to CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
/tmp/confgen_tmp8sifg_ne:65 line was updated to CONFIG_BTDM_CTRL_MODE_BTDM=n
-- Found PythonInterp: /home/aaron/.espressif/python_env/idf4.2_py3.7_env/bin/python (found version "3.7.3")
-- Found Perl: /usr/bin/perl (found version "5.28.1")
-- App "micropython" version: v1.16-115-g6a9133a8b
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/aaron/micropython/ports/esp32/build-GENERIC/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script /home/aaron/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
Found User C Module(s):
-- Found Python3: /home/aaron/.espressif/python_env/idf4.2_py3.7_env/bin/python3.7 (found version "3.7.3") found components: Interpreter
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_ipc esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/aaron/esp/esp-idf/components/app_trace /home/aaron/esp/esp-idf/components/app_update /home/aaron/esp/esp-idf/components/asio /home/aaron/esp/esp-idf/components/bootloader /home/aaron/esp/esp-idf/components/bootloader_support /home/aaron/esp/esp-idf/components/bt /home/aaron/esp/esp-idf/components/cbor /home/aaron/esp/esp-idf/components/coap /home/aaron/esp/esp-idf/components/console /home/aaron/esp/esp-idf/components/cxx /home/aaron/esp/esp-idf/components/driver /home/aaron/esp/esp-idf/components/efuse /home/aaron/esp/esp-idf/components/esp-tls /home/aaron/esp/esp-idf/components/esp32 /home/aaron/esp/esp-idf/components/esp_adc_cal /home/aaron/esp/esp-idf/components/esp_common /home/aaron/esp/esp-idf/components/esp_eth /home/aaron/esp/esp-idf/components/esp_event /home/aaron/esp/esp-idf/components/esp_gdbstub /home/aaron/esp/esp-idf/components/esp_hid /home/aaron/esp/esp-idf/components/esp_http_client /home/aaron/esp/esp-idf/components/esp_http_server /home/aaron/esp/esp-idf/components/esp_https_ota /home/aaron/esp/esp-idf/components/esp_https_server /home/aaron/esp/esp-idf/components/esp_ipc /home/aaron/esp/esp-idf/components/esp_local_ctrl /home/aaron/esp/esp-idf/components/esp_netif /home/aaron/esp/esp-idf/components/esp_ringbuf /home/aaron/esp/esp-idf/components/esp_rom /home/aaron/esp/esp-idf/components/esp_serial_slave_link /home/aaron/esp/esp-idf/components/esp_system /home/aaron/esp/esp-idf/components/esp_timer /home/aaron/esp/esp-idf/components/esp_websocket_client /home/aaron/esp/esp-idf/components/esp_wifi /home/aaron/esp/esp-idf/components/espcoredump /home/aaron/esp/esp-idf/components/esptool_py /home/aaron/esp/esp-idf/components/expat /home/aaron/esp/esp-idf/components/fatfs /home/aaron/esp/esp-idf/components/freemodbus /home/aaron/esp/esp-idf/components/freertos /home/aaron/esp/esp-idf/components/heap /home/aaron/esp/esp-idf/components/idf_test /home/aaron/esp/esp-idf/components/jsmn /home/aaron/esp/esp-idf/components/json /home/aaron/esp/esp-idf/components/libsodium /home/aaron/esp/esp-idf/components/log /home/aaron/esp/esp-idf/components/lwip /home/aaron/micropython/ports/esp32/main /home/aaron/esp/esp-idf/components/mbedtls /home/aaron/esp/esp-idf/components/mdns /home/aaron/esp/esp-idf/components/mqtt /home/aaron/esp/esp-idf/components/newlib /home/aaron/esp/esp-idf/components/nghttp /home/aaron/esp/esp-idf/components/nvs_flash /home/aaron/esp/esp-idf/components/openssl /home/aaron/esp/esp-idf/components/partition_table /home/aaron/esp/esp-idf/components/perfmon /home/aaron/esp/esp-idf/components/protobuf-c /home/aaron/esp/esp-idf/components/protocomm /home/aaron/esp/esp-idf/components/pthread /home/aaron/esp/esp-idf/components/sdmmc /home/aaron/esp/esp-idf/components/soc /home/aaron/esp/esp-idf/components/spi_flash /home/aaron/esp/esp-idf/components/spiffs /home/aaron/esp/esp-idf/components/tcp_transport /home/aaron/esp/esp-idf/components/tcpip_adapter /home/aaron/esp/esp-idf/components/tinyusb /home/aaron/esp/esp-idf/components/ulp /home/aaron/esp/esp-idf/components/unity /home/aaron/esp/esp-idf/components/vfs /home/aaron/esp/esp-idf/components/wear_levelling /home/aaron/esp/esp-idf/components/wifi_provisioning /home/aaron/esp/esp-idf/components/wpa_supplicant /home/aaron/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aaron/micropython/ports/esp32/build-GENERIC
Running ninja in directory /home/aaron/micropython/ports/esp32/build-GENERIC
Executing "ninja all"...
[5/1259] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1536K,
vfs,data,fat,0x200000,2M,
*******************************************************************************
[169/1259] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.20.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/aaron/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Adding linker script /home/aaron/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/aaron/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_rom esptool_py log main micro-ecc partition_table soc spi_flash xtensa
-- Component paths: /home/aaron/esp/esp-idf/components/bootloader /home/aaron/esp/esp-idf/components/bootloader_support /home/aaron/esp/esp-idf/components/efuse /home/aaron/esp/esp-idf/components/esp32 /home/aaron/esp/esp-idf/components/esp_common /home/aaron/esp/esp-idf/components/esp_rom /home/aaron/esp/esp-idf/components/esptool_py /home/aaron/esp/esp-idf/components/log /home/aaron/esp/esp-idf/components/bootloader/subproject/main /home/aaron/esp/esp-idf/components/bootloader/subproject/components/micro-ecc /home/aaron/esp/esp-idf/components/partition_table /home/aaron/esp/esp-idf/components/soc /home/aaron/esp/esp-idf/components/spi_flash /home/aaron/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aaron/micropython/ports/esp32/build-GENERIC/bootloader
[223/1259] Performing build step for 'bootloader'
[1/101] Generating project_elf_src.c
[2/101] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj
[3/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/cpu_util.c.obj
[4/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/lldesc.c.obj
[5/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj
[6/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/cpu_hal.c.obj
[7/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rmt_hal.c.obj
[8/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rtc_io_hal.c.obj
[9/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/dac_hal.c.obj
[10/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal.c.obj
[11/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/adc_hal.c.obj
[12/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal.c.obj
[13/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj
[14/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal_iram.c.obj
[15/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/soc_include_legacy_warn.c.obj
[16/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/touch_sensor_hal.c.obj
[17/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/pcnt_hal.c.obj
[18/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sigmadelta_hal.c.obj
[19/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/timer_hal.c.obj
[20/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal.c.obj
[21/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2s_hal.c.obj
[22/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal_iram.c.obj
[23/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal_iram.c.obj
[24/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/gpio_hal.c.obj
[25/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal.c.obj
[26/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal_iram.c.obj
[27/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal.c.obj
[28/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal.c.obj
[29/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mpu_hal.c.obj
[30/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj
[31/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/soc_hal.c.obj
[32/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/compare_set.c.obj
[33/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/wdt_hal_iram.c.obj
[34/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/twai_hal.c.obj
[35/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/adc_hal.c.obj
[36/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/brownout_hal.c.obj
[37/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mcpwm_hal.c.obj
[38/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sdio_slave_hal.c.obj
[39/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk_init.c.obj
[40/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_init.c.obj
[41/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_pm.c.obj
[42/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk.c.obj
[43/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_sleep.c.obj
[44/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/soc_memory_layout.c.obj
[45/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_time.c.obj
[46/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/adc_periph.c.obj
[47/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/touch_sensor_hal.c.obj
[48/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_wdt.c.obj
[49/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/dac_periph.c.obj
[50/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/gpio_periph.c.obj
[51/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_periph.c.obj
[52/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_io_periph.c.obj
[53/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/interrupts.c.obj
[54/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdmmc_periph.c.obj
[55/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdio_slave_periph.c.obj
[56/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/spi_periph.c.obj
[57/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/ledc_periph.c.obj
[58/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2c_periph.c.obj
[59/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2s_periph.c.obj
[60/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/uart_periph.c.obj
[61/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/touch_sensor_periph.c.obj
[62/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[63/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[64/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[65/101] Linking C static library esp-idf/log/liblog.a
[66/101] Linking C static library esp-idf/soc/soc/esp32/libsoc_esp32.a
[67/101] Linking C static library esp-idf/soc/libsoc.a
[68/101] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[69/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[70/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj
[71/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj
[72/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj
[73/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[74/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[75/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock.c.obj
[76/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[77/101] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[78/101] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[79/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[80/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[81/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[82/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[83/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[84/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[85/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[86/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[87/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[88/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[89/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[90/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[91/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[92/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[93/101] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[94/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj
[95/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[96/101] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[97/101] Linking C static library esp-idf/efuse/libefuse.a
[98/101] Linking C static library esp-idf/spi_flash/libspi_flash.a
[99/101] Linking C static library esp-idf/main/libmain.a
[100/101] Linking C executable bootloader.elf
[101/101] Generating binary image from built executable
esptool.py v3.0
Generated /home/aaron/micropython/ports/esp32/build-GENERIC/bootloader/bootloader.bin
[1036/1259] Generating ../../genhdr/mpversion.h
GEN /home/aaron/micropython/ports/esp32/build-GENERIC/genhdr/mpversion.h
[1041/1259] Generating ../../genhdr/qstrdefs.collected.h
QSTR updated
[1044/1259] Generating ../../frozen_content.c
MPY neopixel.py
MPY apa106.py
MPY flashbdev.py
MPY _boot.py
MPY inisetup.py
MPY upip.py
MPY upip_utarfile.py
MPY ntptime.py
MPY dht.py
MPY onewire.py
MPY ds18x20.py
MPY uasyncio/__init__.py
MPY uasyncio/core.py
MPY uasyncio/event.py
MPY uasyncio/funcs.py
MPY uasyncio/lock.py
MPY uasyncio/stream.py
MPY webrepl.py
MPY webrepl_setup.py
MPY websocket_helper.py
GEN /home/aaron/micropython/ports/esp32/build-GENERIC/frozen_content.c
[1259/1259] Generating binary image from built executable
esptool.py v3.0
Generated /home/aaron/micropython/ports/esp32/build-GENERIC/micropython.bin
Project build complete. To flash, run this command:
/home/aaron/.espressif/python_env/idf4.2_py3.7_env/bin/python ../../../esp/esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 build-GENERIC/bootloader/bootloader.bin 0x8000 build-GENERIC/partition_table/partition-table.bin 0x10000 build-GENERIC/micropython.bin
or run 'idf.py -p (PORT) flash'
bootloader @0x001000 22688 ( 5984 remaining)
partitions @0x008000 3072 ( 1024 remaining)
application @0x010000 1449792 ( 123072 remaining)
total 1515328
aaron@esp32-build:~/micropython/ports/esp32$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment