Projektdateien hinzufügen.
This commit is contained in:
1 parent
188821ea51
commit
181ba992fb
7 files changed
+555
No files matched your search
@@ -0,0 +1,235 @@
|
||||
// Visual Micro is in vMicro>General>Tutorial Mode
|
||||
//
|
||||
/*
|
||||
Name: Teensy4.1_Datalogger new.ino
|
||||
Created: 03.05.2022 12:04:32
|
||||
Author: GAMINGMASHEEN\Julian Graf
|
||||
*/
|
||||
|
||||
#include <SdFat.h>
|
||||
#include <TimeLib.h>
|
||||
#include <Bounce.h>
|
||||
|
||||
#define SD_FAT_TYPE 3
|
||||
|
||||
#ifndef SDCARD_SS_PIN
|
||||
const uint8_t SD_CS_PIN = SS;
|
||||
#else // SDCARD_SS_PIN
|
||||
// Assume built-in SD is used.
|
||||
const uint8_t SD_CS_PIN = SDCARD_SS_PIN;
|
||||
#endif // SDCARD_SS_PIN
|
||||
|
||||
#if HAS_SDIO_CLASS
|
||||
#define SD_CONFIG SdioConfig(FIFO_SDIO)
|
||||
#elif ENABLE_DEDICATED_SPI
|
||||
#define SD_CONFIG SdSpiConfig(SD_CS_PIN, DEDICATED_SPI)
|
||||
#else // HAS_SDIO_CLASS
|
||||
#define SD_CONFIG SdSpiConfig(SD_CS_PIN, SHARED_SPI)
|
||||
#endif // HAS_SDIO_CLASS
|
||||
|
||||
#if SD_FAT_TYPE == 0
|
||||
SdFat sd;
|
||||
File file;
|
||||
#elif SD_FAT_TYPE == 1
|
||||
SdFat32 sd;
|
||||
File32 file;
|
||||
#elif SD_FAT_TYPE == 2
|
||||
SdExFat sd;
|
||||
ExFile file;
|
||||
#elif SD_FAT_TYPE == 3
|
||||
SdFs sd;
|
||||
FsFile file;
|
||||
#else // SD_FAT_TYPE
|
||||
#error Invalid SD_FAT_TYPE
|
||||
#endif // SD_FAT_TYPE
|
||||
|
||||
// Define User Types below here or use a .h file
|
||||
//
|
||||
const char software_name[] = "Software: Teensy_datalog V.2";
|
||||
const int min_voltage_batterie = 13;
|
||||
const int fixed_resistor_temperatur = 500;
|
||||
|
||||
const int power_Temp_sensor = 34, power_Windfahne = 36, LED_Fail = 24,
|
||||
LED_Write = 5, LED_Normal = 6, LED_Batterie = 7,
|
||||
taster_manuell_speichern = 28, Windfahne = 20, T_sensor_input = 17, Batterie_input = 38;
|
||||
|
||||
int last_second, last_minute, last_hour;
|
||||
|
||||
|
||||
struct calculations {
|
||||
private:
|
||||
|
||||
float summ;
|
||||
float square_summ;
|
||||
float cubic_summ;
|
||||
|
||||
public:
|
||||
|
||||
void calculate(float speed_per_second[60], int amount_saved) {
|
||||
summ = 0;
|
||||
square_summ = 0;
|
||||
cubic_summ = 0;
|
||||
|
||||
for (int i = 0; i < amount_saved; i++) {
|
||||
summ = summ + speed_per_second[i];
|
||||
square_summ = square_summ + pow(speed_per_second[i], 2);
|
||||
cubic_summ = cubic_summ + pow(speed_per_second[i], 3);
|
||||
}
|
||||
arithmetic_mean = summ / float(amount_saved);
|
||||
square_mean = pow((square_summ / float(amount_saved)), (1 / 2.0));
|
||||
cubic_mean = pow((cubic_mean / float(amount_saved)), (1 / 3.0));
|
||||
|
||||
summ = 0;
|
||||
square_summ = 0;
|
||||
cubic_summ = 0;
|
||||
|
||||
for (int i = 0; i < amount_saved; i++) {
|
||||
summ = summ + pow((speed_per_second[i] - arithmetic_mean), 2);
|
||||
square_summ = square_summ + pow((speed_per_second[i] - square_mean), 2);
|
||||
cubic_summ = cubic_summ + pow((speed_per_second[i] - cubic_mean), 2);
|
||||
}
|
||||
arithmetic_deviation = pow((summ / float(amount_saved - 1)), (1 / 2.0));
|
||||
square_deviation = pow((square_summ / float(amount_saved - 1)), (1 / 2.0));
|
||||
cubic_deviation = pow((cubic_summ / float(amount_saved - 1)), (1 / 2.0));
|
||||
}
|
||||
|
||||
float arithmetic_mean;
|
||||
float arithmetic_deviation;
|
||||
|
||||
float square_mean;
|
||||
float square_deviation;
|
||||
|
||||
float cubic_mean;
|
||||
float cubic_deviation;
|
||||
};
|
||||
|
||||
|
||||
struct anemomenter_maessurement {
|
||||
public:
|
||||
int pin = 0;
|
||||
int seconds_saved = 0;
|
||||
int minutes_saved = 0;
|
||||
|
||||
void meassure() {
|
||||
if (reed_contact.update() && reed_contact.fallingEdge()) {
|
||||
count_per_second++;
|
||||
}
|
||||
}
|
||||
|
||||
void save_wind_speed() {
|
||||
wind_speed_per_second[seconds_saved] = 0.4 * count_per_second;
|
||||
seconds_saved++;
|
||||
}
|
||||
|
||||
void calculate() {
|
||||
values[minutes_saved].calculate(wind_speed_per_second, seconds_saved);
|
||||
seconds_saved = 0;
|
||||
minutes_saved++;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
int count_per_second = 0;
|
||||
int saved_seconds = 0;
|
||||
int saved_minutes = 0;
|
||||
float wind_speed_per_second[60];
|
||||
|
||||
calculations values[60];
|
||||
|
||||
|
||||
Bounce reed_contact = Bounce(pin, 10);
|
||||
|
||||
}anemometer_1, anemometer_2, anemometer_3;
|
||||
|
||||
|
||||
|
||||
// Define Function Prototypes that use User Types below here or use a .h file
|
||||
//
|
||||
|
||||
|
||||
// Define Functions below here or use other .ino or cpp files
|
||||
//
|
||||
void every_second() {
|
||||
|
||||
anemometer_1.save_wind_speed();
|
||||
anemometer_2.save_wind_speed();
|
||||
anemometer_3.save_wind_speed();
|
||||
|
||||
last_second = second();
|
||||
}
|
||||
|
||||
void every_minute() {
|
||||
anemometer_1.calculate();
|
||||
anemometer_2.calculate();
|
||||
anemometer_3.calculate();
|
||||
|
||||
last_minute = minute();
|
||||
}
|
||||
|
||||
void every_hour() {
|
||||
|
||||
last_hour = hour();
|
||||
}
|
||||
|
||||
// The setup() function runs once each time the micro-controller starts
|
||||
void setup()
|
||||
{
|
||||
//set input and output
|
||||
pinMode(Windfahne, INPUT);
|
||||
pinMode(Batterie_input, INPUT);
|
||||
pinMode(T_sensor_input, INPUT);
|
||||
pinMode(taster_manuell_speichern, INPUT);
|
||||
pinMode(LED_Write, OUTPUT);
|
||||
pinMode(LED_Fail, OUTPUT);
|
||||
pinMode(LED_Normal, OUTPUT);
|
||||
pinMode(LED_Batterie, OUTPUT);
|
||||
pinMode(power_Temp_sensor, OUTPUT);
|
||||
pinMode(power_Windfahne, OUTPUT);
|
||||
|
||||
setSyncProvider((getExternalTime)Teensy3Clock.get());
|
||||
|
||||
Serial.begin(9600);
|
||||
Serial.println("Teensy 4.1-Datalogger gestartet");
|
||||
if (timeStatus() != timeSet) {
|
||||
Serial.println("Fehler bei Synchronisieren der Uhrzeit mit der RTC");
|
||||
digitalWrite(LED_Fail, HIGH);
|
||||
return;
|
||||
}
|
||||
Serial.println("Uhrzeit erfolgreich mit der RTC synchronisiert");
|
||||
if (!sd.begin(SD_CONFIG)) {
|
||||
digitalWrite(LED_Fail, HIGH);
|
||||
sd.initErrorHalt(&Serial);
|
||||
}
|
||||
|
||||
anemometer_1.pin = 2;
|
||||
anemometer_2.pin = 9;
|
||||
anemometer_3.pin = 22;
|
||||
|
||||
|
||||
Serial.println("Messung startet");
|
||||
last_second = second();
|
||||
while (last_second == second()) {};
|
||||
last_second = second();
|
||||
last_minute = minute();
|
||||
last_hour = hour();
|
||||
|
||||
}
|
||||
|
||||
// Add the main program code into the continuous loop() function
|
||||
void loop()
|
||||
{
|
||||
anemometer_1.meassure();
|
||||
anemometer_2.meassure();
|
||||
anemometer_3.meassure();
|
||||
|
||||
if (second() != last_second) {
|
||||
if (minute() != last_minute) {
|
||||
if (hour() != last_hour) {
|
||||
every_hour();
|
||||
}
|
||||
every_minute();
|
||||
}
|
||||
every_second();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.32421.90
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Teensy4.1_Datalogger new", "Teensy4.1_Datalogger new.vcxproj", "{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Teensy4.1-Datenlogger-Software", "..\Projekt\Teensy4.1-Datenlogger-Software\Teensy4.1-Datenlogger-Software.vcxproj", "{C5F80730-F44F-4478-BDAE-6634EFC2CA88}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}.Debug|x86.Build.0 = Debug|Win32
|
||||
{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}.Release|x86.ActiveCfg = Release|Win32
|
||||
{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}.Release|x86.Build.0 = Release|Win32
|
||||
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.Build.0 = Debug|Win32
|
||||
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.ActiveCfg = Release|Win32
|
||||
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {349760AA-D265-433D-A4B4-7278AE8A0FCC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{2E6F448E-0966-4C65-8DA5-8AFD46F294D2}</ProjectGuid>
|
||||
<RootNamespace>
|
||||
</RootNamespace>
|
||||
<ProjectName>Teensy4.1_Datalogger new</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>
|
||||
</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<PlatformToolset>
|
||||
</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ForcedIncludeFiles>$(ProjectDir)__vm\.Teensy4.1_Datalogger new.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<PreprocessorDefinitions>__AVR_atmega32u4__;__AVR_ATmega32U4__;__AVR_ATmega32u4__;F_CPU=16000000L;ARDUINO=108019;ARDUINO_AVR_YUN;ARDUINO_ARCH_AVR;USB_VID=0x2341;USB_PID=0x8041;__cplusplus=201103L;_VMICRO_INTELLISENSE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir)..\Teensy4.1_Datalogger new;$(ProjectDir)..\libraries\SdFat\src;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\libraries\SPI;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\libraries\Time;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\libraries\Bounce;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\cores\teensy4;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\cores\teensy4\avr;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\cores\teensy4\debug;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy\avr\cores\teensy4\util;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\arm-none-eabi\include;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\lib\gcc\arm-none-eabi\5.4.1\include;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\arm-none-eabi\include\c++\5.4.1;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\arm-none-eabi\include\c++\5.4.1\tr1;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\arm-none-eabi\include\c++\5.4.1\bits;$(ProjectDir)..\..\arduino-1.8.10\hardware\tools\arm\arm-none-eabi\include\c++\5.4.1\arm-none-eabi;$(ProjectDir)..\..\arduino-1.8.10\hardware\teensy;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ForcedIncludeFiles>$(ProjectDir)__vm\.Teensy4.1_Datalogger new.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
<IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
|
||||
<PreprocessorDefinitions>__HARDWARE_imxrt1062__;__HARDWARE_IMXRT1062__;_VMDEBUG=1;__IMXRT1062__;TEENSYDUINO=148;ARDUINO=108010;F_CPU=600000000;USB_SERIAL;LAYOUT_US_ENGLISH;__cplusplus=201103L;_VMICRO_INTELLISENSE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="VisualMicro" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Teensy4.1_Datalogger new.ino">
|
||||
<FileType>CppCode</FileType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="__vm\.Teensy4.1_Datalogger new.vsarduino.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<DebuggerFlavor>VisualMicroDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<UserProperties arduino.board.desc="Teensy 4.0 (teensy40)" arduino.board.name="teensy40" arduino.board.property_bag="name=Teensy 4.0
upload.maximum_size=2031616
upload.maximum_data_size=1048576
upload.tool=teensyloader
upload.protocol=halfkay
build.board=TEENSY40
build.core=teensy4
build.mcu=imxrt1062
build.warn_data_percentage=99
build.toolchain=arm/bin/
build.command.gcc=arm-none-eabi-gcc
build.command.g++=arm-none-eabi-g++
build.command.ar=arm-none-eabi-gcc-ar
build.command.objcopy=arm-none-eabi-objcopy
build.command.objdump=arm-none-eabi-objdump
build.command.linker=arm-none-eabi-gcc
build.command.size=arm-none-eabi-size
build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdlib
build.flags.dep=-MMD
build.flags.optimize=-O2
build.flags.cpu=-mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16
build.flags.defs=-D__IMXRT1062__ -DTEENSYDUINO=148
build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing
build.flags.c=
build.flags.S=-x assembler-with-cpp
build.flags.ld=-Wl,--gc-sections,--relax "-T{build.core.path}/imxrt1062.ld"
build.flags.libs=-larm_cortexM7lfsp_math -lm -lstdc++
serial.restart_cmd=false
menu.usb.serial=Serial
menu.usb.serial.build.usbtype=USB_SERIAL
menu.speed.600=600 MHz
menu.speed.528=528 MHz
menu.speed.450=450 MHz
menu.speed.396=396 MHz
menu.speed.150=150 MHz
menu.speed.24=24 MHz
menu.speed.720=720 MHz (overclock)
menu.speed.816=816 MHz (overclock)
menu.speed.912=912 MHz (overclock, cooling req'd)
menu.speed.960=960 MHz (overclock, cooling req'd)
menu.speed.1008=1.008 GHz (overclock, cooling req'd)
menu.speed.1008.build.fcpu=1000000000
menu.speed.960.build.fcpu=960000000
menu.speed.912.build.fcpu=912000000
menu.speed.816.build.fcpu=816000000
menu.speed.720.build.fcpu=720000000
menu.speed.600.build.fcpu=600000000
menu.speed.528.build.fcpu=528000000
menu.speed.450.build.fcpu=450000000
menu.speed.396.build.fcpu=396000000
menu.speed.150.build.fcpu=150000000
menu.speed.24.build.fcpu=24000000
menu.opt.o2std=Faster
menu.opt.o2std.build.flags.optimize=-O2
menu.opt.o2std.build.flags.ldspecs=
menu.opt.o1std=Fast
menu.opt.o1std.build.flags.optimize=-O1
menu.opt.o1std.build.flags.ldspecs=
menu.opt.o3std=Fastest
menu.opt.o3std.build.flags.optimize=-O3
menu.opt.o3std.build.flags.ldspecs=
menu.opt.ogstd=Debug
menu.opt.ogstd.build.flags.optimize=-Og
menu.opt.ogstd.build.flags.ldspecs=
menu.opt.osstd=Smallest Code
menu.opt.osstd.build.flags.optimize=-Os --specs=nano.specs
menu.opt.osstd.build.flags.ldspecs=
menu.keys.en-us=US English
menu.keys.en-us.build.keylayout=US_ENGLISH
menu.keys.fr-ca=Canadian French
menu.keys.fr-ca.build.keylayout=CANADIAN_FRENCH
menu.keys.xx-ca=Canadian Multilingual
menu.keys.xx-ca.build.keylayout=CANADIAN_MULTILINGUAL
menu.keys.cz-cz=Czech
menu.keys.cz-cz.build.keylayout=CZECH
menu.keys.da-da=Danish
menu.keys.da-da.build.keylayout=DANISH
menu.keys.fi-fi=Finnish
menu.keys.fi-fi.build.keylayout=FINNISH
menu.keys.fr-fr=French
menu.keys.fr-fr.build.keylayout=FRENCH
menu.keys.fr-be=French Belgian
menu.keys.fr-be.build.keylayout=FRENCH_BELGIAN
menu.keys.fr-ch=French Swiss
menu.keys.fr-ch.build.keylayout=FRENCH_SWISS
menu.keys.de-de=German
menu.keys.de-de.build.keylayout=GERMAN
menu.keys.de-dm=German (Mac)
menu.keys.de-dm.build.keylayout=GERMAN_MAC
menu.keys.de-ch=German Swiss
menu.keys.de-ch.build.keylayout=GERMAN_SWISS
menu.keys.is-is=Icelandic
menu.keys.is-is.build.keylayout=ICELANDIC
menu.keys.en-ie=Irish
menu.keys.en-ie.build.keylayout=IRISH
menu.keys.it-it=Italian
menu.keys.it-it.build.keylayout=ITALIAN
menu.keys.no-no=Norwegian
menu.keys.no-no.build.keylayout=NORWEGIAN
menu.keys.pt-pt=Portuguese
menu.keys.pt-pt.build.keylayout=PORTUGUESE
menu.keys.pt-br=Portuguese Brazilian
menu.keys.pt-br.build.keylayout=PORTUGUESE_BRAZILIAN
menu.keys.rs-rs=Serbian (Latin Only)
menu.keys.rs-rs.build.keylayout=SERBIAN_LATIN_ONLY
menu.keysLine truncated
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Teensy4.1_Datalogger new.ino" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="__vm\.Teensy4.1_Datalogger new.vsarduino.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
Editor: https://www.visualmicro.com/
|
||||
This file is for intellisense purpose only.
|
||||
Visual micro (and the arduino ide) ignore this code during compilation. This code is automatically maintained by visualmicro, manual changes to this file will be overwritten
|
||||
The contents of the _vm sub folder can be deleted prior to publishing a project
|
||||
All non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
|
||||
Note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
|
||||
|
||||
Hardware: Teensy 4.0 (teensy40), Platform=teensy4, Package=teensy
|
||||
*/
|
||||
|
||||
#if defined(_VMICRO_INTELLISENSE)
|
||||
|
||||
#ifndef _VSARDUINO_H_
|
||||
#define _VSARDUINO_H_
|
||||
#define __HARDWARE_imxrt1062__
|
||||
#define __HARDWARE_IMXRT1062__
|
||||
#define _VMDEBUG 1
|
||||
#define __IMXRT1062__
|
||||
#define TEENSYDUINO 148
|
||||
#define ARDUINO 108010
|
||||
#define F_CPU 600000000
|
||||
#define USB_SERIAL
|
||||
#define LAYOUT_US_ENGLISH
|
||||
#define __cplusplus 201103L
|
||||
#undef __cplusplus
|
||||
#define __cplusplus 201103L
|
||||
|
||||
|
||||
#define __arm__
|
||||
#define __ARM__
|
||||
#define __attribute__(x)
|
||||
typedef void *__builtin_va_list;
|
||||
#define __extension__
|
||||
#define __ATTR_PURE__
|
||||
#define __ATTR_CONST__
|
||||
#define __inline__
|
||||
#define __asm__(x)
|
||||
#define __volatile__
|
||||
#define NEW_H
|
||||
#undef _WIN32
|
||||
#define __STDC__
|
||||
//#define __GNUC__ 2
|
||||
//#define __GNUC_MINOR__ 5
|
||||
#define __ARM_ARCH_7EM__
|
||||
|
||||
extern int at_quick_exit(void (*f)(void));
|
||||
int at_quick_exit(void (*f)(void)) {
|
||||
}
|
||||
extern int quick_exit(void (*f)(void));
|
||||
int quick_exit(void (*f)(void)) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
#define __INT64_TYPE__ 8
|
||||
#define __INTPTR_TYPE__ 4
|
||||
#define __INT32_TYPE__ 4
|
||||
|
||||
typedef long intptr_t;
|
||||
typedef long __intptr_t;
|
||||
typedef unsigned long __uintptr_t;
|
||||
typedef long __int32_t;
|
||||
typedef unsigned long __uint32_t;
|
||||
typedef unsigned short __uint16_t;
|
||||
typedef short __int16_t;
|
||||
typedef unsigned short __uint8_t;
|
||||
typedef short __int8_t;
|
||||
typedef unsigned long __uint64_t;
|
||||
typedef double __int64_t;
|
||||
typedef unsigned long uint64_t;
|
||||
typedef double int64_t;
|
||||
typedef unsigned short uint8_t;
|
||||
typedef short int8_t;
|
||||
|
||||
typedef unsigned int uint16_t;
|
||||
typedef short int16_t;
|
||||
typedef long __int32_t;
|
||||
typedef unsigned long __uint32_t;
|
||||
|
||||
#define at_quick_exit(x)
|
||||
|
||||
#include "arduino.h"
|
||||
#define abs(x) ((x)>0?(x):-(x))
|
||||
#define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
|
||||
#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))
|
||||
#define radians(deg) ((deg)*DEG_TO_RAD)
|
||||
#define degrees(rad) ((rad)*RAD_TO_DEG)
|
||||
#define sq(x) ((x)*(x))
|
||||
|
||||
#define __asm__
|
||||
|
||||
#define __disable_irq() __asm__ volatile("");
|
||||
#define __enable_irq() __asm__ volatile("");
|
||||
|
||||
|
||||
#include "Teensy4.1_Datalogger new.ino"
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,37 @@
|
||||
<VisualMicro>
|
||||
<Program Name="Teensy4.1_Datalogger new" Ext=".ino" Location="C:\Users\Julian Graf\Documents\Arduino\Teensy4.1_Datalogger new">
|
||||
<Compile ReCompileIfSourceIsNewer="1" IsDebugStart="1" IsGdb="0" IsCompiled="0" ConfigurationName="Debug" UseConfigurationNameInBuildFolder="True" StopOnError="False" OptimiseLibs="True" OptimiseCore="True" BuildPath="C:\Users\Julian Graf\AppData\Local\Temp\VMBuilds\Teensy4.1_Datalogger new\teensy40\Debug" ExportWebDebugger="0" IncludesDebug="0" SketchName="Teensy4.1_Datalogger new" ReportDigitalPins="0" ReportAnalogPins="0" ReportI2C="0" ReportFreeMemory="0" IncludeDebug="1" LastDebugPreProcessorDefinitions="VM_DBT_HARDWARESERIAL 0;VM_DBT_SOFTWARESERIAL 1;VM_DBT_FASTSERIAL 2;VM_DBT_USB 3;VM_DBT_TEENSY 4;VM_DBT_UART 5;VM_DBT_USART 6;VM_DBT_USBSERIAL 7;VM_DBT_TTYUART 8;VM_DBT_NET_CONSOLE 9;VM_DBT_Uart 10;VM_DBT_COSA 11;VM_DBT_CDCSerialClass 12;VM_DBT_HARDWARESERIAL1 13;VM_DBT_HARDWARESERIAL2 14;VM_DBT_HARDWARESERIAL3 15;VM_DBT_NET_UDP 16;VM_DBT_USBAPI 17;VM_DBT_SERIALUSB 18;VM_DBT_MS430_SERIAL_ 19;VM_DBT_NO_SERIAL 20;VM_DBT_GENERIC_OBJECT 21;VM_DEBUG_ENABLE 1;VM_DEBUG;VM_DEBUG_BANDWIDTH_THROTTLE_MS 25;VM_DEBUGGER_SOFT_TRANSPORT Serial;VM_DEBUGGER_SOFT_TRANSPORT_WRITER Serial;VM_DBT VM_DBT_GENERIC_OBJECT;VM_DEBUG_BREAKPAUSE;" CompilerErrors="1" />
|
||||
<Platform Name="arduino16x" Package="teensy" Platform="teensy4" Architecture="hardware">
|
||||
<Board Name="teensy40" Description="Teensy 4.0 (teensy40)" CoreFolder="C:\Users\Julian Graf\Documents\arduino-1.8.10\hardware\teensy\avr\cores\teensy4" VariantFullPath="" McuIdePath="C:\Users\Julian Graf\Documents\arduino-1.8.10" McuSketchBookPath="C:\Users\Julian Graf\Documents\Arduino" name="Teensy 4.0" upload.maximum_size="2031616" upload.maximum_data_size="1048576" upload.tool="teensyloader" upload.protocol="halfkay" build.board="TEENSY40" build.core="teensy4" build.mcu="imxrt1062" build.warn_data_percentage="99" build.toolchain="arm/bin/" build.command.gcc="arm-none-eabi-gcc" build.command.g_x002B__x002B_="arm-none-eabi-g++" build.command.ar="arm-none-eabi-gcc-ar" build.command.objcopy="arm-none-eabi-objcopy" build.command.objdump="arm-none-eabi-objdump" build.command.linker="arm-none-eabi-gcc" build.command.size="arm-none-eabi-size" build.flags.common="-g -Wall -ffunction-sections -fdata-sections -nostdlib" build.flags.dep="-MMD" build.flags.optimize="-O2" build.flags.cpu="-mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16" build.flags.defs="-D__IMXRT1062__ -DTEENSYDUINO=148" build.flags.cpp="-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing" build.flags.c="" build.flags.S="-x assembler-with-cpp" build.flags.ld="-Wl,--gc-sections,--relax "-T{build.core.path}/imxrt1062.ld"" build.flags.libs="-larm_cortexM7lfsp_math -lm -lstdc++" serial.restart_cmd="false" menu.usb.serial="Serial" menu.usb.serial.build.usbtype="USB_SERIAL" menu.speed.600="600 MHz" menu.speed.528="528 MHz" menu.speed.450="450 MHz" menu.speed.396="396 MHz" menu.speed.150="150 MHz" menu.speed.24="24 MHz" menu.speed.720="720 MHz (overclock)" menu.speed.816="816 MHz (overclock)" menu.speed.912="912 MHz (overclock, cooling req'd)" menu.speed.960="960 MHz (overclock, cooling req'd)" menu.speed.1008="1.008 GHz (overclock, cooling req'd)" menu.speed.1008.build.fcpu="1000000000" menu.speed.960.build.fcpu="960000000" menu.speed.912.build.fcpu="912000000" menu.speed.816.build.fcpu="816000000" menu.speed.720.build.fcpu="720000000" menu.speed.600.build.fcpu="600000000" menu.speed.528.build.fcpu="528000000" menu.speed.450.build.fcpu="450000000" menu.speed.396.build.fcpu="396000000" menu.speed.150.build.fcpu="150000000" menu.speed.24.build.fcpu="24000000" menu.opt.o2std="Faster" menu.opt.o2std.build.flags.optimize="-O2" menu.opt.o2std.build.flags.ldspecs="" menu.opt.o1std="Fast" menu.opt.o1std.build.flags.optimize="-O1" menu.opt.o1std.build.flags.ldspecs="" menu.opt.o3std="Fastest" menu.opt.o3std.build.flags.optimize="-O3" menu.opt.o3std.build.flags.ldspecs="" menu.opt.ogstd="Debug" menu.opt.ogstd.build.flags.optimize="-Og" menu.opt.ogstd.build.flags.ldspecs="" menu.opt.osstd="Smallest Code" menu.opt.osstd.build.flags.optimize="-Os --specs=nano.specs" menu.opt.osstd.build.flags.ldspecs="" menu.keys.en-us="US English" menu.keys.en-us.build.keylayout="US_ENGLISH" menu.keys.fr-ca="Canadian French" menu.keys.fr-ca.build.keylayout="CANADIAN_FRENCH" menu.keys.xx-ca="Canadian Multilingual" menu.keys.xx-ca.build.keylayout="CANADIAN_MULTILINGUAL" menu.keys.cz-cz="Czech" menu.keys.cz-cz.build.keylayout="CZECH" menu.keys.da-da="Danish" menu.keys.da-da.build.keylayout="DANISH" menu.keys.fi-fi="Finnish" menu.keys.fi-fi.build.keylayout="FINNISH" menu.keys.fr-fr="French" menu.keys.fr-fr.build.keylayout="FRENCH" menu.keys.fr-be="French Belgian" menu.keys.fr-be.build.keylayout="FRENCH_BELGIAN" menu.keys.fr-ch="French Swiss" menu.keys.fr-ch.build.keylayout="FRENCH_SWISS" menu.keys.de-de="German" menu.keys.de-de.build.keylayout="GERMAN" menu.keys.de-dm="German (Mac)" menu.keys.de-dm.build.keylayout="GERMAN_MAC" menu.keys.de-ch="German Swiss" menu.keys.de-ch.build.keylayout="GERMAN_SWISS" menu.keys.is-is="Icelandic" menu.keys.is-is.build.keylayout="ICELANDIC" menu.keys.en-ie="Irish" menu.keys.en-ie.build.keylayout="IRISH" menu.keys.it-it="Italian" menu.keys.it-it.build.keylayout="ITALIAN" menu.keys.no-no="Norwegian" menu.keys.no-no.build.keylayout="NORWEGIAN" menu.keys.pt-pt="Portuguese" menu.keys.pt-pt.build.keylayout="PORTUGUESE" menu.keys.pt-br="Portuguese Brazilian" menu.keys.pt-br.build.keylayout="PORTUGUESE_BRAZILIAN" menu.keys.rs-rs="Serbian (Latin Only)" menu.keys.rs-rs.build.keylayout="SERBIAN_LATIN_ONLY" menu.keys.es-es="Spanish" menu.keys.es-es.build.keylayout="SPANISH" menu.keys.es-mx="Spanish Latin America" menu.keys.es-mx.build.keylayout="SPANISH_LATIN_AMERICA" menu.keys.sv-se="Swedish" menu.keys.sv-se.build.keylayout="SWEDISH" menu.keys.tr-tr="Turkish (partial)" menu.keys.tr-tr.build.keylayout="TURKISH" menu.keys.en-gb="United Kingdom" menu.keys.en-gb.build.keylayout="UNITED_KINGDOM" menu.keys.usint="US International" menu.keys.usint.build.keylayout="US_INTERNATIONAL" menu.vm_encryption.off="OFF" menu.vm_encryption.help="1. How To" menu.vm_encryptioLine truncated
|
||||
</Platform>
|
||||
<Debug DebugEnabled="1" EnableBreak="1" InBreakLiveView="1" PerfStats="1" IsGdb="0" RuntimeWriterMissingSetup="0" RuntimeWriterMissingLoop="0" RemotePortSpeedWrittenToDebugSource="9600" RuntimeWriterFoundSetupStart="1" RuntimeWriterFoundLoopStart="1" />
|
||||
<VCCodeModel>
|
||||
<VCCodeMacros />
|
||||
</VCCodeModel>
|
||||
<BreakPoints>
|
||||
<BreakPoint Index="1" Name="Teensy4.1_Datalogger new.ino, Zeile 135" Id="72c169ac-8eb3-4546-a622-8e154007c3c0" Enabled="1" Message=" Millis is currently {millis()}.
 This tutorial debug trace point prints a message every 250ms
 The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.
 To stop debug, click stop debugging or close/stop the serial monitor.
 When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.
 This breakpoint exists at the start of the loop() function, where you see a red dot.
 The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug>Other Windows>Breakpoint List'
 This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.
 Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.
 Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx
 Take some time to learn about debugging, it’s worth it!
 To switch the demo breakpoint and other tips off, deselect Visual Micro>General>Tutorial Mode.
 Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" MessageTextType="0" PreProcessedMessage=" Millis is currently {0}.
 This tutorial debug trace point prints a message every 250ms
 The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.
 To stop debug, click stop debugging or close/stop the serial monitor.
 When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.
 This breakpoint exists at the start of the loop() function, where you see a red dot.
 The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug>Other Windows>Breakpoint List'
 This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.
 Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.
 Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx
 Take some time to learn about debugging, it’s worth it!
 To switch the demo breakpoint and other tips off, deselect Visual Micro>General>Tutorial Mode.
 Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" Condition="millis()>0 || millis()>1" ConditionType="1" CurrentHits="0" File="c:\users\julian graf\documents\arduino\teensy4.1_datalogger new\teensy4.1_datalogger new.ino" FileLine="135" FileColumn="1" FunctionName="" FunctionLineOffset="1" FunctionColumnOffset="1" HitCountTarget="1000" HitCountType="4" Language="C++" LocationType="3" Tag="<vmbp Id='72c169ac-8eb3-4546-a622-8e154007c3c0'/>" Type="1" ToString="System.__ComObject" BreakWhenHit="0">
|
||||
<Source>128 last_second = second();
|
||||
129 last_minute = minute();
|
||||
130 last_hour = hour();
|
||||
131
|
||||
132 }
|
||||
133
|
||||
134 // Add the main program code into the continuous loop() function
|
||||
-->135 void loop()
|
||||
136 {
|
||||
137 anemometer_1:meassure();
|
||||
138 anemometer_2:meassure();
|
||||
139 anemometer_3:meassure();
|
||||
140
|
||||
141 if (second() != last_second) {
|
||||
142
|
||||
143 every_second();
|
||||
144
|
||||
</Source>
|
||||
<MessageVariables>
|
||||
<MessageVariable Name="millis()" Index="1" />
|
||||
</MessageVariables>
|
||||
</BreakPoint>
|
||||
</BreakPoints>
|
||||
</Program>
|
||||
</VisualMicro>
|
||||
@@ -0,0 +1,9 @@
|
||||
<VisualMicro>
|
||||
<Program Name="Teensy4.1_Datalogger new" Ext=".ino" Location="C:\Users\Julian Graf\Documents\Arduino\Teensy4.1_Datalogger new">
|
||||
<Compile ReCompileIfSourceIsNewer="1" IsDebugStart="1" IsGdb="0" IsCompiled="0" CompilerErrors="0" ConfigurationName="Debug" UseConfigurationNameInBuildFolder="True" StopOnError="False" OptimiseLibs="True" OptimiseCore="True" BuildPath="C:\Users\Julian Graf\AppData\Local\Temp\VMBuilds\Teensy4.1_Datalogger new\teensy40\Debug" ExportWebDebugger="0" />
|
||||
<Platform Name="arduino16x" Package="teensy" Platform="teensy4" Architecture="hardware">
|
||||
<Board Name="teensy40" Description="Teensy 4.0 (teensy40)" CoreFolder="C:\Users\Julian Graf\Documents\arduino-1.8.10\hardware\teensy\avr\cores\teensy4" VariantFullPath="" McuIdePath="C:\Users\Julian Graf\Documents\arduino-1.8.10" McuSketchBookPath="C:\Users\Julian Graf\Documents\Arduino" name="Teensy 4.0" upload.maximum_size="2031616" upload.maximum_data_size="1048576" upload.tool="teensyloader" upload.protocol="halfkay" build.board="TEENSY40" build.core="teensy4" build.mcu="imxrt1062" build.warn_data_percentage="99" build.toolchain="arm/bin/" build.command.gcc="arm-none-eabi-gcc" build.command.g_x002B__x002B_="arm-none-eabi-g++" build.command.ar="arm-none-eabi-gcc-ar" build.command.objcopy="arm-none-eabi-objcopy" build.command.objdump="arm-none-eabi-objdump" build.command.linker="arm-none-eabi-gcc" build.command.size="arm-none-eabi-size" build.flags.common="-g -Wall -ffunction-sections -fdata-sections -nostdlib" build.flags.dep="-MMD" build.flags.optimize="-O2" build.flags.cpu="-mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16" build.flags.defs="-D__IMXRT1062__ -DTEENSYDUINO=148" build.flags.cpp="-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing" build.flags.c="" build.flags.S="-x assembler-with-cpp" build.flags.ld="-Wl,--gc-sections,--relax "-T{build.core.path}/imxrt1062.ld"" build.flags.libs="-larm_cortexM7lfsp_math -lm -lstdc++" serial.restart_cmd="false" menu.usb.serial="Serial" menu.usb.serial.build.usbtype="USB_SERIAL" menu.speed.600="600 MHz" menu.speed.528="528 MHz" menu.speed.450="450 MHz" menu.speed.396="396 MHz" menu.speed.150="150 MHz" menu.speed.24="24 MHz" menu.speed.720="720 MHz (overclock)" menu.speed.816="816 MHz (overclock)" menu.speed.912="912 MHz (overclock, cooling req'd)" menu.speed.960="960 MHz (overclock, cooling req'd)" menu.speed.1008="1.008 GHz (overclock, cooling req'd)" menu.speed.1008.build.fcpu="1000000000" menu.speed.960.build.fcpu="960000000" menu.speed.912.build.fcpu="912000000" menu.speed.816.build.fcpu="816000000" menu.speed.720.build.fcpu="720000000" menu.speed.600.build.fcpu="600000000" menu.speed.528.build.fcpu="528000000" menu.speed.450.build.fcpu="450000000" menu.speed.396.build.fcpu="396000000" menu.speed.150.build.fcpu="150000000" menu.speed.24.build.fcpu="24000000" menu.opt.o2std="Faster" menu.opt.o2std.build.flags.optimize="-O2" menu.opt.o2std.build.flags.ldspecs="" menu.opt.o1std="Fast" menu.opt.o1std.build.flags.optimize="-O1" menu.opt.o1std.build.flags.ldspecs="" menu.opt.o3std="Fastest" menu.opt.o3std.build.flags.optimize="-O3" menu.opt.o3std.build.flags.ldspecs="" menu.opt.ogstd="Debug" menu.opt.ogstd.build.flags.optimize="-Og" menu.opt.ogstd.build.flags.ldspecs="" menu.opt.osstd="Smallest Code" menu.opt.osstd.build.flags.optimize="-Os --specs=nano.specs" menu.opt.osstd.build.flags.ldspecs="" menu.keys.en-us="US English" menu.keys.en-us.build.keylayout="US_ENGLISH" menu.keys.fr-ca="Canadian French" menu.keys.fr-ca.build.keylayout="CANADIAN_FRENCH" menu.keys.xx-ca="Canadian Multilingual" menu.keys.xx-ca.build.keylayout="CANADIAN_MULTILINGUAL" menu.keys.cz-cz="Czech" menu.keys.cz-cz.build.keylayout="CZECH" menu.keys.da-da="Danish" menu.keys.da-da.build.keylayout="DANISH" menu.keys.fi-fi="Finnish" menu.keys.fi-fi.build.keylayout="FINNISH" menu.keys.fr-fr="French" menu.keys.fr-fr.build.keylayout="FRENCH" menu.keys.fr-be="French Belgian" menu.keys.fr-be.build.keylayout="FRENCH_BELGIAN" menu.keys.fr-ch="French Swiss" menu.keys.fr-ch.build.keylayout="FRENCH_SWISS" menu.keys.de-de="German" menu.keys.de-de.build.keylayout="GERMAN" menu.keys.de-dm="German (Mac)" menu.keys.de-dm.build.keylayout="GERMAN_MAC" menu.keys.de-ch="German Swiss" menu.keys.de-ch.build.keylayout="GERMAN_SWISS" menu.keys.is-is="Icelandic" menu.keys.is-is.build.keylayout="ICELANDIC" menu.keys.en-ie="Irish" menu.keys.en-ie.build.keylayout="IRISH" menu.keys.it-it="Italian" menu.keys.it-it.build.keylayout="ITALIAN" menu.keys.no-no="Norwegian" menu.keys.no-no.build.keylayout="NORWEGIAN" menu.keys.pt-pt="Portuguese" menu.keys.pt-pt.build.keylayout="PORTUGUESE" menu.keys.pt-br="Portuguese Brazilian" menu.keys.pt-br.build.keylayout="PORTUGUESE_BRAZILIAN" menu.keys.rs-rs="Serbian (Latin Only)" menu.keys.rs-rs.build.keylayout="SERBIAN_LATIN_ONLY" menu.keys.es-es="Spanish" menu.keys.es-es.build.keylayout="SPANISH" menu.keys.es-mx="Spanish Latin America" menu.keys.es-mx.build.keylayout="SPANISH_LATIN_AMERICA" menu.keys.sv-se="Swedish" menu.keys.sv-se.build.keylayout="SWEDISH" menu.keys.tr-tr="Turkish (partial)" menu.keys.tr-tr.build.keylayout="TURKISH" menu.keys.en-gb="United Kingdom" menu.keys.en-gb.build.keylayout="UNITED_KINGDOM" menu.keys.usint="US International" menu.keys.usint.build.keylayout="US_INTERNATIONAL" menu.vm_encryption.off="OFF" menu.vm_encryption.help="1. How To" menu.vm_encryptioLine truncated
|
||||
</Platform>
|
||||
<Debug DebugEnabled="1" EnableBreak="1" />
|
||||
</Program>
|
||||
</VisualMicro>
|
||||
Reference in new issue
Block a user