diff options
Diffstat (limited to 'nuttx/arch/arm/include')
-rw-r--r-- | nuttx/arch/arm/include/kinetis/irq.h | 4 | ||||
-rw-r--r-- | nuttx/arch/arm/include/kl/irq.h | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/nuttx/arch/arm/include/kinetis/irq.h b/nuttx/arch/arm/include/kinetis/irq.h index 8a020ea1b..7d72fbd18 100644 --- a/nuttx/arch/arm/include/kinetis/irq.h +++ b/nuttx/arch/arm/include/kinetis/irq.h @@ -301,13 +301,13 @@ */ # define NR_VECTORS (120) /* 120 vectors */ -# define NR_IRQS (108) /* 97 interrupts but 108 IRQ numbers */ +# define NR_IRQS (108) /* 120 interrupts but 108 IRQ numbers */ #else /* The interrupt vectors for other parts are defined in other documents and may or * may not be the same as above (the family members are all very similar) This * error just means that you have to look at the document and determine for yourself - * if the memory map is the same. + * if the vectors are the same. */ # error "No IRQ numbers for this Kinetis part" diff --git a/nuttx/arch/arm/include/kl/irq.h b/nuttx/arch/arm/include/kl/irq.h index 0279ea372..78cb0be46 100644 --- a/nuttx/arch/arm/include/kl/irq.h +++ b/nuttx/arch/arm/include/kl/irq.h @@ -122,15 +122,14 @@ * now) seems to justify the waste. */ -# define NR_VECTORS (64) /* 64 vectors */ -# define NR_IRQS (64) /* 64 interrupts but 48 IRQ numbers */ -# define KL_IRQ_INTERRUPT (64) +# define NR_VECTORS (64) /* 64 vectors */ +# define NR_IRQS (48) /* 64 interrupts but 48 IRQ numbers */ #else /* The interrupt vectors for other parts are defined in other documents and may or * may not be the same as above (the family members are all very similar) This * error just means that you have to look at the document and determine for yourself - * if the memory map is the same. + * if the vectors are the same. */ # error "No IRQ numbers for this Kinetis L part" |