)]}'
{
  "commit": "708d38cc4d2f35c355b85e6026e847e2762912fd",
  "tree": "ad514095718b2ff4ca7999b844f5418bbbdd025a",
  "parents": [
    "66991455cfa0e1340903459fdf36ccde190342f9"
  ],
  "author": {
    "name": "Varun Sharma",
    "email": "vars@google.com",
    "time": "Thu Apr 29 09:03:12 2021 -0700"
  },
  "committer": {
    "name": "CQ Bot Account",
    "email": "pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon May 24 16:46:54 2021 +0000"
  },
  "message": "stm32cube: Add generic build script\n\nThis adds a generic stm32cube build script. The pw_package creates a\ntext file listing all of the relavent files in the repos. The python\nscript then reads the text file and lists the needed source files and\nheaders.\n\nThe python script also inserts a `pw_stm32cube_Init()` into the startup\nscripts and converts .icf -\u003e .ld linker scripts.\n\nAlthough the API\u0027s are not guaranteed to be compatible across families,\nmany of the common API\u0027s (like GPIO) are identical. This CL adds a\ncommon header, so that integrations targeting multiple families can be\nbuilt.\n\nI have tested this integration on F2, F4, and L5 boards.\n\nChange-Id: Ibc79cf7d5cf76b220bb193849863abc16f413967\nReviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42924\nCommit-Queue: Varun Sharma \u003cvars@google.com\u003e\nReviewed-by: Armando Montanez \u003camontanez@google.com\u003e\nReviewed-by: Ali Zhang \u003calizhang@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1126bd4003bb8fc80925504aec7e8550b81cb515",
      "old_mode": 33188,
      "old_path": "docs/BUILD.gn",
      "new_id": "428ba258408e2e556f0c26552761ead0e0718a7a",
      "new_mode": 33188,
      "new_path": "docs/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "d0c90433244bb6b857c83e3c0c9b396d123a988e",
      "old_mode": 33188,
      "old_path": "modules.gni",
      "new_id": "b8ac64f9d2c44517b543995038376280da43205b",
      "new_mode": 33188,
      "new_path": "modules.gni"
    },
    {
      "type": "modify",
      "old_id": "b097e688fc04336f2f2acd560c2462a74741933d",
      "old_mode": 33188,
      "old_path": "pw_env_setup/BUILD.gn",
      "new_id": "48be4ebb8bc9eae929a6407195cdfe826dc7f054",
      "new_mode": 33188,
      "new_path": "pw_env_setup/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "d1bdd918126be3047ed82f7ab8885728a734fc76",
      "old_mode": 33188,
      "old_path": "pw_package/py/BUILD.gn",
      "new_id": "24bf4389fe3f5ae215bccff34ce4f2e8097ce01d",
      "new_mode": 33188,
      "new_path": "pw_package/py/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "2d53175aea0a86f9163d9adeed0026b9624aa3b3",
      "old_mode": 33188,
      "old_path": "pw_package/py/pw_package/packages/stm32cube.py",
      "new_id": "e07b6395c6181a0787e94ab60275f39953e8aa4b",
      "new_mode": 33188,
      "new_path": "pw_package/py/pw_package/packages/stm32cube.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9a6699a8e88880ed4be0251881656ec63b3f1750",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "632149536c3f3894f60f4f11fb44c9945203fc5e",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/docs.rst"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "efcc86983657b47c0b47793a5c6632e119f19dfe",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bdc367b3b7945bd224889d4a89168f1393415402",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/__init__.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fff71baa5e8b5ab702a71afb092a5bdf0b304f05",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/__main__.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b6aa01681d3cf81c8d522c4aaf089f01e6e4311d",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/find_files.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "89d40d47befa9f51458dfb58663c4f44a021e626",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/gen_file_list.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fafede0d4fb6a0bc0eab98abc9311c15586c7a6d",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/icf_to_ld.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8a68cb6590e5a8e6d23d622c7b5755e53f78e93d",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/inject_init.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/pw_stm32cube_build/py.typed"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4a4f3b3318d0244b9e89d087778c77c813a96b56",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/setup.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "882c3bfeafa8bf8c06e42281a033eddf7accc73e",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/tests/find_files_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d76d9163d6ed4c145231f75fd7ba75664a50e36",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/tests/icf_to_ld_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b08cf359ef2e2b838048512e321783499cefa01c",
      "new_mode": 33188,
      "new_path": "pw_stm32cube_build/py/tests/inject_init_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "044135733748099632fe963655ddaa106ef3bda3",
      "new_mode": 33188,
      "new_path": "third_party/stm32cube/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b97bd8721bcf5a2110abfcd2077234c7251e9a78",
      "new_mode": 33188,
      "new_path": "third_party/stm32cube/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2e79f617f7ad09607774169490908e24d471ef6b",
      "new_mode": 33188,
      "new_path": "third_party/stm32cube/public/stm32cube/init.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2cd24f1a88db15256ae2b97864c065e7d7a183ee",
      "new_mode": 33188,
      "new_path": "third_party/stm32cube/public/stm32cube/stm32cube.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f1848df71e38f1f71c935eab9142780b0ce2c833",
      "new_mode": 33188,
      "new_path": "third_party/stm32cube/stm32cube.gni"
    }
  ]
}
