I am getting some errors registering this library
Attaching the command line error
~/Arduino/Projects/RF24_test platformio lib register https://github.com/mcprakash/Eigen313/blob/master/library.json
Could not retrieve a library data by this URL → https://github.com/mcprakash/Eigen313/blob/master/library.json
Could you let me know if I am doing something wrong (either on Github or on registering) ?
I uploaded the json to google drive and it works now.
Please accept the library request as moderator, so that I can start using the same with Arduino Due.
You can test run it by doing the following:
Uncomment Line 122 in
using::printf to //using::printf
It should work fine.
Also, let me know how to create a doc page for the same in platformio libs.
See docs Redirecting...
Next time click on
Raw button on GitHub. See valid JSON URL https://raw.githubusercontent.com/mcprakash/Eigen313/master/library.json
P.S: I see that you have 2 manifests: Arduino and PlatformIO. If you don’t need extra options to control build system, you can register Arduino
library.properties manifest and support only it.
What is better for you?
Got it. Thanks for the info on using raw.
P.S: I see that you have 2 manifests: Arduino and PlatformIO. If you don’t need extra options to control build system, you can register Arduino library.properties manifest and support only it.
What is the difference ? Platformio (library.json) vs Arduino (library.properties). In this particular case, the library is good only for Arduino Due, so likely library.properties is the way to go ?
Yes, you can keep only
library.properties. The difference is significant between 2 manifests. In your case,
library.properties is good for you.
I have removed the library.json and it is good to be merged.
Also, I wanted to know if it is possible to add support to this STM32 board. I have seen other boards of the same family but this one (with higher flash 256KB) is missing.
Please post feature request here GitHub - platformio/platform-ststm32: ST STM32: development platform for PlatformIO
I changed the format of the Eigen313 library.
If I add all the files to the src directory, the linker is able to find all the files.
With the previous structure,
---->----> Core ---->
---->----> SVD ---->
The linker is only able to see the src/* files and is not able to see the lib/* files
Hence, I created a nested src structure
---->---->----> Core ---->
---->---->----> SVD ---->
Let me know if this will work. Also, please update the Eigen313 library.
Finally, the Eigen313 library also works with mbed platform. I haven’t tested with other ARM devices (it should ideally work). So, I will be adding the library.json file as well. Hope it helps.
Also, just a quick update
I changed the github repository name from Eigen313 to Eigen as version number looked a little awkward.
It would be great to incorporate that change as well.
If it is not possible to change, you can delete the former and create a new library with the following json
Here is the updated link - https://raw.githubusercontent.com/mcprakash/Eigen/master/library.json
Short question: do you use PlatformIO?
I used to use Visual Studio, but I recently started using PlatformIO just a week ago. Sorry if I am troubling you.
Could you complete the changes to Eigen library (rename from Eigen313 to Eigen) and/or put the latest version 3.13.1 for the same ?
Link to github repo - https://github.com/mcprakash/Eigen
Link to JSON - https://raw.githubusercontent.com/mcprakash/Eigen/master/library.json
Or rather if you prefer, I can request a new library using register command and the obsolete library Eigen313 can be deleted. Let me know the same.