Kconfig: use named pins for SD select and enable signals.

This commit is contained in:
Serge Vakulenko
2015-09-08 22:17:10 -07:00
parent c631ae5d43
commit 355ad339ef
28 changed files with 277 additions and 251 deletions

View File

@@ -43,20 +43,20 @@ options "CONSOLE_DEVICE=tty0" # /dev/tty0
controller spi2 # SD card
# microSD card
disk sd0 at spi2 flags 0x3e # select pin RC14
device sd0 at spi2 pin RC14 # select pin
options "SD0_MHZ=10" # speed 10 MHz
options "SD0_PORT=2" # at spi2 TODO: delete
options "SD0_CS_PORT=TRISC" # for chip select... TODO: use flags
options "SD0_CS_PIN=14" # ...use pin RC14 TODO: use flags
# General purpose I/O ports
device gpio0
device gpio
# ADC driver
device adc0
device adc
# PWM driver
device pwm0
device pwm
# Skeleton driver
#device skel0
#device skel