Add serial test runner for stm32f429i-disc1

Adds a script that flashes and runs a test on the stm32f429i-disc1
development board. Requires openocd and pyserial.

Example output:
~/pigweed/pigweed$ stm32f429i_disc1_unit_test_runner out/stm32f429i-disc1/obj/pw_unit_test/framework_test.elf --openocd-config targets/stm32f429i-disc1/openocd_stm32f4xx.cfg --port /dev/ttyACM0
TEST - 2019-11-25 13:50:43 - INFO - Launching test binary out/stm32f429i-disc1/obj/pw_unit_test/framework_test.elf
TEST - 2019-11-25 13:50:43 - INFO - Flashing firmware to device...
TEST - 2019-11-25 13:50:44 - INFO - Successfully flashed firmware to device!
TEST - 2019-11-25 13:50:44 - INFO - Test passed!

Change-Id: I111387bd967700e3eab6764a14b1890caedeb68d
4 files changed
tree: 53ca36efc4353b9f2f4495ea304d37fe5ed01c5e
  1. docs/
  2. env_setup/
  3. pw_bloat/
  4. pw_build/
  5. pw_cli/
  6. pw_docgen/
  7. pw_dumb_io/
  8. pw_dumb_io_baremetal_stm32f429/
  9. pw_dumb_io_stdio/
  10. pw_preprocessor/
  11. pw_presubmit/
  12. pw_span/
  13. pw_status/
  14. pw_string/
  15. pw_toolchain/
  16. pw_unit_test/
  17. targets/
  18. .clang-format
  19. .gitignore
  20. .gn
  21. AUTHORS
  22. BUILD
  23. BUILD.gn
  24. BUILDCONFIG.gn
  25. CONTRIBUTING.md
  26. LICENSE
  27. modules.gni
  28. presubmit.py
  29. pw_vars_default.gni
  30. README.md
  31. WORKSPACE
README.md

Pigweed embedded oriented software libraries

Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.

Pigweed is in the early stages of development.