Skip to content

Instantly share code, notes, and snippets.

View thopiekar's full-sized avatar
🚀
Wruummm!

Thomas Karl Pietrowski thopiekar

🚀
Wruummm!
View GitHub Profile
@thopiekar
thopiekar / launch.json
Last active March 4, 2020 12:45
Nucleo F411RE - nanoFramework - VisualStudioCode debugging
{
"version": "0.2.0",
"configurations": [
{
"name": "Nucleo F411RE nanoBooter",
"type": "cppdbg",
"request": "launch",
"miDebuggerPath": "C:/nf-toolchain/gcc-arm-none-eabi/9-2019-q4-major/win32/bin/arm-none-eabi-gdb.exe",
"targetArchitecture": "ARM",
"program": "C:/nanoFramework/nf-interpreter/build/nanoBooter.elf",
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.1.0-rc3 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_ARM_DMA_USE_IOMMU=y
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8
CONFIG_MIGHT_HAVE_PCI=y
@thopiekar
thopiekar / bluetooth.py
Created June 9, 2014 21:48 — forked from tito/bluetooth.py
Bluetooth in PythonForAndroid VM
'''
Bluetooth/Pyjnius example
=========================
This was used to send some bytes to an arduino via bluetooth.
The app must have BLUETOOTH and BLUETOOTH_ADMIN permissions (well, i didn't
tested without BLUETOOTH_ADMIN, maybe it works.)
Connect your device to your phone, via the bluetooth menu. After the
pairing is done, you'll be able to use it in the app.
@thopiekar
thopiekar / Cython3.spec
Created June 5, 2014 17:05
Cython3.spec - found on Fedora ARM site
%if 0%{?fedora} > 12
%global with_python3 1
%else
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%global srcname distribute
%define run_check 0%{!?_without_check:1}
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
missing description
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
missing architecture
Selecting previously unselected package base-files.
dpkg: regarding .../base-files_7.1wheezy1+steamos5+bsos1_amd64.deb containing base-files, pre-dependency problem:
base-files pre-depends on awk
awk is not installed.
dpkg: warning: ignoring pre-dependency problem!
thopiekar@home:/home/thopiekar$ sudo debootstrap alchemist steam-os-amd64 http://repo.steampowered.com/steamos/ /usr/share/debootstrap/scripts/wheezy
I: Retrieving Release
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: debconf insserv libbz2-1.0 libcap2 libdb5.1 libsemanage1 libsemanage-common libustr-1.0-1
I: Found additional base dependencies: libapt-pkg-dev libc6-dev libc-dev-bin libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsigc++-2.0-0c2a libsqlite3-0 libtasn1-3 libxapian-dev linux-libc-dev zlib1g-dev
I: Checking component main on http://repo.steampowered.com/steamos...