Skip to content

Instantly share code, notes, and snippets.

@robodude666
robodude666 / build-targets.mk
Created August 30, 2011 16:44
Customized libmaple build-targets.mk file
TARGET_MAIN = main-BarWave
OBJECTS = $(BUILD_PATH)/LCD/LCD_Driver.o \
$(BUILD_PATH)/LCD/LCD_Graphics.o \
$(BUILD_PATH)/LCD/LCD_Font.o \
$(BUILD_PATH)/LCD/LCD_Touch.o \
$(BUILD_PATH)/LCD/LCD_Utils.o \
$(BUILD_PATH)/SPIHelper.o \
$(BUILD_PATH)/libfixmath/fix16_trig.o \
@robodude666
robodude666 / main.cpp
Created June 10, 2011 19:54
Primitive ADC + DMA testing and benchmarking on the Maple r5
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <math.h>
#include "wirish.h"
#include "dma.h"