Skip to content

Instantly share code, notes, and snippets.

View djdisodo's full-sized avatar
💭

sodo djdisodo

💭
View GitHub Profile

아두파일럿을 "luckfox-pico"에 포팅하는 과정

luckfox-pico는 Rockchip의 RV1103 SoC를 장착하고있으며 스펙은 아래와 같다

CPU: ARM Cortex-A7 @ 1GHz x1
MEMORY: 64MB DDR2
STORAGE: 외부에 장착하는 microSD
기타: H264/H265 하드웨어 인코딩 지원 (720p)
@djdisodo
djdisodo / rkmpimusl.md
Created January 28, 2025 15:11
rv1103 rkmpi on musl

why?

rkmpi is library provided by rockchip, without source code

however it's uclibc target and provided toolchain is quite outdated, creating problems when i try to use new libraries with it

it would be great if we can use rkmpi on musl or glibc environment

how

(no success yet)

@djdisodo
djdisodo / esptorrent.md
Last active January 2, 2026 14:25
running torrent on esp32

Running Torrent Client on esp32

here's cool avif image image the red led is connected to spi, so it turns on when data is being written

notes

i tried this project since i found it challenging and cool,
if you want something that's useful, it's better to use any old smartphones with chroot

this project uses esp-idf, so it's more like a programming for constrained resource than bare-metal programming \

<!DOCTYPE html>
<html>
<head>
<script>
window.open("about:blank", "a", "toolbar=0, width=300,height=300").document.write(atob("PCFET0NUWVBFIGh0bWw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHN0eWxlPgogICAgICAgICAgICBpbWdbc3JjPSJ1bWFydS5wbmciXSB7CiAgICAgICAgICAgICAgICB3aWR0aDogMTAwcHg7CiAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMHB4OwogICAgICAgICAgICAgICAgbWFyZ2luOiAzMHB4OwogICAgICAgICAgICB9CiAgICAgICAgICAgIGJvZHkgewogICAgICAgICAgICAgICAgd2lkdGg6MTAwJTsKICAgICAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7CiAgICAgICAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICAgICAgICAgICAgfQogICAgICAgIDwvc3R5bGU+CiAgICAgICAgPHNjcmlwdD4KICAgICAgICAgICAgbGV0IG9uY2UgPSAwOwogICAgICAgICAgICBmdW5jdGlvbiBvbk1vdXNlTW92ZShldmVudCkgewogICAgICAgICAgICAgICAgd2luZG93Lm1vdmVCeShldmVudC5vZmZzZXRYIC0gMTUwLCBldmVudC5vZmZzZXRZIC0gMTUwKTsKICAgICAgICAgICAgfQogICAgICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcigibW91c2Vtb3ZlIiwgb25Nb3VzZU1vdmUpOwoKICAgICAgICA8L3NjcmlwdD4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIDxpbWcgc3JjPSJkYXRhOmltYWdlL3BuZztiYXNlN
use std::io::prelude::*;
fn main() {
print!("\x1b[2J");
print!("\x1b[32m");
print!("\
Initializing...
837E834E81755982B382F182CC82B182C682CD
82E082A4965982EA82BD82D982A482AA

field

field is is interface that represents field of struct

struct Foo {
    x: usize,
    y: usize
}

there's a field x, y in Foo so Foo::x and Foo::y is defined field