Here is the result of building the mbed-os-example-wifi program using
mbed compile -m CY8CPROTO_062_4343W -t GCC_ARM
after previously doing
mbed update master in the mbed-os directory:
The only difference is that I have a later version of the compiler:
[Warning] @,: Compiler version mismatch: Have 8.2.1; expected version >= 6.0.0 and < 7.0.0
Building project psoc6-mbed-os-example-wifi (CY8CPROTO_062_4343W, GCC_ARM)
Scan: psoc6-mbed-os-example-wifi
Link: psoc6-mbed-os-example-wifi
Elf2Bin: psoc6-mbed-os-example-wifi
Post-Build: psoc6-mbed-os-example-wifi
Module | .text | .data | .bss |
---- | ---- | -- | ---- |
[fill] | 274(+0) | 12(+0) | 78(+0) |
[lib]/c.a | 33376(+0) | 2472(+0) | 89(+0) |
[lib]/gcc.a | 3116(+0) | 0(+0) | 0(+0) |
[lib]/misc | 180(+0) | 4(+0) | 28(+0) |
[lib]/nosys.a | 32(+0) | 0(+0) | 0(+0) |
[lib]/stdc++.a | 0(+0) | 0(+0) | 0(+0) |
[misc] | 0(+0) | 0(+0) | 0(+0) |
main.o | 600(+0) | 0(+0) | 4(+0) |
mbed-os/components | 302(+0) | 0(+0) | 4(+0) |
mbed-os/drivers | 74(+0) | 0(+0) | 0(+0) |
mbed-os/features | 54430(+0) | 105(+0) | 98861(+0) |
mbed-os/hal | 1296(+0) | 4(+0) | 67(+0) |
mbed-os/platform | 3398(+0) | 260(+0) | 348(+0) |
mbed-os/rtos | 9466(+0) | 168(+0) | 5981(+0) |
mbed-os/targets | 49888(+0) | 203(+0) | 3212(+0) |
Subtotals | 156432(+0) | 3228(+0) | 108672(+0) |
Total Static RAM memory (data + bss): 111900(+0) bytes
Total Flash memory (text + data): 159660(+0) bytes
Image: ./BUILD/CY8CPROTO_062_4343W/GCC_ARM/psoc6-mbed-os-example-wifi.hex
I've just got a CY8CPROTO-062-4343W and am trying to get started with the standard mbed example mbed-os-example-wifi
Using mbed OS 5.13.1 or 5.13.4, it simply seems not to work. E.g. in the latter case, while the example builds OK, it hangs when running it, first showing the wrong version number, then locking up part way through a message:
WiFi example Mbed OS version 99.99.99
Scan: WLAN MAC Add
This is hardly a good advert for either the mbed OS or Cypress.
Any ideas what is broken? And can it be fixed, please?