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/STM32/NIL-STM32F746G-DISCOVERY/Makefile | 2 +- demos/STM32/NIL-STM32F746G-DISCOVERY/chconf.h | 16 +--- ...F746G-DISCOVERY (OpenOCD, Flash and Run).launch | 104 ++++++++++----------- 3 files changed, 55 insertions(+), 67 deletions(-) (limited to 'demos/STM32/NIL-STM32F746G-DISCOVERY') 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3