Skip to content

Commit

Permalink
Merge pull request #134 from ut-issl/hotfix/build_examples_with_vmicro
Browse files Browse the repository at this point in the history
hotfix/build example with vMicro
  • Loading branch information
seki-hiro authored Jul 24, 2023
2 parents 32ea71c + fe56f56 commit 171aebd
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions Examples/C2A_AOBC_EXAMPLE.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>MinSpace</Optimization>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>$(ProjectDir)..\c2a_aobc_example;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\libraries\DTWI;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\libraries\DSPI;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\avr;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\pps;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\util;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\variants\MXL795;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\tools\pic32-tools\1.43-pic32gcc\pic32mx\include;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ForcedIncludeFiles>$(ProjectDir)__vm\.c2a_aobc_example.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
<AdditionalIncludeDirectories>$(ProjectDir)..\Examples;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\libraries\DTWI;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\libraries\DSPI;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\avr;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\pps;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\cores\pic32\util;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32\2.1.0\variants\MXL795;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\tools\pic32-tools\1.43-pic32gcc\pic32mx\include;C:\Users\USERNAME\AppData\Local\arduino15\packages\chipKIT\hardware\pic32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ForcedIncludeFiles>$(ProjectDir)__vm\.Examples.vsarduino.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
<IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
<PreprocessorDefinitions>__PIC32_32MX795F512L__;_VMDEBUG=1;ARDUINO_ARCH_PIC32;F_CPU=80000000L;ARDUINO=108013;PIC32_CHIPKIT_MXL795B;MPIDEVER=16777998;MPIDE=150;IDE=Arduino;__cplusplus=201103L;_VMICRO_INTELLISENSE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>__PIC32_32MX795F512L__;_VMDEBUG=1;ARDUINO_ARCH_PIC32;F_CPU=80000000L;ARDUINO=108013;PIC32_CHIPKIT_MXL795B;MPIDEVER=16777998;MPIDE=150;IDE=Arduino;__cplusplus=201103L;_VMICRO_INTELLISENSE;USER_DEFINED_I2C_ADDRESS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsCpp</CompileAs>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
</ClCompile>
Expand Down Expand Up @@ -110,7 +110,7 @@
</PropertyGroup>
<ItemGroup>
<ClInclude Include="src_aobc\src\src_user\IfWrapper\Arduino\CHIPKIT\UART_CHIPKIT.h" />
<ClInclude Include="__vm\.c2a_aobc_example.vsarduino.h" />
<ClInclude Include="__vm\.Examples.vsarduino.h" />
<ClInclude Include="__vm\.src_user.vsarduino.h" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -145,7 +145,6 @@
<ClCompile Include="src_aobc\src\src_core\Library\endian.c" />
<ClCompile Include="src_aobc\src\src_core\Library\majority_vote_for3.c" />
<ClCompile Include="src_aobc\src\src_core\Library\c2a_round.c" />
<ClCompile Include="src_aobc\src\src_core\System\AnomalyLogger\anomaly_logger.c" />
<ClCompile Include="src_aobc\src\src_core\System\ApplicationManager\app_info.c" />
<ClCompile Include="src_aobc\src\src_core\System\ApplicationManager\app_manager.c" />
<ClCompile Include="src_aobc\src\src_core\System\EventManager\event_handler.c" />
Expand Down Expand Up @@ -262,7 +261,6 @@
<ClCompile Include="src_aobc\src\src_user\IfWrapper\Arduino\UART_ARDUINO.c" />
<ClCompile Include="src_aobc\src\src_user\IfWrapper\COMMON\WDT_TEMP.c" />
<ClCompile Include="src_aobc\src\src_user\IfWrapper\IF_list.c" />
<ClCompile Include="src_aobc\src\src_user\Library\git_revision.c" />
<ClCompile Include="src_aobc\src\src_user\Library\math_constants.c" />
<ClCompile Include="src_aobc\src\src_user\Library\Orbit\kepler_orbit.c" />
<ClCompile Include="src_aobc\src\src_user\Library\Orbit\sgp4.c" />
Expand Down Expand Up @@ -316,20 +314,21 @@
<ClCompile Include="src_aobc\src\src_user\Settings\System\EventHandlerRules\event_handler_rule_sw_oc.c" />
<ClCompile Include="src_aobc\src\src_user\Settings\System\EventHandlerRules\event_handler_rule_tlmcmd.c" />
<ClCompile Include="src_aobc\src\src_user\Settings\System\event_logger_settings.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\attitude_control_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\attitude_determination_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\attitude_target_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\component_selector_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\fdir_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\ina260_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\mpu9250_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\nanossoc_d60_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\oem7600_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\orbit_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\rm3100_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\rw0003_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\sagitta_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\Sample\stim210_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\attitude_control_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\attitude_determination_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\attitude_target_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\component_selector_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\fdir_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\ina260_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\mpu9250_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\nanossoc_d60_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\oem7600_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\orbit_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\rm3100_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\rw0003_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\sagitta_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\stim210_parameters.c" />
<ClCompile Include="src_aobc_example\Settings\SatelliteParameters\structure_parameters.c" />
</ItemGroup>
<ItemGroup>
<None Include="c2a_aobc_example.ino" />
Expand All @@ -339,7 +338,7 @@
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties arduino.build.auto_discover_includes="1" arduino.build.skip_library_file_if_exists_in_project="0" arduino.upload.port="COM13" config.Debug.customdebug_chipKIT_MXL795b_debugger_type="universal" VM_ADDITIONAL_COMPILER_C_FLAGS=" -I&quot;{build.path}\src&quot; -Wno-pragmas -Wno-write-strings -Wno-unused-variable -Wno-unused-function" VM_ADDITIONAL_COMPILER_CPP_FLAGS=" -I&quot;{build.path}\src&quot; -Wno-pragmas -Wno-write-strings -Wno-unused-variable -Wno-unused-function" />
<UserProperties arduino.build.auto_discover_includes="1" arduino.build.skip_library_file_if_exists_in_project="0" arduino.upload.port="COM13" config.Debug.customdebug_chipKIT_MXL795b_debugger_type="universal" VM_ADDITIONAL_COMPILER_C_FLAGS=" -I&quot;{build.path}\src_aobc\src&quot; -Wno-pragmas -Wno-write-strings -Wno-unused-variable -Wno-unused-function" VM_ADDITIONAL_COMPILER_CPP_FLAGS=" -I&quot;{build.path}\src_aobc\src&quot; -Wno-pragmas -Wno-write-strings -Wno-unused-variable -Wno-unused-function" />
</VisualStudio>
</ProjectExtensions>
</Project>

0 comments on commit 171aebd

Please sign in to comment.