changed project name, added doc to README.md

master
Tibor 2 years ago
parent 32d431d28b
commit ea74376cf7
  1. 51
      3rdparty/README.md
  2. 60
      README.md
  3. 2
      heimdall.sln
  4. 4
      heimdall.vcxproj
  5. 6
      heimdall.vcxproj.user

51
3rdparty/README.md vendored

@ -1,51 +0,0 @@
**Installation**
The libs need to be installed on the destination machine (Raspberry Pi). For development on the Windows machine, only the headers will be needed.
**config4cpp:**
[GitHub](https://github.com/config4star/config4cpp)
[taiBsu.git](https://taibsu.net/git/taibsu/cppgpio)
```
# connect
ssh user@my-raspberrypi
# clone
git clone ssh://git@taibsu.net:22345/taibsu/config4cpp.git
# make
cd config4cpp
make -j4
# install - there is no "make install" here
cp -r lib/* /usr/lib
cp -r include/* /usr/include
cp -r bin/* /usr/bin
# done
```
**CppGPIO:**
[GitHub](https://github.com/JoachimSchurig/CppGPIO)
[taiBsu.git](https://taibsu.net/git/taibsu/config4cpp)
```
# connect
ssh user@my-raspberrypi
# clone
git clone ssh://git@taibsu.net:22345/taibsu/config4cpp.git
# make & install
cd config4cpp
make -j4
sudo make install
# done
```

@ -1,3 +1,59 @@
# taiBell-noGui
# heimdall
This project is being developed on a Windows machine and deployed on a Raspberry Pi 4B+ using cross-platform tools given by Visual Studio 2019 (as seen when creating a new Raspberry Pi project using the project assistant).
This project is being developed on a Windows machine and deployed on a Raspberry Pi 4B+ using cross-platform tools given by Visual Studio 2019 (as seen when creating a new Raspberry Pi project using the project assistant).
## Development
### Requirements
**heimdall** needs the libraries [CppGPIO](https://github.com/JoachimSchurig/CppGPIO) and [config4cpp](https://github.com/config4star/config4cpp) to be able to compile.
#### Windows / Visual Studio
For developing **heimdall** on your Windows machine, you won't need to link against those libraries in your project since they will be linked on the remote machine (Raspberry Pi) anyways. However, you will need the respective `include` folders (which are provided inside the `3rdparty` folder) to develop using those libs.
#### Raspberry Pi
To make VS be able to compile the code remotely on the Raspberry Pi, make sure to follow instructions below before remotely compiling the code on your Pi.
##### config4cpp
[GitHub](https://github.com/config4star/config4cpp)
```
# connect
ssh user@my-raspberrypi
# clone
git clone https://github.com/config4star/config4cpp.git
# make
cd config4cpp
make -j4
# install - unfortunately, config4cpp doesn't provide a "make install" routine.
cp -r lib/* /usr/lib
cp -r include/* /usr/include
cp -r bin/* /usr/bin
# done
```
##### CppGPIO
[GitHub](https://github.com/JoachimSchurig/CppGPIO)
```
# connect
ssh user@my-raspberrypi
# clone
git clone https://github.com/JoachimSchurig/CppGPIO.git
# make & install
cd CppGPIO
make -j4
sudo make install
# done
```

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31129.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "taibell-nogui", "taibell-nogui.vcxproj", "{67B6D91E-D080-4A26-855A-F3B7F20DDD1C}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "heimdall", "heimdall.vcxproj", "{67B6D91E-D080-4A26-855A-F3B7F20DDD1C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -21,13 +21,13 @@
<PropertyGroup Label="Globals">
<ProjectGuid>{67b6d91e-d080-4a26-855a-f3b7f20ddd1c}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>taibell-nogui</RootNamespace>
<RootNamespace>heimdall</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Raspberry</TargetLinuxPlatform>
<LinuxProjectType>{8748239F-558C-44D1-944B-07B09C35B330}</LinuxProjectType>
<ProjectName>taibell-nogui</ProjectName>
<ProjectName>heimdall</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<RemoteDebuggerCommandArguments>l DEBUG</RemoteDebuggerCommandArguments>
<RemoteDebuggerCommandArguments>
</RemoteDebuggerCommandArguments>
<DebuggerFlavor>LinuxDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<RemoteDebuggerCommandArguments>l DEBUG</RemoteDebuggerCommandArguments>
<RemoteDebuggerCommandArguments>
</RemoteDebuggerCommandArguments>
<DebuggerFlavor>LinuxDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
Loading…
Cancel
Save