Projektdateien hinzufügen.

This commit is contained in:
Julian Graf committed 2022-05-05 17:41:42 +02:00
1 parent 188821ea51
commit 181ba992fb
7 files changed
+555

No files matched your search

@@ -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
+37
View File
@@ -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 &quot;-T{build.core.path}/imxrt1062.ld&quot;" 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()}.&#xD;&#xA; This tutorial debug trace point prints a message every 250ms&#xD;&#xA; The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.&#xD;&#xA; To stop debug, click stop debugging or close/stop the serial monitor.&#xD;&#xA; When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.&#xD;&#xA; This breakpoint exists at the start of the loop() function, where you see a red dot.&#xD;&#xA; The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug&gt;Other Windows&gt;Breakpoint List'&#xD;&#xA; This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.&#xD;&#xA; Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.&#xD;&#xA; Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx&#xD;&#xA; Take some time to learn about debugging, it’s worth it!&#xD;&#xA; To switch the demo breakpoint and other tips off, deselect Visual Micro&gt;General&gt;Tutorial Mode.&#xD;&#xA; Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" MessageTextType="0" PreProcessedMessage=" Millis is currently {0}.&#xD;&#xA; This tutorial debug trace point prints a message every 250ms&#xD;&#xA; The break point property called 'Continue Execution' controls if code should pause here and wait for you to click 'Continue'.&#xD;&#xA; To stop debug, click stop debugging or close/stop the serial monitor.&#xD;&#xA; When debug ends, serial debug will continue to break/pause the mcu or transmit trace message, wifi debug will not.&#xD;&#xA; This breakpoint exists at the start of the loop() function, where you see a red dot.&#xD;&#xA; The red dot is a ‘breakpoint’. Edit the properties of a breakpoint by right clicking it or open the 'Debug&gt;Other Windows&gt;Breakpoint List'&#xD;&#xA; This breakpoint is automatically set by Visual Micro to demonstrate the Arduino debugger.&#xD;&#xA; Add your own breakpoints by placing the cursor on any code line and pressing F9. Press F9 again to delete the breakpoint.&#xD;&#xA; Read more about the Visual Micro debugger at https://www.visualmicro.com/page/Debugging-for-Arduino.aspx&#xD;&#xA; Take some time to learn about debugging, it’s worth it!&#xD;&#xA; To switch the demo breakpoint and other tips off, deselect Visual Micro&gt;General&gt;Tutorial Mode.&#xD;&#xA; Switch debugging off by changing from tool bar (Configuratin) from 'Debug' to 'Release'" Condition="millis()&gt;0 || millis()&gt;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="&lt;vmbp Id='72c169ac-8eb3-4546-a622-8e154007c3c0'/&gt;" 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
--&gt;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>
+9
View File
@@ -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 &quot;-T{build.core.path}/imxrt1062.ld&quot;" 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>