On 7/11/23 15:50, Kinsey Moore wrote:
This adds support for the STM32H750B-DK discovery kit. This kit includes
a built-in STLINKv3 debugger which provides a USB serial bridge for
USART3. USART1 is routed to the Arduino header and USART2 is routed to
the STMOD connector. This BSP reuses what would otherwise be duplicated
files from the stm32h747i-disco BSP. Note that system_stm32h7xx.c has
been imported from the STM repository with two minor changes wrapped
with #if __rtems__. This hardware has been tested with hello and ticker.
Nice! So with a just little bit of tweak I may get my stm32h745-disco
up&running as your 750 is on the same disco kit. Sweet! :-)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
index bd1053db38..56ec66a64f 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
@@ -14,6 +14,9 @@ default:
- arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
value: 0x00000000
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: 0x01000000
- enabled-by: true
value: 0x02000000
description: |
Have you actually tested writing to the SDRAM 1 memory region? Asking
since IIRC several of STMicro data sheets were wrong about specifying
RAM to be SDRAM 1 while in fact it was in SDRAM 2 region by default. And
your system*.c does not contain (if I've not overlooked it) any
remapping from SDRAM 2 to SDRAM 1 -- so just asking for to be sure, you
actually tested putting some data into it.
E.g. "An 8M x 32-bit SDRAM is connected to the SDRAM bank1 of the FMC
interface of the STM32H7x7XI microcontroller." -- this comes from um2525
for stm32h757i-eval and no, by default SDRAM is mapped to bank2.
Thanks,
Karel
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel