mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-01-22 16:32:33 +00:00
Refactor non-CPU specific parts of the LR35902 fuse test code into it's own library
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
304f6c1eca
commit
7192b5c095
14
EightBit.sln
14
EightBit.sln
@ -31,6 +31,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LR35902", "LR35902\LR35902.
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LR35902.FuseTest", "LR35902\LR35902.FuseTest\LR35902.FuseTest.csproj", "{CC24B08D-1C51-43FD-961D-7C9A49253D69}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fuse", "Fuse\Fuse.csproj", "{28E65032-5DFF-406F-9385-0EE1422A7F4A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -209,6 +211,18 @@ Global
|
||||
{CC24B08D-1C51-43FD-961D-7C9A49253D69}.Release|x64.Build.0 = Release|Any CPU
|
||||
{CC24B08D-1C51-43FD-961D-7C9A49253D69}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{CC24B08D-1C51-43FD-961D-7C9A49253D69}.Release|x86.Build.0 = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|x64.Build.0 = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{28E65032-5DFF-406F-9385-0EE1422A7F4A}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
68
Fuse/Fuse.csproj
Normal file
68
Fuse/Fuse.csproj
Normal file
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{28E65032-5DFF-406F-9385-0EE1422A7F4A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Fuse</RootNamespace>
|
||||
<AssemblyName>Fuse</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<RunCodeAnalysis>false</RunCodeAnalysis>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Lines.cs" />
|
||||
<Compile Include="MemoryDatum.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RegisterState.cs" />
|
||||
<Compile Include="Result.cs" />
|
||||
<Compile Include="Results.cs" />
|
||||
<Compile Include="Test.cs" />
|
||||
<Compile Include="TestEvent.cs" />
|
||||
<Compile Include="TestEvents.cs" />
|
||||
<Compile Include="Tests.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="stylecop.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EightBit\EightBit.csproj">
|
||||
<Project>{6ebf8857-62a3-4ef4-af21-c1844031d7e4}</Project>
|
||||
<Name>EightBit</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
36
Fuse/Properties/AssemblyInfo.cs
Normal file
36
Fuse/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Fuse")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Fuse")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("28e65032-5dff-406f-9385-0ee1422a7f4a")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
19
Fuse/stylecop.json
Normal file
19
Fuse/stylecop.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
// ACTION REQUIRED: This file was automatically added to your project, but it
|
||||
// will not take effect until additional steps are taken to enable it. See the
|
||||
// following page for additional information:
|
||||
//
|
||||
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md
|
||||
|
||||
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
|
||||
"settings": {
|
||||
"documentationRules": {
|
||||
"documentInterfaces": false,
|
||||
"documentExposedElements": false,
|
||||
"documentInternalElements": false,
|
||||
"documentPrivateElements": false,
|
||||
"documentPrivateFields": false,
|
||||
"companyName": "Adrian Conlon"
|
||||
}
|
||||
}
|
||||
}
|
@ -44,18 +44,9 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Result.cs" />
|
||||
<Compile Include="Results.cs" />
|
||||
<Compile Include="Lines.cs" />
|
||||
<Compile Include="MemoryDatum.cs" />
|
||||
<Compile Include="RegisterState.cs" />
|
||||
<Compile Include="Test.cs" />
|
||||
<Compile Include="TestEvent.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="TestEvents.cs" />
|
||||
<Compile Include="TestRunner.cs" />
|
||||
<Compile Include="Tests.cs" />
|
||||
<Compile Include="TestSuite.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -67,6 +58,10 @@
|
||||
<Project>{6ebf8857-62a3-4ef4-af21-c1844031d7e4}</Project>
|
||||
<Name>EightBit</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Fuse\Fuse.csproj">
|
||||
<Project>{28e65032-5dff-406f-9385-0ee1422a7f4a}</Project>
|
||||
<Name>Fuse</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LR35902.csproj">
|
||||
<Project>{01f61a1d-cb4a-4ea3-96ef-222f831df483}</Project>
|
||||
<Name>LR35902</Name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user