platformio.ini

Mon, 11 Mar 2024 15:35:36 +0100

author
David Douard <david.douard@sdf3.org>
date
Mon, 11 Mar 2024 15:35:36 +0100
changeset 71
d193c24a078a
parent 66
48f29a1d43d6
permissions
-rw-r--r--

Add links to sr.ht repos and add an image in the README file

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