aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC560Pxx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-12 13:26:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-12 13:26:28 +0000
commite4b51ee2faffa35695ffcfbf3abf4f7f1afb94c7 (patch)
tree9d1b96c46ed9c51d64c704fb2c79d74e1687f473 /os/hal/platforms/SPC560Pxx
parent8dfb201307bbf8502e257952f0d6295c08f41ab6 (diff)
downloadChibiOS-e4b51ee2faffa35695ffcfbf3abf4f7f1afb94c7.tar.gz
ChibiOS-e4b51ee2faffa35695ffcfbf3abf4f7f1afb94c7.tar.bz2
ChibiOS-e4b51ee2faffa35695ffcfbf3abf4f7f1afb94c7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5841 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC560Pxx')
-rw-r--r--os/hal/platforms/SPC560Pxx/spc560p_registry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC560Pxx/spc560p_registry.h b/os/hal/platforms/SPC560Pxx/spc560p_registry.h
index 18107f065..54d38e0f6 100644
--- a/os/hal/platforms/SPC560Pxx/spc560p_registry.h
+++ b/os/hal/platforms/SPC560Pxx/spc560p_registry.h
@@ -186,7 +186,11 @@
/* SIUL attributes.*/
#define SPC5_HAS_SIUL TRUE
#define SPC5_SIUL_NUM_PORTS 8
+#if defined(_SPC560PXX_SMALL_)
+#define SPC5_SIUL_NUM_PCRS 72
+#else
#define SPC5_SIUL_NUM_PCRS 108
+#endif
#define SPC5_SIUL_NUM_PADSELS 36
/* FlexPWM attributes.*/