Cleanup in kconfig files.
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
# It's intended to be used as a reference or as a starting point
|
# It's intended to be used as a reference or as a starting point
|
||||||
# when creating configuration for a new board.
|
# when creating configuration for a new board.
|
||||||
#
|
#
|
||||||
|
# For details, see http://retrobsd.org/wiki/doku.php/doc/kconfig
|
||||||
|
#
|
||||||
machine "pic32"
|
machine "pic32"
|
||||||
|
|
||||||
cpu "PIC32MX7"
|
cpu "PIC32MX7"
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
# make clean
|
# make clean
|
||||||
# make
|
# make
|
||||||
#
|
#
|
||||||
|
# For details, see http://retrobsd.org/wiki/doku.php/doc/kconfig
|
||||||
|
#
|
||||||
machine "pic32"
|
machine "pic32"
|
||||||
|
|
||||||
cpu "PIC32MX7"
|
cpu "PIC32MX7"
|
||||||
@@ -20,7 +22,6 @@ timezone 8 dst
|
|||||||
maxusers 1
|
maxusers 1
|
||||||
|
|
||||||
# Standard system options
|
# Standard system options
|
||||||
#options "CONFIG=MAX32" # TODO
|
|
||||||
options "CPU_KHZ=80000" # Oscillator frequency of CPU core
|
options "CPU_KHZ=80000" # Oscillator frequency of CPU core
|
||||||
options "BUS_KHZ=80000" # Frequency of peripheral bus
|
options "BUS_KHZ=80000" # Frequency of peripheral bus
|
||||||
options "HZ=100" # Rate of clock interrupt
|
options "HZ=100" # Rate of clock interrupt
|
||||||
@@ -51,8 +52,6 @@ options "UART4_ENABLED" # TODO: delete this option
|
|||||||
|
|
||||||
# Console options
|
# Console options
|
||||||
options "CONSOLE_DEVICE=tty0" # /dev/tty0
|
options "CONSOLE_DEVICE=tty0" # /dev/tty0
|
||||||
#TODO: options "CONS_MAJOR=17" # use UART device as console
|
|
||||||
#TODO: options "CONS_MINOR=0" # use uart1 unit as console
|
|
||||||
|
|
||||||
# SPI ports
|
# SPI ports
|
||||||
controller spi2 # SD card
|
controller spi2 # SD card
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
IDENT=-DCHIPKIT_MAX -DPIC32MX7 -DPWM_ENABLED -DADC_ENABLED -DGPIO_ENABLED -DSD0_CS_PIN=14 -DSD0_CS_PORT=TRISC -DSD0_PORT=2 -DSD0_MHZ=10 -DSPI_ENABLED -DCONSOLE_DEVICE=tty0 -DUART4_ENABLED -DUART3_ENABLED -DUART2_ENABLED -DUART1_ENABLED -DLED_KERNEL_PIN=3 -DLED_KERNEL_PORT=TRISA -DUCB_METER -DEXEC_SCRIPT -DEXEC_ELF -DEXEC_AOUT -DBUS_DIV=1 -DHZ=100 -DBUS_KHZ=80000 -DCPU_KHZ=80000
|
IDENT=-DCHIPKIT_MAX -DPIC32MX7 -DPWM_ENABLED -DADC_ENABLED -DGPIO_ENABLED -DSD0_CS_PIN=4 -DSD0_CS_PORT=TRISD -DSD0_PORT=2 -DSD0_MHZ=10 -DSPI_ENABLED -DCONSOLE_DEVICE=tty0 -DUART4_ENABLED -DUART3_ENABLED -DUART2_ENABLED -DUART1_ENABLED -DLED_KERNEL_PIN=3 -DLED_KERNEL_PORT=TRISA -DUCB_METER -DEXEC_SCRIPT -DEXEC_ELF -DEXEC_AOUT -DBUS_DIV=1 -DHZ=100 -DBUS_KHZ=80000 -DCPU_KHZ=80000
|
||||||
LDSCRIPT="cfg/bootloader-max32.ld"
|
LDSCRIPT="cfg/bootloader-max32.ld"
|
||||||
PARAM=-DTIMEZONE=480 -DDST=1 -DMAXUSERS=1
|
PARAM=-DTIMEZONE=480 -DDST=1 -DMAXUSERS=1
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user