summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 5e3bbeb645..8df596665f 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -174,6 +174,14 @@
174#define CODEC_SIZE 0 174#define CODEC_SIZE 0
175#endif 175#endif
176 176
177/* This attribute can be used to ensure that certain symbols are never profiled
178 * which can be important as profiling a function de-inlines it */
179#ifdef RB_PROFILE
180#define NO_PROF_ATTR __attribute__ ((no_instrument_function))
181#else
182#define NO_PROF_ATTR
183#endif
184
177/* IRAM usage */ 185/* IRAM usage */
178#if !defined(SIMULATOR) && /* Not for simulators */ \ 186#if !defined(SIMULATOR) && /* Not for simulators */ \
179 (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ 187 (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \