nuttx/boards/arm/stm32/olimex-stm32-h407
cuiziwei 25eb09c3bb nuttx/boards:add KEEP to *(.init_array .init_array.*)
replace *(.init_array .init_array.*) with KEEP(*(.init_array .init_array.*)).

The KEEP statement within a linker script will instruct the linker to keep the specified section, even if no symbols inside it are referenced. This statement is used within the SECTIONS section of the linker script. This becomes relevant when garbage collection is performed at link time, enabled by passing the --gc-sections switch to the linker. The KEEP statement instructs the linker to use the specified section as a root node when creating a dependency graph, looking for unused sections. Essentially forcing the section to be marked as used.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-05 05:02:25 -07:00
..
configs boards: Update all boards config after updating NSH_CMDPARMS 2023-01-23 03:04:51 +08:00
include Removes STM32_BOARD_HCLK from all board.h files. It is now unneccessary. Use STM32_HCLK_FREQUENCY instead. 2021-04-06 22:42:06 -05:00
scripts nuttx/boards:add KEEP to *(.init_array .init_array.*) 2023-08-05 05:02:25 -07:00
src cmake: port more stm32 boards and format already ported stm32 boards 2023-07-25 06:08:54 -07:00
CMakeLists.txt cmake: port more stm32 boards and format already ported stm32 boards 2023-07-25 06:08:54 -07:00
Kconfig
README.txt Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00

README
======

The Olimex STM32-H407 configuration is based on
stm32Fdiscovery and Olimex STM32-H405.

The H407 was programmed with ST-LINK/V2 from both Win8.1 and Ubuntu 14.04
This release provides baseline for H407 12MHZ clock in include/board.h

nsh - Only basic shell response tested on USART2
nsh_uext - Basic shell response tested on USART6 (UEXT)

Development Environment
=======================

Either Linux or Cygwin on Windows can be used for the development environment.
The source has been built only using the GNU toolchain (see below).  Other
toolchains will likely cause problems.

LEDs
====

The H407 board has 1 Status LED;

SDCard
======

Expects to be plugged in else hangs. TODO: Shouldn't hang.
SDIO 4bit with pulls/downs on pins. Doesn't have a SD card detect pin.

UARTs
=====

On the H407 board, ?? all uarts are available for pin mappings
USART2 can be used for nsh console like on Discovery board,
or you can use USART6 exposed via UEXT connector.

Olimex offers MOD-RS232 voltage level converter for the UEXT so it can be
attached to computer serial port.

STM32-H407-specific Configuration Options
===============================================