Made from https://github.com/RetroGFX/UnofficialOS/blob/main/PACKAGE.md#late-binding-variable-assignment And poking at environment variables and defined variables inside the shell during build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/ { | |
compatible = "rockchip,rk3326-rg351v-linux\0rockchip,rk3326"; | |
interrupt-parent = <0x01>; | |
#address-cells = <0x02>; | |
#size-cells = <0x02>; | |
model = "Anbernic RG351V"; | |
ddr_timing { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 56.815142] dwc2 ff300000.usb: bound driver g_serial | |
[ 56.815153] dwc2 ff300000.usb: dwc2_hsotg_pullup: is_on: 1 op_state: 9 | |
[ 56.815164] dwc2 ff300000.usb: --- SIMONL --- in host mode, return early from dwc2_hsotg_pullup | |
--- | |
op_state: 9 -> OTG_STATE_A_HOST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------- debug messages from gadget.c | |
dwc2 ff300000.usb: mapped PA ff300000 to VA (____ptrval____) | |
dwc2 ff300000.usb: Looking up vusb_d-supply from device tree | |
dwc2 ff300000.usb: Looking up vusb_d-supply property in node /usb@ff300000 failed | |
dwc2 ff300000.usb: supply vusb_d not found, using dummy regulator | |
dwc2 ff300000.usb: Looking up vusb_a-supply from device tree | |
dwc2 ff300000.usb: Looking up vusb_a-supply property in node /usb@ff300000 failed | |
dwc2 ff300000.usb: supply vusb_a not found, using dummy regulator | |
dwc2 ff300000.usb: registering common handler for irq28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
REPO="https://github.com/JustEnoughLinuxOS/distribution" | |
BRANCH="main" | |
BUILD_OPTS="EMULATION_DEVICE=no ENABLE_32BIT=no" | |
BUILD_DEVICE="RK3326" | |
BUILDER="<VPS ip>" | |
SSH_OPTS="-o PubkeyAuthentication=yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ReloadSoundUI keeps a map that associates labels used in dsp code | |
// with pointers to Soundfile zones so that they can be reloaded | |
// while the DSP is running | |
class ReloadSoundUI : public SoundUI | |
{ | |
std::map<std::string, Soundfile**> fSfZoneMap; | |
public: | |
ReloadSoundUI(const std::string& sound_directory = "", int sample_rate = -1, SoundfileReader* reader = nullptr, bool is_double = false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <thread> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include "faust/dsp/llvm-dsp.h" | |
#include "faust/dsp/libfaust.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.14) | |
project(faustuserprojectwithllvm) | |
get_filename_component(MYLIBFAUSTEMBEDDED_ROOT | |
"${CMAKE_CURRENT_LIST_DIR}/../" | |
ABSOLUTE) | |
add_compile_definitions(_GLIBCXX_USE_CXX11_ABI=0) | |
message(/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu/libz3.so) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- wget https://github.com/rxi/json.lua/raw/master/json.lua | |
local revx2 = require("revx2") | |
local inspect = require 'inspect' | |
local json = require "json" | |
local wav = require'luawav' | |
local path = "/path/to/json.json" | |
local json_file = io.open(path) | |
local loop = json.decode(json_file:read("*all")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.14) | |
project(faustuserprojectwithllvm) | |
add_executable(faustuserprojectwithllvm main.cpp) | |
target_compile_features(faustuserprojectwithllvm PRIVATE cxx_std_11) | |
target_link_libraries(faustuserprojectwithllvm PUBLIC | |
${PROJECT_SOURCE_DIR}/libfaustwithllvm.a | |
rt |
NewerOlder