ARMmbed / wifi-x-nucleo-idw01m1

X-NUCLEO-IDW0xx1 Wi-Fi Driver
3 stars 8 forks source link

Which board is which, more step-by-step info #4

Closed JanneKiiskila closed 7 years ago

JanneKiiskila commented 7 years ago

On how to 1) recognize the boards 2) how to really configure it

betzw commented 7 years ago

On how to 1.recognize the boards

The two expansion boards are two different products. You can distinguish them easily as the X-NUCLEO-IDW01M1 comes with a Morho connector only, while the X-NUCLEO-04A1 features an Arduino connector (only).

2.how to really configure it

In the mbed_app.json file of your application you need to set configuration variable idw0xx1.expansion-board to value IDW01M1 (default) or IDW04A1. For the X-NUCLEO-IDW04A1 you might also need to define macro IDW04A1_WIFI_HW_BUG_WA.

JanneKiiskila commented 7 years ago

This repository already HAS the mbed_lib.json, does it not get defined via that?

(I.e. - should I add that same define to the config example in configs/wifi-....json for this module as well?).

betzw commented 7 years ago

In mbed_lib.json the default value for which expansion board to use gets defined (i.e. IDW01M1). This can be overridden if needed in the application file mbed_app.json under the target_overrides section with IDW04A1 (or redundantly set another time to IDW01M1).

JanneKiiskila commented 7 years ago

Most novices will need an practical example on that.

betzw commented 7 years ago

Could you pls. provide me with an ARM-official link to the manual for the mbed config system?

JanneKiiskila commented 7 years ago

@adbridge or @0xc0170 - would you know where such document would be available?

JanneKiiskila commented 7 years ago

Think I found something here: https://docs.mbed.com/docs/mbed-os-handbook/en/latest/advanced/config_system/

JanneKiiskila commented 7 years ago

https://github.com/ARMmbed/wifi-x-nucleo-idw01m1/pull/5