In this step of the "Getting start" guide:
- Click F1 again, type and select Azure IoT Device Workbench: Upload Device Code
It starts to compile and upload the code to DevKit. I get the error below. Any idea? Thanks.
from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino\httpserver\app_httpd.cpp:33: C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\system/platform/wait_api.h:21:2: warning: #warning wait_api.h has been replaced by mbed_wait_api.h, please update to mbed_wait_api.h [since mbed-os-5.3] [-Wcpp]
#warning wait_api.h has been replaced by mbed_wait_api.h, please update to mbed_wait_api.h [since mbed-os-5.3]
In file included from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino/system/mbed.h:95:0,
from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino/EEPROMInterface.h:7,
from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino\httpserver\app_httpd.cpp:33: C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\system/platform/sleep.h:21:2: warning: #warning sleep.h has been replaced by mbed_sleep.h, please update to mbed_sleep.h [since mbed-os-5.3] [-Wcpp]
#warning sleep.h has been replaced by mbed_sleep.h, please update to mbed_sleep.h [since mbed-os-5.3]
In file included from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino/system/mbed.h:96:0,
from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino/EEPROMInterface.h:7,
from C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\cores\arduino\httpserver\app_httpd.cpp:33:
C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.1\system/platform/rtc_time.h:21:2: warning: #warning rtc_time.h has been replaced by mbed_rtc_time.h, please update to mbed_rtc_time.h [since mbed-os-5.3] [-Wcpp]
#warning rtc_time.h has been replaced by mbed_rtc_time.h, please update to mbed_rtc_time.h [since mbed-os-5.3]
C:\Users\ayung\AppData\Local\Arduino15\packages\AZ3166\tools\arm-none-eabi-gcc\5_4-2016q3/bin/arm-none-eabi-ar: unable to rename 'core\core.a'; reason: File exists
exit status 1
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
[Error] Exit with code=1
Made sure board settings are correct in VSCode and in Arduino