-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[boards manager] core reference not found #6703
Comments
Sorry, more clearly - you are not able to test it until you create a package for your variants and install it using the boards manager |
Hi @micooke , |
Unfortunately, thats not the issue. If i forgot the additional folder my variant board would not be visible I have no problem referencing arduino:arduino, i had an issue referencing a third party core sandeepmistry:nRF5. Arduino barfed that it could not find sandeepmistry:nRF5 when i selected my variant. This went away when i created a package and installed it through boards manager. Im not sure if it complained about third party tools as i could not get to that point. It seems like arduino:arduino is treated differently to other cores in this regard. |
Hmm, now that i think about it i had the folder order reversed i.e. |
Hmmm, sorry, I'm not getting it 🙂 Which is your situation? Could you past here the directories nesting and the relevant files? Thanks! |
Im sorry for the confusion, i didnt intend that. Ive tried this on only one machine, but on the two latest Arduino versions. I spent a good half a day hacking away till i resolved it, so hopefully its repeatable and not just a once off. Install sandeeps nRF5 core the board manager : And copy my variants into hardware/nRF5. Then select one of the new boards and Arduino complained that the core sandeepmistry:NRF5 was not knstalled. But installing my variant via the board manager resolved this |
Ok, super, I've been able to reproduce it 😄 |
Brilliant! Thanks for looking into it for me. This is what I used to check the syntax for referencing an external tool. |
I feel that it's already documented here:
I did a little bit of rewording on the latter to make it more clear. @micooke, do you think that is sufficient documentation? Regarding the "jumble", improvements are always welcome. |
That's probably fine, I must have stopped reading that section around the tool section because I hadn't read that. I guess some of the confusion is that the format is implicit, rather than explicit. I.e. Referencing is maintainer:architecture:core or maintainer:core if you have the same architecture or maintainer:tool. Is this correct? The confusion being that for the example the maintainer and core are the same. So when I first read this I wondered why the double arduino, why not just one? |
|
@per1234 - isn't that exactly what |
Yes, that reference syntax is not supported. |
@per1234 - that is the exact same syntax you references earlier
|
@per1234 - can you explain the following undocumented syntax inconsistency?
|
It's not fully clear to me what you're attempting to do. I have read the conversation on your pull request: sandeepmistry/arduino-nRF5#186, which gives some more context but it sounds like you also have your own hardware package that references components of sandeepmistry/arduino-nRF5. Following the "From git (for core development)" instructions, I installed sandeepmistry/arduino-nRF5 via Boards Manager and then manually installed your fork to my sketchbook. I was unable to reproduce the errors you got with either I don't think there would ever be a need to reference a hardware package from within that hardware package so I don't believe you should be doing None of this seems to be related to an issue with the Arduino IDE so I would request that any further discussion be done elsewhere to avoid subjecting the many subscribers of this repository to more off-topic emails. Perhaps this would be best done in a dedicated issue on your fork, otherwise in the pull request thread. If it is later discovered that there is a verifiable bug with the Arduino IDE then it would be appropriate to report it to this issue tracker. |
You could not reproduce the error because you grabbed the wrong repo, you needed my variants repo https://github.com/micooke/arduino-nRF5-smartwatches, not my fork of sandeep's arduino-nRF5 repo. I have provided steps already in this thread to reproduce the error, and they were reproduced by facchinm and noted as such in this thread.
I also referenced my board package Since then i have sent a pull request to sandeepmistry number 186 to add blackmagicprobe and resolve issues with Arduino IDE referencing that. I have wasted almost three days in trial and error due to Arduino referencing syntax that is inconsistent and undocumented. Further to this i have pointed out that current documentation uses unsupported syntax. I have documented instructions to reproduce the error which you did not read, and i also documented exactly how i resolved these issues. I thought you might be interested, and that documenting this might save someone else two or three days of their life. I will bother you no further |
I did read all that and we already resolved it 5 days ago. The original problem was simply that your folder structure was incorrect, as you yourself said:
It has already been explained to you that the architecture folder name of the core and the referenced core must match. This was not the case with your installation as your folder structure had the architecture folder named "arduino-nRF5-smartwatches" while sandeepmistry/nRF5 has the architecture folder name nRF5. I assumed that since that issue had been resolved that your recent question about the blackmagic reference was regarding an entirely new issue you had encountered, which was reinforced by me discovering you had reported the same exact issue in your pull request to sandeepmistry/nRF5. If you expect me to follow your previous instructions and have a mismatch of the architecture folder name between the active core and the referenced core then of course the reference won't work. That should be obvious.
This is absolutely false. I've already pointed out to you that the reference syntax is clearly documented multiple places in the documentation. If you choose not to read it then there is nothing I can do to help you. Since you have not been able to point out any legitimate bugs in the Arduino IDE or inaccurate information in the documentation I'm going to lock this thread. In the future please restrict your use of the issue tracker to reporting bugs with the Arduino IDE or feature requests. Support requests such as you've made here should instead be posted to the Arduino Forum: http://forum.arduino.cc/ |
Ive found that a contributed core installed using the boards manager is not visible to boards in the sketchbook/hardware folder.
I haven't checked whether the reverse is also true.
This means that if you want to add new variants to an existing core, you are not able to test it until you install it using the boards manager
The text was updated successfully, but these errors were encountered: