nuttx/boards/arm/stm32/nucleo-f334r8
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 Kconfig: Change some "default y" to "default !DEFAULT_SMALL" 2023-07-16 14:39:20 -03: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: convert some stm32 boards 2023-07-11 15:52:56 -03:00
Kconfig
README.txt

Nucleo-64 Boards
================

The Nucleo-F334R8 is a member of the Nucleo-64 board family.  The Nucleo-64
is a standard board for use with several STM32 parts in the LQFP64 package.
Variants include

  Order code    Targeted STM32
  ------------- --------------
  NUCLEO-F030R8 STM32F030R8T6
  NUCLEO-F070RB STM32F070RBT6
  NUCLEO-F072RB STM32F072RBT6
  NUCLEO-F091RC STM32F091RCT6
  NUCLEO-F103RB STM32F103RBT6
  NUCLEO-F302R8 STM32F302R8T6
  NUCLEO-F303RE STM32F303RET6
  NUCLEO-F334R8 STM32F334R8T6
  NUCLEO-F401RE STM32F401RET6
  NUCLEO-F410RB STM32F410RBT6
  NUCLEO-F411RE STM32F411RET6
  NUCLEO-F446RE STM32F446RET6
  NUCLEO-L053R8 STM32L053R8T6
  NUCLEO-L073RZ STM32L073RZT6
  NUCLEO-L152RE STM32L152RET6
  NUCLEO-L452RE STM32L452RET6
  NUCLEO-L476RG STM32L476RGT6

Configurations
==============

  nsh:
  ----

    Configures the NuttShell (nsh) located at apps/examples/nsh.

  adc:
  ----

    Configures the ADC example located at apps/examples/adc.

  highpri:
  --------

    Configures the high priority interrupts example (ADC + PWM)

  spwm1 and spwm2:
  ----------------

    Configures the sinusoidal PWM (SPWM) example which presents a simple use case
    of the STM32 PWM lower-half driver without generic upper-half PWM logic.

    There are two variants of this example, where functionality is achieved with
    different periperals:

      - spwm1 uses HRTIM to generate PWM and change waveform samples
      - spwm2 uses TIM1 to generate PWM and TIM6 to change waveform samples

    At the moment, the waveform parameters are hardcoded, but it should be easy to
    modify this example and make it more functional.