File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 36
36
};
37
37
38
38
arduino_serial: &usart1 {};
39
+ arduino_spi: &spi1 {};
Original file line number Diff line number Diff line change @@ -169,6 +169,8 @@ The Zephyr nucleo_h533re board configuration supports the following hardware fea
169
169
+-----------+------------+-------------------------------------+
170
170
| USB | on-chip | USB full-speed host/device bus |
171
171
+-----------+------------+-------------------------------------+
172
+ | SPI | on-chip | spi |
173
+ +-----------+------------+-------------------------------------+
172
174
173
175
Other hardware features are not yet supported on this Zephyr port.
174
176
@@ -206,7 +208,7 @@ Default Zephyr Peripheral Mapping:
206
208
207
209
- ADC1 channel 0 input: PA0
208
210
- USART1 TX/RX : PB14/PB15 (Arduino USART1)
209
- - SPI1 SCK/MISO/MOSI/NSS: PA5/PA6/PA7/PA4
211
+ - SPI1 SCK/MISO/MOSI/NSS: PA5/PA6/PA7/PC9
210
212
- UART2 TX/RX : PA2/PA3 (VCP)
211
213
- USER_PB : PC13
212
214
Original file line number Diff line number Diff line change 105
105
status = "okay";
106
106
};
107
107
108
+ &spi1 {
109
+ pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
110
+ pinctrl-names = "default";
111
+ cs-gpios = <&gpioc 9 GPIO_ACTIVE_LOW>;
112
+ status = "okay";
113
+ };
114
+
108
115
&iwdg {
109
116
status = "okay";
110
117
};
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ flash: 512
12
12
supported :
13
13
- arduino_gpio
14
14
- arduino_serial
15
+ - arduino_spi
15
16
- gpio
17
+ - spi
16
18
- watchdog
17
19
- pwm
18
20
- rtc
You can’t perform that action at this time.
0 commit comments