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
# usual stuff | |
sudo apt update -y | |
sudo apt upgrade -y | |
# for the latest versions | |
sudo apt install ubuntu-drivers-common -y | |
# setup all the disallow lists etc | |
sudo ubuntu-drivers autoinstall |
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
// i added in DebugConfiguration.cpp | |
#ifdef USE_SEGGER | |
// largest string it can process | |
const int BUFFER_SIZE = 512; | |
/********************************************************************* | |
* | |
* cx_SEGGER_RTT_vprintf |
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 <stdlib.h> | |
#include <time.h> | |
#include <stdio.h> | |
#include <sys/time.h> | |
int gcd(int a, int b); | |
void main() | |
{ | |
struct timeval tvTime; |
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
notes on dism etc | |
download matching windows 10 ISO matching winver.exe, mount the iso or extract it | |
@powershell | |
Mount-DiskImage -ImagePath "c:\temp\Windows-10x64.iso" | |
(Get-DiskImage "c:\temp\Windows-10x64.iso" | Get-Volume).DriveLetter | |
if htere is no install.wim and its an install.esd instead | |
and change to the directory where it is, show the types of windows that are available |
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
mines ubuntu 20.04 based, WSL2 | |
in windows | |
wsl --list -v | |
* Ubuntu-20.04 Stopped 2 | |
in wsl | |
# the old update routine | |
sudo apt-get update -y | |
# add tools to build kernel, apologies if i missed anything as i already have a bunch of dev stuff setup | |
sudo apt-get install -y autoconf bison build-essential flex libelf-dev libncurses-dev libssl-dev libtool libudev-dev |
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
git clone https://github.com/mossmann/hackrf | |
vcpkg install libusb:x64-windows-static | |
vcpkg install pthreads:x64-windows-static | |
cmake-gui | |
select hackrf/host/libhackrf/ | |
select build folder | |
if cmake isn't integrated |
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
#windows10 admin powershell | |
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=22 connectaddress=YOUR_WSL2IP connectport=22 | |
netsh advfirewall firewall add rule name="Open Port 22 for WSL2" dir=in action=allow protocol=TCP localport=22 | |
netsh interface portproxy show v4tov4 | |
#wsl2 | |
#first time | |
sudo apt-get install -y openssh-server | |
sudo ssh-keygen -A |
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
# ubuntu 20+ | |
sudo apt-get install -y gnuradio | |
sudo apt-get install -y git | |
sudo apt-get install -y doxygen | |
sudo apt-get install -y swig-dev | |
sudo apt-get install -y swig | |
sudo apt-get install -y libswig-dev | |
sudo apt-get install -y liborc-dev | |
sudo apt-get install -y libhackrf-dev | |
sudo apt-get install -y libbladerf-dev |
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
options: | |
parameters: | |
author: Mictronics | |
category: Custom | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic |
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
options: | |
parameters: | |
author: Mictronics | |
category: Custom | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic |
NewerOlder