Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2a7870b
Rename F446 pins from enum to #define
ghent360 Aug 26, 2018
b84449e
Change the pins on the BLUEPILL.
ghent360 Aug 26, 2018
c484208
Change the enum in the board template.
ghent360 Aug 26, 2018
a8ab717
Replace enum for discovery F030
ghent360 Aug 26, 2018
131f07c
Replace enum in Disco F100
ghent360 Aug 26, 2018
3b26f3e
Replace enum in discovery F407.
ghent360 Aug 26, 2018
eb87083
Replace enum in discovery F746.
ghent360 Aug 26, 2018
3add0ca
Replace enum in discovery L072.
ghent360 Aug 26, 2018
4c1a9c8
Remove enum in discovery L475
ghent360 Aug 26, 2018
d251ad6
Replace enum in maple mini.
ghent360 Aug 26, 2018
ad78dfb
Remove enum for nucleo 030
ghent360 Aug 26, 2018
b4e074c
Remove enum for nucleo 091.
ghent360 Aug 26, 2018
a29ad66
Remove enum for nucleo 103
ghent360 Aug 26, 2018
7d34ba9
Remove enum for nucleo 207
ghent360 Aug 26, 2018
0d56a7f
Remove enumv for nucleo 302.
ghent360 Aug 26, 2018
4c3651b
Remove enum for nucleo 303K8.
ghent360 Aug 26, 2018
1b8e338
Remove enum for nucleo 303RE.
ghent360 Aug 26, 2018
e01662b
Remove enum vor nucleo 401RE.
ghent360 Aug 26, 2018
81ee050
Remove enum from nucleo 411.
ghent360 Aug 26, 2018
2c4a8d8
Remove enum from nucleo 429.
ghent360 Aug 26, 2018
a078d95
Remove enum from nucleo L4R5
ghent360 Aug 26, 2018
688aae5
Remove enum from nucleo L031
ghent360 Aug 26, 2018
ec54e78
Remove enum from nucleo L053
ghent360 Aug 26, 2018
1d6cdac
Remove enum from nucleo L152
ghent360 Aug 26, 2018
d26e83f
Remove enum from nucleo L432
ghent360 Aug 26, 2018
e4131d1
Remove enum from nucleo 476.
ghent360 Aug 26, 2018
4922da8
Remove enum from nucleo L496
ghent360 Aug 26, 2018
dd7f89e
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 6, 2018
1d237b1
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 11, 2018
3063ffc
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 17, 2018
3c4b385
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 20, 2018
b671920
Convert the BLACK_407VE pins.
ghent360 Sep 20, 2018
ff0bceb
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 21, 2018
9f4a5ec
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 22, 2018
4e54cdd
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 25, 2018
0ee8100
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 26, 2018
91f1b52
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 28, 2018
4653f4c
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Sep 29, 2018
068fb2e
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Oct 3, 2018
3d1930b
Update BLUE 407 mini.
ghent360 Oct 3, 2018
56d9247
Update the enum on NUCLEO_L073RZ
ghent360 Oct 3, 2018
cfd7701
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Oct 4, 2018
5b9bcdc
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Oct 10, 2018
8f66f7c
Merge branch 'master' of https://github.com/stm32duino/Arduino_Core_S…
ghent360 Oct 11, 2018
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove enum from nucleo L4R5
  • Loading branch information
ghent360 committed Aug 26, 2018
commit a078d951462ae93f26c48e702f19bd4e2e998cd3
1 change: 1 addition & 0 deletions variants/NUCLEO_F446RE/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ extern "C"{
* Pins
*----------------------------------------------------------------------------*/
extern const PinName digitalPin[];

#define PA3 0
#define PA2 1
#define PA10 2
Expand Down
262 changes: 132 additions & 130 deletions variants/NUCLEO_L4R5ZI/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,146 +47,148 @@ extern const PinName digitalPin[];

// Match Table 11. NUCLEO-L4R5ZI, NUCLEO-L4R5ZI-P pin assignments
// from UM2179 STM32 Nucleo-144 board
enum {
PD9, //D0
PD8, //D1
PF15, //D2
PE13, //D3
PF14, //D4
PE11, //D5
PE9, //D6
PF13, //D7
PF12, //D8
PD15, //D9
PD14, //D10
PA7, //D11
PA6, //D12
PA5, //D13
PB9, //D14
PB8, //D15
PC6, //D16
PB15, //D17
PB13, //D18
PB12, //D19
PA4, //D20
PB4, //D21
PB5, //D22
PB3, //D23
PA4_2,//D24
PB4_2,//D25
PA2, //D26
PB10, //D27
PE15, //D28
PB0, //D29
PE12, //D30
PE14, //D31
PA0, //D32
PB0_2,//D33
PE0, //D34
#define PD9 0
#define PD8 1
#define PF15 2
#define PE13 3
#define PF14 4
#define PE11 5
#define PE9 6
#define PF13 7
#define PF12 8
#define PD15 9
#define PD14 10
#define PA7 11
#define PA6 12
#define PA5 13
#define PB9 14
#define PB8 15
#define PC6 16
#define PB15 17
#define PB13 18
#define PB12 19
#define PA4 20
#define PB4 21
#define PB5 22
#define PB3 23
#define PA4_2 24
#define PB4_2 25
#define PA2 26
#define PB10 27
#define PE15 28
#define PB0 29
#define PE12 30
#define PE14 31
#define PA0 32
#define PB0_2 33
#define PE0 34
#ifdef ARDUINO_NUCLEO_L4R5ZI
PB11, //D35
#define PB11 35
#else
NC_1, //D35
#define NC_1 35
#endif
PB10_2,//D36
PE15_2,//D37
PE14_2,//D38
PE12_2,//D39
PE10, //D40
PE7, //D41
PE8, //D42
PC8, //D43
PC9, //D44
PC10, //D45
PC11, //D46
PC12, //D47
PD2, //D48
PF3, //D49
PF5, //D50
PD7, //D51
PD6, //D52
PD5, //D53
PD4, //D54
PD3, //D55
PE2, //D56
PE4, //D57
PE5, //D58
PE6, //D59
PE3, //D60
PF8, //D61
PF7, //D62
PF9, //D63
PG1, //D64
PG0, //D65
PD1, //D66
PD0, //D67
PF0, //D68
PF1, //D69
PF2, //D70
PB6, //D71
PB2, //D72
#define PB10_2 36
#define PE15_2 37
#define PE14_2 38
#define PE12_2 39
#define PE10 40
#define PE7 41
#define PE8 42
#define PC8 43
#define PC9 44
#define PC10 45
#define PC11 46
#define PC12 47
#define PD2 48
#define PF3 49
#define PF5 50
#define PD7 51
#define PD6 52
#define PD5 53
#define PD4 54
#define PD3 55
#define PE2 56
#define PE4 57
#define PE5 58
#define PE6 59
#define PE3 60
#define PF8 61
#define PF7 62
#define PF9 63
#define PG1 64
#define PG0 65
#define PD1 66
#define PD0 67
#define PF0 68
#define PF1 69
#define PF2 70
#define PB6 71
#define PB2 72
// ST Morpho
PA8, //D73
PA9, //D74
PA10, //D75
PA11, //D76
PA12, //D77
PA15, //D78
PB7, //D79 - LEDBLUE
PB14, //D80 - LEDRED
PC7, //D81 - LEDGREEN
PC13, //D82 - USERBTN
PC14, //D83
PC15, //D84
PD10, //D85
PD11, //D86
PD12, //D87
PD13, //D88
PE1, //D89
PF10, //D90
PF11, //D91
PG2, //D92
PG3, //D93
PG4, //D94
PG5, //D95
PG6, //D96
PG7, //D97 - Serial Tx
PG8, //D98 - Serial Rx
PG9, //D99
PG10, //D100
PG11, //D101
PG12, //D102
PG13, //D103
PG14, //D104
PH0, //D105
PH1, //D106
#define PA8 73
#define PA9 74
#define PA10 75
#define PA11 76
#define PA12 77
#define PA15 78
#define PB7 79
#define PB14 80
#define PC7 81
#define PC13 82
#define PC14 83
#define PC15 84
#define PD10 85
#define PD11 86
#define PD12 87
#define PD13 88
#define PE1 89
#define PF10 90
#define PF11 91
#define PG2 92
#define PG3 93
#define PG4 94
#define PG5 95
#define PG6 96
#define PG7 97
#define PG8 98
#define PG9 99
#define PG10 100
#define PG11 101
#define PG12 102
#define PG13 103
#define PG14 104
#define PH0 105
#define PH1 106
// Analog pins
PA3, //D107/A0
PC0, //D108/A1
PC3, //D109/A2
PC1, //D110/A3
PC4, //D111/A4
PC5, //D112/A5
PB1, //D113/A6
PC2, //D114/A7
PA1, //D115/A8
#define PA3 107
#define PC0 108
#define PC3 109
#define PC1 110
#define PC4 111
#define PC5 112
#define PB1 113
#define PC2 114
#define PA1 115
// Duplicated pins in order to be aligned with PinMapADC
PA7_3, //D116/A9 = D11
PA6_2, //D117/A10 = D12
PA5_2, //D118/A11 = D13
PA4_3, //D119/A12 = D20
PA2_2, //D120/A13 = D26
PB0_3, //D121/A14 = D29
PA0_2, //D122/A15 = D32
#define PA7_3 116
#define PA6_2 117
#define PA5_2 118
#define PA4_3 119
#define PA2_2 120
#define PB0_3 121
#define PA0_2 122
#ifdef ARDUINO_NUCLEO_L4R5ZI
PG15, //D123
#define PG15 123
#endif
// PA13 and PA14 are shared with SWD signals connected to ST-LINK/V2-1.
// If ST-LINK part is not cut, it is not recommended to use them as I/O pins.
//PA13, //D124
//PA14, //D125
PEND
};
//#define PA13 124
//#define PA14 125
#ifdef ARDUINO_NUCLEO_L4R5ZI
#define PEND 124
#else
#define PEND 123
#endif

// This must be a literal with the same value as PEND
#ifdef ARDUINO_NUCLEO_L4R5ZI
Expand Down