Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
Access to the target folders of the mbed library
I was wondering if access to the target folders are available for the mbed library as they used to be for the mbed-src. I ask as we are wanting to modify some of the pinouts for a target. I could do this for the mbed-src, but I'm having issues with the code using the mbed-src but the mbed library works fine. I see the target folder on the mbed website; however when I import the library none of those folders are available.
Question relating to:
2 Answers
8 years, 9 months ago.
Take into account that for some reason only known to the gods (and possibly mbed staff, but not sure about that one) they renamed mbed-src to mbed-dev, so for the latest version you require mbed-dev.
Since the user experience of mbed-src and mbed-dev is slow and clunky to move around, import and export how would you feel about having a repo for each target that only gets the updates that are relevant to the target. This breaks things a bit but the mbed.bld will obviously still exist. It would mean you still need to set the proper target and also have the *right* library imported. I have mixed feelings about this and wondering how power users would feel. IMO mbed-src (now mbed-dev) is only useful when debugging or bringing up new platforms. Feedback??
posted by 01 Mar 2016Maybe a separate topic would be good for this :).
In addition to the reasons you use, there is another one: Customizing. For example if you want a different clock setup for your board.
For starters: I definately see the problems you mention. The compiler gets close to crashing when you try to update the mbed-dev lib. Having it smaller/less clunky would definately be useful. I think going target specific would really be handy, not always perfect, but generally a better solution. Maybe manufacturer specific would be an inbetween option, although maybe for large ones, such as an STM, you still got a huge lib.
posted by 01 Mar 2016
It appears the folder must not have fully been transferred over (it seemed to have taken a long time) as I retried and now it appears to be working.
posted by Casey Quinn 01 Mar 2016