adding new hardware config

This commit is contained in:
Hans-Gert Dahmen 2011-12-20 17:24:38 +00:00
parent 09946f37f7
commit 9c07418f23
2 changed files with 66 additions and 0 deletions

View File

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

View File

@ -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