Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Yocto 3.0 MRAA — Edison GPIO Pins Names Consistency

RVilo
New Contributor I
1,324 Views

Each environment comes with its number.

Let's take the example for pin D7.

  • Arduino IDE on breakout board = 7
  • Arduino IDE on breakout board = 7
  • Yocto 3.0 MRAA on breakout board = 33
  • Yocto 3.0 MRAA on Arduino board = 7
  • MCU SDK on breakout board = gpio7 = 48
  • MCU SDK on Arduino board = gpio7 = 48

Why the pin number differs for Yocto 3.0 MRAA on breakout board and Arduino board?

I don't remember similar discrepancy for previous Yocto 2.0 MRAA.

1 Solution
idata
Community Manager
159 Views

Hello rei_vilo,

 

 

As you can see in https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md, it is explain the mraa pin distribution. In the case of the Arduino breakout board, mraa uses the Arduino pin distribution. But for the mini breakout board mraa uses its own pin distribution according to the Module's pins. This has not changed from versions 2.1 to 3.0, even though the document itself has been updated a lot, the table hasn't changed. I suggest you to take a look at the link above.

 

 

Peter.

View solution in original post

2 Replies
idata
Community Manager
160 Views

Hello rei_vilo,

 

 

As you can see in https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md, it is explain the mraa pin distribution. In the case of the Arduino breakout board, mraa uses the Arduino pin distribution. But for the mini breakout board mraa uses its own pin distribution according to the Module's pins. This has not changed from versions 2.1 to 3.0, even though the document itself has been updated a lot, the table hasn't changed. I suggest you to take a look at the link above.

 

 

Peter.
RVilo
New Contributor I
159 Views

Thank you for the useful link.

Reply