Browse Source

adding new hardware config

feature/2015
Hans-Gert Dahmen 13 years ago
parent
commit
9c07418f23
  1. 5
      borg_hw/config.in
  2. 61
      borg_hw/config_borg16_hgmod.in

5
borg_hw/config.in

@ -10,6 +10,7 @@ int "Number of brightnes-levels" NUMPLANE 3
choice 'Hardware Driver' \
"Borg-16 HW_BORG_16 \
Borg-16-HGMod HW_BORG_16_HGM \
Andre-Borg HW_BORG_ANDRE \
Laufschrift-Borg HW_BORG_LS \
Laufschrift-Borg-MH HW_BORG_MH \
@ -26,6 +27,10 @@ if [ "$BORG_HW" == "HW_BORG_16" ] ; then
source borg_hw/config_borg16.in
fi
if [ "$BORG_HW" == "HW_BORG_16_HGM" ] ; then
source borg_hw/config_borg16_hgmod.in
fi
if [ "$BORG_HW" == "HW_BORG_ANDRE" ] ; then
source borg_hw/config_andreborg.in
fi

61
borg_hw/config_borg16_hgmod.in

@ -0,0 +1,61 @@
mainmenu_option next_comment
comment "Borg16 HGMod port setup"
#define COLPORT PORTC
#define COLDDR DDRC
choice 'TLC5940 Control Port' \
"PORTA PORTA \
PORTB PORTB \
PORTC PORTC \
PORTD PORTD" \
'PORTC' COLPORT
choice 'port for row shiftregisters' \
"PORTA PORTA \
PORTB PORTB \
PORTC PORTC \
PORTD PORTD" \
'PORTD' ROWPORT
comment "pin numbers on shiftregister port"
choice '/MCLR Pin' \
"Pin0 0 \
Pin1 1 \
Pin2 2 \
Pin3 3 \
Pin4 4 \
Pin5 5 \
Pin6 6 \
Pin7 7" \
'Pin4' PIN_MCLR
choice 'CLK Pin' \
"Pin0 0 \
Pin1 1 \
Pin2 2 \
Pin3 3 \
Pin4 4 \
Pin5 5 \
Pin6 6 \
Pin7 7" \
'Pin6' PIN_CLK
choice 'DATA Pin' \
"Pin0 0 \
Pin1 1 \
Pin2 2 \
Pin3 3 \
Pin4 4 \
Pin5 5 \
Pin6 6 \
Pin7 7" \
'Pin7' PIN_DATA
comment "fixing hardwareproblems in software"
bool "reverse cols" REVERSE_COLS n
bool "invert rows " INVERT_ROWS n
endmenu
Loading…
Cancel
Save