commit | 708d38cc4d2f35c355b85e6026e847e2762912fd | [log] [tgz] |
---|---|---|
author | Varun Sharma <vars@google.com> | Thu Apr 29 09:03:12 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 24 16:46:54 2021 +0000 |
tree | ad514095718b2ff4ca7999b844f5418bbbdd025a | |
parent | 66991455cfa0e1340903459fdf36ccde190342f9 [diff] |
stm32cube: Add generic build script This adds a generic stm32cube build script. The pw_package creates a text file listing all of the relavent files in the repos. The python script then reads the text file and lists the needed source files and headers. The python script also inserts a `pw_stm32cube_Init()` into the startup scripts and converts .icf -> .ld linker scripts. Although the API's are not guaranteed to be compatible across families, many of the common API's (like GPIO) are identical. This CL adds a common header, so that integrations targeting multiple families can be built. I have tested this integration on F2, F4, and L5 boards. Change-Id: Ibc79cf7d5cf76b220bb193849863abc16f413967 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42924 Commit-Queue: Varun Sharma <vars@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Reviewed-by: Ali Zhang <alizhang@google.com>
See our website: http://pigweed.dev