Logo Kernel, Virus and Programming Buddism meets coding here
  • Home
  • GKD
  • Programming
  • Gossip
  • Buddhism
  • Cantonese
  • Me
  • Log In
RISC-V Assembler enhancement 2026-08-30

RISC-V Assembler enhancement 2026-08-30

2026-08-30 166

Add macros and the rest of a professional RISC-V assembler The RISC-V front end already encodes instructions and a handful…

Scale up GUI for xilinx vivado in ubuntu

Scale up GUI for xilinx vivado in ubuntu

2026-08-27 69

Add this to your .bashrc

How to get petalinux running in Zynq7020

How to get petalinux running in Zynq7020

2026-08-25 104

!!! This is not the perfect guide, during the compilation it got errors, ask gemini. https://share.gemini.google/bFyDzMtkYZVk I am using this…

Enable LFS for git to gitlab

Enable LFS for git to gitlab

2026-08-19 92

1. Install Git LFS 2. Initialize Git LFS Run this command once on your computer to hook it into Git:…

Cursor/VSCode setup proxy for copilot

Cursor/VSCode setup proxy for copilot

2026-08-17 92

How to start development of risc-v simulator

How to start development of risc-v simulator

2026-08-02 162

Tested in mac m5 Step 1: Qemu. First test the default qemu, then modify in step 3 Step 2: xv6-riscv…

Gen Github Key

Gen Github Key

2026-07-25 128

Add key permanently

Alicloud functions

Alicloud functions

2026-07-12 121

Turn Weact Blackpill to uart-to-usb device by arduino

Turn Weact Blackpill to uart-to-usb device by arduino

2026-06-27 114

Step 1: Check your Tools menu and make sure your settings look exactly like this:

Pickit 5 with AVR

Pickit 5 with AVR

2026-06-14 132

To burn the hex to avr in mac using command line, use this Makefile

Playing ATF22V10C

Playing ATF22V10C

2026-05-17 294

I bought 10 ATF22V10C from here and T48 programmer here, got 1 broken. First, here is the simple and gate…

Open4WD

Open4WD

2026-03-31 94

Li-on Charging Circuit

Li-on Charging Circuit

2026-03-23 112

Disable Cursor telemetry

Disable Cursor telemetry

2026-03-14 164

Disable cursor capturing my project's information to prevent leaking. Open settings.json and set

Build pulseview in mac : fatal error: 'glib.h' file not found

Build pulseview in mac : fatal error: 'glib.h' file not found

2026-02-15 100

If you build pulseview in mac, you got "fatal error: 'glib.h' file not found". Do these

STM32 + Micropython + Read/Write W25Q128

STM32 + Micropython + Read/Write W25Q128

2026-02-01 226

How to Run Write READ:

ESP32 + MPU9250

ESP32 + MPU9250

2026-01-25 197

But here https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm?spm=a21bo.jianhua/a.bought.1.5af92a89BjwMqR

ESP32 + TB6612FNG control tamiya 4wd motor

ESP32 + TB6612FNG control tamiya 4wd motor

2026-01-25 220

https://item.taobao.com/item.htm?id=42199583243&mi_id=0000ITQ8ab1cso77bC7eJVc4uQGYSsKdCj4cNkfZXQIfyOc&spm=tbpc.boughtlist.suborder_itemtitle.1.50cb2e8dV4wrtN

ICESugar FPGA toolchain docker

ICESugar FPGA toolchain docker

2026-01-21 119

Setting up the ICESugar FPGA toolchain is trouble in mac, so i built the docker image. This toolchain is for…

了解Pulseview Logic Analyze背後運作

了解Pulseview Logic Analyze背後運作

2026-01-10 394

因為想知道Pulseview背後運作原理來,又想為cpu開發加入一啲特別嘅功能,所以決定用STM32自己搞一隻logic analyzer,雖然STM32用來搞不會很高速,但足了之解其原理,之後再用FPGA搞會非常容易 Pulseview是logic analyzer的GUI界面,sigrok-cli是命令行模式,兩者是呼叫一個名為libsigrok的庫去和你的logic analyzer溝通。至於libsigrok用什麼去和你的logic analyzer溝運,這個是你個人意願,因為stm32可以自己變成uart device所以就當它是uart去溝通最容易。你的logic analyzer可以有兩個mode,stream vs buffer。stream就是收幾多signal就立即傳回給libsigrok,buffer就是先儲起直至你認為儲夠再傳回至libsigrok。 我用stm32的F411和H750完成,可以看代碼,主要是main.c。因為libsigrok無可能認得你個device,所以要跟這個tutorial去改。最終效果如下

Electronic Filters

Electronic Filters

2026-01-04 115

Filters and Power Converters in Electronics – A Brief Overview In analog electronics, frequency-selective filters are essential building blocks for…

Arduino Uno controlling motor

Arduino Uno controlling motor

2026-01-03 123

https://item.taobao.com/item.htm?id=710395566954&mi_id=00006hQxL-b9xEoOFLug5BPJj-kqL5zg0HIfjspeV3U_JWw&spm=tbpc.boughtlist.suborder_itemtitle.1.71512e8dnRLo1o

Icesugar 40 using docker

Icesugar 40 using docker

2025-12-22 97

Backup and restore gitlab ce running in docker

Backup and restore gitlab ce running in docker

2025-11-22 109

Backup This creates a single .tar file that contains everything: repositories, database, uploads, builds, artifacts, LFS, registry, pages, etc. The…

EC11 Encode - Micropython example

EC11 Encode - Micropython example

2025-11-15 116

Tao Bao https://github.com/quantrpeter/ec11-waveshare-esp32c6

WaveShare ESP32 C6 Zero - WS2812 micropython example

WaveShare ESP32 C6 Zero - WS2812 micropython example

2025-11-15 112

ThreeJS Examples Syllabus

ThreeJS Examples Syllabus

2025-11-11 157

Category 1: Fundamentals - Geometry, Camera, and Basic Rendering (幾何、相機和基本渲染) Focus: Core concepts and basic 3D scene setup Examples to cover (~30): Category 2:…

Tutorial : Play ZFS take snapshot and restore to files/folder

Tutorial : Play ZFS take snapshot and restore to files/folder

2025-11-04 101

Step 1: Install and create the drive Step 2: Create pool and view it Step 3: Optional, use a custom…

四驅車電容加速

四驅車電容加速

2025-11-02 335

阿叔之無稽之談:1. 電容加唔到速:我買左四種電容,全部都有加速效果。阿叔話細電容得2.7v,加唔到速。我用4.8v charge 2.7v電容,加速度好勁。阿叔話會爆炸,我用5v charge,去埋個廁所都等唔到傳說中嘅爆炸!2. 電容唔夠力:我用5F大約有1.5秒強勁加速,用10F大約有你秒,目測個摩打快左40%以上3. 四驅車電池不足以為電容充電:我用左個5v升壓,賣2蚊人仔,充電效果唔錯。唯一就係充得唔夠快,5F要20秒,10F要50秒4. 阿叔話四驅車摩打頂唔到5V:實情係一啲事都無,摩打直頭唔熱,我估去到7v都唔會有問題

MinPro-I USB FlashWritter

MinPro-I USB FlashWritter

2025-11-02 93

Buy : TaoBao Software download : http://www.yaojiedianzi.com/index.php?m=Download&a=show&id=10 So download here : Warning: Driver in the zip not work, do this If…

VSCode + Antlr generated sources

VSCode + Antlr generated sources

2025-10-20 101

VSCode can't find the class from antlr generated sources. We need to run "mvn eclipse:eclipse" to generate .classpath and .project…

LVGL_Micropython build for Waveshare ESP32-S3 3.5 inch

LVGL_Micropython build for Waveshare ESP32-S3 3.5 inch

2025-10-17 164

https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-3.5 There are two versions of hardware

Build project icestorm in mac

Build project icestorm in mac

2025-10-15 85

Refer to https://clifford.at/icestorm icestorm arachne-pnr nextpnr yosys

ESP32 C6 keep toggling the pin can reach ~1Mhz

ESP32 C6 keep toggling the pin can reach ~1Mhz

2025-10-12 100

Very Fast ! ESP32 C6 keep toggling the pin can reach ~1Mhz. Waveshare C6 zero esp32 is running at 160…

ESP32 C6 example to control WS2812

ESP32 C6 example to control WS2812

2025-10-12 316

This example controls the WS2812 on Waveshare C6 Zero board, keep changing its color, done using VSCode + ESP-IDF

UART Terminal for orange pi

UART Terminal for orange pi

2025-10-11 310

"screen" command not work, may be the baurate too high, orange pi is using 1.5M. so use this command The…

stm32h750vbt6 running at max 480Mhz speed

stm32h750vbt6 running at max 480Mhz speed

2025-10-04 89

My STM32 Logic Analyzer work perfectly with PulseView now

My STM32 Logic Analyzer work perfectly with PulseView now

2025-10-02 76

STM32 - Calculator timer interrupt speed

STM32 - Calculator timer interrupt speed

2025-09-30 102

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_TIM#Clock_division

WeAct blackpill run at max speed with usb otg

WeAct blackpill run at max speed with usb otg

2025-09-26 69

Hong Kong Programming Society, Copyright @2026