Skip to content

Commit cdcac7d

Browse files
committed
Update board template to reference H7
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 58d5915 commit cdcac7d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

variants/board_template/ldscript.ld

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
* ldscript will be availabe in the root folder (STM32YYxxxxxx_FLASH.ld)
2323
* or
2424
* copied from a STM32CubeYY project examples
25-
* where 'YY' could be F0, F1, F2, F3, F4, F7, L0, L1, L4)
25+
* where 'YY' could be F0, F1, F2, F3, F4, F7, H7, L0, L1, L4)
2626
*/

variants/board_template/stm32yyxx_hal_conf.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* from ../../system/Drivers/STM32YYxx_HAL_Driver/Inc/stm32yyxx_hal_conf_template.h
44
* to
55
* stm32yyxx_hal_conf.h
6-
* where 'yy' could be f0, f1, f2, f3, f4, f7, l0, l1, l4)
6+
* where 'yy' could be f0, f1, f2, f3, f4, f7, h7, l0, l1, l4)
77
*
88
* Example for a STM32 F4 based board:
99
* cp ../../system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_conf_template.h stm32f4xx_hal_conf.h
@@ -16,4 +16,4 @@
1616
* - Update any other configurations
1717
*
1818
* Note: disabled HAL_UART_MODULE_ENABLED, it is handled thanks Arduino menu (enabled by default)
19-
*/
19+
*/

variants/board_template/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ WEAK void SystemClock_Config(void)
160160
// available in src/main.c
161161
// or
162162
// copied from a STM32CubeYY project examples
163-
// where 'YY' could be F0, F1, F2, F3, F4, F7, L0, L1, L4
163+
// where 'YY' could be F0, F1, F2, F3, F4, F7, H7, L0, L1, L4
164164
}
165165

166166
#ifdef __cplusplus

variants/board_template/variant.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extern const PinName digitalPin[];
6363
// !!! #define PB5 22
6464
// !!! #define PB3 23
6565
// !!! // 24 is PA4 (20)
66-
// !!! // 25 is PB4 (21)// #define PXn x
66+
// !!! // 25 is PB4 (21)
6767
// !!! #define PA2 26 // A15
6868
// !!! ...
6969
//#define PXn x

0 commit comments

Comments
 (0)