aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ATSAMA5D2
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-04-11 16:41:10 +0000
committeredolomb <none@example.com>2018-04-11 16:41:10 +0000
commit8d690b42d34dc5176a4cb0765297abe3fb57c956 (patch)
tree0e0f67a12932aeac7987cc64b62519183399b2b7 /demos/ATSAMA5D2
parent3f7504cf91474a1ff2dae16d20fbf8cd5da35bfb (diff)
downloadChibiOS-8d690b42d34dc5176a4cb0765297abe3fb57c956.tar.gz
ChibiOS-8d690b42d34dc5176a4cb0765297abe3fb57c956.tar.bz2
ChibiOS-8d690b42d34dc5176a4cb0765297abe3fb57c956.zip
Updated makefile and chconf.h
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11889 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/ATSAMA5D2')
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile2
-rwxr-xr-xdemos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h3
2 files changed, 3 insertions, 2 deletions
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.