Closed SeppoTakalo closed 6 years ago
I tried to implement the correct mechanism. Could you check https://github.com/jeromecoutant/wifi-ism43362/tree/PR_JSON Thx
I'll close this,
I misunderstood the documentation.
The driver is actually NOT using those configuration values, but instead expecting application to use these. Therefore the README.md
is misleading.
This driver does not correctly define its build time dependencies.
https://github.com/ARMmbed/wifi-ism43362 driver requires SPI pin configurations, it should therefore have
mbed_lib.json
that defines these variables, and use macros generated from those. Defaults should beNC
so that it builds on all platforms, them you can provide sensible defaults for some platforms you know the pin names already.This mechanism you are now using is a bit upside down approach. Your driver depend on application to define build time macros. Effectively breaking build for every platform that adds this driver.