Skip to content

Commit

Permalink
- add xmc1400 2Go to index json
Browse files Browse the repository at this point in the history
- update interrupt case
  • Loading branch information
LinjingZhang committed Nov 27, 2023
1 parent 51b5b2b commit ae376a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cores/WInterrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void attachInterrupt(uint32_t interrupt_num, interrupt_cb_t callback, uint32_t m

if (pin_irq.irq_num == 0)
{
#if defined(XMC1100_Boot_Kit) || defined(XMC1400_Arduino_Kit)
#if defined(XMC1100_Boot_Kit) || defined(XMC1400_Arduino_Kit) || defined(XMC1400_XMC2GO)
/* P1_4 external interrupt goes through USIC to CCU4 */
XMC_USIC_CH_Enable(XMC_USIC0_CH0);
XMC_USIC_CH_SetInputSource(XMC_USIC0_CH0, XMC_USIC_CH_INPUT_DX5, USIC0_C0_DX5_P1_4);
Expand Down
3 changes: 3 additions & 0 deletions package/package_infineon_index.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
{
"name":"XMC1400 Kit for Arduino"
},
{
"name":"XMC1400 XMC2Go"
},
{
"name":"XMC4200 Platform 2Go"
},
Expand Down

0 comments on commit ae376a4

Please sign in to comment.