platformio.ini

Sun, 01 Nov 2020 22:16:33 +0100

author
David Douard <david.douard@sdf3.org>
date
Sun, 01 Nov 2020 22:16:33 +0100
changeset 43
c850674a3101
parent 41
5bed3318e563
child 64
897330ee6e9d
permissions
-rw-r--r--

Add a series of reference serial data sessions from a working 34970A unit.

These sessions do have a few glitches, however (random off by one bit,
probably due to a sampling freq a bit too low).

Comes with an adapted version of the uart_filter.py script to interpret the
communication protocol.

#
# 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
#build_flags = -DHAVE_PC --verbose
#lib_compat_mode = 0
#build_flags = -DHAVE_PC -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
#-DDEVICE_SPI_ASYNCH=

[env:f303re]
platform = ststm32
framework = mbed
board = nucleo_f303re

[env:fp_dfu]
platform = ststm32
framework = mbed
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
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 = stlink

mercurial