platformio.ini

Mon, 04 Oct 2021 21:14:39 +0200

author
David Douard <david.douard@sdfa3.org>
date
Mon, 04 Oct 2021 21:14:39 +0200
changeset 65
d9c5eaf85fab
parent 64
897330ee6e9d
child 66
48f29a1d43d6
permissions
-rw-r--r--

Fix SHIFT and code cleanup

#
# 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 @ 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