-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
referenced target dependency 'mbed-hal-nrf51-generic' not available #43
Comments
I can't locate this module in the tree (example blinky, for mkit-gcc or nrf51dk-gcc), neither in the yotta registry. Isn't this HAL module generic HAL for nrf51822 device family: https://github.com/ARMmbed/mbed-hal-nrf51822-mcu ? |
it looks like the be a generic HAL module, so exactly what I am looking for. so if there no such module, either let's create one (a really generic HAL module) or delete the reference in module.json. I'm definitely for the first option as I thinks that's what most users of a low cost module are after, unless I completely misunderstand the concept behind this HAL inheritance... |
ARM Internal Ref: IOTSFW-1912 |
The generic is not needed, if we look whats in mbed-hal-mkit, it's just init hal function definition and device header file, which I believe are same for all our nrf51 based targets. We should have a look, and eliminate this. The target hal repo should be replaced by target + config. |
ATM it's pretty impossible to use your own nrf51 based targets due to the inverted dependency structure of this module. Any idea when that will be resolved? I have to maintain my own fork of this just so I can use a blenano |
I think he means what is caused by:
|
yes, there and in the module.json file. you have to add it in both places. |
furthermore atm with this structure the |
@bearsh Would this module be useful for you? https://github.com/ARMmbed/mbed-hal-nrf51-generic I forgot to make it public but it should be now. |
@marcuschangarm probably yes, but a first look at it showed it also defines |
I don't have leds on my board, so all LED0-4 are defined to be NC. |
well yes, but in my opinion still not ideal... |
Seems like the real problem is in the difficulty in creating a new target rather than the missing generic one. Is it possible to use for example nrf51dk- and only use pin names, not LED assignments and so on? |
I'd like to use the mbed OS stack on various custom targets (different devices all using a nrf51822 module). Therefor the
mbed-hal-nrf51-generic
target might fit my needs (at least the name does indicate that) as e.g. thembed-hal-nrf51dk
specifies pins which only exists on the dk hardware. But unfortunately thembed-hal-nrf51-generic
is not published 😒.In the end, I'd like to name my hardware specific pins in the target used by
yotta target
.The text was updated successfully, but these errors were encountered: