Closed technoblogy closed 3 years ago
I've upgraded to the Boards file 3.0.4 and I now seem to be able to upload a file with the message:
Done uploading.
but I can't get any of the examples to run. For example, Blink doesn't blink an LED, and SimpleHttpExample doesn't print anything to the Arduino Serial Monitor.
Please can you suggest one example that will prove that my Ameba RTL8722DM IoT Development Board is working.
@technoblogy Looks weird. Could you show the full log from the Arduino IDE? One thing I experienced is that do not do anything when the red LED light-up during the image uploading. Otherwise, the image uploading will fail.
I don't get a red LED during upload. Here's the output:
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/david/Library/Arduino15/packages -hardware /Users/david/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/david/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/david/Documents/Arduino/libraries -fqbn=realtek:AmebaD:ameba_rtl8721d -vid-pid=0403_6001 -ide-version=10813 -build-path /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052 -warnings=default -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.ameba_d_asdk_toolchain.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_asdk_toolchain-1.0.1.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_tools.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 -prefs=runtime.tools.ameba_d_tools-1.0.3.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 -verbose /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_modified_sketch_743883/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/david/Library/Arduino15/packages -hardware /Users/david/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/david/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/david/Documents/Arduino/libraries -fqbn=realtek:AmebaD:ameba_rtl8721d -vid-pid=0403_6001 -ide-version=10813 -build-path /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052 -warnings=default -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.ameba_d_asdk_toolchain.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_asdk_toolchain-1.0.1.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_tools.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 -prefs=runtime.tools.ameba_d_tools-1.0.3.path=/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 -verbose /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_modified_sketch_743883/Blink.ino
Using board 'ameba_rtl8721d' from platform in folder: /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4
Using core 'arduino' from platform in folder: /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4
Detecting libraries used...
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -Wextra -w -x c++ -E -CC -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID= -DUSB_PID= -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/os_dep/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/network/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/at_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/framework -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example/wlan_fast_connect -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal_ext -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/test -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/utilities -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/video/v4l2/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/rtp_codec -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/ftl -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/audio -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/i2s -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/mDNS -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/ir/protocol -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/sketch/Blink.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -Wextra -w -x c++ -E -CC -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID= -DUSB_PID= -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/os_dep/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/network/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/at_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/framework -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example/wlan_fast_connect -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal_ext -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/test -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/utilities -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/video/v4l2/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/rtp_codec -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/ftl -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/audio -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/i2s -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/mDNS -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/ir/protocol -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/sketch/Blink.ino.cpp -o /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -MMD -Wextra -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/os/os_dep/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/network/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/at_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/framework -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/example/wlan_fast_connect -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/api -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/hal_ext -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/test -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/misc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/utilities -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/video/v4l2/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/media/rtp_codec -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/file_system/ftl -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/audio -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/i2s -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/application/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/mDNS -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/ir/protocol -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/cores/arduino -I/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/sketch/Blink.ino.cpp -o /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/variant.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/WInterrupts.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/itoa.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_shift.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/avr/dtostrf.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_os.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_watchdog.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/ard_socket.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_digital.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_analog.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/ard_ssl.c.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/RingBuffer.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/WMath.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/UARTClassTwo.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/Tone.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/Stream.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/Print.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/LOGUARTClass.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/UARTClassOne.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/WString.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/IPAddress.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/ssl_drv.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/main.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/server_drv.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wiring_pulse.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/wifi_drv.cpp.o
Using previously compiled file: /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/core.a
Linking everything together...
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-gcc -L/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/lib/ -L/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/linker_scripts/gcc -T/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/linker_scripts/gcc/rlx8721d_img2_is_arduino.ld -O2 -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -nostartfiles -specs nosys.specs -Wl,--gc-sections -Wl,-Map=/var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/application.map -Wl,--cref -Wl,--build-id=none -Wl,-wrap,strcat -Wl,-wrap,strchr -Wl,-wrap,strcmp -Wl,-wrap,strncmp -Wl,-wrap,strcpy -Wl,-wrap,strncpy -Wl,-wrap,strlen -Wl,-wrap,strnlen -Wl,-wrap,strncat -Wl,-wrap,strpbrk -Wl,-wrap,strstr -Wl,-wrap,strtok -Wl,-wrap,strsep -Wl,-wrap,strtoll -Wl,-wrap,strtoul -Wl,-wrap,strtoull -Wl,-wrap,atoi -Wl,-wrap,malloc -Wl,-wrap,free -Wl,-wrap,realloc -Wl,-wrap,memcmp -Wl,-wrap,memcpy -Wl,-wrap,memmove -Wl,-wrap,memset -Wl,-wrap,printf -Wl,-wrap,sprintf -Wl,-wrap,snprintf -Wl,--no-enum-size-warning -Wl,--warn-common -o /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/application.axf -Wl,--start-group /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/sketch/Blink.ino.cpp.o /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/variant.cpp.o -Wl,--end-group -Wl,--start-group -Wl,--whole-archive /var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/core/core.a -Wl,--no-whole-archive /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_cmsis_dsp.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_coap.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_dct.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_eap.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_http2.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_httpc.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_httpd.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_m4a_self.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_mdns.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_tftp.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_usbd.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_usbh.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_user.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_websocket.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_wifi_fw.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_wifi_ucps_fw.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_wlan.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_wps.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_bt.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/btgap.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_arduino.a /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/lib_mbedtls240.a -Wl,--end-group -lm -lstdc++
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3/postbuild_img2_arduino_macos /Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 "\"/var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/application.axf\"" /Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/ /Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/{build.sym_bklist}
cp "/var/folders/fd/7rbn3jxx5j942sk5kn0vhb740000gn/T/arduino_build_154052/application.axf" ./
rm -f application.map
rm -f application.asm
rm -f *.bin
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-nm application.axf | sort > application.map
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-objdump -d application.axf > application.asm
/Users/david/Library/Arduino15/packages/realtek/hardware/AmebaD/3.0.4/variants/rtl8721d/{build.sym_bklist}
sram 10005000 ~ 1000a030
xip 0e000020 ~ 0e00a83c
psram 02000020 ~ 02000020
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-objcopy -j .ram_image2.entry -j .ram_image2.text -j .ram_image2.data -Obinary ./application.axf ./ram_2.r.bin
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-objcopy -j .xip_image2.text -Obinary ./application.axf ./xip_image2.bin
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-objcopy -j .psram_image2.text -j .psram_image2.data -Obinary ./application.axf ./psram_2.r.bin
./tools/macos/pick 268455936 268476464 ram_2.r.bin ram_2.bin raw
is_law = 1
start = 10005000, end = 1000a030, base = 10000000
Input file size: 20528
copy size 20528
./tools/macos/pick 33554464 33554464 psram_2.r.bin psram_2.bin raw
is_law = 1
start = 2000020, end = 2000020, base = 2000000
Input file size: 0
copy size 0
./tools/macos/pick 268455936 268476464 ram_2.bin ram_2.p.bin
start = 10005000, end = 1000a030, base = 10000000
Input file size: 20528
copy size 20528
./tools/macos/pick 234881056 234924092 xip_image2.bin xip_image2.p.bin
start = e000020, end = e00a83c, base = e000000
Input file size: 43036
copy size 43036
./tools/macos/pick 33554464 33554464 psram_2.bin psram_2.p.bin
start = 2000020, end = 2000020, base = 2000000
Input file size: 0
copy size 0
cat xip_image2.p.bin ram_2.p.bin psram_2.p.bin > km4_image2_all.bin
./tools/macos/pad km4_image2_all.bin 4096
pad, img_len: f8ac, pad_len: 754
cp bsp/image/km0_boot_all.bin ./
cp bsp/image/km4_boot_all.bin ./
cp bsp/image/km0_image2_all.bin ./
cat km0_image2_all.bin km4_image2_all.bin > km0_km4_image2.bin
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3/amebasize /Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3
Sketch uses 176416 bytes (8%) of program storage space. Maximum is 2097152 bytes.
/Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3/upload_image_tool_macos /Users/david/Library/Arduino15/packages/realtek/tools/ameba_d_tools/1.0.3 /dev/cu.usbserial-AV0JH7JH
cp tools/macos/image_tool/imgtool_flashloader_amebad.bin ./
Please enter the upload mode (wait 5s)
05
04
03
02
01
./tools/macos/image_tool/amebad_image_tool /dev/cu.usbserial-AV0JH7JH
error: Enter Uart Download Mode
Image tool closed!
Upload Image done.
I uploaded the Blink example, and the LED doesn't flash after upload so I assume the upload has failed.
Do I need to press RESET or UART DOWNLOAD?
If I open Serial Monitor at 115200 baud and press RESET I get:
#calibration_ok:[2:19:11]
#interface 0 is initialized
interface 1 is initialized
Initializing WIFI ...
RTL8721D[Driver]: The driver is for MP
[FAST_CONNECT] Fast connect profile is empty, abort fast connection
WIFI initialized
init_thread(54), Available heap 0x29080
Thanks, David
@technoblogy Looks like you did not enter the upload mode. Did you follow the instruction by the link https://www.amebaiot.com/en/amebad-arduino-getting-started/ ?
The Arduino IDE will compile first then upload. During the uploading process, users are required to enter the upload mode of the board. Arduino IDE will wait 5s for DEV board to enter the upload mode.
To enter the upload mode, first press and hold the UART_DOWNLOAD button, then press the RESET button. If success, you should see a green LED flashing on the DEV board.
OK, thanks, I missed that. It's working now.
Today I received an Ameba RTL8722DM IoT Development Board from Seeed Studio.
When I connect the CON3 USB port to my computer I get /dev/cu.usbserial-AV0JH7JH on the Port menu.
Selecting this and uploading the Blink sketch then gives:
Please let me know what I need to do to get this to work.
I'm using Arduino 1.8.13 on a MacBook Pro running macOS High Sierra 10.13.6.