From 8361acead560942ee09caae304703f31efa85f9d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 9 Dec 2017 07:18:02 +0000 Subject: Updated all NIL chconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11135 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINO-MEGA/chconf.h | 12 --- demos/AVR/NIL-ARDUINO-MINI/chconf.h | 12 --- demos/AVR/NIL-ARDUINO-NANO/chconf.h | 12 --- demos/AVR/NIL-ARDUINO-UNO/chconf.h | 12 --- demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h | 12 --- demos/AVR/NIL-MT-DB-X4/chconf.h | 12 --- demos/SPC5/NIL-SPC560D-EVB/chconf.h | 12 --- demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h | 12 --- demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h | 12 --- demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h | 12 --- demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h | 12 --- demos/STM32/NIL-STM32F746G-DISCOVERY/Makefile | 2 +- demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h | 16 +--- ...F746G-DISCOVERY (OpenOCD, Flash and Run).launch | 104 ++++++++++----------- demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h | 12 --- demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h | 12 --- demos/various/NIL-ARMCM0-GENERIC/chconf.h | 12 --- demos/various/NIL-ARMCM4-GENERIC/chconf.h | 12 --- 18 files changed, 55 insertions(+), 247 deletions(-) (limited to 'demos') diff --git a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h index a7fee8eb8..864bdb872 100644 --- a/demos/AVR/NIL-ARDUINO-MEGA/chconf.h +++ b/demos/AVR/NIL-ARDUINO-MEGA/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 15624 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/AVR/NIL-ARDUINO-MINI/chconf.h b/demos/AVR/NIL-ARDUINO-MINI/chconf.h index a7fee8eb8..864bdb872 100644 --- a/demos/AVR/NIL-ARDUINO-MINI/chconf.h +++ b/demos/AVR/NIL-ARDUINO-MINI/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 15624 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/AVR/NIL-ARDUINO-NANO/chconf.h b/demos/AVR/NIL-ARDUINO-NANO/chconf.h index a7fee8eb8..864bdb872 100644 --- a/demos/AVR/NIL-ARDUINO-NANO/chconf.h +++ b/demos/AVR/NIL-ARDUINO-NANO/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 15624 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/AVR/NIL-ARDUINO-UNO/chconf.h b/demos/AVR/NIL-ARDUINO-UNO/chconf.h index a7fee8eb8..864bdb872 100644 --- a/demos/AVR/NIL-ARDUINO-UNO/chconf.h +++ b/demos/AVR/NIL-ARDUINO-UNO/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 15624 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h index 3e036a58a..6e3626b22 100644 --- a/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h +++ b/demos/AVR/NIL-DIGISPARK-ATTINY-167/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 15624 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/AVR/NIL-MT-DB-X4/chconf.h b/demos/AVR/NIL-MT-DB-X4/chconf.h index b475ea55e..53ed735f1 100644 --- a/demos/AVR/NIL-MT-DB-X4/chconf.h +++ b/demos/AVR/NIL-MT-DB-X4/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 14545 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/SPC5/NIL-SPC560D-EVB/chconf.h b/demos/SPC5/NIL-SPC560D-EVB/chconf.h index a4021be97..87f60a583 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/chconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h index 6331c7231..e2c5ad90d 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h index e2484d197..e584d60b8 100644 --- a/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F100-DISCOVERY/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h index 1fdda32d6..648003a72 100644 --- a/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F303-DISCOVERY/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 2000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h index f64cada54..523ce8d56 100644 --- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h +++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 2000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/Makefile b/demos/STM32/NIL-STM32F746G-DISCOVERY/Makefile index df211e287..faac84543 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/Makefile +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/Makefile @@ -5,7 +5,7 @@ # Compiler options here. ifeq ($(USE_OPT),) - USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 + USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h index 38ef17fd2..8da9aa54f 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h @@ -58,7 +58,7 @@ * @brief System time counter resolution. * @note Allowed values are 16 or 32 bits. */ -#define CH_CFG_ST_RESOLUTION 32 +#define CH_CFG_ST_RESOLUTION 16 /** * @brief System tick frequency. @@ -66,19 +66,7 @@ * option defines the maximum amount of time allowed for * timeouts. */ -#define CH_CFG_ST_FREQUENCY 5000 - -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 +#define CH_CFG_ST_FREQUENCY 10000 /** * @brief Time delta constant for the tick-less mode. diff --git a/demos/STM32/NIL-STM32F746G-DISCOVERY/debug/NIL-STM32F746G-DISCOVERY (OpenOCD, Flash and Run).launch b/demos/STM32/NIL-STM32F746G-DISCOVERY/debug/NIL-STM32F746G-DISCOVERY (OpenOCD, Flash and Run).launch index 6068cf8e3..15b43d869 100644 --- a/demos/STM32/NIL-STM32F746G-DISCOVERY/debug/NIL-STM32F746G-DISCOVERY (OpenOCD, Flash and Run).launch +++ b/demos/STM32/NIL-STM32F746G-DISCOVERY/debug/NIL-STM32F746G-DISCOVERY (OpenOCD, Flash and Run).launch @@ -1,52 +1,52 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h index 60482503c..9c5c1c810 100644 --- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h +++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h index e2484d197..e584d60b8 100644 --- a/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32L152-DISCOVERY/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/various/NIL-ARMCM0-GENERIC/chconf.h b/demos/various/NIL-ARMCM0-GENERIC/chconf.h index 4b6ff3843..af7e94494 100644 --- a/demos/various/NIL-ARMCM0-GENERIC/chconf.h +++ b/demos/various/NIL-ARMCM0-GENERIC/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic diff --git a/demos/various/NIL-ARMCM4-GENERIC/chconf.h b/demos/various/NIL-ARMCM4-GENERIC/chconf.h index 4b6ff3843..af7e94494 100644 --- a/demos/various/NIL-ARMCM4-GENERIC/chconf.h +++ b/demos/various/NIL-ARMCM4-GENERIC/chconf.h @@ -68,18 +68,6 @@ */ #define CH_CFG_ST_FREQUENCY 1000 -/** - * @brief Time intervals data size. - * @note Allowed values are 16, 32 or 64 bits. - */ -#define CH_CFG_INTERVALS_SIZE 32 - -/** - * @brief Time types data size. - * @note Allowed values are 16 or 32 bits. - */ -#define CH_CFG_TIME_TYPES_SIZE 32 - /** * @brief Time delta constant for the tick-less mode. * @note If this value is zero then the system uses the classic -- cgit v1.2.3