add vs code

This commit is contained in:
Noah Piqué
2022-01-20 13:12:28 +01:00
parent fd665a9d94
commit c6deb28e5d
80 changed files with 3911 additions and 2433 deletions

View File

@ -6,21 +6,24 @@
# - entry_2
# The project name
target: TEC
target: PeltierControllerV3
# Can be C or C++
language: C
optimization: Og
# MCU settings
targetMCU: STM32L432KBUx
cpu:
fpu:
floatAbi:
ldscript: STM32L432KBUX_FLASH.ld # linker script
targetMCU: stm32l4x
cpu: -mcpu=cortex-m4
fpu: -mfpu=fpv4-sp-d16
floatAbi: -mfloat-abi=hard
ldscript: STM32L432KBUx_FLASH.ld # linker script
# Compiler definitions. The -D prefix for the compiler will be automatically added.
cDefinitions: []
cDefinitions:
- USE_HAL_DRIVER
- STM32L432xx
cxxDefinitions: []
asDefinitions: []
@ -41,7 +44,11 @@ assemblyFlags:
# libraries to be included. The -l prefix to the library will be automatically added.
# Mind that non standard libraries should have a path to their respective directory.
libraries: []
libraries:
- c
- m
- nosys
libraryDirectories: []
# Files or folders that will be excluded from compilation.
@ -49,16 +56,17 @@ libraryDirectories: []
# Do mind that double stars are reserved in yaml
# these should be escaped with a: \ or the name should be in double quotes e.g. "**.test.**"
excludes:
- "**_Template.*"
- "**/Examples/**"
- "**/examples/**"
- "**/Example/**"
- "**/example/**"
- "**_template.*"
# Include directories (directories containing .h or .hpp files)
# If a CubeMX makefile is present it will automatically include the include directories from that makefile.
includeDirectories:
- Core/Inc/**
- Middlewares/**
- Drivers/STM32L4xx_HAL_Driver/Inc/**
- Drivers/CMSIS/**
- Core/**
# Files that should be included in the compilation.
@ -67,8 +75,7 @@ includeDirectories:
# Do mind that double stars are reserved in yaml
# these should be escaped with a: \ or the name should be in double quotes e.g. "HARDWARE_DRIVER*.c"
sourceFiles:
- Core/Src/**
- Drivers/STM32L4xx_HAL_Driver/Src/**
- Core/**
# When no makefile is present it will show a warning pop-up.