Christian K ed629c738e add -lrt to makefiles, rework how common.cpp processed kl version. 4 år sedan
..
README.md 8566dfc4c9 Consolidate toolchain makefile, update README.md for toolchain. 5 år sedan
deploy.sh 3670802d62 Add deploy.sh, to test/deploy new kisslight builds from development rig. 5 år sedan
makefile ed629c738e add -lrt to makefiles, rework how common.cpp processed kl version. 4 år sedan
sync.cmd 8737903a5f Add cross-compiling resources to kisslight project. 5 år sedan

README.md

kisslight devel

Allows for cross-compiling kisslight in Windows (and linux at some point!)

Windows

this will walk through the process to setup a toolchain on windows

toolchain installation


Install sysprog's RPi toolchain,

Then install sysprog's SmarTTY;

In the install directory for SmarTTY, add the following batch file:

@echo off
REM Store this in the root directory of SmartTTY application

SmarTTY.exe /UpdateSysroot:..\..\..\path\to\SysGCC\raspberry\arm-linux-gnueabihf\sysroot

then add the following to the repo's VSCode task list json file:

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        // perhaps you already have the json file
        // just add the two blocks of code below
        {
            "label": "build kisslight",
            "type": "shell",
            "command": "cd devel; make; cd .."
        },
        {
            "label": "sync sysroot",
            "type": "shell",
            "command": "devel\\sync.cmd"
        }
    ]
}

and done.