Skip to content

4.0.0 metafiles naming conventions boardname #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: 4.0.0-pre-release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
11d393d
variants/: Rename folder name of the boards.
LinjingZhang Jul 8, 2025
1a262c3
cores/: Change the macro name of xmc boards.
LinjingZhang Jul 8, 2025
ac42325
libraries/: Update all the boards name in builtin libraries.
LinjingZhang Jul 8, 2025
2685eee
package/: Update board names in index json.
LinjingZhang Jul 8, 2025
c090f57
tests/: Update name of boards.
LinjingZhang Jul 8, 2025
603ad0c
libraries/SPI: Change KIT_XMC47_RELAX_5V_AD_V1 name in comment.
LinjingZhang Jul 8, 2025
7657412
boards.txt: Change boards name, keep old variant for backwards compat.
LinjingZhang Jul 8, 2025
4046a8b
ci-matrix-config.yml: Update boards name for compile config.
LinjingZhang Jul 8, 2025
a0c30fa
platform.txt: Adding old boards macro for backwards compatibility.
LinjingZhang Jul 8, 2025
b11541b
docs: Update docs according name change of boards.
LinjingZhang Jul 8, 2025
4fb9267
extras: Update arduino-devopsfor boards name change.
LinjingZhang Jul 8, 2025
5e4208a
boards.txt: Fix Typo.
LinjingZhang Jul 8, 2025
2777739
libraries/SPI: Fix typo.
LinjingZhang Jul 8, 2025
cc18bb9
docs: Remove XMC1100 H-Bridge 2GO.
LinjingZhang Jul 8, 2025
a51168b
libraries/DMA: Fix Typo.
LinjingZhang Jul 8, 2025
253974e
docs/DMA: Fix after review comments.
LinjingZhang Jul 8, 2025
3cc0aa7
docs: Change XMC47 board to more generic name.
LinjingZhang Jul 8, 2025
4ae7ed4
cores: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
c349f5e
variants: Update folder name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
4e06400
libraries: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
4d88fe1
package: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
01ac967
tests: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
adbb769
boards.txt: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
c63cbad
ci-matrix-config.yml: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
25caf74
README.md: Update name KIT_XMC47_RELAX.
LinjingZhang Jul 8, 2025
753bd77
extras: Update arduino-devops for renaming.
LinjingZhang Jul 8, 2025
1dfa71c
extras: Update arduino-devops after review.
LinjingZhang Jul 8, 2025
91ca1fc
docs/: Remove legacy name.
LinjingZhang Jul 11, 2025
be28109
cores/xmc: Fix comments.
LinjingZhang Jul 16, 2025
5a5891e
docs: Improve doc.
LinjingZhang Jul 16, 2025
782363a
libraries/: Fix some naming and improve.
LinjingZhang Jul 16, 2025
8f3d000
tests/manual: Align number.
LinjingZhang Jul 16, 2025
8602414
tests: Minor change.
LinjingZhang Jul 16, 2025
309f87a
libraries: Improve doc.
LinjingZhang Jul 16, 2025
8bd2862
docs: Change board name for 2go sensor.
LinjingZhang Jul 16, 2025
13980d5
docs: Add all XMC4700 variants.
ederjc Jul 18, 2025
929b395
docs: Incl product links in text.
ederjc Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ The [XMC™ microcontroller family](https://www.infineon.com/cms/de/product/micr
<tr>
<td><img src="docs/img/KIT_XMC_PLT2GO_XMC4200.jpg" width="200"></td>
<td><img src="docs/img/KIT_XMC_PLT2GO_XMC4400.jpg" width="200"></td>
<td><img src="docs/img/KIT_XMC47_RELAX_5V_AD_V1.jpg" width="200"></td>
<td><img src="docs/img/KIT_XMC47_RELAX.jpg" width="200"></td>
</tr>
<tr>
<td><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc_plt2go_xmc4200/">KIT_XMC_PLT2GO_XMC4200</a></td>
<td><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc_plt2go_xmc4400/">KIT_XMC_PLT2GO_XMC4400</a></td>
<td><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc47_relax_5v_ad_v1/?redirId=114289">KIT_XMC47_RELAX_5V_AD_V1</a></td>
<td><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc47_relax_5v_ad_v1/?redirId=114289">KIT_XMC47_RELAX</a></td>
</tr>
</table>

Expand Down
654 changes: 331 additions & 323 deletions boards.txt

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions ci-matrix-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sketch:
- extras/arduino-examples/examples/05.Control/ForLoopIteration/ForLoopIteration.ino

fqbn:
- infineon:xmc:XMC4700_Relax_Kit
- infineon:xmc:kit_xmc47_relax

# sketch:
# - libraries/LED
Expand All @@ -41,33 +41,33 @@ fqbn:
# - libraries/DeviceControlXMC/examples/StackMemoryMeasurement/StackMemoryMeasurement.ino

# include:
# - fqbn: infineon:xmc:XMC1100_Boot_Kit
# - fqbn: infineon:xmc:kit_xmc11_boot_001
# sketch:
# - libraries/I2S
# - libraries/DeviceControlXMC/examples/SleepModeXMC1100/SleepModeXMC1100.ino
# - fqbn: infineon:xmc:XMC1100_XMC2GO
# - fqbn: infineon:xmc:kit_xmc_2go_xmc1100_v1
# sketch:
# - libraries/I2S
# - libraries/DeviceControlXMC/examples/SleepModeXMC1100/SleepModeXMC1100.ino
# - fqbn: infineon:xmc:XMC1300_Boot_Kit
# - fqbn: infineon:xmc:kit_xmc13_boot_001
# sketch:
# - libraries/DeviceControlXMC/examples/SleepModeXMC1100/SleepModeXMC1100.ino
# - fqbn: infineon:xmc:XMC1400_XMC2GO
# - fqbn: infineon:xmc:kit_xmc14_2go
# sketch:
# - libraries/I2S
# - libraries/DeviceControlXMC/examples/SleepModeXMC1100/SleepModeXMC1100.ino
# - libraries/CAN
# - fqbn: infineon:xmc:XMC1400_Arduino_Kit
# - fqbn: infineon:xmc:kit_xmc1400_arduino
# sketch:
# - libraries/DeviceControlXMC/examples/SleepModeXMC1100/SleepModeXMC1100.ino
# - fqbn: infineon:xmc:XMC4200_Platform2GO
# - fqbn: infineon:xmc:kit_xmc_plt2go_xmc4200
# sketch:
# - libraries/RTC/examples/AlarmRTC/AlarmRTC.ino
# - libraries/CAN
# - fqbn: infineon:xmc:XMC4400_Platform2GO
# - fqbn: infineon:xmc:kit_xmc_plt2go_xmc4400
# sketch:
# - libraries/CAN
# - fqbn: infineon:xmc:XMC4700_Relax_Kit
# - fqbn: infineon:xmc:kit_xmc47_relax
# sketch:
# - libraries/I2S
# - libraries/DeviceControlXMC/examples/SleepModeXMC4700/SleepModeXMC4700.ino
Expand All @@ -76,17 +76,17 @@ fqbn:
# - libraries/CAN

# exclude:
# - fqbn: infineon:xmc:XMC1400_XMC2GO
# - fqbn: infineon:xmc:kit_xmc14_2go
# sketch:
# - libraries/DeviceControlXMC/examples/StackMemoryMeasurement/StackMemoryMeasurement.ino
# - fqbn: infineon:xmc:XMC1400_Arduino_Kit
# - fqbn: infineon:xmc:kit_xmc1400_arduino
# sketch:
# - libraries/DeviceControlXMC/examples/StackMemoryMeasurement/StackMemoryMeasurement.ino
# - fqbn: infineon:xmc:XMC4200_Platform2GO
# - fqbn: infineon:xmc:kit_xmc_plt2go_xmc4200
# sketch:
# - libraries/DeviceControlXMC/examples/DieTemperatureMeasurement/DieTemperatureMeasurement.ino
# - libraries/DeviceControlXMC/examples/HeapMemoryMeasurement/HeapMemoryMeasurement.ino
# - fqbn: infineon:xmc:XMC4400_Platform2GO
# - fqbn: infineon:xmc:kit_xmc_plt2go_xmc4400
# sketch:
# - libraries/DeviceControlXMC/examples/DieTemperatureMeasurement/DieTemperatureMeasurement.ino
# - libraries/DeviceControlXMC/examples/HeapMemoryMeasurement/HeapMemoryMeasurement.ino
4 changes: 2 additions & 2 deletions cores/xmc/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ extern XMC_UART_t XMC_UART_debug;
extern XMC_UART_t XMC_UART_on_board;

extern XMC_SPI_t XMC_SPI_0;
// Some boards for eg. XMC4700 Relax Kit has more than one SPI instance
// Some boards eg. KIT_XMC47_RELAX has more than one SPI instance
extern XMC_SPI_t XMC_SPI_1;
extern XMC_SPI_t XMC_SPI_2;

extern XMC_I2C_t XMC_I2C_0;
// Some boards for eg. XMC4700 Relax Kit has more than one I2C instance
// Some boards eg. KIT_XMC47_RELAX has more than one I2C instance
extern XMC_I2C_t XMC_I2C_1;

extern XMC_I2S_t i2s_config;
Expand Down
12 changes: 6 additions & 6 deletions cores/xmc/WInterrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void ERU0_3_IRQHandler(void) {
}
}

#if defined(XMC4200_Platform2GO)
#if defined(KIT_XMC_PLT2GO_XMC4200)
void ERU0_0_IRQHandler(void) {
if (interrupt_1_cb) {
interrupt_1_cb();
Expand Down Expand Up @@ -104,7 +104,7 @@ void attachInterrupt(pin_size_t interrupt_num, voidFuncPtr callback, PinStatus m
interrupt_0_cb = callback;
NVIC_EnableIRQ(ERU0_3_IRQn);
} else if (pin_irq.irq_num == 1) {
#if defined(XMC4200_Platform2GO)
#if defined(KIT_XMC_PLT2GO_XMC4200)
NVIC_SetPriority(ERU0_0_IRQn, 3);
interrupt_1_cb = callback;
NVIC_EnableIRQ(ERU0_0_IRQn);
Expand Down Expand Up @@ -139,7 +139,7 @@ void attachInterrupt(pin_size_t interrupt_num, voidFuncPtr callback, PinStatus m
XMC_CCU4_EnableClock(pin_irq.ccu, pin_irq.slice_num);

if (pin_irq.irq_num == 0) {
#if defined(XMC1100_Boot_Kit) || defined(XMC1400_Arduino_Kit) || defined(XMC1400_XMC2GO)
#if defined(KIT_XMC11_BOOT_001) || defined(KIT_XMC1400_ARDUINO) || defined(KIT_XMC14_2GO)
/* 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 All @@ -155,12 +155,12 @@ void attachInterrupt(pin_size_t interrupt_num, voidFuncPtr callback, PinStatus m
interrupt_0_cb = callback;
NVIC_EnableIRQ(CCU40_0_IRQn);
} else if (pin_irq.irq_num == 1) {
#if defined(XMC1300_Boot_Kit)
#if defined(KIT_XMC13_BOOT_001)
/* P0_13 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_DX2, USIC0_C0_DX2_P0_13);
#endif
#if defined(XMC1400_Arduino_Kit)
#if defined(KIT_XMC1400_ARDUINO)
/* P1_1 external interrupt goes through USIC to CCU4 */
XMC_USIC_CH_Enable(XMC_USIC0_CH1);
XMC_USIC_CH_SetInputSource(XMC_USIC0_CH1, XMC_USIC_CH_INPUT_DX2, USIC0_C1_DX2_P1_1);
Expand Down Expand Up @@ -191,7 +191,7 @@ void detachInterrupt(pin_size_t interrupt_num) {
break;

case 1:
#if defined(XMC4200_Platform2GO)
#if defined(KIT_XMC_PLT2GO_XMC4200)
NVIC_DisableIRQ(ERU0_0_IRQn);
#else
NVIC_DisableIRQ(ERU1_0_IRQn);
Expand Down
4 changes: 2 additions & 2 deletions cores/xmc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ int main(void) {
*/
wiring_time_init();

// Initialize the reset pin for the XMC1100 Boot Kit series and XMC1400 Kit for Arduino as they are
// based on Arduino form-factor Hence, a dedicated reset pin is required.
// Initialize the reset pin for the KIT_XMC11_BOOT_001 series and KIT_XMC1400_ARDUINO as they are
// based on Arduino Uno form-factor. Hence a dedicated reset pin is required.
#ifdef HAS_GPIO_RESET
reset_init();
#endif
Expand Down
10 changes: 5 additions & 5 deletions docs/arduino-deviations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,25 +153,25 @@ function, or other case as described below.
* - Board
- Functionality
- Note
* - XMC1100 Boot Kit
* - KIT_XMC11_BOOT_001
- NOT supported
- | A4 + A5 are separate
| A6 + A7 are alternate pin
| configurations to I2C
* - XMC1300 Boot Kit
* - KIT_XMC13_BOOT_001
- | NOT same pin format
| as Arduino Uno R3
- | A10 + A11 are alternate pin
| configurations to I2C
* - XMC1400 Arduino Kit
* - KIT_XMC1400_ARDUINO
- Alternate pin function
- Matches Arduino Uno
* - XMC4400 Platform 2Go
* - KIT_XMC_PLT2GO_XMC4400
- External hard wired pins
- | For 3V3 boards set I2C pins to tristate or open drain to use
| For 5V boards refer to [this section](https://xmc-arduino.readthedocs.io/en/latest/hw-platforms.html#connected-i2s-and-analog-pins) on track cuts to enable A4 and A5 to work
| Level shifter on the 5V board could interfere with tristate/open drain setting
* - XMC4700 Relax Kit (and variants)
* - KIT_XMC47_RELAX (and variants)
- External hard wired pins
- | For 3V3 boards set I2C pins to tristate or open drain to use
| For 5V boards see [this section](https://xmc-arduino.readthedocs.io/en/latest/hw-platforms.html#connected-i2s-and-analog-pins) board page on track cuts to enable A4 and A5 to work
Expand Down
Loading
Loading