Comments (23)
Hi @JanneKiiskila can you please take a look at this issue.
from easy-connect.
@netanelgonen there was a bug in one of the drivers that caused compilation to fail. It has been merged in now #88
What you are otherwise asking, would require that every single driver would wrap their code in some Mbed OS and driver-specific compilation flag. We did this for the Mesh-drivers as those had some complicated dependencies. You can suggest such changes to the owners of the other drivers.
from easy-connect.
Please put in the logs for the compilation errors here and raise issue to the respective non-compiling driver. @netanelgonen Also, you do not need to delete the drivers - you can use .mbedignore
-files.
from easy-connect.
Hi @teetak01 ,
you can put the drivers under the folder 'TARGET_*'
this way the driver will compile only if the target is relevant.
see example in https://github.com/ARMmbed/mbed-client-pal/tree/master/Configs/pal_config/mbedOS
@JanneKiiskila deleting the files was a fast workaround just like adding the .medignore file
in the current situation that we are trying to save the binary size of the application, we should not compile extra files that contain global variables and definitions. specially not cpp constructors
from easy-connect.
@netanelgonen you misunderstood, most of those drivers are owned by partners. We cannot make any codechanges, and so far there is no urgent need for that.
@netanelgonen open issue to the respective driver repository if you think there is some problems. Otherwise there should be no impact. Note that easy-connect really is EASY connect. Its for simple usage of multiple drivers.
from easy-connect.
@teetak01 actually I understood perfectly.
I understand that the driver repository cannot be changed, but their location should change.
the location of each driver should be under a folder named 'TARGET_*' in this way the driver will compile only for this target. if you need a femily of targets you can always use the parent of the target.
have you looked in the exmaple from mbed-client-pal?
this will not chane the 'easy' of the code it will just save space and reduce the option for errors.
from easy-connect.
Well, for any of the external Wi-Fi boards for example - you can connect them to pretty much any board, what would be the right TARGET_ then?
from easy-connect.
is esp8266-driver is relevent for all board?
and wifi-ism43362?
or wifi-x-nucleo-idw01m1?
those are for specifec board targets (as far as i understeand)
from easy-connect.
Those use serial for connection, so you can connect them to pretty much anything.
For WiFi-X, there's even 2 form factors - Arduino and Morpheus to suit different boards (driver is anyway the same, config just changes a tad).
from easy-connect.
Hi @JanneKiiskila so what you are actually writing here that all driver is needed to all mbed-os targets?
from easy-connect.
We do not actually know exactly which targets need which driver.
from easy-connect.
so maybe enable the drivers only when knowing that there are needed for the target?
from easy-connect.
Yes, the WiFi modules are all universal, they should work with pretty much any board you can throw them at.
from easy-connect.
So @JanneKiiskila you think this is better to compile unneeded drivers and their constructors and so on just for the possibility that you will want one of those drivers is the way to go?
from easy-connect.
Currently there is no mechanism for that, however. One should be invented. The drivers need to be usable even w/o easy-connect itself.
from easy-connect.
Well, actual production application probably will not pull in easy-connect, and will instead use Mbed OS API directly. This is really easy-of-use wrapper library. If you do not care about the other drivers, just remove easy-connect completely. With Odin board especially, it does not need this for anything.
from easy-connect.
Yes, indeed - if the example is targeting only ONE board with ONE connectivity, there is really no need to use easy-connect.
from easy-connect.
so every one that use the appliaction need to delete this repo unless he useses a specific target?
from easy-connect.
No, this is part of mbed-cloud-client-example and mbed-os-example-client. Both compile out-of-box without any changes. What issue you had was some more specific.
from easy-connect.
actually, I'm the not specific user.
I'm trying to add new modules.....
from easy-connect.
Well, if stuff now works out of the box as is - and then doesn't, then it sounds more like the new driver might be having the problem.
from easy-connect.
I'm using the mbed-os Odin driver...
from easy-connect.
Hi @avolinski this is the issue we talked about
from easy-connect.
Related Issues (20)
- Use WIFI TX/RX instead of ESP? HOT 2
- Cloud support missing HOT 2
- Document connection error codes? HOT 2
- MAC printing at the start HOT 1
- multiple definition of `wifi' HOT 1
- Question: is there a reason why the configuration is not using overrides? HOT 11
- Question: Why is everything defined in easy-connect.h? HOT 5
- Compile error HOT 12
- .lib files HOT 2
- Cannot find ATCmdParser.h HOT 6
- I have to pass WiFi credential (SSID/Passw) through NFC tag so w/o recompiling the .json file, how to do this with easy-connect? HOT 8
- No internet handle HOT 3
- [OOB 5.7][tls-client] ESP8266Interface.h - no such file or directory HOT 2
- Missing header files included in easy-connect.cpp HOT 1
- New Network Interface for easy-connect HOT 3
- build_all.sh does not work HOT 1
- configure cellular debugging HOT 3
- mesh networking - init RF missing? HOT 2
- Pin conflict may occur by wnc14a2a-driver HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-connect.