Skip to content

Commit 108cd13

Browse files
kapacuksalkinium
authored andcommitted
[board] Update for UART buffer API change
1 parent e62f4af commit 108cd13

File tree

71 files changed

+36
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+36
-98
lines changed

src/modm/board/disco_f429zi/board.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ namespace stlink
242242
/// @{
243243
using Tx = GpioOutputA9;
244244
using Rx = GpioInputA10;
245-
using Uart = Usart1;
245+
using Uart = BufferedUart<UsartHal1, UartTxBuffer<2048>>;
246246
/// @}
247247
}
248248

src/modm/board/disco_f469ni/board.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ namespace stlink
195195
/// @{
196196
using Tx = GpioOutputB10; // STLK_RX [STLINK V2-1_U2_RX]: USART3_TX
197197
using Rx = GpioInputB11; // STLK_TX [STLINK V2-1_U2_TX]: USART3_RX
198-
using Uart = Usart3;
198+
using Uart = BufferedUart<UsartHal3, UartTxBuffer<2048>>;
199199
/// @}
200200
}
201201

src/modm/board/disco_f469ni/board.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<options>
99
<option name="modm:target">stm32f469nih6</option>
10-
<option name="modm:platform:uart:3:buffer.tx">2Ki</option>
1110
<option name="modm:platform:heap:allocator">tlsf</option>
1211
<option name="modm:tlsf:minimum_pool_size">16Mi</option>
1312
</options>

src/modm/board/disco_f746ng/board.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ namespace stlink
183183
/// @{
184184
using Tx = GpioOutputA9;
185185
using Rx = GpioInputB7;
186-
using Uart = Usart1;
186+
using Uart = BufferedUart<UsartHal1, UartTxBuffer<2048>>;
187187
/// @}
188188
}
189189

src/modm/board/disco_f746ng/board.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
<options>
99
<option name="modm:target">stm32f746ngh6</option>
10-
11-
<option name="modm:platform:uart:1:buffer.tx">2Ki</option>
1210
</options>
1311
<modules>
1412
<module>modm:board:disco-f746ng</module>

src/modm/board/disco_f769ni/board.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ namespace stlink
119119
/// @{
120120
using Tx = GpioOutputA9;
121121
using Rx = GpioInputA10;
122-
using Uart = Usart1;
122+
using Uart = BufferedUart<UsartHal1, UartTxBuffer<2048>>;
123123
/// @}
124124
}
125125

src/modm/board/disco_f769ni/board.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
<options>
99
<option name="modm:target">stm32f769nih6</option>
10-
11-
<option name="modm:platform:uart:1:buffer.tx">2Ki</option>
1210
</options>
1311
<modules>
1412
<module>modm:board:disco-f769ni</module>

src/modm/board/disco_l152rc/board.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
<options>
99
<option name="modm:target">stm32l152rct6</option>
10-
11-
<option name="modm:platform:uart:2:buffer.tx">2Ki</option>
1210
</options>
1311
<modules>
1412
<module>modm:board:disco-l152rc</module>

src/modm/board/nucleo_f031k6/board.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace stlink
8888
/// @{
8989
using Rx = GpioInputA15;
9090
using Tx = GpioOutputA2;
91-
using Uart = Usart1;
91+
using Uart = BufferedUart<UsartHal1, UartTxBuffer<256>>;
9292
/// @}
9393
}
9494

src/modm/board/nucleo_f031k6/board.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
<options>
99
<option name="modm:target">stm32f031k6t6</option>
10-
11-
<option name="modm:platform:uart:1:buffer.tx">256</option>
1210
<option name="modm:platform:cortex-m:main_stack_size">1Ki</option>
1311
</options>
1412
<modules>

0 commit comments

Comments
 (0)