Skip to content

Instantly share code, notes, and snippets.

View harrkout's full-sized avatar

Harry Koutsourelakis harrkout

  • Embedded Software Engineer
  • Heraklion, Crete
  • 18:54 (UTC +03:00)
View GitHub Profile
@harrkout
harrkout / rover.ino
Last active April 19, 2024 13:45
IoT rover, friday push
#include <Arduino.h>
#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <AsyncElegantOTA.h>
#include <SPIFFS.h>
#include <ArduinoJson.h>
#include <RunningMedian.h>
TaskHandle_t looptask;
@harrkout
harrkout / kitty.conf
Created February 1, 2024 08:24
Personal kitty terminal configuration for making terminal using from any computer. Custom shortcuts included
# vim:fileencoding=utf-8:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
font_family monofur
#bold_font monofur Bold
@harrkout
harrkout / config
Created February 1, 2024 08:23
Polybar personal configs
;==========================================================
;
; Owner: harrkout
;
;
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
@harrkout
harrkout / startpi.sh
Created February 1, 2024 08:20
QEMU_Raspberry_PI_3b_Script
#!/bin/bash
qemu-system-aarch64 -machine raspi3b -cpu cortex-a53 -smp 4 -m 1G -kernel kernel8.img \
-dtb bcm2710-rpi-3-b.dtb -sd 2023-02-21-raspios-bullseye-arm64-lite.img \
-append "root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4" \
-usbdevice keyboard -usbdevice mouse -device usb-net,netdev=net0\
-netdev user,id=net0,hostfwd=tcp::2022-:22
@harrkout
harrkout / delta.c
Last active February 1, 2024 08:56
Leshan OMA Lightweight M2M server for Zephyr with FOTA Delta updates custom for B-L475E-IOT01A w/ ARM Cortex®-M4 & 64-Mbit Quad-SPI (Macronix) Flash memory
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Original concept was created by L. LINDH, for her thesis 'https://odr.chalmers.se/bitstreams/600cc344-f3b6-4ce0-b281-164b706b3d2e/download`
*
* This implementation took the original code, which was designed for the nRF52840 DK, which houses an ARM Cortex-M4F, and
@harrkout
harrkout / main.c
Created February 1, 2024 08:14
VL53L0X Sensor with Golioth's Firmware Control LightDB Database
/*
* @file main.c
* @brief Golioth LightDB Stream of Time-of-Flight Sensor
* @date 01/06/22
* @author Harry Koutsourelakis
*/
// Golioth's header files
#include <logging/log.h>
LOG_MODULE_REGISTER(golioth_lightdb_stream, LOG_LEVEL_DBG);
@harrkout
harrkout / main.c
Created February 1, 2024 08:13
Machine_Learning_Core_STM32WL55/SHUBv3_MLC DataLog Fusion Custom GUI App (via ST's Unicleo-GUI) with DIL24 socket STEVAL-MKI197V1's LSM6DSOX sensor
/*
* WL55JCx + SHUBv3 + MKI197v1
*******************************************************************************
*
* This project was created for the WL55JC1 board, combined with the Sensor
* Hub v3 and the MKI197v1, to enable the Machine Learning Core of the LSM6DSOX Sensor
*
* Author: Harris Koutsourelakis, ISCA Lab
*
*
@harrkout
harrkout / lsm6dsox_mlc.c
Last active February 1, 2024 08:41
Machine_Learning_Core_STM32WL55/SHUBv3_MLC Serial Output App with DIL24 socket STEVAL-MKI197V1's LSM6DSOX sensor
/*
* WL55JCx + SHUBv3 + MKI197v1
*******************************************************************************
*
* This project was created for the WL55JC1 board, combined with the Sensor
* Hub v3 and the MKI197v1, to enable the Machine Learning Core of the LSM6DSOX Sensor
*
* Author: Harris Koutsourelakis, ISCA Lab
*
******************************************************************************