Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View maciejjo's full-sized avatar
🖥️
🐃 ➕ 🐧

Maciej Sobkowski maciejjo

🖥️
🐃 ➕ 🐧
View GitHub Profile
@maciejjo
maciejjo / beaglebone-pru-dma-summary.md
Last active December 19, 2018 20:15
BeagleBone PRU DMA Project Summary

BeagleBone PRU DMA Summary

I had a chance to take part in GSoC 2017 for with a project for BeagleBoard.org foundation called "BeagleBone PRU DMA", whose purpose was to enable developers targeting BeagleBone/PRU platform usage of DMA transfers performed by the EDMA controller which is a part of BBB's SoC.

The project consists of 3 main parts, which all are developed in one GitHub repository under following link:

// Basic UART usage on the PRU
// This has to run on PRU1 as it seems
// there are only GPIO pins for that PRU
#define PRU0_R31_VEC_VALID 32 // notify program completion
#define PRU_EVTOUT_0 3 // event number sent back
#define UART_BASE_ADDR 0x00028000
#define DLL 0x00028020 // MSB of baud rate divisor
#define DLH 0x00028024 // LSB of baud rate divisor
// Basic UART usage on the PRU
// This has to run on PRU1 as it seems
// there are only GPIO pins for that PRU
#define PRU0_R31_VEC_VALID 32 // notify program completion
#define PRU_EVTOUT_0 3 // event number sent back
#define UART_BASE_ADDR 0x00028000
#define DLL 0x00028020 // MSB of baud rate divisor
#define DLH 0x00028024 // LSB of baud rate divisor
@maciejjo
maciejjo / keybase.md
Created January 21, 2016 14:45
Keybase identification

Keybase proof

I hereby claim:

  • I am maciejjo on github.
  • I am maciejjo (https://keybase.io/maciejjo) on keybase.
  • I have a public key whose fingerprint is E6E6 65FE 6553 2018 0DD8 EA5C 8060 D259 1BEB 29AC

To claim this, I am signing this object:

@maciejjo
maciejjo / Makefile
Last active November 8, 2017 10:25
Generic Makefile for a small C project
SRCDIR = src
HDRDIR = headers
OBJDIR = obj
BINDIR = bin
DEPDIR = dep
DATDIR = data
CC = gcc
TARGET = sorting
CFLAGS = -Wall -Wextra -pedantic -g -O0 -I$(HDRDIR)
@maciejjo
maciejjo / userChrome.css
Created July 1, 2015 08:21
userChrome.css - flat ui
/* FIXES TO AUSTRALIS THEME */
/* tabs bar below adress bar and bookmarks toolbar */
#TabsToolbar {
margin: 0 !important;
padding: 0 !important;
background: rgba(0,0,0,1) !important;
height:20px !important;
}
/* rectangular space-saving tabs (partially from http://userstyles.org/styles/99560/square-tab-for-firefox-australis) */
/*
PLIKI - ZADANIE 1
Napisz program kopiujący zawartośćpliku o nazwie podanej jako pierwszy
parametr do pliku którego nazwa podana jest jako drugi parametr
Użycie: ./ex1 f1 f2
Kopiowanie zawartości pliku f1 do pliku f2.
*/