platformio.ini

Thu, 15 Oct 2020 01:12:31 +0200

author
David Douard <david.douard@sdfa3.org>
date
Thu, 15 Oct 2020 01:12:31 +0200
changeset 27
8f2be7aaec00
parent 21
9ffa9d727d80
child 28
424d792fea4f
permissions
-rw-r--r--

add QEI

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

# stay on mbed 5.15 for now
[env:f446re]
platform = ststm32
framework = mbed
platform_packages =
    framework-mbed @ ~6.51504.0
board = nucleo_f446re
#build_flags = -DHAVE_PC --verbose
#lib_compat_mode = 0
build_flags = -DHAVE_PC -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
#-DDEVICE_SPI_ASYNCH=1

[env:fp]
platform = ststm32
framework = mbed
platform_packages = framework-mbed
board = hp34970_fp
#build_flags = -DHAVE_PC --verbose
#-DDEVICE_SPI_ASYNCH=1
board_build.mbed.ldscript = $PROJECTSRC_DIR/TARGET_STM32F303xE/device/TOOLCHAIN_GCC_ARM/STM32F303XE.ld
build_flags =
	-DHAVE_PC
    -I$PROJECTSRC_DIR/TARGET_STM32F303xE
    -I$PROJECTSRC_DIR/TARGET_STM32F303xE/device
    -I$PROJECTSRC_DIR/TARGET_STM32F303xE/TARGET_NUCLEO_F303RE

mercurial