Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RVilo
New Contributor I
1,251 Views

Yocto 3.0 MRAA — Edison GPIO Pins Names Consistency

Jump to solution

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
86 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
87 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

RVilo
New Contributor I
86 Views

Thank you for the useful link.

Reply