Skip to content
Closed
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 for nucleo 303RE.
  • Loading branch information
ghent360 committed Aug 26, 2018
commit 1b8e338f0806510940751f7d03a56ca674c64134
124 changes: 61 additions & 63 deletions variants/NUCLEO_F303RE/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,75 +33,73 @@ extern "C"{
*----------------------------------------------------------------------------*/
extern const PinName digitalPin[];

enum {
PA3, //D0
PA2, //D1
PA10, //D2
PB3, //D3
PB5, //D4
PB4, //D5
PB10, //D6
PA8, //D7
PA9, //D8
PC7, //D9
PB6, //D10
PA7, //D11
PA6, //D12
PA5, //D13
PB9, //D14
PB8, //D15
#define PA3 0
#define PA2 1
#define PA10 2
#define PB3 3
#define PB5 4
#define PB4 5
#define PB10 6
#define PA8 7
#define PA9 8
#define PC7 9
#define PB6 10
#define PA7 11
#define PA6 12
#define PA5 13
#define PB9 14
#define PB8 15
// ST Morpho
// CN7 Left Side
PC10, //D16
PC12, //D17
PF11, //D18 - BOOT0
PA13, //D19 - SWD
PA14, //D20 - SWD
PA15, //D21
PB7, //D22
PC13, //D23
PC14, //D24
PC15, //D25
PF0, //D26
PF1, //D27
PC2, //D28
PC3, //D29
#define PC10 16
#define PC12 17
#define PF11 18
#define PA13 19
#define PA14 20
#define PA15 21
#define PB7 22
#define PC13 23
#define PC14 24
#define PC15 25
#define PF0 26
#define PF1 27
#define PC2 28
#define PC3 29
// CN7 Right Side
PC11, //D30
PD2, //D31
#define PC11 30
#define PD2 31
// CN10 Left Side
PC9, //D32
#define PC9 32
// CN10 Right side
PC8, //D33
PC6, //D34
PC5, //D35
PA12, //D36
PA11, //D37
PB12, //D38
PB11, //D39
PB2, //D40
PB1, //D41
PB15, //D42
PB14, //D43
PB13, //D44
PC4, //D45
PA0, //D46/A0
PA1, //D47/A1
PA4, //D48/A2
PB0, //D49/A3
PC1, //D50/A4
PC0, //D51/A5
#define PC8 33
#define PC6 34
#define PC5 35
#define PA12 36
#define PA11 37
#define PB12 38
#define PB11 39
#define PB2 40
#define PB1 41
#define PB15 42
#define PB14 43
#define PB13 44
#define PC4 45
#define PA0 46
#define PA1 47
#define PA4 48
#define PB0 49
#define PC1 50
#define PC0 51
// Duplicated pins in order to be aligned with PinMap_ADC
PA7_2, //D52/A6 = D11
PA6_2, //D53/A7 = D12
PC2_2, //D54/A8 = D28
PC3_2, //D55/A9 = D29
PC5_2, //D56/A10 = D35
PB11_2,//D57/A11 = D39
PB2_2, //D58/A12 = D40
PC4_2, //D59/A13 = D45
PEND
};
#define PA7_2 52
#define PA6_2 53
#define PC2_2 54
#define PC3_2 55
#define PC5_2 56
#define PB11_2 57
#define PB2_2 58
#define PC4_2 59
#define PEND 60

// This must be a literal with the same value as PEND
#define NUM_DIGITAL_PINS 60
Expand Down