Browse Source

superseded by borgware

feature/2015
Hans-Gert Dahmen 13 years ago
parent
commit
0ad1dde4b8
  1. 4
      Makefile
  2. 16
      animations/Makefile
  3. 6
      animations/borg_time.c
  4. 1
      animations/config.in
  5. 5
      config.in
  6. 2
      display_loop.c

4
Makefile

@ -15,7 +15,7 @@ SRC_SIM = \
LAUNCH_BOOTLOADER = launch-bootloader
#SERIAL = /dev/ttyUSB0
#SERIAL = /dev/ttyUSB0
SERIAL = COM6
export TOPDIR
##############################################################################
@ -180,7 +180,7 @@ show-config: autoconf.h
.PHONY: show-config
autoconf.h .config:
autoconf.h .config:
@echo make\'s goal: $(MAKECMDGOALS)
ifneq ($(MAKECMDGOALS),menuconfig)
# make sure menuconfig isn't called twice, on `make menuconfig'

16
animations/Makefile

@ -13,13 +13,13 @@ ifeq ($(ANIMATION_MATRIX),y)
SRC += matrix.c
endif
ifeq ($(ANIMATION_STONEFLY),y)
SRC += stonefly.c
endif
ifeq ($(ANIMATION_STONEFLY),y)
SRC += stonefly.c
endif
ifeq ($(ANIMATION_FLYINGDOTS),y)
SRC += flyingdots.c
endif
ifeq ($(ANIMATION_FLYINGDOTS),y)
SRC += flyingdots.c
endif
ifeq ($(ANIMATION_GAMEOFLIFE),y)
SRC += gameoflife.c
@ -57,4 +57,8 @@ ifneq (,$(filter y,$(ANIMATION_PLASMA) $(ANIMATION_PSYCHEDELIC)))
SRC += fpmath_patterns.c
endif
ifeq ($(ANIMATION_TIME),y)
SRC += borg_time.c
endif
include $(TOPDIR)/rules.mk

6
animations/borg_time.c

@ -8,10 +8,10 @@
#include <stdlib.h>
#include <avr/pgmspace.h>
#include "../config.h"
#include "../can.h"
#include "../lap.h"
#include "../can/can.h"
#include "../can/lap.h"
#include "../util.h"
#include "../scrolltext.h"
#include "../scrolltext/scrolltext.h"
//address of the time master
#define TIME_MASTER_ADDR 0x00

1
animations/config.in

@ -14,6 +14,7 @@ comment "Animations"
dep_bool "Breakout Demo" ANIMATION_BREAKOUT $GAME_BREAKOUT
bool "Martin Herweg" ANIMATION_MHERWEG $RANDOM_SUPPORT
dep_bool "Langton Ant" ANIMATION_LTN_ANT $RANDOM_SUPPORT
dep_bool "Time Display" ANIMATION_TIME $SCROLLTEXT_SUPPORT $LAP_TIME_EXTENSION
dep_bool_menu "Bitmap Scroller" ANIMATION_BMSCROLLER y $RANDOM_SUPPORT
dep_bool "LABOR Logo" ANIMATION_LABORLOGO $ANIMATION_BMSCROLLER

5
config.in

@ -12,7 +12,7 @@ comment "General Setup"
ATmega644p atmega644p \
ATmega8515 atmega8515" \
'ATmega32' MCU
int "MCU frequency" FREQ 16000000
endmenu
###############################################################################
@ -26,7 +26,8 @@ source borg_hw/config.in
### Features Menu #############################################################
mainmenu_option next_comment
comment "Features"
bool "prng random number generator" RANDOM_SUPPORT y
bool "prng random number generator" RANDOM_SUPPORT y
dep_bool "CAN Time Extension" LAP_TIME_EXTENSION $CAN_SUPPORT
endmenu
###############################################################################

2
display_loop.c

@ -17,7 +17,9 @@
#include "animations/outofspec.h"
#include "animations/fpmath_patterns.h"
#include "animations/mherweg.h"
#ifdef ANIMATION_TIME
#include "animations/borg_time.h"
#endif
#include "borg_hw/borg_hw.h"
#include "can/borg_can.h"
#include "random/prng.h"

Loading…
Cancel
Save