gsoc-2022-arduino-core
gsoc-2022-arduino-core copied to clipboard
beagleconnect_freedom: Add digital, analog, pwm pins
- Add pin layout described here: https://openbeagle.org/beagleconnect/zephyr/arduino-core/-/commit/1ce0b0bfca16ffc9eb781f263525347e0b42cef5
- Also remove LED_BUILTIN. Seems the dts entry is sufficient.
Cc: @jadonk
My main concern here is a person comin new to the platform should be able to quickly make sense of what pin mapping you've created
Thanks. Looks good to me. Do you have a test procedure?
Thanks. Looks good to me. Do you have a test procedure?
Can you provide some clarification regarding how the pin numbering was chosen. Analog numbering seems simple but not sure about digital pin order.
Thanks. Looks good to me. Do you have a test procedure?
Can you provide some clarification regarding how the pin numbering was chosen. Analog numbering seems simple but not sure about digital pin order.
Sure.
I looked around for some examples of Arduino Click Shields such that Arduino examples that used mikroBUS boards might "just work", but I found that there wasn't much consistency between the Shields. I chose what I thought was both reasonably popular, affordable and included a reasonably good set of pins and documentation.
I went with MikroE Arduino MKR Click Shield
I tried to match up the equivalent Arduino pin with the pins on the 2 mikroBUS ports on BeagleConnect Freedom. My thinking was that if it worked on an Arduino MKR with the MikroE Arudino MKR Click Shield, then it should work with BeagleConnect Freedom. That should provide a great test resource.
Can you add this information to the documentation in a reasonable way?
@jadonk Thanks for the input. I do not think there is any board specific docs in this repo currently, but we can certainly add a section in our own docs regarding this.
@DhruvaG2000 I think this provides the context for the pin layout?