Ogres, Onions, APIs, and Possibly Cakes
-
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
-
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
ππ²π Does the recent case with Oracle and Google(?) exempt you from this licensing scheme? I thought it was decided that an API couldn't be copyrighted, just its implementation. Regardless, it is bizarre for an API to infect users with an undesirable license.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
ππ²π Does the recent case with Oracle and Google(?) exempt you from this licensing scheme? I thought it was decided that an API couldn't be copyrighted, just its implementation. Regardless, it is bizarre for an API to infect users with an undesirable license.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.It's only if I understand the license properly and because I'm essentially forced to create a derivative work in lieu of documentation. I'm not sure how that court case impacts this.
Real programmers use butterflies
-
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
You can always bit bang the SPI.
The less you need, the more you have. JaxCoder.com
-
You can always bit bang the SPI.
The less you need, the more you have. JaxCoder.com
I'm basically resorting to something like that, but for production I need to use the hardware SPI controller w/ DMA for performance reasons. I think I can get there with my current route, even though it's not ideal.
Real programmers use butterflies
-
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
Don't forget about the Orcs and the Uruk-hai. :)
-
Don't forget about the Orcs and the Uruk-hai. :)
One token-ring to rule them all? :)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
honey the codewitch wrote:
And now I get to go cave diving. Here there be dragons.
Trolls. Dragons are at the edge of the world. ;)
Latest Articles:
Client-Side Type-Based Publisher/Subscriber, Exploring Synchronous, "Event-ed", and Worker Thread Subscriptions -
I've been trying with no luck to read data off of a couple of different SPI devices. It turns out, the documented API for doing SPI with the ESP-IDF is not very capable. There is a lower level API that both the higher level API and the Arduino framework layer are built on top of. It is undocumented. Worse, it's Apache licensed, meaning just for me to figure out how it works, I get roped into their licensing scheme because I have to look at their code and make something based on it. It does me no good if you build layer upon layer of API and then hamstring the top layer and don't document the lower layers. And now I get to go cave diving. Here there be dragons. :~
Real programmers use butterflies
Fear not!! As a fan of The Hobbit, I know the ogres were turned to stone and Smaug is dead.
Actually, best of luck!
__________________ Lord, grant me the serenity to accept that there are some things I just canβt keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what Iβd like to, but just donβt have the damn bandwidth to handle right now. Β© 2009, Rex Hammock