Instructions for Ubuntu 20.04LTS and QEMU installed from APT Based on Alpine Wiki
Install syslinux
sudo apt-get install syslinux -y
Make an empty disk image
# Derive from Nordic's image, SDK version 2.5 | |
FROM nordicplayground/nrfconnect-sdk:v2.5-branch | |
# Update the distro | |
RUN apt-get -y update | |
# Install git and GDB | |
RUN apt-get -y install git gdb-multiarch | |
# Create the workspace folder | |
RUN mkdir /workdir/workspace |
#!/usr/bin/python3 | |
""" | |
Parse an enum from a C file to a C array associating enum index to its corresponding string | |
BDeliers, July 2023 | |
""" | |
import re | |
if __name__ == "__main__": |
Instructions for Ubuntu 20.04LTS and QEMU installed from APT Based on Alpine Wiki
Install syslinux
sudo apt-get install syslinux -y
Make an empty disk image
#!/bin/python3 | |
""" | |
Script to make directories tree from image's EXIF shot date | |
BDeliers - January 2023 | |
""" | |
__docformat__ = 'reStructuredText' | |
import argparse | |
import datetime | |
import os |
// DIA addresses | |
#define TSLR2 0x8113 | |
#define FVRA1X 0x8118 | |
#define FVRA2X 0x8119 | |
// Read from Device Information Area | |
uint16_t DIARead(uint16_t addr) { | |
// Access DIA | |
NVMCON1 = 0b01000000; | |
// Set address |
class PriorityQueue: | |
""" | |
Priority queue implementation | |
by BDeliers, June 2018 | |
""" | |
def __init__(self): | |
self.__queue = [] | |
def __repr__(self): |