Pin to native mapping for the Teensy LC

I’m hacking on porting NuttX to the Teensy LC instead of using PJRC’s excellent Arduino support. For reference, here’s the Arduino pin mapping to the native pin:

0 PTB16
1 PTB17
2 PTD0
3 PTA1
4 PTA2
5 PTD7
6 PTD4
7 PTD2
8 PTD3
9 PTC3
10 PTC4
11 PTC6
12 PTC7
13 PTC5
14 PTD1
15 PTC0
16 PTB0
17 PTB1
18 PTB3
19 PTB2
20 PTD5
21 PTD6
22 PTC1
23 PTC2
24 PTE20
25 PTE21
26 PTE30

This was made by running core_pins.h through the C preprocessor.

Avatar
Michael Hope
Software Engineer