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