# STK1000 customization
if [31mCONFIG_BOARD_ATSTK1000[0m
choice
prompt "ATSTK1000 CPU daughterboard type"
default [31mCONFIG_BOARD_ATSTK1002[0m
config [31mCONFIG_BOARD_ATSTK1002[0m
bool "ATSTK1002"
select [31mCONFIG_CPU_AT32AP7000[0m
config [31mCONFIG_BOARD_ATSTK1003[0m
bool "ATSTK1003"
select [31mCONFIG_CPU_AT32AP7001[0m
config [31mCONFIG_BOARD_ATSTK1004[0m
bool "ATSTK1004"
select [31mCONFIG_CPU_AT32AP7002[0m
config [31mCONFIG_BOARD_ATSTK1006[0m
bool "ATSTK1006"
select [31mCONFIG_CPU_AT32AP7000[0m
endchoice
config [31mCONFIG_BOARD_ATSTK100X_CUSTOM[0m
bool "Non-default STK1002/STK1003/STK1004 jumper settings"
help
You will normally leave the jumpers on the CPU card at their
default settings. If you need to use certain peripherals,
you will need to change some of those jumpers.
if [31mCONFIG_BOARD_ATSTK100X_CUSTOM[0m
config [31mCONFIG_BOARD_ATSTK100X_SW1_CUSTOM[0m
bool "SW1: use SSC1 (not SPI0)"
help
This also prevents using the external DAC as an audio interface,
and means you can't initialize the on-board QVGA display.
config [31mCONFIG_BOARD_ATSTK100X_SW2_CUSTOM[0m
bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)"
help
If you change this you'll want an updated boot loader putting
the console on UART-[31mCONFIG_C[0m not UART-[31mCONFIG_A[0m.
config [31mCONFIG_BOARD_ATSTK100X_SW3_CUSTOM[0m
bool "SW3: use TIMER1 (not SSC0 and GCLK)"
help
This also prevents using the external DAC as an audio interface.
config [31mCONFIG_BOARD_ATSTK100X_SW4_CUSTOM[0m
bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)"
help
To use the camera interface you'll need a custom card (on the
[31mCONFIG_PCI[0m-format connector) connect a video sensor.
config [31mCONFIG_BOARD_ATSTK1002_SW5_CUSTOM[0m
bool "SW5: use MACB1 (not LCDC)"
depends on [31mCONFIG_BOARD_ATSTK1002[0m
config [31mCONFIG_BOARD_ATSTK1002_SW6_CUSTOM[0m
bool "SW6: more GPIOs (not MACB0)"
depends on [31mCONFIG_BOARD_ATSTK1002[0m
endif # custom
config [31mCONFIG_BOARD_ATSTK100X_SPI1[0m
bool "Configure SPI1 controller"
depends on ![31mCONFIG_BOARD_ATSTK100X_SW4_CUSTOM[0m
help
All the signals for the second [31mCONFIG_SPI[0m controller are available on
GPIO lines and accessed through the J1 jumper block. Say "y"
here to configure that [31mCONFIG_SPI[0m controller.
config [31mCONFIG_BOARD_ATSTK1000_J2_LED[0m
bool
default [31mCONFIG_BOARD_ATSTK1000_J2_LED8[0m || [31mCONFIG_BOARD_ATSTK1000_J2_RGB[0m
choice
prompt "LEDs connected to J2:"
depends on [31mCONFIG_LEDS_GPIO[0m && ![31mCONFIG_BOARD_ATSTK100X_SW4_CUSTOM[0m
optional
help
Select this if you have jumpered the J2 jumper block to the
LED0..LED7 amber leds, or to the RGB leds, using a ten-pin
IDC cable. [31mCONFIG_A[0m default "heartbeat" trigger is provided, but
you can of course override this.
config [31mCONFIG_BOARD_ATSTK1000_J2_LED8[0m
bool "LED0..LED7"
help
Select this if J2 is jumpered to LED0..LED7 amber leds.
config [31mCONFIG_BOARD_ATSTK1000_J2_RGB[0m
bool "RGB leds"
help
Select this if J2 is jumpered to the RGB leds.
endchoice
config [31mCONFIG_BOARD_ATSTK1000_EXTDAC[0m
bool
depends on ![31mCONFIG_BOARD_ATSTK100X_SW1_CUSTOM[0m && ![31mCONFIG_BOARD_ATSTK100X_SW3_CUSTOM[0m
default y
endif # stk 1000