This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This variable defines all the external programs that this module | |
# relies on. lxbuildenv reads this variable in order to ensure | |
# the build will finish without exiting due to missing third-party | |
# programs. | |
LX_DEPENDENCIES = ["riscv", "icestorm", "yosys"] | |
# Import lxbuildenv to integrate the deps/ directory | |
import lxbuildenv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This variable defines all the external programs that this module | |
# relies on. lxbuildenv reads this variable in order to ensure | |
# the build will finish without exiting due to missing third-party | |
# programs. | |
LX_DEPENDENCIES = ["riscv", "icestorm", "yosys"] | |
# Import lxbuildenv to integrate the deps/ directory | |
import lxbuildenv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* crc32.c -- compute the CRC-32 of a data stream | |
* Copyright (C) 1995-1998 Mark Adler | |
* For conditions of distribution and use, see copyright notice in zlib.h | |
*/ | |
#ifdef CRC32_FAST | |
static const unsigned int crc_table[256] = { | |
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, | |
0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, | |
0xe0d5e91eL, 0x97d2d988L, 0x09b64c2bL, 0x7eb17cbdL, 0xe7b82d07L, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hook up a speaker to pins 0 and 1. | |
* Touch pin 4 for "Previous Song" | |
* Touch pin 5 for "Next Song" | |
*/ | |
#include "Arduino.h" | |
#include "ChibiOS.h" | |
#include "kl02.h" | |
#include "memio.h" | |
// The system is running off of a 32.768 kHz crystal going through |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Arduino.h" | |
#include "ChibiOS.h" | |
#include "kl02.h" | |
#include "memio.h" | |
// Enable interpolation to make the output smoother. | |
// Set to 0 to disable interpolation. | |
// Note that some instruments don't support interpolation. | |
#define INTERPOLATION_ENABLED 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 2.052750] imx6q-pcie 1ffc000.pcie: Looking up vdd3p3-supply from device tree | |
[ 2.052855] imx6q-pcie 1ffc000.pcie: Looking up vdd1p5-supply from device tree | |
[ 2.167875] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00 | |
[ 2.170339] pci_bus 0000:00: root bus resource [io 0x1000-0xffff] | |
[ 2.172789] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff] | |
[ 2.175224] pci_bus 0000:00: root bus resource [bus 00-ff] | |
[ 2.177625] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 | |
[ 2.177647] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] | |
[ 2.177662] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] | |
[ 2.177708] pci 0000:00:00.0: supports D1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "Device" | |
Identifier "novena" | |
Driver "armada" | |
Option "UseGPU" "true" # change to "false" to disable 2D acceleration | |
Option "XvPreferOverlay" "FALSE" # FALSE enables xv acceleration | |
# The next two options switch it from galcore to etnadrm mode | |
Option "Screen" "0" | |
Option "AccelModule" "etnadrm_gpu" | |
EndSection |
NewerOlder