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
CFLAGS=-Wall -flto -ffunction-sections -mthumb-interwork -mcpu=cortex-a9 -O2 -mfpu=neon | |
main: main.o a.o | |
arm-none-eabi-gcc -o $@ --specs=nano.specs --specs=rdimon.specs $(CFLAGS) $^ | |
a.o: a.cpp | |
arm-none-eabi-gcc -x c++ -o $@ -c $(CFLAGS) -mthumb $< | |
main.o: main.cpp | |
arm-none-eabi-gcc -x c++ -o $@ -c $(CFLAGS) -marm $< |
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
INFO: Open USB 8087:0aa7 class e0 failed | |
BMP hosted v1.7.1-233-g6d6a67b | |
for ST-Link V2/3, CMSIS_DAP, JLINK and LIBFTDI/MPSSE | |
Using 1d50:6018 BFE7C4F0 Black Sphere Technologies | |
Black Magic Probe v1.7.1-232-g0c63903 | |
+#!GA# | |
K v1.7.1-232-g0c63903 | |
Remote is v1.7.1-232-g0c63903 | |
!GZ0# |
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 a.mk | |
include b.mk |
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
from os import path | |
from pyqtgraph.Qt import QtGui, QtCore | |
import numpy as np | |
import os | |
import pyqtgraph as pg | |
import pyqtgraph.exporters as pg_export | |
import time | |
OUTPUT_PATH = './vis_output' |
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
struct PositionComponent { | |
x: f32; | |
y: f32; | |
} | |
impl Component for PositionComponent { | |
type Storage = VecStorage<PositionComponent>; | |
} | |
enum RenderShape { |
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
import Control.Applicative | |
import Control.Monad | |
import Data.Char | |
import Data.List | |
import Data.Maybe | |
import Data.Ord | |
import Debug.Trace | |
import Text.Parsec.Char | |
import Text.Parsec.Combinator hiding (many, (<|>)) | |
import Text.Parsec.Prim hiding (many, (<|>)) |