platformio.ini

Thu, 07 Oct 2021 21:05:59 +0200

author
David Douard <david.douard@sdfa3.org>
date
Thu, 07 Oct 2021 21:05:59 +0200
changeset 68
a0f97359f266
parent 66
48f29a1d43d6
permissions
-rw-r--r--

Revert to soft reset on RST irq

#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#

# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.

# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload

[env:fp_dfu]
platform = ststm32
framework = mbed
platform_packages =
#  framework-mbed @ file:///home/david/perso/embed/platformio/framework-mbed
  framework-mbed @ https://github.com/douardda/mbed-os.git#platformio
board = hp34970_fp_f303rd
board_build.mbed.ldscript =
    $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld
build_flags =
    -DHAVE_PC
    -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD
debug_tool = stlink
upload_protocol = dfu

[env:fp_stlink]
platform = ststm32
framework = mbed
#platform_packages =
#  framework-mbed @ https://github.com/douardda/mbed-os.git#platformio
board = hp34970_fp_f303rd
board_build.mbed.ldscript =
    $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld
build_flags =
    -DHAVE_PC -DSTUFF
    -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD
debug_tool = stlink
upload_protocol = stlink

mercurial