Giter VIP home page Giter VIP logo

mbed-os-example-sockets's Introduction

Socket Example

This example shows usage of network-socket API.

The program brings up an underlying network interface and if it's Wifi also scans for access points. It creates a TCPSocket and performs an HTTP transaction targeting the website in the mbed_app.json config.

The example can be configured to use a TLSSocket. This works only on devices that support TRNG.

Selecting the network interface

This application is able to use any network interface it finds.

The interface selections is done through weak functions that are overridden by your selected target or any additional component that provides a network interface.

If more than one interface is provided the target configuration target.network-default-interface-type selects the type provided as the default one. This is usually the Ethernet so building on Ethernet enabled boards, you do not need any further configuration.

Configuring mbedtls

By default the examples uses a TCP socket. To enable TLS edit the mbed_app.json to turn on the use-tls-socket option:

        "use-tls-socket": {
            "value": true
        }

It might be necessary to configure the mbedtls library with appropriate macros in mbed_app.json file. Some boards (like UBLOX_EVK_ODIN_W2) will work fine without any additional configuration and some of them might require some minimal adjustment. For example K64F requires at least the following macro added:

        "K64F": {
            "target.macros_add" : ["MBEDTLS_SHA1_C"]
        }

See mbedtls configuration guidelines for more details.

Also see the API Documentation TLSSocket.

WiFi

If you want to use WiFi you need to provide SSID, password and security settings in mbed_app.json.

If your board doesn't provide WiFi as the default interface because it has multiple interfaces you need to specify that you want WiFi in mbed_app.json.

{
    "target_overrides": {
        "*": {
            "target.network-default-interface-type": "WIFI",
        }
    }
}

For more information about Wi-Fi APIs, please visit the Mbed OS Wi-Fi documentation.

Supported WiFi hardware

Building and flashing the example

Mbed OS build tools

Mbed CLI 2

Starting with version 6.5, Mbed OS uses Mbed CLI 2. It uses Ninja as a build system, and CMake to generate the build environment and manage the build process in a compiler-independent manner. If you are working with Mbed OS version prior to 6.5 then check the section Mbed CLI 1.

  1. Install Mbed CLI 2.
  2. From the command-line, import the example: mbed-tools import mbed-os-example-sockets
  3. Change the current directory to where the project was imported.

Mbed CLI 1

  1. Install Mbed CLI 1.
  2. From the command-line, import the example: mbed import mbed-os-example-sockets
  3. Change the current directory to where the project was imported.

To build the example

  1. Connect a USB cable between the USB port on the board and the host computer.

  2. Run the following command to build the example project and program the microcontroller flash memory:

    • Mbed CLI 2
    $ mbed-tools compile -m <TARGET> -t <TOOLCHAIN> --flash --sterm
    • Mbed CLI 1
    $ mbed compile -m <TARGET> -t <TOOLCHAIN> --flash --sterm

Your PC may take a few minutes to compile your code.

The binary is located at:

  • Mbed CLI 2 - ./cmake_build/<TARGET>/<PROFILE>/<TOOLCHAIN>/mbed-os-example-sockets.bin
  • Mbed CLI 1 - ./BUILD/<TARGET>/<TOOLCHAIN>/mbed-os-example-sockets.bin

Alternatively, you can manually copy the binary to the board, which you mount on the host computer over USB.

You can also open a serial terminal separately, rather than using the --sterm option, with the following command:

  • Mbed CLI 2
$ mbed-tools sterm
  • Mbed CLI 1
$ mbed sterm

Expected output

(Assuming you are using a wifi interface, otherwise the scanning will be skipped)

Starting socket demo

2 networks available:
Network: Virgin Media secured: Unknown BSSID: 2A:35:D1:ba:c7:41 RSSI: -79 Ch: 6
Network: VM4392164 secured: WPA2 BSSID: 18:35:D1:ba:c7:41 RSSI: -79 Ch: 6

Connecting to the network...
IP address: 192.168.0.27
Netmask: 255.255.255.0
Gateway: 192.168.0.1

Resolve hostname ifconfig.io
ifconfig.io address is 104.24.122.146

sent 52 bytes: 
GET / HTTP/1.1
Host: ifconfig.io
Connection: close

received 256 bytes:
HTTP/1.1 200 OK

Demo concluded successfully 

License and contributions

The software is provided under Apache-2.0 license. Contributions to this project are accepted under the same license. Please see contributing.md for more info.

This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide

mbed-os-example-sockets's People

Contributors

0xc0170 avatar adbridge avatar cmonr avatar conradbraam avatar evedon avatar geky avatar gpsimenos avatar harrisonmutai-arm avatar iriark01 avatar ldong-arm avatar marcelosalazar avatar mbedmain avatar michalpasztamobica avatar pan- avatar patater avatar paul-szczepanek-arm avatar rajkan01 avatar rwalton-arm avatar sg- avatar toyowata avatar urutva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mbed-os-example-sockets's Issues

NUCLEO_F746ZG, make_iar: Fails to obtain IP address.

Steps to reproduce:

  1. Clone example repo, switch to OoB branch, update.
  2. mbed export -i make_iar -m NUCLEO_F746ZG
  3. make clean
  4. make

Flash binary to target. Open serial terminal, connect ETH cable to switch and board. Reset target.

Expected: Obtains IP address.
Actual: No IP address obtained. Same procedure passes with make_gcc_arm.
Serial console output below. 1st run is with make_gcc_arm. Success with IP address obtained. 2nd run is with make_iar. Failed as seen below.

Ethernet socket example
IP address: 10.2.202.39
Netmask: 255.255.255.0
Gateway: 10.2.202.1
sent 39 [GET / HTTP/1.1]
recv 172 [HTTP/1.1 200 OK]
External IP address: 217.140.96.140
Done
Ethernet socket example
IP address: None
Netmask: None
Gateway: None
sent -3005 [GET / HTTP/1.1]
recv -3005 [GET / HTTP/1.1]
External IP address:
Done

Edit: Passes with export to IAR IDE & target obtains an IP address successfully.
Attached makefile from mbed export -i make_iar -m NUCLEO_F746ZG
Makefile.zip

C:\Ashok\mbed_CLI\OoB_5_5\Sockets\mbed-os-example-sockets>iccarm --version
IAR ANSI C/C++ Compiler V7.70.2.11706/W32 for ARM

[OoB_5.8]: export to NUCLEO_F429ZI using uvision5 failure

  1. mbed export -i uvision5 -m NUCLEO_F429ZI

  2. open project file in uvision5 - error
    Error: device not found
    Device: STM32F429ZI
    Vendor: STMicroelectronic

  3. After I manually choose different device of "STM32F429ZITx" the linking failed with error
    .\BUILD\mbed-os-example-sockets.axf: error: L6050U: The code size of this image (104240 bytes) exceeds the maximum allowed for this version of the linker.

Ethernet not built with cmake ?

Description of defect

Example is working well with CLI1:
mbed compile -m NUCLEO_F429ZI -t GCC_ARM -f

But not with CLI2:
mbedtools compile -m NUCLEO_F429ZI -t GCC_ARM -f

Target(s) affected by this defect ?

NUCLEO_F429ZI with Ethernet

Toolchain(s) (name and version) displaying this defect ?

NA

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.15.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

How is this defect reproduced ?

Sockets should be bearer independent, add other bearers too

We should really be able to make a simple example even with other bearers. Socket is a socket is a socket. If the bearer complexities make it more difficult, we should consider creating a generic helper layer inbetween to make it easier.

Does not compile

So this does not seem to compile anymore, i think some of the include paths have become wrong. Including esp8266-driver/ESP8266Interface.h and EthernetInterface.h?

git diff
diff --git a/ESP8266Interface.h b/ESP8266Interface.h
index 7627ac0..bfaa39b 100644
--- a/ESP8266Interface.h
+++ b/ESP8266Interface.h
@@ -17,8 +17,8 @@
 #ifndef ESP8266_INTERFACE_H
 #define ESP8266_INTERFACE_H
 
-#include "network-socket/NetworkStack.h"
-#include "network-socket/WiFiInterface.h"
+#include "netsocket/NetworkStack.h"
+#include "netsocket/WiFiInterface.h"
 #include "ESP8266.h"

This removes the first issue. Any idea?

[OoB_5.11.0-RC2]: Example fails with hard fault on CM3 Fast Model.

Steps to reproduce:

  1. mbed import mbed-os-example-sockets
  2. mbed update mbed-os-5.11.0-rc2
  3. mbed compile -t GCC_ARM -m FVP_MPS2_M3
  4. FVP_MPS2_Cortex-M3 -C fvp_mps2.smsc_91c111.enabled=1 -C fvp_mps2.hostbridge.userNetworking=1 -a BUILD/FVP_MPS2_M3/GCC_ARM/mbed-os-example-sockets.elf
    (Optional) 5. (enable telnet on Windows).

Expected:
Sockets example runs and device (FastModel in this case) should obtain an IP address.

Actual:
Fails with OS hard fault.
hardfault

My versions:

C:\Ashok\temp\OoB_5_11\mbed-os-example-sockets>mbed ls
mbed-os-example-sockets (#777e4a9d0494, tag: mbed-os-5.11.0-rc2)
`- mbed-os (#d9625811c919, tag: mbed-os-5.11.0-rc2)

C:\Ashok\temp\OoB_5_11\mbed-os-example-sockets>

cc @jamesbeyond @MarceloSalazar

[Mbed-OS 5.13 OOB] bootloader compatibility issue

The example uses default bootloader (v3.4) with NVSTORE support. However, if the device had flashed bootloader 4.x with KVSTORE (e.g. PDMC example 3.x), the example could not run after image flashing.
Suggest to either specify bootloader option in mbed_app.json, or add descriptions on how to deal with such kind of issues in README and official document site.

Cannot build on DISCO F413

Compiling soon after download leads to following error. Cannot proceed

Error: L6218E: Undefined symbol trace_tcp_flags (referred from ../../build/mbed-os/connectivity/nanostack/sal-stack-nanostack/source/Common_Protocols/tcp.DISCO_F413ZH.o).

Errors from "make" (after make_iar export)

After running this command: mbed export -i make_iar -m K66F I receive no errors:

$ mbed export -i make_iar -m K66F
Scan: .
Scan: FEATURE_BLE
Scan: FEATURE_COMMON_PAL
Scan: FEATURE_LWIP
Scan: FEATURE_UVISOR
Scan: FEATURE_ETHERNET_HOST
Scan: FEATURE_LOWPAN_BORDER_ROUTER
Scan: FEATURE_LOWPAN_HOST
Scan: FEATURE_LOWPAN_ROUTER
Scan: FEATURE_NANOSTACK
Scan: FEATURE_NANOSTACK_FULL
Scan: FEATURE_THREAD_BORDER_ROUTER
Scan: FEATURE_THREAD_END_DEVICE
Scan: FEATURE_THREAD_ROUTER
Scan: FEATURE_STORAGE

However, when I run make (on Windows using GnuWin32 make) I receive the following errors:

$ make
C:/Repos/mbed-os-example-sockets/makefile:616: warning: overriding commands for target `.s.o'
C:/Repos/mbed-os-example-sockets/makefile:611: warning: ignoring old commands for target `.s.o'
"link: mbed-os-example-sockets.elf"

   IAR ELF Linker V7.80.1.11864/W32 for ARM
   Copyright 2007-2016 IAR Systems AB.
Error[Li005]: no definition for "_printf_percent" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "_printf_s" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "_printf_str" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "_printf_widthprec" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "_printf_d" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "_printf_int_dec" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]
Error[Li005]: no definition for "__2printf" [referenced from
          C:\Repos\mbed-os-example-sockets\BUILD\main.o]

  109 885 bytes of readonly  code memory
    8 047 bytes of readonly  data memory
  152 926 bytes of readwrite data memory

Errors: 7
Warnings: none

Link time:   0.58 (CPU)   0.93 (elapsed)
make[1]: *** [mbed-os-example-sockets.elf] Error 2
make: *** [all] Error 2

[OoB_5.5-RC2]: NUCLEO_F746ZG, export to make_armc5: Build failure.

Steps:

  1. Update to RC2 branch.
  2. mbed export -i make_armc5 -m NUCLEO_F746ZG
  3. make clean
  4. make

Expected: Build success.
Actual: Build failure with following error:

"Compile: RTX_Config.c"
"Assemble: irq_cm4f.s"
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 69 (column 8): Error: A1163E: Unknown opcode __FPU_PRESENT , expecting opcode or Macro
   69 00000030 #ifdef __FPU_PRESENT
                      ^
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 75: Error: A1167E: Invalid line start
   75 0000003c #endif
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 79 (column 8): Error: A1163E: Unknown opcode __FPU_PRESENT , expecting opcode or Macro
   79 00000040 #ifdef __FPU_PRESENT
                      ^
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 82: Error: A1167E: Invalid line start
   82 0000004a #endif
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 95 (column 8): Error: A1163E: Unknown opcode __FPU_PRESENT , expecting opcode or Macro
   95 0000005e #ifdef __FPU_PRESENT
                      ^
"../mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.s", line 98: Error: A1167E: Invalid line start
   98 00000068 #endif
6 Errors, 0 Warnings
make[1]: *** [mbed-os/rtos/rtx5/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_ARM/irq_cm4f.o] Error 1
make: *** [all] Error 2

C:\Ashok\mbed_CLI\OoB_5_5\Sockets\mbed-os-example-sockets>

SHA's:
C:\Ashok\mbed_CLI\OoB_5_5\Sockets\mbed-os-example-sockets>mbed ls
mbed-os-example-sockets (c368221)
`- mbed-os (162f80099d94)

@theotherjimmy @0xc0170 .. this is an exporter issue. Raising here to keep track in examples.

[Mbed OS OoB 5.14] Cannot see the external IP address

In the section Expected Output in README.md, the line External IP address appears and it shows global ip address.

However, it doesn't appear in the latest example. Here's my log:

Mbed OS Socket example
Mbed OS version: 5.14.0

IP address: 10.128.4.30
Netmask: 255.255.255.0
Gateway: 10.128.4.1
sent 56 [GET / HTTP/1.1]
recv 256 [HTTP/1.1 200 OK]
Done

The code seems to be removed in this commit
d421d20#diff-118fcbaaba162ba17933c7893247df3aL86-L88

Please correct the documentation or update the program.

Can not Compile on Sw4STM32 (Workbench) with DISCO-L475VG-IOT01A

Hello,
I tried to compile this Project under System Workbench but it fails.

How to reproduce: Import into Mbed Online compiler. Chose Target device and export for Sw4STM32. Download the project and open with Sw4STM32.

When building it gives me the following errors:

make -j8 pre-build main-build 
Creating makefile.defs:
echo "export PREPROC_CMD = D:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825\tools\compiler\bin/arm-none-eabi-cpp -E -P" > C:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/makefile.defs
Building file: ../source/main.cpp
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.S
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c
Invoking: MCU G++ Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.c
Invoking: MCU GCC Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.c
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.c
Invoking: MCU GCC Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.c
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
Invoking: MCU GCC Compiler
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O0 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3 -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF"source/main.d" -MT"source/main.o" -o "source/main.o" "../source/main.cpp" @"source/includes.args"
Invoking: MCU GCC Compiler
 
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.S" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/includes.args"
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/includes.args"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/includes.args"
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.c
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/includes.args"
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
arm-none-eabi-g++: error: CreateProcess: No such file or directory
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
source/subdir.mk:18: recipe for target 'source/main.o' failed
make: *** [source/main.o] Error 1
make: *** Waiting for unfinished jobs....
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o' failed
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o] Error 1
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o' failed

23:27:59 Build Finished (took 13s.415ms)

Note that this way I can compile and run other Mbed Projects, e.g. the (outdated) wifi example for the DISCO-L475 Target: https://github.com/ARMmbed/mbed-os-example-wifi

[OoB_5.8]: export to NUCLEO_F429ZI using make_armc5 failure

  1. mbed export -i make_armc5 -m NUCLEO_F429ZI
  2. make

C:\work\OOB5.8\mbed-os-example-sockets>mbed export -i make_armc5 -m NUCLEO_F429ZI
Scan: .
Scan: FEATURE_LWIP

C:\work\OOB5.8\mbed-os-example-sockets>make
"Compile: main.cpp"
process_begin: CreateProcess(NULL, armcc -c --gnu -Otime --split_sections --apcs=interwork --brief_diagnostics --restrict --multibyte_chars -O0 -g -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 --cpu=Cortex-M4.fp --md --no_depend_system_headers --c99 -D__ASSERT_MSG --cpp --no_rtti --no_vla --cpp --no_rtti --no_vla -DTARGET_STM32F429xx -DDEVICE_SPISLAVE=1 -DFEATURE_LWIP=1 -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -D__FPU_PRESENT=1 -DTRANSACTION_QUEUE_SIZE_SPI=2 -DUSBHOST_OTHER -DDEVICE_PORTINOUT=1 -DTARGET_RTOS_M4_M7 -DTARGET_NUCLEO_F429ZI -DDEVICE_LOWPOWERTIMER=1 -DDEVICE_RTC=1 -DTOOLCHAIN_object -DDEVICE_SERIAL_ASYNCH=1 -DTARGET_STM32F4 -D__CMSIS_RTOS -DDEVICE_CAN=1 -DTARGET_CORTEX_M -DTARGET_DEBUG -DDEVICE_I2C_ASYNCH=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_ANALOGOUT=1 -DTARGET_M4 -DTARGET_UVISOR_UNSUPPORTED -DDEVICE_PORTOUT=1 -DDEVICE_SPI_ASYNCH=1 -DDEVICE_PWMOUT=1 -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DTARGET_STM32F429 -D__CORTEX_M4 -DDEVICE_STDIO_MESSAGES=1 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO -DDEVICE_PORTIN=1 -DTARGET_STM -DMBED_BUILD_TIMESTAMP=1521117906.78 -DDEVICE_SERIAL_FC=1 -DDEVICE_TRNG=1 -DTARGET_LIKE_MBED -DTARGET_STM32F429ZI -D__MBED_CMSIS_RTOS_CM -DDEVICE_SLEEP=1 -DDEVICE_SPI=1 -DUSB_STM_HAL -DTOOLCHAIN_ARM_STD -DTARGET_STM32F429xI -DDEVICE_ANALOGIN=1 -DDEVICE_SERIAL=1 -DDEVICE_FLASH=1 -DTOOLCHAIN_ARM -DARM_MATH_CM4 --preinclude=mbed_config.h -I../ -I../. -I.././DebugConfig -I.././mbed-os -I.././mbed-os/cmsis -I.././mbed-os/cmsis/TARGET_CORTEX_M -I.././mbed-os/drivers -I.././mbed-os/events -I.././mbed-os/events/equeue -I.././mbed-os/features -I.././mbed-os/features/FEATURE_LWIP -I.././mbed-os/features/FEATURE_LWIP/lwip-interface -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-sys -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-sys/arch -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/api -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core/ipv4 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core/ipv6 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/priv -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/prot -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif/ppp -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif/ppp/polarssl -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp/polarssl -I.././mbed-os/features/cellular -I.././mbed-os/features/cellular/easy_cellular -I.././mbed-os/features/cellular/framework -I.././mbed-os/features/cellular/framework/API -I.././mbed-os/features/cellular/framework/AT -I.././mbed-os/features/cellular/framework/common -I.././mbed-os/features/cellular/framework/targets -I.././mbed-os/features/cellular/framework/targets/QUECTEL -I.././mbed-os/features/cellular/framework/targets/QUECTEL/BC95 -I.././mbed-os/features/cellular/framework/targets/QUECTEL/BG96 -I.././mbed-os/features/cellular/framework/targets/TELIT -I.././mbed-os/features/cellular/framework/targets/TELIT/HE910 -I.././mbed-os/features/cellular/framework/targets/UBLOX -I.././mbed-os/features/cellular/framework/targets/UBLOX/LISA_U -I.././mbed-os/features/filesystem -I.././mbed-os/features/filesystem/bd -I.././mbed-os/features/filesystem/fat -I.././mbed-os/features/filesystem/fat/ChaN -I.././mbed-os/features/filesystem/littlefs -I.././mbed-os/features/filesystem/littlefs/littlefs -I.././mbed-os/features/frameworks -I.././mbed-os/features/frameworks/greentea-client -I.././mbed-os/features/frameworks/greentea-client/greentea-client -I.././mbed-os/features/frameworks/greentea-client/source -I.././mbed-os/features/frameworks/unity -I.././mbed-os/features/frameworks/unity/source -I.././mbed-os/features/frameworks/unity/unity -I.././mbed-os/features/frameworks/utest -I.././mbed-os/features/frameworks/utest/source -I.././mbed-os/features/frameworks/utest/utest -I.././mbed-os/features/lorawan -I.././mbed-os/features/lorawan/lorastack -I.././mbed-os/features/lorawan/lorastack/mac -I.././mbed-os/features/lorawan/lorastack/phy -I.././mbed-os/features/lorawan/system -I.././mbed-os/features/mbedtls -I.././mbed-os/features/mbedtls/importer -I.././mbed-os/features/mbedtls/inc -I.././mbed-os/features/mbedtls/inc/mbedtls -I.././mbed-os/features/mbedtls/platform -I.././mbed-os/features/mbedtls/platform/inc -I.././mbed-os/features/mbedtls/platform/src -I.././mbed-os/features/mbedtls/src -I.././mbed-os/features/mbedtls/targets -I.././mbed-os/features/mbedtls/targets/TARGET_STM -I.././mbed-os/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/features/nanostack -I.././mbed-os/features/netsocket -I.././mbed-os/features/netsocket/cellular -I.././mbed-os/features/netsocket/cellular/generic_modem_driver -I.././mbed-os/features/netsocket/cellular/utils -I.././mbed-os/features/nvstore -I.././mbed-os/features/nvstore/source -I.././mbed-os/features/storage -I.././mbed-os/hal -I.././mbed-os/hal/storage_abstraction -I.././mbed-os/platform -I.././mbed-os/rtos -I.././mbed-os/rtos/TARGET_CORTEX -I.././mbed-os/rtos/TARGET_CORTEX/TARGET_CORTEX_M -I.././mbed-os/rtos/TARGET_CORTEX/TARGET_CORTEX_M/TOOLCHAIN_ARM -I.././mbed-os/rtos/TARGET_CORTEX/rtx4 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/Include -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Config -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Include -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/Source -I.././mbed-os/targets -I.././mbed-os/targets/TARGET_STM -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/TARGET_NUCLEO_F429ZI -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/TOOLCHAIN_ARM_STD -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/device -o main.o ../main.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
C:/work/OOB5.8/mbed-os-example-sockets/Makefile:929: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 2
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2

Results in HTTP/1.1 301 Moved Permanently

By default this example makes an HTTP request to developer.mbed.org, which responds that it is actually an HTTPS page (requires TLS security). So, it always responds with

sent 45 [GET / HTTP/1.1]
recv 64 [HTTP/1.1 301 Moved Permanently]

Suggest that the URL be changed to some page on HTTP that will reliably respond with a page payload.

Minor docs issues in Technology|Ethernet section

https://os-doc-builder.test.mbed.com/docs/development/reference/ethernet-technology.html

"Ethernet can use cable length for up to 100 meters" -> "Ethernet will work with cable lengths of up to 100 meters"

"Since introducing the initial standard, IEEE has improved the Ethernet" -> remove 'the'

"Today, most Ethernet devices are capable of automatically negotiating connection speed 10/100/1000 with the switch they are connected" -> "Today, most Ethernet devices are capable of automatically negotiating connection speeds of 10/100/1000 Mbit/s with the switch.

"Most commons are 0x0800 for IPv4 and 0x86DD for IPv6." -> "Most common is ..."

Unable to compile uVision generated project (OOB 5.4 RC1) for NUCLEO_F746ZG

mbed CLI 1.0.0
Windows 10
MDK 5.23

Keil console log:

mbed-os\rtos\rtx\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\HAL_CM4.c(168): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
mbed-os\rtos\rtx\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\HAL_CM4.c(190): error: A1854E: Unknown opcode 'VLDMIANE', maybe wrong target CPU?
mbed-os\rtos\rtx\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\HAL_CM4.c(255): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
mbed-os\rtos\rtx\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\HAL_CM4.c(276): error: A1854E: Unknown opcode 'VLDMIANE', maybe wrong target CPU?

@geky

[OoB_5.8]: export to NUCLEO_F429ZI using make_iar failure

C:\work\OOB5.8\mbed-os-example-sockets>mbed export -i make_iar -m NUCLEO_F429ZI
Scan: .
Scan: FEATURE_LWIP

C:\work\OOB5.8\mbed-os-example-sockets>make
"Compile: main.cpp"
process_begin: CreateProcess(NULL, iccarm --no_wrap_diagnostics -e --diag_suppress=Pa050,Pa084,Pa093,Pa082 -On -r -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 --enable_restrict --cpu Cortex-M4F --thumb --dlib_config DLib_Config_Full.h --c++ --no_rtti --no_exceptions --guard_calls --no_static_destruction --guard_calls --no_static_destruction -DTARGET_STM32F429xx -DDEVICE_SPISLAVE=1 -DFEATURE_LWIP=1 -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -D__FPU_PRESENT=1 -DTRANSACTION_QUEUE_SIZE_SPI=2 -DUSBHOST_OTHER -DDEVICE_PORTINOUT=1 -DTARGET_RTOS_M4_M7 -DTARGET_NUCLEO_F429ZI -DDEVICE_LOWPOWERTIMER=1 -DDEVICE_RTC=1 -DTOOLCHAIN_object -DDEVICE_SERIAL_ASYNCH=1 -DTARGET_STM32F4 -D__CMSIS_RTOS -DDEVICE_CAN=1 -DMBED_BUILD_TIMESTAMP=1521119148.91 -DTARGET_CORTEX_M -DTARGET_DEBUG -DDEVICE_I2C_ASYNCH=1 -DTARGET_LIKE_CORTEX_M4 -DDEVICE_ANALOGOUT=1 -DTARGET_M4 -DTARGET_UVISOR_UNSUPPORTED -DDEVICE_PORTOUT=1 -DDEVICE_SPI_ASYNCH=1 -DTOOLCHAIN_IAR -DDEVICE_INTERRUPTIN=1 -DTARGET_CORTEX -DDEVICE_I2C=1 -DTARGET_STM32F429 -D__CORTEX_M4 -DDEVICE_STDIO_MESSAGES=1 -DDEVICE_PWMOUT=1 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO -DDEVICE_PORTIN=1 -DTARGET_STM -DDEVICE_SERIAL_FC=1 -DDEVICE_TRNG=1 -DTARGET_LIKE_MBED -DTARGET_STM32F429ZI -D__MBED_CMSIS_RTOS_CM -DDEVICE_SLEEP=1 -DDEVICE_SPI=1 -DUSB_STM_HAL -DTARGET_STM32F429xI -DDEVICE_ANALOGIN=1 -DDEVICE_SERIAL=1 -DDEVICE_FLASH=1 -DARM_MATH_CM4 --preinclude=mbed_config.h -I../ -I../. -I.././mbed-os -I.././mbed-os/cmsis -I.././mbed-os/cmsis/TARGET_CORTEX_M -I.././mbed-os/cmsis/TARGET_CORTEX_M/TOOLCHAIN_IAR -I.././mbed-os/drivers -I.././mbed-os/events -I.././mbed-os/events/equeue -I.././mbed-os/features -I.././mbed-os/features/FEATURE_LWIP -I.././mbed-os/features/FEATURE_LWIP/lwip-interface -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-sys -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip-sys/arch -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/api -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core/ipv4 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/core/ipv6 -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/priv -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/prot -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif/ppp -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/include/netif/ppp/polarssl -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp -I.././mbed-os/features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp/polarssl -I.././mbed-os/features/cellular -I.././mbed-os/features/cellular/easy_cellular -I.././mbed-os/features/cellular/framework -I.././mbed-os/features/cellular/framework/API -I.././mbed-os/features/cellular/framework/AT -I.././mbed-os/features/cellular/framework/common -I.././mbed-os/features/cellular/framework/targets -I.././mbed-os/features/cellular/framework/targets/QUECTEL -I.././mbed-os/features/cellular/framework/targets/QUECTEL/BC95 -I.././mbed-os/features/cellular/framework/targets/QUECTEL/BG96 -I.././mbed-os/features/cellular/framework/targets/TELIT -I.././mbed-os/features/cellular/framework/targets/TELIT/HE910 -I.././mbed-os/features/cellular/framework/targets/UBLOX -I.././mbed-os/features/cellular/framework/targets/UBLOX/LISA_U -I.././mbed-os/features/filesystem -I.././mbed-os/features/filesystem/bd -I.././mbed-os/features/filesystem/fat -I.././mbed-os/features/filesystem/fat/ChaN -I.././mbed-os/features/filesystem/littlefs -I.././mbed-os/features/filesystem/littlefs/littlefs -I.././mbed-os/features/frameworks -I.././mbed-os/features/frameworks/greentea-client -I.././mbed-os/features/frameworks/greentea-client/greentea-client -I.././mbed-os/features/frameworks/greentea-client/source -I.././mbed-os/features/frameworks/unity -I.././mbed-os/features/frameworks/unity/source -I.././mbed-os/features/frameworks/unity/unity -I.././mbed-os/features/frameworks/utest -I.././mbed-os/features/frameworks/utest/source -I.././mbed-os/features/frameworks/utest/utest -I.././mbed-os/features/lorawan -I.././mbed-os/features/lorawan/lorastack -I.././mbed-os/features/lorawan/lorastack/mac -I.././mbed-os/features/lorawan/lorastack/phy -I.././mbed-os/features/lorawan/system -I.././mbed-os/features/mbedtls -I.././mbed-os/features/mbedtls/importer -I.././mbed-os/features/mbedtls/inc -I.././mbed-os/features/mbedtls/inc/mbedtls -I.././mbed-os/features/mbedtls/platform -I.././mbed-os/features/mbedtls/platform/inc -I.././mbed-os/features/mbedtls/platform/src -I.././mbed-os/features/mbedtls/src -I.././mbed-os/features/mbedtls/targets -I.././mbed-os/features/mbedtls/targets/TARGET_STM -I.././mbed-os/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/features/nanostack -I.././mbed-os/features/netsocket -I.././mbed-os/features/netsocket/cellular -I.././mbed-os/features/netsocket/cellular/generic_modem_driver -I.././mbed-os/features/netsocket/cellular/utils -I.././mbed-os/features/nvstore -I.././mbed-os/features/nvstore/source -I.././mbed-os/features/storage -I.././mbed-os/hal -I.././mbed-os/hal/storage_abstraction -I.././mbed-os/platform -I.././mbed-os/rtos -I.././mbed-os/rtos/TARGET_CORTEX -I.././mbed-os/rtos/TARGET_CORTEX/TARGET_CORTEX_M -I.././mbed-os/rtos/TARGET_CORTEX/TARGET_CORTEX_M/TOOLCHAIN_IAR -I.././mbed-os/rtos/TARGET_CORTEX/rtx4 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/Include -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Config -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Include -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_IAR -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/TOOLCHAIN_IAR/TARGET_RTOS_M4_M7 -I.././mbed-os/rtos/TARGET_CORTEX/rtx5/Source -I.././mbed-os/targets -I.././mbed-os/targets/TARGET_STM -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4 -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/TARGET_NUCLEO_F429ZI -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/TOOLCHAIN_IAR -I.././mbed-os/targets/TARGET_STM/TARGET_STM32F4/device -o main.o ../main.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
C:/work/OOB5.8/mbed-os-example-sockets/Makefile:809: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 2
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2

[oob-5.4-rc1] ARCH_PRO runtime fails for all toolchain

mbed-CLI 1.0.0
Windows 7
MDK 5.22 (armcc 5.06 b422)
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors) 4.9.3 20150529
IAR ANSI C/C++ Compiler V7.80.4.12462/W32 for ARM

Compile sucuess for all toolchain, but failed at runtime.

Ethernet socket example
IP address is: No IP
sent -3005 [GET / HTTP/1.1]
recv -3005 []
Done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.