All Projects → jakeisname → moon_c

jakeisname / moon_c

Licence: other
문c 블로그 with ARM64 Linux Kernel 5.x

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
shell
77523 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to moon c

epoll
A low-level Node.js binding for the Linux epoll API
Stars: ✭ 79 (+364.71%)
Mutual labels:  gpio, interrupt
w1-gpio-cl
Command line configured kernel mode 1-wire bus master driver. w1-gpio standard Linux module enhancement/substitution.
Stars: ✭ 17 (+0%)
Mutual labels:  gpio, driver
Ruby I2c Devices
i2c-devices is a library for using I2C devices by using /dev/i2c-* or /sys/class/gpio with bit-banging.
Stars: ✭ 23 (+35.29%)
Mutual labels:  gpio, driver
libgiddy
Giddy - A lightweight GPU decompression library
Stars: ✭ 39 (+129.41%)
Mutual labels:  pcie
ESP8266TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on an ESP8266-based board. It now supports 16 ISR-based timers, while consuming only 1 hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tas…
Stars: ✭ 85 (+400%)
Mutual labels:  interrupt
pirrigo
Full-featured Raspberry Pi based irrigation controller and web application for scheduling.
Stars: ✭ 18 (+5.88%)
Mutual labels:  gpio
fanuc-driver
Configurable Fanuc Focas data collector and post processor.
Stars: ✭ 38 (+123.53%)
Mutual labels:  driver
STM32 TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on an STM32F/L/H/G/WB/MP1-based board. These STM32F/L/H/G/WB/MP1 Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micr…
Stars: ✭ 27 (+58.82%)
Mutual labels:  interrupt
ControlBlockService2
This is the driver for the ControlBlock re.v 2.X, a power switch and input/output/gameapd gadget for the Raspberry Pi
Stars: ✭ 18 (+5.88%)
Mutual labels:  driver
awesome-embedded-swift
⚡️🛠🧰 A curated list for Embedded and Low-Level development in the Swift programming language.
Stars: ✭ 57 (+235.29%)
Mutual labels:  gpio
go-hd44780
Golang library to interact with liquid-crystal display driven by Hitachi HD44780 IC via I2C-bus driver from Raspberry PI.
Stars: ✭ 31 (+82.35%)
Mutual labels:  gpio
ryzen smu
A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors. Read only mirror of https://gitlab.com/leogx9r/ryzen_smu
Stars: ✭ 57 (+235.29%)
Mutual labels:  driver
SimpleStepper
A bare minimum but really fast and simple stepper library for Arduino.
Stars: ✭ 21 (+23.53%)
Mutual labels:  interrupt
phpRebloom
🎛️ Use RedisBloom in PHP!
Stars: ✭ 20 (+17.65%)
Mutual labels:  driver
theCore
theCore: C++ embedded framework
Stars: ✭ 76 (+347.06%)
Mutual labels:  driver
f1-telemetry-client
A Node UDP client and telemetry parser for Codemaster's Formula 1 series of games
Stars: ✭ 128 (+652.94%)
Mutual labels:  driver
aioch
aioch - is a library for accessing a ClickHouse database over native interface from the asyncio
Stars: ✭ 145 (+752.94%)
Mutual labels:  driver
saklarku
Aplikasi mobile remote control untuk mengendalikan saklar/relay yang terhubung dengan port LED/GPIO di router berbasis OpenWRT
Stars: ✭ 20 (+17.65%)
Mutual labels:  gpio
realtek-uad-nahimic-mod
Realtek Universal Audio Driver with Nahimic APO
Stars: ✭ 55 (+223.53%)
Mutual labels:  driver
pihut-xmas-asyncio
Demonstration driving The Pi Hut Raspberry Pi 3D Xmas tree using Python Asyncio
Stars: ✭ 15 (-11.76%)
Mutual labels:  gpio

moon_c

문c 블로그 with ARM64 Linux Kernel 5.x http://jake.dothome.co.kr

  • char

    • new_gpio_api.c gpio 캐릭터 디바이스로 gpio 핀 제어 테스트 샘플 (파일을 직접 열고 ioctl로 제어)
    • new_gpio_api2.c gpio 캐릭터 디바이스로 gpio 핀 제어 테스트 샘플 (gpiod api 사용)
  • clk 디렉토리

    • clk-foo-divider.c
      • compatible = "foo,divider-clock" 클럭 소스로 커널 컴파일 시 포함(inbuild) 되어야 함.
    • clk-foo-mux.c
      • compatible = "foo,mux-clock" 클럭 소스로 커널 컴파일 시 포함(inbuild) 되어야 함.
    • clk.c
      • 위 클럭 드라이버를 사용한 사용자 샘플
  • device-1 디렉토리

    • foo.c
      • foo_bus와 foo_class 등록
    • foo_pdev.c
      • foo 버스 컨트롤러 플랫폼 디바이스 등록
    • foo_pdrv.c
      • foo 버스 컨트롤러 플랫폼 드라이버 등록
    • foo_client1.c
      • foo 클라이언트 디바이스 및 드라이버 등록
    • foo_client2.c
      • foo_client1.c와 동일하지만 foo_device_register() 및 foo_driver_register() 사용
  • device-2 디렉토리

    • foo.c
      • foo 디바이스 등록과 with 디바이스 속성
    • foo2.c
      • foo2 디바이스 등록 with 디바이스 속성(플랫폼 디바이스로 등록)
    • foo3.c
      • foo3 플랫폼 디바이스 등록
      • 디바이스 속성 추가
      • 플랫폼 리소스 등록(iomem, irq)
    • drv3.c
      • drv3 플랫폼 드라이버 등록(foo3 디바이스와 pair)
      • 드라이버 속성 추가
      • 플랫폼 리소스를 얻어와서 사용하는 방법
    • drv4.c
      • drv4 플랫폼 드라이버 등록(virt.dts의 foo4 노드에서 등록시킨 플랫폼 디바이스와 pair)
      • 드라이버 속성 추가
      • 디바이스 트리와 연동하여 플랫폼 리소스를 얻어와서 사용하는 방법
      • 디바이스 트리 노드에서 custom 속성 알아오는 방법
    • virt.dts
      • qemu용 default virt 디바이스 트리에 foo4 노드를 추가 (drv4.c와 연동)
  • foo-pinctrl 디렉토리

    • foo-pinctrl.c
      • pinctrl 플랫폼 드라이버 등록(virt.dts의 foo-pinctrl 플랫폼 디바이스와 pair)
      • pinctrl 플랫폼 드라이버에 8개의 pin, 4개의 function 및 다수의 그룹 등록
      • 디바이스 트리를 사용하여 pinmux/pinconf 매핑 사용
      • pictrl 드라이버가 로딩되면서 디폴트 pinmux/pinconf 매핑 동작
    • foo-pinctrl2.c
      • foo-pinctrl.c를 구현만 약간 변형한 버전 (동일한 기능)
    • virt.dts
      • qemu용 default virt 디바이스 트리에 foo-pinctrl 노드를 추가 (foo-pinctrl.c와 연동)
  • foo-gpio 디렉토리

    • gpio.c
      • gpio 컨트롤러에 legacy 인터럽트 연동 샘플
    • gpio2.c
      • gpio 컨트롤러에 legacy 인터럽트 연동 샘플-2
      • 디바이스트리에서 다수의 gpio controller 드라이버 지정 가능
      • 가상 gpio 레지스터 시뮬레이션
    • virt.dts
      • gpio2용 gpio0 & gpio1 노드 추가
  • foo-gpio-pci 디렉토리

    • gpio.c
      • pci 플랫폼 드라이버에 gpio 컨트롤러를 연동하고 legacy 인터럽트 연동 샘플
  • sysfs 디렉토리

    • foo1.c
      • sysfs 속성 및 이벤트 발생 테스트 (kobject_add 사용)
    • foo2.c
      • sysfs 속성 및 이벤트 발생 테스트 (kobject_create_and_add & sysfs_create_group 사용)
    • foo3.c
      • sysfs 속성 및 이벤트 발생 테스트 (foo 플랫폼 디바이스로 등록)
    • test.c
      • foo1.c 및 foo2.c의 이벤트 수신 application
    • test3.c
      • foo3.c 이벤트 수신 application
  • hrtimer 디렉토리

    • foo.c
      • pinned hrtimer를 테스트하기 위해 각각의 cpu에서 1초 주기로 hrtimer를 동작
  • foo-i2c 디렉토리

    • foo-i2c.c
      • i2c host controller 에뮬레이션 샘플
  • foo-i2c-1 디렉토리

    • foo-lcd.c
      • i2c client 에뮬레이션 샘플
      • 0x3f 주소를 갖는 1602-LCD-I2C(16x2)의 백라이트를 제어
  • foo-pci-1 디렉토리

    • foo-pci-1.c
      • pci 디바이스 덤프
  • foo-pci-2 디렉토리

    • foo-pci-2.c
      • ivshmem pci 디바이스를 사용한 가상 gpio 컨트롤러 구현
      • chained irq & nested irq test for legacy IRQx
      • MSI-x enable
  • tcp-1 디렉토리

    • tcp server example (select 사용, queue 및 예외 처리 로직 등을 추가하여 실전 서버 소켓과 유사하게 구현)
    • telnet과 연동 테스트용
    • 실전 서버에는 이 샘플 코드 외에 구조체 전송, magic number 및 seq_id 비교 로직등이 추가 구현됨.
  • foo-proc 디렉토리

    • proc 구현 샘플(시퀀스 사용)
  • foo-proc2 디렉토리

    • proc 구현 샘플
  • kernel_threadd 디렉토리

    • FIFO 또는 RR rt 커널 스레드 샘플
  • hello_module 디렉토리

    • hello 모듈 샘플
  • test/provider 디렉토리

    • barrier test for user application
  • file-1 디렉토리

    • 커널에서 유저용 파일 기록(비권장)
  • netlink 디렉토리

    • mcast 디렉토리
    • ucast
  • dma_coherent 디렉토리

    • dma 전용 메모리 사용 샘플(device tree 참고)
  • irq_inject 디렉토리

    • 인터럽트 injection 샘플
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].