-
Notifications
You must be signed in to change notification settings - Fork 163
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
Unable to use the RF24 libraries with platformio since the v1.0.18 release #212
Comments
The problem is that the nrf_to_nrf library has declared certain branches of RF24Network & RF24Mesh as dependencies, and the branches don't exist anymore. And, RF24Network master branch (soon to be v2.0) has declared nrf_to_nrf as a dependency for the nRF52 family chips. I don't think its really a PIO problem; the output is pretty explanatory. @TMRh20 Can you remove the deps from nrf_to_nrf lib? I've been having similar issues with the PIO CI workflow. I had a feeling I deleted those branches hastily, now I know why. I don't have a local copy of the nRF52Support branches on my machine anymore, so I can't just push those branches back to the git remotes. @shyney7 RF24Network v1.0.17 shouldn't have this dependency cycle. |
@2bndy5 OK I removed the dependancies from nrf_to_nrf, but am still getting errors installing RF24Mesh in platform io:
Maybe it takes a bit to update fully? I dunno... |
It might take a bit for PIO lib registry to use the new release. 🤷🏼 I'll look into this and the open PRs tonight. |
I think we need to add the following patch to v1.x branch and re-release: --- a/library.json
+++ b/library.json
@@ -17,7 +17,8 @@
{
"name": "nrf_to_nrf",
"authors": "TMRh20",
- "frameworks": "arduino"
+ "frameworks": "arduino",
+ "platforms":["nordicnrf52"]
}
],
"export": Currently, RF24Network v1.0.18 will note nrf_to_nrf as a dependency for platforms other than My local attempts (compiling for esp32 board as done in OP): |
Just published RF24Network v1.0.19 and it is working again for non-nordic boards. [env]
lib_deps =
nrf24/RF24Network @ 1.0.19
nrf24/RF24Mesh @ 1.1.9
[env:qtpy-esp32]
platform = espressif32
framework = arduino
board = adafruit_qtpy_esp32
Unfortunately, I'm too late to retract the RF24Network v1.0.18 release. According to the PIO docs:
I'm closing this now that it should be resolved with the new releases of nrf2nrf and RF24Network. |
Thanks for the fast solution to this issue. It works now! |
@TMRh20 I was also (finally) able to get the PIO CI working again. Apparently, all named deps of a lib are installed to global storage ( pio pkg install -g nrf24/RF24Network will install nrf_to_nrf if there is no platformio.ini file to declare the project's # note the order matters here
pio pkg install -g -f --skip-dependencies -l nrf24/RF24Mesh
pio pkg install -g -f --skip-dependencies -l nrf24/RF24Network
pio pkg install -g -f --skip-dependencies -l nrf24/RF24
|
Since the new release of the RF24 libraries Im unable to use them with platformio anymore.
Even if I try to use the older version that was working for projects before this update.
Here is the error that I get: platformio/platformio-home#5848
I know that until this point its a platformio issue thats why I opened it there instead of here, but even if I try to download every library manually and insert them into the lib folder Im getting a bunch of compiler errors.
This issue seems only to affect the RF24Network and RF24Mesh libraries. The RF24 library can be isntalled in platformio without problems.
This seems to only effect the nrf_to_nrf.cpp source file:
Details
The text was updated successfully, but these errors were encountered: