Skip to content

Commit

Permalink
Merge pull request electro-smith#78 from andrewikenberry/daisysp_dirs
Browse files Browse the repository at this point in the history
moved all module files to their own dir
  • Loading branch information
stephenhensley authored Nov 24, 2019
2 parents 1fbd73a + f3d9c07 commit 2be7a15
Show file tree
Hide file tree
Showing 34 changed files with 95 additions and 83 deletions.
3 changes: 2 additions & 1 deletion daisysp/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TARGET = libdaisysp

MODULE_DIR = modules
MODULES = \
adenv \
crossfade \
Expand Down Expand Up @@ -43,7 +44,7 @@ BUILD_DIR = build
######################################

# C sources
C_SOURCES += $(addsuffix .c, $(MODULES))
C_SOURCES += $(addsuffix .c, $(MODULE_DIR)/$(MODULES))

#######################################
# binaries
Expand Down
75 changes: 37 additions & 38 deletions daisysp/daisysp-Debug.vgdbsettings
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<LocalDirForAbsolutePaths>$(ToolchainDir)</LocalDirForAbsolutePaths>
</CustomSourceDirectories>
<MainSourceDirectory>$(ProjectDir)</MainSourceDirectory>
<ExportAdvancedBuildVariables>false</ExportAdvancedBuildVariables>
<EmbeddedProfileFile>stm32.xml</EmbeddedProfileFile>
</Project>
<Build xsi:type="com.visualgdb.build.msbuild">
Expand All @@ -18,40 +17,12 @@
</Version>
</ToolchainID>
<ProjectFile>daisysp.vcxproj</ProjectFile>
<ParallelJobCount>0</ParallelJobCount>
<RemoteBuildEnvironment>
<Records />
</RemoteBuildEnvironment>
<ParallelJobCount>1</ParallelJobCount>
<SuppressDirectoryChangeMessages>true</SuppressDirectoryChangeMessages>
</Build>
<CustomBuild>
<PreSyncActions />
<PreBuildActions />
<PostBuildActions />
<PreCleanActions />
<PostCleanActions />
</CustomBuild>
<CustomDebug>
<PreDebugActions />
<PostDebugActions />
<DebugStopActions />
<BreakMode>Default</BreakMode>
</CustomDebug>
<CustomShortcuts>
<Shortcuts />
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
</CustomShortcuts>
<UserDefinedVariables />
<CodeSense>
<Enabled>Unknown</Enabled>
<ExtraSettings>
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
<CheckForClangFormatFiles>true</CheckForClangFormatFiles>
<FormattingEngine xsi:nil="true" />
</ExtraSettings>
<CodeAnalyzerSettings>
<Enabled>false</Enabled>
</CodeAnalyzerSettings>
</CodeSense>
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
<Debug xsi:type="com.visualgdb.debug.embedded">
<AdditionalStartupCommands />
<AdditionalGDBSettings>
Expand Down Expand Up @@ -109,16 +80,44 @@
</DebugMethod>
<AutoDetectRTOS>true</AutoDetectRTOS>
<SemihostingSupport>Auto</SemihostingSupport>
<SemihostingPollingDelay>0</SemihostingPollingDelay>
<StepIntoEntryPoint>false</StepIntoEntryPoint>
<ReloadFirmwareOnReset>false</ReloadFirmwareOnReset>
<ValidateEndOfStackAddress>true</ValidateEndOfStackAddress>
<StopAtEntryPoint>false</StopAtEntryPoint>
<EnableVirtualHalts>false</EnableVirtualHalts>
<CheckInterfaceDrivers>true</CheckInterfaceDrivers>
<DynamicAnalysisSettings />
<EndOfStackSymbol>_estack</EndOfStackSymbol>
<TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond>
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
<CheckInterfaceDrivers>true</CheckInterfaceDrivers>
</Debug>
</VisualGDBProjectSettings2>
<CustomBuild>
<PreSyncActions />
<PreBuildActions />
<PostBuildActions />
<PreCleanActions />
<PostCleanActions />
</CustomBuild>
<CustomDebug>
<PreDebugActions />
<PostDebugActions />
<DebugStopActions />
<BreakMode>Default</BreakMode>
</CustomDebug>
<CustomShortcuts>
<Shortcuts />
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
</CustomShortcuts>
<UserDefinedVariables />
<ImportedPropertySheets />
<CodeSense>
<Enabled>Unknown</Enabled>
<ExtraSettings>
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
</ExtraSettings>
<CodeAnalyzerSettings>
<Enabled>false</Enabled>
</CodeAnalyzerSettings>
</CodeSense>
<BuildContextDirectory>VisualGDB\VisualGDBCache</BuildContextDirectory>
<ProgramArgumentsSuggestions />
</VisualGDBProjectSettings2>
28 changes: 14 additions & 14 deletions daisysp/daisysp.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ typedef struct {

// Listed in Alphabetical Order
// Each of the below has/should have an example project.
#include "adenv.h"
#include "crossfade.h"
#include "dcblock.h"
#include "decimator.h"
#include "delay_line.h"
#include "line.h"
#include "nlfilt.h"
#include "metro.h"
#include "oscillator.h"
#include "phasor.h"
#include "port.h"
#include "reverbsc.h"
#include "svf.h"
#include "whitenoise.h"
#include "modules/adenv.h"
#include "modules/crossfade.h"
#include "modules/dcblock.h"
#include "modules/decimator.h"
#include "modules/delay_line.h"
#include "modules/line.h"
#include "modules/nlfilt.h"
#include "modules/metro.h"
#include "modules/oscillator.h"
#include "modules/phasor.h"
#include "modules/port.h"
#include "modules/reverbsc.h"
#include "modules/svf.h"
#include "modules/whitenoise.h"

#ifdef __cplusplus
}
Expand Down
68 changes: 40 additions & 28 deletions daisysp/daisysp.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
<GNUConfigurationType>Debug</GNUConfigurationType>
<ToolchainID>com.sysprogs.gnuarm.arm-eabi</ToolchainID>
<ToolchainVersion>8.3.1/8.0/r1</ToolchainVersion>
<ToolchainVersion>4.9.3/7.8/r1</ToolchainVersion>
<GNUTargetType>StaticLibrary</GNUTargetType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
<ToolchainID>com.sysprogs.gnuarm.arm-eabi</ToolchainID>
<ToolchainVersion>8.3.1/8.0/r1</ToolchainVersion>
<ToolchainVersion>4.9.3/7.8/r1</ToolchainVersion>
<GNUTargetType>StaticLibrary</GNUTargetType>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
Expand All @@ -49,28 +49,38 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|VisualGDB'">
<ClCompile>
<InlineFunctions>true</InlineFunctions>
<AdditionalIncludeDirectories>modules;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DEBUG=1;%(ClCompile.PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalLinkerInputs>;%(Link.AdditionalLinkerInputs)</AdditionalLinkerInputs>
<LibrarySearchDirectories>;%(Link.LibrarySearchDirectories)</LibrarySearchDirectories>
<AdditionalLibraryNames>;%(Link.AdditionalLibraryNames)</AdditionalLibraryNames>
<LinkerScript />
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
<ClCompile>
<InlineFunctions>true</InlineFunctions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="adenv.h" />
<ClInclude Include="daisysp.h" />
<ClInclude Include="dcblock.h" />
<ClInclude Include="decimator.h" />
<ClInclude Include="delay_line.h" />
<ClInclude Include="dsy_pstream.h" />
<ClInclude Include="line.h" />
<ClInclude Include="metro.h" />
<ClInclude Include="nlfilt.h" />
<ClInclude Include="whitenoise.h" />
<ClInclude Include="oscillator.h" />
<ClInclude Include="phasor.h" />
<ClInclude Include="reverbsc.h" />
<ClInclude Include="svf.h" />
<ClInclude Include="modules\adenv.h" />
<ClInclude Include="modules\crossfade.h" />
<ClInclude Include="modules\dcblock.h" />
<ClInclude Include="modules\decimator.h" />
<ClInclude Include="modules\delay_line.h" />
<ClInclude Include="modules\dsy_pstream.h" />
<ClInclude Include="modules\line.h" />
<ClInclude Include="modules\metro.h" />
<ClInclude Include="modules\nlfilt.h" />
<ClInclude Include="modules\oscillator.h" />
<ClInclude Include="modules\phasor.h" />
<ClInclude Include="modules\port.h" />
<ClInclude Include="modules\reverbsc.h" />
<ClInclude Include="modules\svf.h" />
<ClInclude Include="modules\whitenoise.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand All @@ -81,17 +91,19 @@
<None Include="stm32.xml" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="adenv.c" />
<ClCompile Include="dcblock.c" />
<ClCompile Include="decimator.c" />
<ClCompile Include="delay_line.c" />
<ClCompile Include="line.c" />
<ClCompile Include="metro.c" />
<ClCompile Include="nlfilt.c" />
<ClCompile Include="whitenoise.c" />
<ClCompile Include="oscillator.c" />
<ClCompile Include="phasor.c" />
<ClCompile Include="reverbsc.c" />
<ClCompile Include="svf.c" />
<ClCompile Include="modules\adenv.c" />
<ClCompile Include="modules\crossfade.c" />
<ClCompile Include="modules\dcblock.c" />
<ClCompile Include="modules\decimator.c" />
<ClCompile Include="modules\delay_line.c" />
<ClCompile Include="modules\line.c" />
<ClCompile Include="modules\metro.c" />
<ClCompile Include="modules\nlfilt.c" />
<ClCompile Include="modules\oscillator.c" />
<ClCompile Include="modules\phasor.c" />
<ClCompile Include="modules\port.c" />
<ClCompile Include="modules\reverbsc.c" />
<ClCompile Include="modules\svf.c" />
<ClCompile Include="modules\whitenoise.c" />
</ItemGroup>
</Project>
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions daisysp/stm32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<EmbeddedProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ToolchainID>com.sysprogs.gnuarm.arm-eabi</ToolchainID>
<ToolchainVersion>
<GCC>8.3.1</GCC>
<GDB>8.0</GDB>
<GCC>4.9.3</GCC>
<GDB>7.8</GDB>
<Revision>1</Revision>
</ToolchainVersion>
<BspID>com.sysprogs.arm.stm32</BspID>
Expand Down

0 comments on commit 2be7a15

Please sign in to comment.