From 8d690b42d34dc5176a4cb0765297abe3fb57c956 Mon Sep 17 00:00:00 2001 From: edolomb Date: Wed, 11 Apr 2018 16:41:10 +0000 Subject: Updated makefile and chconf.h git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11889 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile | 2 +- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile index e353c4ecb..10c6c1c35 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile @@ -5,7 +5,7 @@ # Compiler options here. ifeq ($(USE_OPT),) - USE_OPT = -Og -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/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h index 6c3bda7e0..8d645a087 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h @@ -49,7 +49,8 @@ * @details Frequency of the system timer that drives the system ticks. This * setting also defines the system tick time unit. */ -#define CH_CFG_ST_FREQUENCY 1000 +#define CH_CFG_ST_FREQUENCY 1000 /* periodic tick. */ +//#define CH_CFG_ST_FREQUENCY (83000000 / 32) /* tick-less. */ /** * @brief Time intervals data size. -- cgit v1.2.3