aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC560Pxx/spc560p_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/SPC560Pxx/spc560p_registry.h')
-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.*/