Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ogres, Onions, APIs, and Possibly Cakes

Ogres, Onions, APIs, and Possibly Cakes

Scheduled Pinned Locked Moved The Lounge
apachehardwarejson
9 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    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

    Greg UtasG Mike HankeyM S M J 5 Replies Last reply
    0
    • H honey the codewitch

      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

      Greg UtasG Offline
      Greg UtasG Offline
      Greg Utas
      wrote on last edited by
      #2

      πŸ‰πŸ²πŸ‰ 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.

      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

      H 1 Reply Last reply
      0
      • Greg UtasG Greg Utas

        πŸ‰πŸ²πŸ‰ 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.

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • H honey the codewitch

          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

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #4

          You can always bit bang the SPI.

          The less you need, the more you have. JaxCoder.com

          H 1 Reply Last reply
          0
          • Mike HankeyM Mike Hankey

            You can always bit bang the SPI.

            The less you need, the more you have. JaxCoder.com

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • H honey the codewitch

              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

              S Offline
              S Offline
              Slacker007
              wrote on last edited by
              #6

              Don't forget about the Orcs and the Uruk-hai. :)

              D 1 Reply Last reply
              0
              • S Slacker007

                Don't forget about the Orcs and the Uruk-hai. :)

                D Offline
                D Offline
                Daniel Pfeffer
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • H honey the codewitch

                  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

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #8

                  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

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    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

                    J Offline
                    J Offline
                    Jalapeno Bob
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups