[PATCH v3 2/5] bsps/arm: Integrate and build STM32F4 HAL

Duc Doan dtbpkmte at gmail.com
Fri Jul 8 10:54:03 UTC 2022


This patch is too large so I cannot send via email. Please find it here:
https://github.com/dtbpkmte/GSoC-2022-RTEMS/tree/2baea7f3ffb178d581b3c6b6b7c1b63f8ac55852

---
 .gitignore                                    |     1 +
 bsps/arm/include/cmsis_compiler.h             |   266 +
 bsps/arm/include/cmsis_gcc.h                  |  1152 +-
 bsps/arm/include/cmsis_version.h              |    39 +
 bsps/arm/include/core_cm4.h                   |  4066 +--
 bsps/arm/include/core_cm7.h                   |   582 +-
 bsps/arm/include/legacy/cmsis_gcc.h           |  1375 ++
 bsps/arm/include/legacy/core_cm7.h            |  2515 ++
 bsps/arm/include/mpu_armv7.h                  |   270 +
 bsps/arm/stm32f4/hal/system_stm32f4xx.c       |   747 +
 bsps/arm/stm32f4/include/bsp.h                |     4 +
 bsps/arm/stm32f4/include/bsp/io.h             |     4 +
 .../stm32f4/include/stm32_assert_template.h   |    56 -
 bsps/arm/stm32f4/include/stm32f401xc.h        |  8641 +++++++
 bsps/arm/stm32f4/include/stm32f401xe.h        |  8641 +++++++
 bsps/arm/stm32f4/include/stm32f405xx.h        | 14310 +++++++++++
 bsps/arm/stm32f4/include/stm32f407xx.h        | 15607 ++++++++++++
 bsps/arm/stm32f4/include/stm32f410cx.h        |  7357 ++++++
 bsps/arm/stm32f4/include/stm32f410rx.h        |  7361 ++++++
 bsps/arm/stm32f4/include/stm32f410tx.h        |  7306 ++++++
 bsps/arm/stm32f4/include/stm32f411xe.h        |  8680 +++++++
 bsps/arm/stm32f4/include/stm32f412cx.h        | 13507 ++++++++++
 bsps/arm/stm32f4/include/stm32f412rx.h        | 14500 +++++++++++
 bsps/arm/stm32f4/include/stm32f412vx.h        | 14512 +++++++++++
 bsps/arm/stm32f4/include/stm32f412zx.h        | 14537 +++++++++++
 bsps/arm/stm32f4/include/stm32f413xx.h        | 15462 ++++++++++++
 bsps/arm/stm32f4/include/stm32f415xx.h        | 14595 +++++++++++
 bsps/arm/stm32f4/include/stm32f417xx.h        | 15887 ++++++++++++
 bsps/arm/stm32f4/include/stm32f423xx.h        | 15615 ++++++++++++
 bsps/arm/stm32f4/include/stm32f427xx.h        | 16827 +++++++++++++
 bsps/arm/stm32f4/include/stm32f429xx.h        | 17185 +++++++++++++
 bsps/arm/stm32f4/include/stm32f437xx.h        | 17129 +++++++++++++
 bsps/arm/stm32f4/include/stm32f439xx.h        | 17479 +++++++++++++
 bsps/arm/stm32f4/include/stm32f446xx.h        | 15981 ++++++++++++
 bsps/arm/stm32f4/include/stm32f469xx.h        | 20278 +++++++++++++++
 bsps/arm/stm32f4/include/stm32f479xx.h        | 20575 ++++++++++++++++
 bsps/arm/stm32f4/include/stm32f4xx.h          |   305 +
 ...l_conf_template.h => stm32f4xx_hal_conf.h} |     6 +
 bsps/arm/stm32f4/include/system_stm32f4xx.h   |   104 +
 bsps/arm/stm32f4/start/bspstart.c             |   202 +-
 bsps/arm/stm32f4/start/bspstart_old.c         |   297 +
 spec/build/bsps/arm/grp.yml                   |     5 +-
 spec/build/bsps/arm/stm32f4/grp.yml           |    12 +-
 spec/build/bsps/arm/stm32f4/obj.yml           |   220 +
 spec/build/bsps/arm/stm32f4/optenhal.yml      |    16 +
 spec/build/bsps/arm/stm32f4/opthse.yml        |    17 +
 spec/build/bsps/arm/stm32f4/optusehse.yml     |    16 +
 spec/build/bsps/arm/stm32f4/optvariant.yml    |    24 +
 spec/build/bsps/obj.yml                       |     1 +
 49 files changed, 331831 insertions(+), 2443 deletions(-)
 create mode 100644 bsps/arm/include/cmsis_compiler.h
 create mode 100644 bsps/arm/include/cmsis_version.h
 create mode 100644 bsps/arm/include/legacy/cmsis_gcc.h
 create mode 100644 bsps/arm/include/legacy/core_cm7.h
 create mode 100644 bsps/arm/include/mpu_armv7.h
 create mode 100644 bsps/arm/stm32f4/hal/system_stm32f4xx.c
 delete mode 100644 bsps/arm/stm32f4/include/stm32_assert_template.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f401xc.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f401xe.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f405xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f407xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f410cx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f410rx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f410tx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f411xe.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f412cx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f412rx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f412vx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f412zx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f413xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f415xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f417xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f423xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f427xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f429xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f437xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f439xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f446xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f469xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f479xx.h
 create mode 100644 bsps/arm/stm32f4/include/stm32f4xx.h
 rename bsps/arm/stm32f4/include/{stm32f4xx_hal_conf_template.h => stm32f4xx_hal_conf.h} (96%)
 create mode 100644 bsps/arm/stm32f4/include/system_stm32f4xx.h
 create mode 100644 bsps/arm/stm32f4/start/bspstart_old.c
 create mode 100644 spec/build/bsps/arm/stm32f4/optenhal.yml
 create mode 100644 spec/build/bsps/arm/stm32f4/opthse.yml
 create mode 100644 spec/build/bsps/arm/stm32f4/optusehse.yml
 create mode 100644 spec/build/bsps/arm/stm32f4/optvariant.yml


More information about the devel mailing list