This file contains 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 <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <fxcg/display.h> | |
#include <fxcg/keyboard.h> | |
#include "textEditGUI.hpp" | |
#include "graphicsProvider.hpp" | |
#define CURSOR_BLINK_RATE 128 //in ticks based on RTC_GetTicks(); | |
#define REPEAT_WAIT 128 //see comment for CURSOR_BLINK_RATE |
This file contains 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
CC=sh3eb-elf-gcc | |
MKG3A=mkg3a | |
RM=rm | |
CFLAGS=-m4a-nofpu -mb -O2 -mhitachi -Wall -I../../include -lgcc -L../../lib -flto -fuse-linker-plugin | |
LDFLAGS=$(CFLAGS) -nostartfiles -T../../toolchain/prizm.x -Wl,-static -Wl,-gc-sections | |
CSOURCES=src/main.c | |
OBJECTS=$(CSOURCES:.c=.o) | |
PROJ_NAME=g3aNameWithoutExtension | |
BIN=$(PROJ_NAME).bin | |
ADDIN=$(PROJ_NAME).g3a |