Kconfig: remove hz keyword.
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "CHIPKIT_MAX32" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
|
||||
# Linker script
|
||||
ldscript "cfg/bootloader-max32.ld"
|
||||
@@ -22,6 +21,7 @@ timezone 8 dst
|
||||
maxusers 2
|
||||
|
||||
# Standard system options
|
||||
options "HZ=100" # Rate of clock interrupt
|
||||
options "CPU_KHZ=80000" # Oscillator frequency of CPU core
|
||||
options "BUS_KHZ=80000" # Frequency of peripheral bus
|
||||
options "BUS_DIV=1" # Bus clock divisor 1/2/4/8
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "DUINOMITE" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-maximite.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "DUINOMITE" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-maximite.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -20,7 +20,6 @@ PARAM += -DLED_KERNEL_PORT=TRISB
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=40000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-maximite.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "DUINOMITE" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-maximite.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "DUINOMITE" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-maximite.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -20,7 +20,6 @@ PARAM += -DLED_KERNEL_PORT=TRISB
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-maximite.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "FUBARINO" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "FUBARINO" # Board type
|
||||
hz 1000 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
options "HZ=1000" # Rate of clock interrupt
|
||||
options "CPU_KHZ=120000" # Oscillator frequency of CPU core
|
||||
options "BUS_KHZ=120000" # Frequency of peripheral bus
|
||||
options "BUS_DIV=1" # Bus clock divisor 1/2/4/8
|
||||
|
||||
@@ -17,7 +17,6 @@ PARAM += -DLED_KERNEL_PORT=TRISE
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-max32.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "CHIPKIT_MAX32" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -18,7 +18,6 @@ PARAM += -DLED_KERNEL_PORT=TRISA
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-max32.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "PICADILLO_35T" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "PICADILLO_35T" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -14,7 +14,6 @@ PARAM += -DUART1_ENABLED
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-max32.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "UBW32" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-ubw32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "UBW32" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-ubw32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -29,7 +29,6 @@ PARAM += -DLED_KERNEL_PORT=TRISE
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-ubw32.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
architecture "pic32"
|
||||
cpu "PIC32MX7" # Processor variant
|
||||
board "CHIPKIT_WF32" # Board type
|
||||
hz 100 # Rate of clock interrupt
|
||||
ldscript "cfg/bootloader-max32.ld" # Linker script
|
||||
|
||||
# Standard system options
|
||||
|
||||
@@ -19,7 +19,6 @@ PARAM += -DLED_KERNEL_PORT=TRISA
|
||||
PARAM += -DBUS_DIV=1
|
||||
PARAM += -DBUS_KHZ=80000
|
||||
PARAM += -DCPU_KHZ=80000
|
||||
PARAM += -DHZ=100
|
||||
LDSCRIPT = "cfg/bootloader-max32.ld"
|
||||
#
|
||||
# Makefile for RetroBSD, pic32 target
|
||||
|
||||
@@ -162,7 +162,6 @@ struct file_list *ftab, *conf_list, **confp, *comp_list, **compp;
|
||||
|
||||
int zone, hadtz;
|
||||
int dst;
|
||||
int hz;
|
||||
int debugging;
|
||||
|
||||
int maxusers;
|
||||
|
||||
@@ -170,9 +170,6 @@ Config_spec:
|
||||
|
|
||||
System_spec
|
||||
|
|
||||
HZ NUMBER
|
||||
= { hz = $2; }
|
||||
|
|
||||
TIMEZONE NUMBER
|
||||
= { zone = 60 * $2; check_tz(); }
|
||||
|
|
||||
|
||||
@@ -63,7 +63,6 @@ static struct kt key_words[] = {
|
||||
{ "dst", DST },
|
||||
{ "dumps", DUMPS },
|
||||
{ "flags", FLAGS },
|
||||
{ "hz", HZ },
|
||||
{ "board", BOARD },
|
||||
{ "ldscript", LDSCRIPT },
|
||||
{ "architecture", ARCHITECTURE },
|
||||
|
||||
@@ -444,8 +444,6 @@ void makefile()
|
||||
}
|
||||
if (maxusers > 0)
|
||||
fprintf(ofp, "PARAM += -DMAXUSERS=%d\n", maxusers);
|
||||
if (hz > 0)
|
||||
fprintf(ofp, "PARAM += -DHZ=%d\n", hz);
|
||||
|
||||
if (ldscript)
|
||||
fprintf(ofp, "LDSCRIPT = \"%s\"\n", ldscript);
|
||||
|
||||
Reference in New Issue
Block a user