diff --git a/README.md b/README.md index 9748f32f..6e53a437 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ The [XMC™ microcontroller family](https://www.infineon.com/cms/de/product/micr - + KIT_XMC_PLT2GO_XMC4200 KIT_XMC_PLT2GO_XMC4400 - KIT_XMC47_RELAX_5V_AD_V1 + KIT_XMC47_RELAX diff --git a/boards.txt b/boards.txt index 2b75e077..5557a911 100644 --- a/boards.txt +++ b/boards.txt @@ -3,345 +3,353 @@ menu.UART=Serial Output Selection menu.LIB=Additional Libraries #################################################### -XMC1100_Boot_Kit.name=XMC1100 Boot Kit -XMC1100_Boot_Kit.upload.tool=xmcflasher -XMC1100_Boot_Kit.upload.speed=115200 -XMC1100_Boot_Kit.upload.resetmethod=ck -XMC1100_Boot_Kit.upload.maximum_size=65536 -XMC1100_Boot_Kit.upload.wait_for_upload_port=true - -XMC1100_Boot_Kit.communication=usb -XMC1100_Boot_Kit.protocol=dragon_isp -XMC1100_Boot_Kit.program.protocol=dragon_isp -XMC1100_Boot_Kit.program.tool=xmcflasher -XMC1100_Boot_Kit.program.extra_params=-Pusb - -XMC1100_Boot_Kit.serial.disableDTR=true -XMC1100_Boot_Kit.serial.disableRTS=true - -XMC1100_Boot_Kit.build.mcu=cortex-m0 -XMC1100_Boot_Kit.build.f_cpu=32000000L -XMC1100_Boot_Kit.build.board=ARM_XMC -XMC1100_Boot_Kit.build.board.version=1100 -XMC1100_Boot_Kit.build.board.type=T038x0064 -XMC1100_Boot_Kit.build.board.v=0064 -XMC1100_Boot_Kit.build.core=xmc -XMC1100_Boot_Kit.build.variant=XMC1100 -XMC1100_Boot_Kit.build.board_variant=XMC1100_Boot_Kit -XMC1100_Boot_Kit.build.flash_size=64K -XMC1100_Boot_Kit.build.flash_ld=linker_script.ld -XMC1100_Boot_Kit.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES - -XMC1100_Boot_Kit.menu.UART.debug=PC -XMC1100_Boot_Kit.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC1100_Boot_Kit.menu.UART.onBoard=On Board -XMC1100_Boot_Kit.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD - -XMC1100_Boot_Kit.menu.LIB.NONE=None -XMC1100_Boot_Kit.menu.LIB.NONE.library.selected= -XMC1100_Boot_Kit.menu.LIB.NN=ARM NN Framework -XMC1100_Boot_Kit.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC1100_Boot_Kit.menu.LIB.DSP=ARM DSP -XMC1100_Boot_Kit.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP -XMC1100_Boot_Kit.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC1100_Boot_Kit.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc11_boot_001.name=KIT_XMC11_BOOT_001 +kit_xmc11_boot_001.upload.tool=xmcflasher +kit_xmc11_boot_001.upload.speed=115200 +kit_xmc11_boot_001.upload.resetmethod=ck +kit_xmc11_boot_001.upload.maximum_size=65536 +kit_xmc11_boot_001.upload.wait_for_upload_port=true + +kit_xmc11_boot_001.communication=usb +kit_xmc11_boot_001.protocol=dragon_isp +kit_xmc11_boot_001.program.protocol=dragon_isp +kit_xmc11_boot_001.program.tool=xmcflasher +kit_xmc11_boot_001.program.extra_params=-Pusb + +kit_xmc11_boot_001.serial.disableDTR=true +kit_xmc11_boot_001.serial.disableRTS=true + +kit_xmc11_boot_001.build.mcu=cortex-m0 +kit_xmc11_boot_001.build.f_cpu=32000000L +kit_xmc11_boot_001.build.board=ARM_XMC +kit_xmc11_boot_001.build.board.version=1100 +kit_xmc11_boot_001.build.board.type=T038x0064 +kit_xmc11_boot_001.build.board.v=0064 +kit_xmc11_boot_001.build.core=xmc +kit_xmc11_boot_001.build.variant=XMC1100 +kit_xmc11_boot_001.build.board_variant_old=XMC1100_Boot_Kit +kit_xmc11_boot_001.build.board_variant=KIT_XMC11_BOOT_001 +kit_xmc11_boot_001.build.flash_size=64K +kit_xmc11_boot_001.build.flash_ld=linker_script.ld +kit_xmc11_boot_001.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +kit_xmc11_boot_001.menu.UART.debug=PC +kit_xmc11_boot_001.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc11_boot_001.menu.UART.onBoard=On Board +kit_xmc11_boot_001.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +kit_xmc11_boot_001.menu.LIB.NONE=None +kit_xmc11_boot_001.menu.LIB.NONE.library.selected= +kit_xmc11_boot_001.menu.LIB.NN=ARM NN Framework +kit_xmc11_boot_001.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc11_boot_001.menu.LIB.DSP=ARM DSP +kit_xmc11_boot_001.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc11_boot_001.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc11_boot_001.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN #################################################### -XMC1100_XMC2GO.name=XMC1100 XMC2Go -XMC1100_XMC2GO.upload.tool=xmcflasher -XMC1100_XMC2GO.upload.speed=115200 -XMC1100_XMC2GO.upload.resetmethod=ck -XMC1100_XMC2GO.upload.maximum_size=65536 -XMC1100_XMC2GO.upload.wait_for_upload_port=true - -XMC1100_XMC2GO.communication=usb -XMC1100_XMC2GO.protocol=dragon_isp -XMC1100_XMC2GO.program.protocol=dragon_isp -XMC1100_XMC2GO.program.tool=xmcflasher -XMC1100_XMC2GO.program.extra_params=-Pusb - -XMC1100_XMC2GO.serial.disableDTR=true -XMC1100_XMC2GO.serial.disableRTS=true - -XMC1100_XMC2GO.build.mcu=cortex-m0 -XMC1100_XMC2GO.build.f_cpu=32000000L -XMC1100_XMC2GO.build.board=ARM_XMC -XMC1100_XMC2GO.build.board.version=1100 -XMC1100_XMC2GO.build.board.type=Q024x0064 -XMC1100_XMC2GO.build.board.v=0064 -XMC1100_XMC2GO.build.core=xmc -XMC1100_XMC2GO.build.variant=XMC1100 -XMC1100_XMC2GO.build.board_variant=XMC1100_XMC2GO -XMC1100_XMC2GO.build.flash_size=64K -XMC1100_XMC2GO.build.flash_ld=linker_script.ld -XMC1100_XMC2GO.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES - -XMC1100_XMC2GO.menu.UART.debug=PC -XMC1100_XMC2GO.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC1100_XMC2GO.menu.UART.onBoard=On Board -XMC1100_XMC2GO.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD - -XMC1100_XMC2GO.menu.LIB.NONE=None -XMC1100_XMC2GO.menu.LIB.NONE.library.selected= -XMC1100_XMC2GO.menu.LIB.NN=ARM NN Framework -XMC1100_XMC2GO.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC1100_XMC2GO.menu.LIB.DSP=ARM DSP -XMC1100_XMC2GO.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP -XMC1100_XMC2GO.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC1100_XMC2GO.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc_2go_xmc1100_v1.name=KIT_XMC_2GO_XMC1100_V1 +kit_xmc_2go_xmc1100_v1.upload.tool=xmcflasher +kit_xmc_2go_xmc1100_v1.upload.speed=115200 +kit_xmc_2go_xmc1100_v1.upload.resetmethod=ck +kit_xmc_2go_xmc1100_v1.upload.maximum_size=65536 +kit_xmc_2go_xmc1100_v1.upload.wait_for_upload_port=true + +kit_xmc_2go_xmc1100_v1.communication=usb +kit_xmc_2go_xmc1100_v1.protocol=dragon_isp +kit_xmc_2go_xmc1100_v1.program.protocol=dragon_isp +kit_xmc_2go_xmc1100_v1.program.tool=xmcflasher +kit_xmc_2go_xmc1100_v1.program.extra_params=-Pusb + +kit_xmc_2go_xmc1100_v1.serial.disableDTR=true +kit_xmc_2go_xmc1100_v1.serial.disableRTS=true + +kit_xmc_2go_xmc1100_v1.build.mcu=cortex-m0 +kit_xmc_2go_xmc1100_v1.build.f_cpu=32000000L +kit_xmc_2go_xmc1100_v1.build.board=ARM_XMC +kit_xmc_2go_xmc1100_v1.build.board.version=1100 +kit_xmc_2go_xmc1100_v1.build.board.type=Q024x0064 +kit_xmc_2go_xmc1100_v1.build.board.v=0064 +kit_xmc_2go_xmc1100_v1.build.core=xmc +kit_xmc_2go_xmc1100_v1.build.variant=XMC1100 +kit_xmc_2go_xmc1100_v1.build.board_variant_old=XMC1100_XMC2GO +kit_xmc_2go_xmc1100_v1.build.board_variant=KIT_XMC_2GO_XMC1100_V1 +kit_xmc_2go_xmc1100_v1.build.flash_size=64K +kit_xmc_2go_xmc1100_v1.build.flash_ld=linker_script.ld +kit_xmc_2go_xmc1100_v1.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +kit_xmc_2go_xmc1100_v1.menu.UART.debug=PC +kit_xmc_2go_xmc1100_v1.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc_2go_xmc1100_v1.menu.UART.onBoard=On Board +kit_xmc_2go_xmc1100_v1.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +kit_xmc_2go_xmc1100_v1.menu.LIB.NONE=None +kit_xmc_2go_xmc1100_v1.menu.LIB.NONE.library.selected= +kit_xmc_2go_xmc1100_v1.menu.LIB.NN=ARM NN Framework +kit_xmc_2go_xmc1100_v1.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc_2go_xmc1100_v1.menu.LIB.DSP=ARM DSP +kit_xmc_2go_xmc1100_v1.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc_2go_xmc1100_v1.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc_2go_xmc1100_v1.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN #################################################### -XMC1300_Boot_Kit.name=XMC1300 Boot Kit -XMC1300_Boot_Kit.upload.tool=xmcflasher -XMC1300_Boot_Kit.upload.speed=115200 -XMC1300_Boot_Kit.upload.resetmethod=ck -XMC1300_Boot_Kit.upload.maximum_size=204800 -XMC1300_Boot_Kit.upload.wait_for_upload_port=true - -XMC1300_Boot_Kit.communication=usb -XMC1300_Boot_Kit.protocol=dragon_isp -XMC1300_Boot_Kit.program.protocol=dragon_isp -XMC1300_Boot_Kit.program.tool=xmcflasher -XMC1300_Boot_Kit.program.extra_params=-Pusb - -XMC1300_Boot_Kit.serial.disableDTR=true -XMC1300_Boot_Kit.serial.disableRTS=true - -XMC1300_Boot_Kit.build.mcu=cortex-m0 -XMC1300_Boot_Kit.build.f_cpu=32000000L -XMC1300_Boot_Kit.build.board=ARM_XMC -XMC1300_Boot_Kit.build.board.version=1302 -XMC1300_Boot_Kit.build.board.type=T038x0200 -XMC1300_Boot_Kit.build.board.v=0200 -XMC1300_Boot_Kit.build.core=xmc -XMC1300_Boot_Kit.build.variant=XMC1300 -XMC1300_Boot_Kit.build.board_variant=XMC1300_Boot_Kit -XMC1300_Boot_Kit.build.flash_size=200K -XMC1300_Boot_Kit.build.flash_ld=linker_script_200k.ld -XMC1300_Boot_Kit.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES - -XMC1300_Boot_Kit.menu.UART.debug=PC -XMC1300_Boot_Kit.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC1300_Boot_Kit.menu.UART.onBoard=On Board -XMC1300_Boot_Kit.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD - -XMC1300_Boot_Kit.menu.LIB.NONE=None -XMC1300_Boot_Kit.menu.LIB.NONE.library.selected= -XMC1300_Boot_Kit.menu.LIB.NN=ARM NN Framework -XMC1300_Boot_Kit.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC1300_Boot_Kit.menu.LIB.DSP=ARM DSP -XMC1300_Boot_Kit.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP -XMC1300_Boot_Kit.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC1300_Boot_Kit.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc13_boot_001.name=KIT_XMC13_BOOT_001 +kit_xmc13_boot_001.upload.tool=xmcflasher +kit_xmc13_boot_001.upload.speed=115200 +kit_xmc13_boot_001.upload.resetmethod=ck +kit_xmc13_boot_001.upload.maximum_size=204800 +kit_xmc13_boot_001.upload.wait_for_upload_port=true + +kit_xmc13_boot_001.communication=usb +kit_xmc13_boot_001.protocol=dragon_isp +kit_xmc13_boot_001.program.protocol=dragon_isp +kit_xmc13_boot_001.program.tool=xmcflasher +kit_xmc13_boot_001.program.extra_params=-Pusb + +kit_xmc13_boot_001.serial.disableDTR=true +kit_xmc13_boot_001.serial.disableRTS=true + +kit_xmc13_boot_001.build.mcu=cortex-m0 +kit_xmc13_boot_001.build.f_cpu=32000000L +kit_xmc13_boot_001.build.board=ARM_XMC +kit_xmc13_boot_001.build.board.version=1302 +kit_xmc13_boot_001.build.board.type=T038x0200 +kit_xmc13_boot_001.build.board.v=0200 +kit_xmc13_boot_001.build.core=xmc +kit_xmc13_boot_001.build.variant=XMC1300 +kit_xmc13_boot_001.build.board_variant_old=XMC1300_Boot_Kit +kit_xmc13_boot_001.build.board_variant=KIT_XMC13_BOOT_001 +kit_xmc13_boot_001.build.flash_size=200K +kit_xmc13_boot_001.build.flash_ld=linker_script_200k.ld +kit_xmc13_boot_001.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +kit_xmc13_boot_001.menu.UART.debug=PC +kit_xmc13_boot_001.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc13_boot_001.menu.UART.onBoard=On Board +kit_xmc13_boot_001.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +kit_xmc13_boot_001.menu.LIB.NONE=None +kit_xmc13_boot_001.menu.LIB.NONE.library.selected= +kit_xmc13_boot_001.menu.LIB.NN=ARM NN Framework +kit_xmc13_boot_001.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc13_boot_001.menu.LIB.DSP=ARM DSP +kit_xmc13_boot_001.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc13_boot_001.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc13_boot_001.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN #################################################### -XMC1400_XMC2GO.name=XMC1400 XMC2GO -XMC1400_XMC2GO.upload.tool=xmcflasher -XMC1400_XMC2GO.upload.speed=115200 -XMC1400_XMC2GO.upload.resetmethod=ck -XMC1400_XMC2GO.upload.maximum_size=65536 -XMC1400_XMC2GO.upload.wait_for_upload_port=true - -XMC1400_XMC2GO.communication=usb -XMC1400_XMC2GO.protocol=dragon_isp -XMC1400_XMC2GO.program.protocol=dragon_isp -XMC1400_XMC2GO.program.tool=xmcflasher -XMC1400_XMC2GO.program.extra_params=-Pusb - -XMC1400_XMC2GO.serial.disableDTR=true -XMC1400_XMC2GO.serial.disableRTS=true - -XMC1400_XMC2GO.build.mcu=cortex-m0 -XMC1400_XMC2GO.build.f_cpu=48000000L -XMC1400_XMC2GO.build.board=ARM_XMC -XMC1400_XMC2GO.build.board.version=1404 -XMC1400_XMC2GO.build.board.type=Q040x0200 -XMC1400_XMC2GO.build.board.v=0200 -XMC1400_XMC2GO.build.core=xmc -XMC1400_XMC2GO.build.variant=XMC1400 -XMC1400_XMC2GO.build.board_variant=XMC1400_XMC2GO -XMC1400_XMC2GO.build.flash_size=200K -XMC1400_XMC2GO.build.flash_ld=linker_script_200k.ld -XMC1400_XMC2GO.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES - -XMC1400_XMC2GO.menu.UART.debug=PC -XMC1400_XMC2GO.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC1400_XMC2GO.menu.UART.onBoard=On Board -XMC1400_XMC2GO.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD - -XMC1400_XMC2GO.menu.LIB.NONE=None -XMC1400_XMC2GO.menu.LIB.NONE.library.selected= -XMC1400_XMC2GO.menu.LIB.NN=ARM NN Framework -XMC1400_XMC2GO.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC1400_XMC2GO.menu.LIB.DSP=ARM DSP -XMC1400_XMC2GO.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP -XMC1400_XMC2GO.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC1400_XMC2GO.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc14_2go.name=KIT_XMC14_2GO +kit_xmc14_2go.upload.tool=xmcflasher +kit_xmc14_2go.upload.speed=115200 +kit_xmc14_2go.upload.resetmethod=ck +kit_xmc14_2go.upload.maximum_size=65536 +kit_xmc14_2go.upload.wait_for_upload_port=true + +kit_xmc14_2go.communication=usb +kit_xmc14_2go.protocol=dragon_isp +kit_xmc14_2go.program.protocol=dragon_isp +kit_xmc14_2go.program.tool=xmcflasher +kit_xmc14_2go.program.extra_params=-Pusb + +kit_xmc14_2go.serial.disableDTR=true +kit_xmc14_2go.serial.disableRTS=true + +kit_xmc14_2go.build.mcu=cortex-m0 +kit_xmc14_2go.build.f_cpu=48000000L +kit_xmc14_2go.build.board=ARM_XMC +kit_xmc14_2go.build.board.version=1404 +kit_xmc14_2go.build.board.type=Q040x0200 +kit_xmc14_2go.build.board.v=0200 +kit_xmc14_2go.build.core=xmc +kit_xmc14_2go.build.variant=XMC1400 +kit_xmc14_2go.build.board_variant_old=XMC1400_XMC2GO +kit_xmc14_2go.build.board_variant=KIT_XMC14_2GO +kit_xmc14_2go.build.flash_size=200K +kit_xmc14_2go.build.flash_ld=linker_script_200k.ld +kit_xmc14_2go.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +kit_xmc14_2go.menu.UART.debug=PC +kit_xmc14_2go.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc14_2go.menu.UART.onBoard=On Board +kit_xmc14_2go.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +kit_xmc14_2go.menu.LIB.NONE=None +kit_xmc14_2go.menu.LIB.NONE.library.selected= +kit_xmc14_2go.menu.LIB.NN=ARM NN Framework +kit_xmc14_2go.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc14_2go.menu.LIB.DSP=ARM DSP +kit_xmc14_2go.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc14_2go.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc14_2go.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN #################################################### -XMC1400_Arduino_Kit.name=XMC1400 Kit for Arduino -XMC1400_Arduino_Kit.upload.tool=xmcflasher -XMC1400_Arduino_Kit.upload.speed=115200 -XMC1400_Arduino_Kit.upload.resetmethod=ck -XMC1400_Arduino_Kit.upload.maximum_size=204800 -XMC1400_Arduino_Kit.upload.wait_for_upload_port=true - -XMC1400_Arduino_Kit.communication=usb -XMC1400_Arduino_Kit.protocol=dragon_isp -XMC1400_Arduino_Kit.program.protocol=dragon_isp -XMC1400_Arduino_Kit.program.tool=xmcflasher -XMC1400_Arduino_Kit.program.extra_params=-Pusb - -XMC1400_Arduino_Kit.serial.disableDTR=true -XMC1400_Arduino_Kit.serial.disableRTS=true - -XMC1400_Arduino_Kit.build.mcu=cortex-m0 -XMC1400_Arduino_Kit.build.f_cpu=48000000L -XMC1400_Arduino_Kit.build.board=ARM_XMC -XMC1400_Arduino_Kit.build.board.version=1402 -XMC1400_Arduino_Kit.build.board.type=T038x0200 -XMC1400_Arduino_Kit.build.board.v=0200 -XMC1400_Arduino_Kit.build.core=xmc -XMC1400_Arduino_Kit.build.variant=XMC1400 -XMC1400_Arduino_Kit.build.board_variant=XMC1400_Arduino_Kit -XMC1400_Arduino_Kit.build.flash_size=200K -XMC1400_Arduino_Kit.build.flash_ld=linker_script_200k.ld -XMC1400_Arduino_Kit.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES - -XMC1400_Arduino_Kit.menu.UART.debug=PC -XMC1400_Arduino_Kit.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC1400_Arduino_Kit.menu.UART.onBoard=On Board -XMC1400_Arduino_Kit.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD - -XMC1400_Arduino_Kit.menu.LIB.NONE=None -XMC1400_Arduino_Kit.menu.LIB.NONE.library.selected= -XMC1400_Arduino_Kit.menu.LIB.NN=ARM NN Framework -XMC1400_Arduino_Kit.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC1400_Arduino_Kit.menu.LIB.DSP=ARM DSP -XMC1400_Arduino_Kit.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP -XMC1400_Arduino_Kit.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC1400_Arduino_Kit.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc1400_arduino.name=KIT_XMC1400_ARDUINO +kit_xmc1400_arduino.upload.tool=xmcflasher +kit_xmc1400_arduino.upload.speed=115200 +kit_xmc1400_arduino.upload.resetmethod=ck +kit_xmc1400_arduino.upload.maximum_size=204800 +kit_xmc1400_arduino.upload.wait_for_upload_port=true + +kit_xmc1400_arduino.communication=usb +kit_xmc1400_arduino.protocol=dragon_isp +kit_xmc1400_arduino.program.protocol=dragon_isp +kit_xmc1400_arduino.program.tool=xmcflasher +kit_xmc1400_arduino.program.extra_params=-Pusb + +kit_xmc1400_arduino.serial.disableDTR=true +kit_xmc1400_arduino.serial.disableRTS=true + +kit_xmc1400_arduino.build.mcu=cortex-m0 +kit_xmc1400_arduino.build.f_cpu=48000000L +kit_xmc1400_arduino.build.board=ARM_XMC +kit_xmc1400_arduino.build.board.version=1402 +kit_xmc1400_arduino.build.board.type=T038x0200 +kit_xmc1400_arduino.build.board.v=0200 +kit_xmc1400_arduino.build.core=xmc +kit_xmc1400_arduino.build.variant=XMC1400 +kit_xmc1400_arduino.build.board_variant_old=XMC1400_Arduino_Kit +kit_xmc1400_arduino.build.board_variant=KIT_XMC1400_ARDUINO +kit_xmc1400_arduino.build.flash_size=200K +kit_xmc1400_arduino.build.flash_ld=linker_script_200k.ld +kit_xmc1400_arduino.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +kit_xmc1400_arduino.menu.UART.debug=PC +kit_xmc1400_arduino.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc1400_arduino.menu.UART.onBoard=On Board +kit_xmc1400_arduino.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +kit_xmc1400_arduino.menu.LIB.NONE=None +kit_xmc1400_arduino.menu.LIB.NONE.library.selected= +kit_xmc1400_arduino.menu.LIB.NN=ARM NN Framework +kit_xmc1400_arduino.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc1400_arduino.menu.LIB.DSP=ARM DSP +kit_xmc1400_arduino.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc1400_arduino.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc1400_arduino.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN #################################################### -XMC4200_Platform2GO.name=XMC4200 Platform 2GO -XMC4200_Platform2GO.upload.tool=xmcflasher -XMC4200_Platform2GO.upload.speed=115200 -XMC4200_Platform2GO.upload.resetmethod=ck -XMC4200_Platform2GO.upload.maximum_size=262144 -XMC4200_Platform2GO.upload.wait_for_upload_port=true - -XMC4200_Platform2GO.communication=usb -XMC4200_Platform2GO.protocol=dragon_isp -XMC4200_Platform2GO.program.protocol=dragon_isp -XMC4200_Platform2GO.program.tool=xmcflasher -XMC4200_Platform2GO.program.extra_params=-Pusb - -XMC4200_Platform2GO.serial.disableDTR=true -XMC4200_Platform2GO.serial.disableRTS=true - -XMC4200_Platform2GO.build.mcu=cortex-m4 -XMC4200_Platform2GO.build.f_cpu=80000000L -XMC4200_Platform2GO.build.board=ARM_XMC -XMC4200_Platform2GO.build.board.version=4200 -XMC4200_Platform2GO.build.board.type=F64x256 -XMC4200_Platform2GO.build.board.v=256 -XMC4200_Platform2GO.build.core=xmc -XMC4200_Platform2GO.build.variant=XMC4200 -XMC4200_Platform2GO.build.board_variant=XMC4200_Platform2GO -XMC4200_Platform2GO.build.flash_size=256K -XMC4200_Platform2GO.build.flash_ld=linker_script.ld -XMC4200_Platform2GO.build.extra_flags=-DARM_MATH_CM4 -DARM_MATH_DSP -DINTERRUPT_USE_ERU +kit_xmc_plt2go_xmc4200.name=KIT_XMC_PLT2GO_XMC4200 +kit_xmc_plt2go_xmc4200.upload.tool=xmcflasher +kit_xmc_plt2go_xmc4200.upload.speed=115200 +kit_xmc_plt2go_xmc4200.upload.resetmethod=ck +kit_xmc_plt2go_xmc4200.upload.maximum_size=262144 +kit_xmc_plt2go_xmc4200.upload.wait_for_upload_port=true + +kit_xmc_plt2go_xmc4200.communication=usb +kit_xmc_plt2go_xmc4200.protocol=dragon_isp +kit_xmc_plt2go_xmc4200.program.protocol=dragon_isp +kit_xmc_plt2go_xmc4200.program.tool=xmcflasher +kit_xmc_plt2go_xmc4200.program.extra_params=-Pusb + +kit_xmc_plt2go_xmc4200.serial.disableDTR=true +kit_xmc_plt2go_xmc4200.serial.disableRTS=true + +kit_xmc_plt2go_xmc4200.build.mcu=cortex-m4 +kit_xmc_plt2go_xmc4200.build.f_cpu=80000000L +kit_xmc_plt2go_xmc4200.build.board=ARM_XMC +kit_xmc_plt2go_xmc4200.build.board.version=4200 +kit_xmc_plt2go_xmc4200.build.board.type=F64x256 +kit_xmc_plt2go_xmc4200.build.board.v=256 +kit_xmc_plt2go_xmc4200.build.core=xmc +kit_xmc_plt2go_xmc4200.build.variant=XMC4200 +kit_xmc_plt2go_xmc4200.build.board_variant_old=XMC4200_Platform2GO +kit_xmc_plt2go_xmc4200.build.board_variant=KIT_XMC_PLT2GO_XMC4200 +kit_xmc_plt2go_xmc4200.build.flash_size=256K +kit_xmc_plt2go_xmc4200.build.flash_ld=linker_script.ld +kit_xmc_plt2go_xmc4200.build.extra_flags=-DARM_MATH_CM4 -DARM_MATH_DSP -DINTERRUPT_USE_ERU #-DUSB0 -XMC4200_Platform2GO.menu.LIB.NONE=None -XMC4200_Platform2GO.menu.LIB.NONE.library.selected= -XMC4200_Platform2GO.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC4200_Platform2GO.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN -XMC4200_Platform2GO.menu.LIB.NN=ARM NN Framework -XMC4200_Platform2GO.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC4200_Platform2GO.menu.LIB.DSP=ARM DSP -XMC4200_Platform2GO.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc_plt2go_xmc4200.menu.LIB.NONE=None +kit_xmc_plt2go_xmc4200.menu.LIB.NONE.library.selected= +kit_xmc_plt2go_xmc4200.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc_plt2go_xmc4200.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc_plt2go_xmc4200.menu.LIB.NN=ARM NN Framework +kit_xmc_plt2go_xmc4200.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc_plt2go_xmc4200.menu.LIB.DSP=ARM DSP +kit_xmc_plt2go_xmc4200.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP #################################################### -XMC4400_Platform2GO.name=XMC4400 Platform 2GO -XMC4400_Platform2GO.upload.tool=xmcflasher -XMC4400_Platform2GO.upload.speed=115200 -XMC4400_Platform2GO.upload.resetmethod=ck -XMC4400_Platform2GO.upload.maximum_size=512000 -XMC4400_Platform2GO.upload.wait_for_upload_port=true - -XMC4400_Platform2GO.communication=usb -XMC4400_Platform2GO.protocol=dragon_isp -XMC4400_Platform2GO.program.protocol=dragon_isp -XMC4400_Platform2GO.program.tool=xmcflasher -XMC4400_Platform2GO.program.extra_params=-Pusb - -XMC4400_Platform2GO.serial.disableDTR=true -XMC4400_Platform2GO.serial.disableRTS=true - -XMC4400_Platform2GO.build.mcu=cortex-m4 -XMC4400_Platform2GO.build.f_cpu=144000000L -XMC4400_Platform2GO.build.board=ARM_XMC -XMC4400_Platform2GO.build.board.version=4400 -XMC4400_Platform2GO.build.board.type=F100x512 -XMC4400_Platform2GO.build.board.v=512 -XMC4400_Platform2GO.build.core=xmc -XMC4400_Platform2GO.build.variant=XMC4400 -XMC4400_Platform2GO.build.board_variant=XMC4400_Platform2GO -XMC4400_Platform2GO.build.flash_size=500K -XMC4400_Platform2GO.build.flash_ld=linker_script.ld -XMC4400_Platform2GO.build.extra_flags=-DARM_MATH_CM4 -DARM_MATH_DSP +kit_xmc_plt2go_xmc4400.name=KIT_XMC_PLT2GO_XMC4400 +kit_xmc_plt2go_xmc4400.upload.tool=xmcflasher +kit_xmc_plt2go_xmc4400.upload.speed=115200 +kit_xmc_plt2go_xmc4400.upload.resetmethod=ck +kit_xmc_plt2go_xmc4400.upload.maximum_size=512000 +kit_xmc_plt2go_xmc4400.upload.wait_for_upload_port=true + +kit_xmc_plt2go_xmc4400.communication=usb +kit_xmc_plt2go_xmc4400.protocol=dragon_isp +kit_xmc_plt2go_xmc4400.program.protocol=dragon_isp +kit_xmc_plt2go_xmc4400.program.tool=xmcflasher +kit_xmc_plt2go_xmc4400.program.extra_params=-Pusb + +kit_xmc_plt2go_xmc4400.serial.disableDTR=true +kit_xmc_plt2go_xmc4400.serial.disableRTS=true + +kit_xmc_plt2go_xmc4400.build.mcu=cortex-m4 +kit_xmc_plt2go_xmc4400.build.f_cpu=144000000L +kit_xmc_plt2go_xmc4400.build.board=ARM_XMC +kit_xmc_plt2go_xmc4400.build.board.version=4400 +kit_xmc_plt2go_xmc4400.build.board.type=F100x512 +kit_xmc_plt2go_xmc4400.build.board.v=512 +kit_xmc_plt2go_xmc4400.build.core=xmc +kit_xmc_plt2go_xmc4400.build.variant=XMC4400 +kit_xmc_plt2go_xmc4400.build.board_variant_old=XMC4400_Platform2GO +kit_xmc_plt2go_xmc4400.build.board_variant=KIT_XMC_PLT2GO_XMC4400 +kit_xmc_plt2go_xmc4400.build.flash_size=500K +kit_xmc_plt2go_xmc4400.build.flash_ld=linker_script.ld +kit_xmc_plt2go_xmc4400.build.extra_flags=-DARM_MATH_CM4 -DARM_MATH_DSP #-DUSB0 -XMC4400_Platform2GO.menu.UART.debug=PC -XMC4400_Platform2GO.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC -XMC4400_Platform2GO.menu.UART.onBoard=On Board -XMC4400_Platform2GO.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD +kit_xmc_plt2go_xmc4400.menu.UART.debug=PC +kit_xmc_plt2go_xmc4400.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +kit_xmc_plt2go_xmc4400.menu.UART.onBoard=On Board +kit_xmc_plt2go_xmc4400.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD -XMC4400_Platform2GO.menu.LIB.NONE=None -XMC4400_Platform2GO.menu.LIB.NONE.library.selected= -XMC4400_Platform2GO.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC4400_Platform2GO.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN -XMC4400_Platform2GO.menu.LIB.NN=ARM NN Framework -XMC4400_Platform2GO.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC4400_Platform2GO.menu.LIB.DSP=ARM DSP -XMC4400_Platform2GO.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +kit_xmc_plt2go_xmc4400.menu.LIB.NONE=None +kit_xmc_plt2go_xmc4400.menu.LIB.NONE.library.selected= +kit_xmc_plt2go_xmc4400.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc_plt2go_xmc4400.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc_plt2go_xmc4400.menu.LIB.NN=ARM NN Framework +kit_xmc_plt2go_xmc4400.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc_plt2go_xmc4400.menu.LIB.DSP=ARM DSP +kit_xmc_plt2go_xmc4400.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP #################################################### -XMC4700_Relax_Kit.name=XMC4700 Relax Kit -XMC4700_Relax_Kit.upload.tool=xmcflasher -XMC4700_Relax_Kit.upload.speed=115200 -XMC4700_Relax_Kit.upload.resetmethod=ck -XMC4700_Relax_Kit.upload.maximum_size=2048000 -XMC4700_Relax_Kit.upload.wait_for_upload_port=true - -XMC4700_Relax_Kit.communication=usb -XMC4700_Relax_Kit.protocol=dragon_isp -XMC4700_Relax_Kit.program.protocol=dragon_isp -XMC4700_Relax_Kit.program.tool=xmcflasher -XMC4700_Relax_Kit.program.extra_params=-Pusb - -XMC4700_Relax_Kit.serial.disableDTR=true -XMC4700_Relax_Kit.serial.disableRTS=true - -XMC4700_Relax_Kit.build.mcu=cortex-m4 -XMC4700_Relax_Kit.build.f_cpu=144000000L -XMC4700_Relax_Kit.build.board=ARM_XMC -XMC4700_Relax_Kit.build.board.version=4700 -XMC4700_Relax_Kit.build.board.type=F144x2048 -XMC4700_Relax_Kit.build.board.v=2048 -XMC4700_Relax_Kit.build.core=xmc -XMC4700_Relax_Kit.build.variant=XMC4700 -XMC4700_Relax_Kit.build.board_variant=XMC4700_Relax_Kit -XMC4700_Relax_Kit.build.flash_size=2000K -XMC4700_Relax_Kit.build.flash_ld=linker_script.ld -XMC4700_Relax_Kit.build.extra_flags=-DARM_MATH_CM4 -DXMC4_SERIES - -XMC4700_Relax_Kit.menu.LIB.DSPNN=ARM DSP / ARM NN Framework -XMC4700_Relax_Kit.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN -XMC4700_Relax_Kit.menu.LIB.NONE=None -XMC4700_Relax_Kit.menu.LIB.NONE.library.selected= -XMC4700_Relax_Kit.menu.LIB.NN=ARM NN Framework -XMC4700_Relax_Kit.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN -XMC4700_Relax_Kit.menu.LIB.DSP=ARM DSP -XMC4700_Relax_Kit.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP \ No newline at end of file +kit_xmc47_relax.name=KIT_XMC47_RELAX +kit_xmc47_relax.upload.tool=xmcflasher +kit_xmc47_relax.upload.speed=115200 +kit_xmc47_relax.upload.resetmethod=ck +kit_xmc47_relax.upload.maximum_size=2048000 +kit_xmc47_relax.upload.wait_for_upload_port=true + +kit_xmc47_relax.communication=usb +kit_xmc47_relax.protocol=dragon_isp +kit_xmc47_relax.program.protocol=dragon_isp +kit_xmc47_relax.program.tool=xmcflasher +kit_xmc47_relax.program.extra_params=-Pusb + +kit_xmc47_relax.serial.disableDTR=true +kit_xmc47_relax.serial.disableRTS=true + +kit_xmc47_relax.build.mcu=cortex-m4 +kit_xmc47_relax.build.f_cpu=144000000L +kit_xmc47_relax.build.board=ARM_XMC +kit_xmc47_relax.build.board.version=4700 +kit_xmc47_relax.build.board.type=F144x2048 +kit_xmc47_relax.build.board.v=2048 +kit_xmc47_relax.build.core=xmc +kit_xmc47_relax.build.variant=XMC4700 +kit_xmc47_relax.build.board_variant_old=XMC4700_Relax_Kit +kit_xmc47_relax.build.board_variant=KIT_XMC47_RELAX +kit_xmc47_relax.build.flash_size=2000K +kit_xmc47_relax.build.flash_ld=linker_script.ld +kit_xmc47_relax.build.extra_flags=-DARM_MATH_CM4 -DXMC4_SERIES + +kit_xmc47_relax.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +kit_xmc47_relax.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +kit_xmc47_relax.menu.LIB.NONE=None +kit_xmc47_relax.menu.LIB.NONE.library.selected= +kit_xmc47_relax.menu.LIB.NN=ARM NN Framework +kit_xmc47_relax.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +kit_xmc47_relax.menu.LIB.DSP=ARM DSP +kit_xmc47_relax.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP \ No newline at end of file diff --git a/ci-matrix-config.yml b/ci-matrix-config.yml index 88e627e7..8ba17477 100644 --- a/ci-matrix-config.yml +++ b/ci-matrix-config.yml @@ -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 @@ -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 @@ -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 diff --git a/cores/xmc/Arduino.h b/cores/xmc/Arduino.h index 1ae9854b..94965cd6 100644 --- a/cores/xmc/Arduino.h +++ b/cores/xmc/Arduino.h @@ -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; diff --git a/cores/xmc/WInterrupts.c b/cores/xmc/WInterrupts.c index ea5d8c15..95ed78b6 100644 --- a/cores/xmc/WInterrupts.c +++ b/cores/xmc/WInterrupts.c @@ -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(); @@ -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); @@ -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); @@ -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); @@ -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); diff --git a/cores/xmc/main.cpp b/cores/xmc/main.cpp index f50a6d4b..0ac292cd 100644 --- a/cores/xmc/main.cpp +++ b/cores/xmc/main.cpp @@ -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 diff --git a/docs/arduino-deviations.rst b/docs/arduino-deviations.rst index a30045db..3edd0cb0 100644 --- a/docs/arduino-deviations.rst +++ b/docs/arduino-deviations.rst @@ -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 diff --git a/docs/builtin-libraries.rst b/docs/builtin-libraries.rst index c8700739..1fcc6f76 100644 --- a/docs/builtin-libraries.rst +++ b/docs/builtin-libraries.rst @@ -18,41 +18,38 @@ Examples Supported - Boards - Description * - DieTemperatureMeasurement - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Simple die temperature measurement | for XMC devices which demonstrates | themeasure temperature of die using | sensor. * - HeapMemoryMeasurement - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC47_RELAX - | Simple example to check heap memory | during run time for XMC devices which | demonstrates the ability to check on | free heap memory. * - SleepModeXMC1100 - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO - | Demonstrates the use of an alarm to | wake up an xmc1100 from sleep mode. * - SleepModeXMC4700 - - | XMC4700 Relax Kit + - | KIT_XMC47_RELAX - | Simple Sleep Mode for XMC4700 | Relax Kit V1 demonstrates the use of | an alarm to wake up an XMC4700 from @@ -64,12 +61,11 @@ Examples Supported | mode, LED2 will stop blinking, until | device wakes up. * - StackMemoryMeasurement - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Simple example to check stack memory | during run time for XMC devices which | demonstrates the ability to check on @@ -88,11 +84,11 @@ Examples Supported - Boards - Description * - DMA_Memory - - | XMC4700 Relax Kit + - | KIT_XMC47_RELAX - | Demonstrates how to setup an DMA, to transfer | data between two places in memory. * - DMA_UART - - | XMC4700 Relax Kit + - | KIT_XMC47_RELAX - | Demonstrates how to setup an DMA, to transfer | data between two places in memory. @@ -108,11 +104,11 @@ RTC Library - Boards - Description * - AlarmRTC - - XMC4700 Relax Kit + - KIT_XMC47_RELAX - | Demonstrates how to set an RTC alarm for the - | XMC4700 Relax Kit V1. + | KIT_XMC47_RELAX. * - SimpleRTC - - XMC4700 Relax Kit + - KIT_XMC47_RELAX - Demonstrates the use of the RTC library for the XMC4700. @@ -127,14 +123,13 @@ SPI Library - Description * - | SPI_MOSI_to_MISO | _SameDevice - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | SPI example which communicates between the | MOSI and MISO pin of the same board. Connect | the MOSI pin to the MOSI pin as hardware @@ -151,14 +146,13 @@ Wire Library - Boards - Description * - master_reader - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Demonstrates use of the Wire library. Reads data | from an I2C/TWI slave device. Refer to the "Wire Slave | Sender" example for use with this. Then it @@ -167,14 +161,13 @@ Wire Library | pins of one board to the SDA and SCL pin of the | other board. * - master_writer - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Demonstrates use of the Wire library. Writes data to | an I2C/TWI slave device. Refer to the "Wire Slave | Receiver" example for use with this. Then it @@ -183,14 +176,13 @@ Wire Library | pins of one board to the SDA and SCL pin of the | other board. * - slave_receiver - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Demonstrates use of the Wire library. Receives data as | an I2C/TWI slave device. Refer to the "Wire Slave | Writer" example for use with this. Then it @@ -199,14 +191,13 @@ Wire Library | pins of one board to the SDA and SCL pin of the | other board. * - slave_sender - - | XMC1100 XMC 2GO - | XMC1100 Boot Kit - | XMC1100 H-Bridge 2GO - | XMC1300 Boot Kit - | XMC1400 2GO Kit - | XMC1400 Arduino Kit - | XMC4400 Platform 2Go - | XMC4700 Relax Kit + - | KIT_XMC_2GO_XMC1100_V1 + | KIT_XMC11_BOOT_001 + | KIT_XMC13_BOOT_001 + | KIT_XMC14_2GO + | KIT_XMC1400_ARDUINO + | KIT_XMC_PLT2GO_XMC4400 + | KIT_XMC47_RELAX - | Demonstrates use of the Wire library. Receives data as | an I2C/TWI slave device. Refer to the "Wire Master | Reader" example for use with this. Then it @@ -219,7 +210,7 @@ Wire Library I2S Library ^^^^^^^^^^^ -This library has been tested with the IM69D130 Microphone Shield2Go with both XMC4700 Relax Kit and XMC1100 XMC2Go. +This library has been tested with the IM69D130 Microphone Shield2Go with both KIT_XMC47_RELAX and KIT_XMC_2GO_XMC1100_V1. Please refer to the `README.md `_ of the I2S library for pin connections. @@ -245,7 +236,7 @@ This library provides support for the CAN protocol. For further details, please - Boards - Description * - CANSender - - XMC1400 2GO + - KIT_XMC14_2GO - | This example demonstrates how to send a CAN message. | It supports two different message/frame formats: | standard and extended. The CAN standard frame uses @@ -253,7 +244,7 @@ This library provides support for the CAN protocol. For further details, please | uses a 29-bit identifier. * - | CANReceiver/ | CANReceiverCallback - - XMC1400 2GO + - KIT_XMC14_2GO - | This example demonstrates how to receive a CAN | message. There are two methods for receiving messages: | the default method runs a loop that continuously @@ -264,7 +255,7 @@ This library provides support for the CAN protocol. For further details, please | be received. Additionally, messages can be filtered for | specific IDs using the ``filter()`` function. * - CANLoopBack - - XMC1400 2GO + - KIT_XMC14_2GO - | This example demonstrates the loopback mode of CAN. | In this mode, the CAN transmitter is internally connected | to its receiver, allowing the message to be sent and diff --git a/docs/hw-platforms.rst b/docs/hw-platforms.rst index 24b394e7..f89c23ef 100644 --- a/docs/hw-platforms.rst +++ b/docs/hw-platforms.rst @@ -34,27 +34,24 @@ The following XMC microcontroller boards are supported by XMC for Arduino: - :ref:`KIT_XMC_PLT2GO_XMC4400` - XMC4400 - Arduino Uno, Shield2Go, mikroBUS - * - .. image:: img/KIT_XMC47_RELAX_5V_AD_V1.jpg - - :ref:`KIT_XMC47_RELAX_5V_AD_V1` + * - .. image:: img/KIT_XMC47_RELAX.jpg + - :ref:`KIT_XMC47_RELAX` variants - XMC4700 - Arduino Uno .. note:: - For all Kit 2Go or MS 2Go sensor boards please select ``XMC1100 XMC2Go`` in the Arduino IDE. + For all Kit 2Go or MS 2Go sensor boards please select ``KIT_XMC_2GO_XMC1100_V1`` in the Arduino IDE. .. _KIT_XMC11_BOOT_001: KIT_XMC11_BOOT_001 ------------------ -* Name in Arduino IDE: ``XMC1100 Boot Kit`` -* `Product Page `__ - .. image:: img/KIT_XMC11_BOOT_001.jpg :width: 400 -The XMC1100 Boot Kit board consists of a XMC1100 microcontroller with a debugger implemented by a XMC4200 microcontroller. -The board shares the same power supply and board shape as other shields for Arduino. +The `KIT_XMC11_BOOT_001 `__ board consists of a XMC1100 microcontroller with a debugger implemented by a XMC4200 microcontroller. +The board shares the same power supply and board shape as other boards for Arduino. Pinout Diagram ^^^^^^^^^^^^^^ @@ -71,13 +68,10 @@ nor share the same pins/resources. This is different from the original Arduino U KIT_XMC13_BOOT_001 ------------------ -* Name in Arduino IDE: ``XMC1300 Boot Kit`` -* `Product Page `__ - .. image:: img/KIT_XMC13_BOOT_001.jpg :width: 400 -XMC1302 Microcontroller in TSSOP-38 with 200KB Flash and full peripheral set of XMC1300 series. +The `KIT_XMC13_BOOT_001 `__ features a XMC1302 microcontroller in TSSOP-38 with 200KB flash and detachable SEGGER J-Link. ----------------------------------------------------------------------- @@ -86,13 +80,10 @@ XMC1302 Microcontroller in TSSOP-38 with 200KB Flash and full peripheral set of KIT_XMC14_2GO ------------- -* Name in Arduino IDE: ``XMC1400 XMC2GO`` -* `Product Page `__ - .. image:: img/KIT_XMC14_2GO.png :width: 400 -The XMC1400 Kit 2Go provides an easy way to evaluate almost all capabilities of the XMC1400 microcontroller. +The `KIT_XMC14_2GO `__ provides an easy way to evaluate almost all capabilities of the XMC1400 microcontroller. The kit is powered via USB, interfaces to other Infineon sensor boards and provides multiple interfaces including a CAN bus. The software development is supported via ModusToolbox™ and the Arduino IDE. @@ -109,14 +100,11 @@ Pinout Diagram KIT_XMC1400_ARDUINO ------------------- -* Name in Arduino IDE: ``XMC1400 Kit for Arduino`` -* `Product Page `__ - .. image:: img/KIT_XMC1400_ARDUINO.jpg :width: 400 -The XMC1400 Kit for Arduino consists of a XMC1400 microcontroller with a debugger implemented by a XMC4200 microcontroller. -The board shares the same power supply and board shape as other shields for Arduino. +The `KIT_XMC1400_ARDUINO `__ consists of a XMC1400 microcontroller with a debugger implemented by a XMC4200 microcontroller. +The board shares the same power supply and board shape as other boards for Arduino. Pinout Diagram ^^^^^^^^^^^^^^ @@ -134,13 +122,10 @@ Arduino UNO Rev3 implementation. Please look at the pinout diagram for more info KIT_XMC_PLT2GO_XMC4200 ---------------------- -* Name in Arduino IDE: ``XMC4200 Platform 2GO`` -* `Product Page `__ - .. image:: img/KIT_XMC_PLT2GO_XMC4200.jpg :width: 400 -The XMC4200 Platform 2Go evaluation board consists of a XMC4200 microcontroller with a debugger implemented by a XMC4200 microcontroller. +The `KIT_XMC_PLT2GO_XMC4200 `__ board consists of a XMC4200 microcontroller with a debugger implemented by a XMC4200 microcontroller. Please note that there exist versions with 5V and 3.3V. Please be careful which version you have and use with your respective shields. The one described here is the 5V version as this one is compatible with Arduino shields designed for 5V systems. This kit is equipped with an ARM® Cortex®-M4 based XMC4200 microcontroller with on-board debugger, Ethernet, CAN and footprints for Arduino, @@ -161,13 +146,10 @@ on the board itself. If you want to use them check out the subsection :ref:`conn KIT_XMC_PLT2GO_XMC4400 ---------------------- -* Name in Arduino IDE: ``XMC4400 Platform 2GO`` -* `Product Page `__ - .. image:: img/KIT_XMC_PLT2GO_XMC4400.jpg :width: 400 -The XMC4400 Platform 2Go evaluation board consists of a XMC4400 microcontroller with a debugger implemented by a XMC4200 microcontroller. +The `KIT_XMC_PLT2GO_XMC4400 `__ board consists of a XMC4400 microcontroller with a debugger implemented by a XMC4200 microcontroller. Please note that there exist versions with 5V and 3.3V. Please be careful which version you have and use with your respective shields. The one described here is the 5V version as this one is compatible with Arduino shields designed for 5V systems. This kit is equipped with an ARM® Cortex®-M4 based XMC4400 microcontroller with on-board debugger, Ethernet, CAN and footprints for Arduino, @@ -183,25 +165,28 @@ on the board itself. If you want to use them check out the subsection :ref:`conn ----------------------------------------------------------------------- -.. _KIT_XMC47_RELAX_5V_AD_V1: +.. _KIT_XMC47_RELAX: -KIT_XMC47_RELAX_5V_AD_V1 +KIT_XMC47_RELAX ------------------------ -* Name in Arduino IDE: ``XMC4700 Relax Kit`` -* `Product Page `__ +Supported Variants +^^^^^^^^^^^^^^^^^^ +* `KIT_XMC47_RELAX_V1 `__ +* `KIT_XMC47_RELAX_LITE_V1 `__ +* `KIT_XMC47_RELAX_5V_AD_V1 `__ -.. image:: img/KIT_XMC47_RELAX_5V_AD_V1.jpg +.. image:: img/KIT_XMC47_RELAX.jpg :width: 400 -The XMC4700 Relax Kit board consists of a XMC4700 microcontroller with a debugger implemented by a XMC4200 microcontroller. +The KIT_XMC47_RELAX board variants consists of a XMC4700 microcontroller with a debugger implemented by a XMC4200 microcontroller. Please note that there exist versions with 5V and 3.3V. Please be careful which version you have and use with your respective shields. The one described here is the 5V version as this one is compatible with Arduino shields designed for 5V systems. Pinout Diagram ^^^^^^^^^^^^^^ -.. image:: img/KIT_XMC47_RELAX_5V_AD_V1_pinout.png +.. image:: img/KIT_XMC47_RELAX_pinout.png :width: 700 Please note that Arduino pin number ``15`` & ``21`` (``SCL`` & ``A5``) and Arduino pin number ``14`` & ``20`` (``SDA`` & ``A4``) are connected with each other @@ -214,11 +199,11 @@ on the board itself. If you want to use them check out the subsection :ref:`conn Connected I2S and Analog pins ----------------------------- -For the ``KIT_XMC_PLT2GO_XMC4200``, ``KIT_XMC_PLT2GO_XMC4400`` and ``KIT_XMC47_RELAX_5V_AD_V1`` the Arduino pin number ``15`` & ``21`` (``SCL`` & ``A5``) and Arduino +For the ``KIT_XMC_PLT2GO_XMC4200``, ``KIT_XMC_PLT2GO_XMC4400`` and ``KIT_XMC47_RELAX`` the Arduino pin number ``15`` & ``21`` (``SCL`` & ``A5``) and Arduino pin number ``14`` & ``20`` (``SDA`` & ``A4``) are connected with each other on the board itself. Although they are different physical pins of the microcontroller, they are connected with each other on the board to comply with the original Arduino UNO Rev3 pin connections. This influences analog measurements on ``A4`` and ``A5`` if you are using I2C simultaneously. Details of the connection can also be found in the schematics in the user manual of the board here: -`KIT_XMC_PLT2GO_XMC4200 user manual`_, `KIT_XMC_PLT2GO_XMC4400 user manual`_ and `KIT_XMC47_RELAX_5V_AD_V1 user manual`_. +`KIT_XMC_PLT2GO_XMC4200 user manual`_, `KIT_XMC_PLT2GO_XMC4400 user manual`_ and `KIT_XMC47_RELAX user manual`_. The user manual shows on: @@ -242,14 +227,14 @@ For the ``KIT_XMC_PLT2GO_XMC4400`` by cutting the marked blue routes on the back .. image:: img/kit_xmc_plt2go_xmc4400_cut_routes.png :width: 300 -For the ``KIT_XMC47_RELAX_5V_AD_V1`` cut the blue routes on the back side of the PCB as indicated here: +For the ``KIT_XMC47_RELAX`` cut the blue routes on the back side of the PCB as indicated here: .. image:: img/kit_xmc47_relax_cut_routes.jpg :width: 300 .. _KIT_XMC_PLT2GO_XMC4200 user manual: https://www.infineon.com/dgdl/Infineon-XMC4200_Platform2Go-UserManual-v01_00-EN.pdf?fileId=5546d4626f229553016f8fca76c12c96 .. _KIT_XMC_PLT2GO_XMC4400 user manual: https://www.infineon.com/dgdl/Infineon-XMC4400_Platform2Go-UserManual-v01_00-EN.pdf?fileId=5546d4626f229553016f8fc159482c94 -.. _KIT_XMC47_RELAX_5V_AD_V1 user manual: https://www.infineon.com/dgdl/Infineon-Board_User_Manual_XMC4700_XMC4800_Relax_Kit_Series-UM-v01_02-EN.pdf?fileId=5546d46250cc1fdf01513f8e052d07fc +.. _KIT_XMC47_RELAX user manual: https://www.infineon.com/dgdl/Infineon-Board_User_Manual_XMC4700_XMC4800_Relax_Kit_Series-UM-v01_02-EN.pdf?fileId=5546d46250cc1fdf01513f8e052d07fc ----------------------------------------------------------------------- @@ -286,7 +271,6 @@ KIT_XMC_2GO_XMC1100_V1 ---------------------- * Replaced by :ref:`KIT_XMC14_2GO` -* Name in Arduino IDE: ``XMC1100 XMC2Go`` The XMC1100 2Go board consists of a XMC1100 microcontroller with a debugger implemented by a XMC4200 microcontroller. diff --git a/docs/img/KIT_XMC47_RELAX_5V_AD_V1.jpg b/docs/img/KIT_XMC47_RELAX.jpg similarity index 100% rename from docs/img/KIT_XMC47_RELAX_5V_AD_V1.jpg rename to docs/img/KIT_XMC47_RELAX.jpg diff --git a/docs/img/KIT_XMC47_RELAX_5V_AD_V1_pinout.png b/docs/img/KIT_XMC47_RELAX_pinout.png similarity index 100% rename from docs/img/KIT_XMC47_RELAX_5V_AD_V1_pinout.png rename to docs/img/KIT_XMC47_RELAX_pinout.png diff --git a/docs/index.rst b/docs/index.rst index e1077c85..0f6963b5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,7 +9,7 @@ Welcome to Infineon's XMC Microcontroller Boards for Arduino! .. image:: img/KIT_XMC11_BOOT_001.jpg :width: 200 -.. image:: img/KIT_XMC47_RELAX_5V_AD_V1.jpg +.. image:: img/KIT_XMC47_RELAX.jpg :width: 200 The XMC microcontroller family from Infineon offers a powerful and versatile platform for embedded system development. diff --git a/docs/installation-instructions.rst b/docs/installation-instructions.rst index 75bcfec7..5f414391 100644 --- a/docs/installation-instructions.rst +++ b/docs/installation-instructions.rst @@ -53,7 +53,7 @@ Paste the following URL into the *Additional boards manager URLs* input field un :: - https://github.com/Infineon/XMC-for-Arduino/releases/latest/download/package_infineon_index.json + https://github.com/Infineon/XMC-for-Arduino/releases/latest/download/package_xmc_index.json .. image:: img/arduino_ide_preferences_menu.png :width: 600 diff --git a/extras/arduino-devops b/extras/arduino-devops index 9f09f1a0..267471c7 160000 --- a/extras/arduino-devops +++ b/extras/arduino-devops @@ -1 +1 @@ -Subproject commit 9f09f1a07f4ba11a449f8b534e2a31abcb3ba581 +Subproject commit 267471c79da2e7da81759d27b519da3507b5a563 diff --git a/libraries/CAN/README.md b/libraries/CAN/README.md index a77d8d53..b1363bd0 100644 --- a/libraries/CAN/README.md +++ b/libraries/CAN/README.md @@ -4,9 +4,14 @@ Based on [Arduino CAN library](https://www.arduino.cc/reference/en/libraries/can # Hardware Setup -XMC boards with CAN support (CAN transceiver on board and CAN controller module): XMC4200 Platform2GO, XMC4400 Platform2GO, XMC4700 Relax Kit and XMC1400 XMC2GO. +XMC boards with CAN support (CAN transceiver on board and CAN controller module): KIT_XMC_PLT2GO_XMC4200, KIT_XMC_PLT2GO_XMC4400, KIT_XMC47_RELAX and KIT_XMC14_2GO. -:warning: There is a 120 ohm terminal resistor on the XMC4200 Platform2GO and XMC1400 XMC2Go boards, not on the XMC4400 Platform2GO and XMC4700 Relax Kit. Please remove or add resistors as needed. +| Board Name | Onboard CAN | Termination Resistor | +|--------------------------|-------------|-----------------------| +| KIT_XMC14_2GO | Yes | Yes (120 ohm) | +| KIT_XMC_PLT2GO_XMC4200 | Yes | No | +| KIT_XMC_PLT2GO_XMC4400 | Yes | Yes (120 ohm) | +| KIT_XMC47_RELAX | Yes | No | All CAN nodes should be connected using the (twisted) pair cable for the CAN_H and CAN_L @@ -46,7 +51,7 @@ Here the API definition is based on: ## :warning: XMC specification -Due to the different behavior of xmc4 series and xmc1 series, the library and provided examples was tested primarily on **xmc1400 2go**. +Due to the different behavior of xmc4000 series and xmc1000 series, the library and provided examples was tested primarily on **KIT_XMC14_2GO**. The known difference is that the XMC4 is unable to receive CAN messages for all IDs. Therefore, it is necessary to define the device ID using the following function: diff --git a/libraries/DMA/examples/DMA_Memory/DMA_Memory.ino b/libraries/DMA/examples/DMA_Memory/DMA_Memory.ino index 9f79133c..15997002 100644 --- a/libraries/DMA/examples/DMA_Memory/DMA_Memory.ino +++ b/libraries/DMA/examples/DMA_Memory/DMA_Memory.ino @@ -1,5 +1,5 @@ /* - * Simple DMA example for XMC4700 Relax Kit V1 + * Simple DMA example for KIT_XMC47_RELAX * Demonstrates how to setup an DMA, to transfer data between two places in memory. * Prints the message in Serial port. */ diff --git a/libraries/DMA/examples/DMA_UART/DMA_UART.ino b/libraries/DMA/examples/DMA_UART/DMA_UART.ino index 39618d0c..4e8056e6 100644 --- a/libraries/DMA/examples/DMA_UART/DMA_UART.ino +++ b/libraries/DMA/examples/DMA_UART/DMA_UART.ino @@ -1,5 +1,5 @@ /* - * Simple DMA example for XMC4700 Relax Kit V1 + * Simple DMA example for KIT_XMC47_RELAX * Demonstrates how to setup an DMA, between memory and UART module. * Prints the message in Serial port. */ diff --git a/libraries/DeviceControlXMC/examples/SleepModeXMC4700/SleepModeXMC4700.ino b/libraries/DeviceControlXMC/examples/SleepModeXMC4700/SleepModeXMC4700.ino index b76c63d5..96f4391d 100644 --- a/libraries/DeviceControlXMC/examples/SleepModeXMC4700/SleepModeXMC4700.ino +++ b/libraries/DeviceControlXMC/examples/SleepModeXMC4700/SleepModeXMC4700.ino @@ -1,5 +1,5 @@ /* - Simple Sleep Mode for XMC4700 Relax Kit V1 + Simple Sleep Mode for KIT_XMC47_RELAX Demonstrates the ability to control peripherals on sleep mode. LED2 will blink fast on active mode. If CCU4 is ON in sleep mode, LED2 will blink slower (because of slower clock) while in sleep mode. If CCU is OFF in sleep mode, LED2 will stop blinking, until device wakes up. diff --git a/libraries/I2S/README.md b/libraries/I2S/README.md index 404c75c6..0e01a22a 100644 --- a/libraries/I2S/README.md +++ b/libraries/I2S/README.md @@ -6,9 +6,9 @@ the master device and read audio input from another device such as a microphone. Be aware that only reading is possible for the time being - no I2S output is supported. ## Wiring -The library has been tested with the XMC4700 Relax Kit, XMC1100 XMC 2Go, and XMC1100 Boot Kit in combination with the IM69D130 Microphone Shield2Go. +The library has been tested with the KIT_XMC47_RELAX, XMC1100 XMC 2Go, and KIT_XMC11_BOOT_001 in combination with the IM69D130 Microphone Shield2Go. -* For the XMC4700 Relax Kit, following ports/pins should be connected: +* For the KIT_XMC47_RELAX, following ports/pins should be connected: - BCLK -- P3.10 - DATA -- P3.7 - CLK -- P3.9 @@ -26,14 +26,14 @@ The library has been tested with the XMC4700 Relax Kit, XMC1100 XMC 2Go, and XMC `No level shifting needed as the XMC 2Go board runs at 3.3 V.` -* For the XMC1100 Boot Kit board the ports/pins connection should be as follows: +* For the KIT_XMC11_BOOT_001 board the ports/pins connection should be as follows: - BCLK -- P0.9 - DATA -- P1.0 - CLK -- P0.7 - GND -- GND (VSS) - 3.3V -- 3.3V (VDD) -`Ensure that level shifting is in place as the microphone board has 3.3 V logic level, XMC1100 Boot Kit has 5 V by default.` +`Ensure that level shifting is in place as the microphone board has 3.3 V logic level, KIT_XMC11_BOOT_001 has 5 V by default.` This configuration is defined in the respective board configuration files `pins_arduino.h`. @@ -66,7 +66,7 @@ Please refer to the data sheet of your specific microphone for the sampling rate If you are using XMC1000 family boards, the recommended sampling rate is 12 kHz as higher values might interfere with the microcontroller speed. Since both `Serial` and `I2S` use USIC interrupts, there could be a problem with processing remaining code as the processor could get locked out via interrupts. -However, if you are using an XMC4000 board such as a XMC4700 Relax Kit, you shouldn't have to worry about these issues in particular. +However, if you are using an XMC4000 board such as a KIT_XMC47_RELAX, you shouldn't have to worry about these issues in particular. ### Data delay Sometimes, it also makes sense to adjust the data delay, which is the delay between a changing WA/LRCL edge and the start of a sample depending on the microphone of your choice. Please be aware that there are different `I2S.begin()` functions which allow to set the parameters very precisely. Have a look in the I2S.h file for more information. diff --git a/libraries/I2S/src/I2S.cpp b/libraries/I2S/src/I2S.cpp index 853da3c8..61daf46f 100644 --- a/libraries/I2S/src/I2S.cpp +++ b/libraries/I2S/src/I2S.cpp @@ -415,11 +415,11 @@ void I2SClass::_onSampleReceived() { } extern "C" { -#if defined(XMC4700_Relax_Kit) +#if defined(KIT_XMC47_RELAX) void USIC2_2_IRQHandler() { I2S._onSampleReceived(); } -#elif defined(XMC1100_XMC2GO) || defined(XMC1100_Boot_Kit) +#elif defined(KIT_XMC_2GO_XMC1100_V1) || defined(KIT_XMC11_BOOT_001) void USIC0_2_IRQHandler() { I2S._onSampleReceived(); } -#elif defined(XMC1400_XMC2GO) +#elif defined(KIT_XMC14_2GO) void USIC1_2_IRQHandler() { I2S._onSampleReceived(); } #endif } diff --git a/libraries/I2S/src/I2S.h b/libraries/I2S/src/I2S.h index fda4d4d4..fffdd17f 100644 --- a/libraries/I2S/src/I2S.h +++ b/libraries/I2S/src/I2S.h @@ -37,9 +37,10 @@ *and read audio input from another device such as a microphone. * * @section Wiring - * The library has been tested with the XMC4700 Relax Kit/XMC1100 XMC2G0/XMC1100 Boot Kit. - *interfacing an Infineon IM69D130 Microphone Shield2Go. For the XMC4700 relax board, following - *ports should be connected: LRCL -- 3.10 DOUT -- 3.7 SCLK -- 3.9 GND -- GND 3.3V -- 3.3V + * The library has been tested with the + *KIT_XMC47_RELAX/KIT_XMC_2GO_XMC1100_V1/KIT_XMC11_BOOT_001. interfacing an Infineon + *IM69D130 Microphone Shield2Go. For the XMC4700 relax board, following ports should be connected: + *LRCL -- 3.10 DOUT -- 3.7 SCLK -- 3.9 GND -- GND 3.3V -- 3.3V * * For the XMC1100 boards the connection should be the following: * LRCL -- 0.9 diff --git a/libraries/LED/Readme.md b/libraries/LED/Readme.md index 082ca67b..eeef8a16 100644 --- a/libraries/LED/Readme.md +++ b/libraries/LED/Readme.md @@ -38,16 +38,15 @@ models of board so we end up with | Board | Normal LEDs
ON state | LED_BUILTIN
Separate | LED_BUILTIN
ON state | :---- | :---: | :---: | :---: | - XMC1100 Boot Kit | Low | Yes | High - XMC1100 XMC2GO | High | No | High - XMC1100 XMC H Bridge2GO | High| No | High - XMC1300 Boot Kit | Low | No | Low - XMC1300 Sense2GO | Low| No | Low - XMC1400 Arduino Kit | Low | Yes | High - XMC4200 Platform2Go | High| No | High - XMC4400 Platform2Go | High| No | High - XMC4700 Relax Kit | High| No | High - XMC4700 Relax Kit Lite | High| No | High +| KIT_XMC11_BOOT_001 | Low | Yes | High | +| KIT_XMC_2GO_XMC1100_V1 | High | No | High | +| XMC1100 XMC H Bridge2GO | High | No | High | +| KIT_XMC13_BOOT_001 | Low | No | Low | +| XMC1300 Sense2GO | Low | No | Low | +| KIT_XMC1400_ARDUINO | Low | Yes | High | +| KIT_XMC_PLT2GO_XMC4200 | High | No | High | +| KIT_XMC_PLT2GO_XMC4400 | High | No | High | +| KIT_XMC47_RELAX | High | No | High | ** NOTE ** After Version 2.0 of XMC-for-Arduino, some boards were dropped (e.g. XMC1300 Sense2GO) they are still shown here for those using old versions of XMC-for-Arduino, and for history. diff --git a/libraries/OneWire/src/util/OneWireConf.h b/libraries/OneWire/src/util/OneWireConf.h index eeb7fe21..a9354730 100644 --- a/libraries/OneWire/src/util/OneWireConf.h +++ b/libraries/OneWire/src/util/OneWireConf.h @@ -5,7 +5,7 @@ namespace onewire { -#if defined(XMC1100_XMC2GO) +#if defined(KIT_XMC_2GO_XMC1100_V1) #define NUM_ONEWIRE_HW 4 #define PIN_HAS_ONEWIRE_HW(pin) ((pin == 0) || (pin == 1) || (pin == 10) || (pin == 11)) #define PIN_TO_ONEWIRE_HW(pin) \ @@ -86,7 +86,7 @@ XMC_SPI_t mappingHW[] = { .output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH, .input_hysteresis = XMC_GPIO_INPUT_HYSTERESIS_STANDARD}}}; -#elif defined(XMC1100_Boot_Kit) +#elif defined(KIT_XMC11_BOOT_001) #define NUM_ONEWIRE_HW 3 #define PIN_HAS_ONEWIRE_HW(pin) ((pin == 11) || (pin == 15) || (pin == 16)) #define PIN_TO_ONEWIRE_HW(pin) ((pin == 11) ? 0 : ((pin == 15) ? 1 : ((pin == 16) ? 2 : -1))) @@ -147,7 +147,7 @@ XMC_SPI_t mappingHW[] = { .output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH, .input_hysteresis = XMC_GPIO_INPUT_HYSTERESIS_STANDARD}}}; -#elif defined(XMC4700_Relax_Kit) +#elif defined(KIT_XMC47_RELAX) #define NUM_ONEWIRE_HW 6 #define PIN_HAS_ONEWIRE_HW(pin) \ ((pin == 1) || (pin == 15) || (pin == 29) || (pin == 37) || (pin == 70) || (pin == 88)) diff --git a/libraries/RTC/examples/AlarmRTC/AlarmRTC.ino b/libraries/RTC/examples/AlarmRTC/AlarmRTC.ino index 4552074e..4d6da3c6 100644 --- a/libraries/RTC/examples/AlarmRTC/AlarmRTC.ino +++ b/libraries/RTC/examples/AlarmRTC/AlarmRTC.ino @@ -1,15 +1,15 @@ /* Simple RTC Alarm for XMC Boards - Demonstrates how to set an RTC alarm for the XMC4700 Relax Kit V1 + Demonstrates how to set an RTC alarm for the KIT_XMC47_RELAX */ /* Board Check - This library can currently only be used with the XMC4700 Relax Kit + This library can currently only be used with the KIT_XMC47_RELAX If you modify the library to work with other XMC versions, remove the following lines */ #if (UC_FAMILY != XMC4) -#error This XMC board is not supported, only XMC4700 Relax Kit is supported +#error This XMC board is not supported, only KIT_XMC47_RELAX is supported #endif // End of Board Check diff --git a/libraries/RTC/examples/SimpleRTC/SimpleRTC.ino b/libraries/RTC/examples/SimpleRTC/SimpleRTC.ino index 8ecc97c1..d15d1abc 100644 --- a/libraries/RTC/examples/SimpleRTC/SimpleRTC.ino +++ b/libraries/RTC/examples/SimpleRTC/SimpleRTC.ino @@ -1,5 +1,5 @@ /* - Simple RTC for XMC4700 Relax Kit V1 + Simple RTC for KIT_XMC47_RELAX Demonstrates the use of the RTC library for the XMC4700 */ diff --git a/libraries/SPI/src/SPI.h b/libraries/SPI/src/SPI.h index aa83462e..b4854595 100644 --- a/libraries/SPI/src/SPI.h +++ b/libraries/SPI/src/SPI.h @@ -35,8 +35,8 @@ // #define USE_SW_SPI // Define USE_XMC_RELAX_KIT_SD allows to use the SD Lib to communicate with a SD Card over -// the on-board SD Card Slot. This feature is only available on XMC4700 RelaxKits. -#if defined(XMC4700_Relax_Kit) +// the on-board SD Card slot. This feature is only available on KIT_XMC47_RELAX kits. +#if defined(KIT_XMC47_RELAX) #define USE_XMC_RELAX_KIT_SD #endif @@ -66,10 +66,10 @@ // #define pin_cs 10 // -// #if defined(XMC1100_XMC2GO) || defined(XMC1100_H_BRIDGE2GO) +// #if defined(KIT_XMC_2GO_XMC1100_V1) || defined(XMC1100_H_BRIDGE2GO) // #define pin_cs 3 -// #elif defined(XMC4400_Platform2GO) +// #elif defined(KIT_XMC_PLT2GO_XMC4200) /// #define pin_cs_slot_1 95 // #define pin_cs_slot_2 96 diff --git a/libraries/Wire/src/Wire.cpp b/libraries/Wire/src/Wire.cpp index 1ab8ecf8..41cd2b35 100644 --- a/libraries/Wire/src/Wire.cpp +++ b/libraries/Wire/src/Wire.cpp @@ -676,19 +676,19 @@ void USIC0_4_IRQHandler() { Wire.ReceiveHandler(); } void USIC0_5_IRQHandler() { Wire.ProtocolHandler(); } - #if defined(XMC1100_XMC2GO) || defined(XMC1100_H_BRIDGE2GO) + #if defined(KIT_XMC_2GO_XMC1100_V1) || defined(XMC1100_H_BRIDGE2GO) void USIC0_2_IRQHandler() { Wire1.ReceiveHandler(); } void USIC0_3_IRQHandler() { Wire1.ProtocolHandler(); } #endif - #if defined(XMC4400_Platform2GO) + #if defined(KIT_XMC_PLT2GO_XMC4200) void USIC1_1_IRQHandler() { Wire.ReceiveHandler(); } void USIC1_2_IRQHandler() { Wire.ProtocolHandler(); } #endif -#elif defined(XMC4700_Relax_Kit) +#elif defined(KIT_XMC47_RELAX) void USIC1_1_IRQHandler() { Wire.ReceiveHandler(); } void USIC1_2_IRQHandler() { Wire.ProtocolHandler(); } diff --git a/package/package_xmc_index.template.json b/package/package_xmc_index.template.json index 9ed47ade..79c5c513 100644 --- a/package/package_xmc_index.template.json +++ b/package/package_xmc_index.template.json @@ -20,28 +20,28 @@ }, "boards": [ { - "name": "XMC1100 Boot Kit" + "name": "KIT_XMC11_BOOT_001" }, { - "name": "XMC1100 XMC2Go" + "name": "KIT_XMC_2GO_XMC1100_V1" }, { - "name": "XMC1300 Boot Kit" + "name": "KIT_XMC13_BOOT_001" }, { - "name": "XMC1400 Kit for Arduino" + "name": "KIT_XMC1400_ARDUINO" }, { - "name": "XMC1400 XMC2Go" + "name": "KIT_XMC14_2GO" }, { - "name": "XMC4200 Platform 2Go" + "name": "KIT_XMC_PLT2GO_XMC4200" }, { - "name": "XMC4400 Platform 2Go" + "name": "KIT_XMC_PLT2GO_XMC4400" }, { - "name": "XMC4700 Relax Kit" + "name": "KIT_XMC47_RELAX" } ], "toolsDependencies": [ diff --git a/platform.txt b/platform.txt index 4fa782d7..b8632670 100644 --- a/platform.txt +++ b/platform.txt @@ -95,13 +95,13 @@ compiler.elf2hex.extra_flags= includes=-I{runtime.platform.path}/cores/xmc ## Compile C files -recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" +recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -D{build.board_variant_old} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" ## Compile C++ files -recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" +recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -D{build.board_variant_old} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" ## Compile S files -recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" +recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DXMC{build.board.version}_{build.board.type} -D{build.board_variant} -D{build.board_variant_old} -DF_CPU={build.f_cpu} -DARDUINO={build.board.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.menu_flags} {compiler.arm.cmsis.path} {compiler.avr_support.path} {compiler.usb.path} {compiler.arduino_core_api.path} {includes} "{source_file}" -o "{object_file}" # Linker patterns # ---------------- diff --git a/tests/Makefile.test b/tests/Makefile.test index 73a8e4ac..cc272277 100644 --- a/tests/Makefile.test +++ b/tests/Makefile.test @@ -2,27 +2,27 @@ ### Unit tests -##CAN +## CAN # 1 board, no wire -make FQBN=infineon:xmc:XMC1400_XMC2GO PORT=COM42 test_can_single monitor +make FQBN=infineon:xmc:kit_xmc14_2go PORT=COM42 test_can_single monitor # 2 boards -make FQBN=infineon:xmc:XMC1400_XMC2GO PORT=COM42 test_can_connected2_node2 monitor -make FQBN=infineon:xmc:XMC1400_XMC2GO PORT=COM41 test_can_connected2_node1 monitor +make FQBN=infineon:xmc:kit_xmc14_2go PORT=COM42 test_can_connected2_node2 monitor +make FQBN=infineon:xmc:kit_xmc14_2go PORT=COM41 test_can_connected2_node1 monitor ## IIC # 1 board "talking to itself", wire needed -make FQBN=infineon:xmc:XMC4700_Relax_Kit PORT=COM28 test_wire_connected1_pingpong monitor +make FQBN=infineon:xmc:kit_xmc47_relax PORT=COM28 test_wire_connected1_pingpong monitor # 2 boards -make FQBN=infineon:xmc:XMC4700_Relax_Kit PORT=COM85 test_wire_connected2_masterpingpong monitor -make FQBN=infineon:xmc:XMC4700_Relax_Kit PORT=COM28 test_wire_connected2_slavepingpong monitor +make FQBN=infineon:xmc:kit_xmc47_relax PORT=COM85 test_wire_connected2_masterpingpong monitor +make FQBN=infineon:xmc:kit_xmc47_relax PORT=COM28 test_wire_connected2_slavepingpong monitor ## UART # 2 boards -make FQBN=infineon:xmc:XMC4700_Relax_Kit PORT=COM71 test_uart_connected2_tx monitor -make FQBN=infineon:xmc:XMC4700_Relax_Kit PORT=COM28 test_uart_connected2_rx monitor \ No newline at end of file +make FQBN=infineon:xmc:kit_xmc47_relax PORT=COM71 test_uart_connected2_tx monitor +make FQBN=infineon:xmc:kit_xmc47_relax PORT=COM28 test_uart_connected2_rx monitor \ No newline at end of file diff --git a/tests/hil-unity-checklist.yaml b/tests/hil-unity-checklist.yaml index 4ffd1b30..0e1af5d3 100644 --- a/tests/hil-unity-checklist.yaml +++ b/tests/hil-unity-checklist.yaml @@ -1,4 +1,4 @@ -infineon.xmc.XMC4700_Relax_Kit: +infineon.xmc.kit_xmc47_relax: CAN: 1: - "test_can_connected2_node2" @@ -19,7 +19,7 @@ infineon.xmc.XMC4700_Relax_Kit: - "test_uart_connected2_rx" -infineon.xmc.XMC1400_XMC2GO: +infineon.xmc.kit_xmc14_2go: CAN: 1: - "test_can_connected2_node2" @@ -33,7 +33,7 @@ infineon.xmc.XMC1400_XMC2GO: - "test_wire_connected2_masterpingpong" -infineon.xmc.XMC1100_XMC2GO: +infineon.xmc.kit_xmc_2go_xmc1100_v1: Wire: 1: - "test_wire_connected2_slavepingpong" diff --git a/tests/manual/PCLKTest/PCLKTest.ino b/tests/manual/PCLKTest/PCLKTest.ino index aa8aff9f..6057a508 100644 --- a/tests/manual/PCLKTest/PCLKTest.ino +++ b/tests/manual/PCLKTest/PCLKTest.ino @@ -7,15 +7,16 @@ If both LED1 and LED2 are permanently ON then an invalid pin for PWM has been attempted to be attached to a invalid pin Wiring - Default PWM pin are 3 - - Some Board variant PWM Pins - XMC1100 Boot Kit 3, 4, 6, 9 - XMC1100 XMC2Go 8, 3, 2, 1 - XMC1300 Boot Kit 31, 26, 32, 33 - XMC4700 Relax 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, - 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 - */ + Default PWM pin are 3 + + Some Board variant PWM Pins + KIT_XMC11_BOOT_001 3, 4, 6, 9 + KIT_XMC_2GO_XMC1100_V1 8, 3, 2, 1 + KIT_XMC13_BOOT_001 31, 26, 32, 33 + KIT_XMC47_RELAX 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, + 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 + +*/ #include #include @@ -26,7 +27,7 @@ Wiring // Adjust the following defines to match your setup // Pins for Servos and pot //#define PWM_A_PIN 3 -// XMC1300 Boot Kit pins +// KIT_XMC13_BOOT_001 pins #define PWM_A_PIN 31 #define RESOLUTION 16 diff --git a/tests/manual/PWMtest/PWMtest.ino b/tests/manual/PWMtest/PWMtest.ino index 65a5d464..7c098959 100644 --- a/tests/manual/PWMtest/PWMtest.ino +++ b/tests/manual/PWMtest/PWMtest.ino @@ -11,19 +11,20 @@ Default PWM pins are 3 and 4 Some Board variant PWM Pins - XMC1100 Boot Kit 3, 4, 6, 9 - XMC1100 XMC2Go 8, 3, 2, 1 - XMC1300 Boot Kit 31, 26, 32, 33 - XMC4700 Relax 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, - 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 - */ + KIT_XMC11_BOOT_001 3, 4, 6, 9 + KIT_XMC_2GO_XMC1100_V1 8, 3, 2, 1 + KIT_XMC13_BOOT_001 31, 26, 32, 33 + KIT_XMC47_RELAX 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, + 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 + +*/ #include // Adjust the following defines to match your setup // Pins for Servos and pot //#define PWM_A_PIN 3 //#define PWM_B_PIN 4 -// XMC1300 Boot Kit pins +// KIT_XMC13_BOOT_001 pins #define PWM_A_PIN 31 #define PWM_B_PIN 26 diff --git a/tests/manual/Servotest/Servotest.ino b/tests/manual/Servotest/Servotest.ino index e892af3a..66484b79 100644 --- a/tests/manual/Servotest/Servotest.ino +++ b/tests/manual/Servotest/Servotest.ino @@ -16,16 +16,17 @@ Wiring Pot is connected to analogue input A1 - (XMC1300 Boot Kit has on-board pot on this pin) + (KIT_XMC13_BOOT_001 has on-board pot on this pin) Default PWM pins are 3 and 4 Some Board variant PWM Pins - XMC1100 Boot Kit 3, 4, 6, 9 - XMC1100 XMC2Go 8, 3, 2, 1 - XMC1300 Boot Kit 31, 26, 32, 33 - XMC4700 Relax 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, - 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 - */ + KIT_XMC11_BOOT_001 3, 4, 6, 9 + KIT_XMC_2GO_XMC1100_V1 8, 3, 2, 1 + KIT_XMC13_BOOT_001 31, 26, 32, 33 + KIT_XMC47_RELAX 3, 10, 11, 95, 72, 96, 63, 36, 78, 90, 91, + 5, 6, 9, 53, 39, 64, 38, 68, 79, 83, 82, 81 + +*/ #include #include diff --git a/tests/manual/analogwritetest/analogwritetest.ino b/tests/manual/analogwritetest/analogwritetest.ino index 3934c38b..148a7ff8 100644 --- a/tests/manual/analogwritetest/analogwritetest.ino +++ b/tests/manual/analogwritetest/analogwritetest.ino @@ -18,7 +18,7 @@ void setup() { -#if defined ( XMC1100_XMC2GO ) +#if defined ( KIT_XMC_2GO_XMC1100_V1 ) analogWrite( 8, 32 ); // all PWM4 analogWrite( 1, 64 ); analogWrite( 2, 96 ); @@ -27,21 +27,21 @@ analogWrite( 3, 128 ); #if defined ( XMC1100_H_BRIDGE2GO ) analogWrite( 8, 32 ); // PWM4 #endif -#if defined ( XMC1100_Boot_Kit ) || defined ( XMC1400_Boot_Kit ) || defined ( XMC1300_Sense2GoL ) -// XMC1100 Boot Kit or XMC1400 Boot Kit or XMC1300 Sense2GoL +#if defined ( KIT_XMC11_BOOT_001 ) || defined ( KIT_XMC1400_ARDUINO ) || defined ( XMC1300_Sense2GoL ) +// KIT_XMC11_BOOT_001 or XMC1400 Boot Kit or XMC1300 Sense2GoL analogWrite( 3, 32 ); // all PWM4 analogWrite( 4, 64 ); analogWrite( 6, 96 ); analogWrite( 9, 128 ); #endif -#if defined ( XMC1300_Boot_Kit ) -// XMC1300 Boot Kit +#if defined ( KIT_XMC13_BOOT_001 ) +// KIT_XMC13_BOOT_001 analogWrite( 31, 32 ); // PWM4 analogWrite( 26, 64 ); analogWrite( 32, 96 ); // PWM8 analogWrite( 33, 128 ); #endif -#if defined ( XMC4700_Relax_Kit ) || defined( XMC4700_Radar_Baseboard ) +#if defined ( KIT_XMC47_RELAX ) || defined( XMC4700_Radar_Baseboard ) analogWrite( 3, 32 ); // PWM4 analogWrite( 5, 64 ); // PWM8 rest relax kit only analogWrite( 6, 96 ); diff --git a/tests/manual/tonetest/tonetest.ino b/tests/manual/tonetest/tonetest.ino index e6f8e0e8..a8b824ba 100644 --- a/tests/manual/tonetest/tonetest.ino +++ b/tests/manual/tonetest/tonetest.ino @@ -71,7 +71,7 @@ Serial.println( "PC Services Tone Test V2" ); tone( LED1, 1 ); tone( LED2, 2, 20000 ); -#if defined( XMC1100_Boot_Kit ) || defined( XMC1300_Boot_Kit ) +#if defined( KIT_XMC11_BOOT_001 ) || defined( KIT_XMC13_BOOT_001 ) tone( LED5, 4, 1000 ); tone( LED6, 8, 6000 ); #elif defined( XMC1300_Sense2GoL ) diff --git a/variants/XMC1100/config/XMC1100_Boot_Kit/pins_arduino.h b/variants/XMC1100/config/KIT_XMC11_BOOT_001/pins_arduino.h similarity index 100% rename from variants/XMC1100/config/XMC1100_Boot_Kit/pins_arduino.h rename to variants/XMC1100/config/KIT_XMC11_BOOT_001/pins_arduino.h diff --git a/variants/XMC1100/config/XMC1100_XMC2GO/pins_arduino.h b/variants/XMC1100/config/KIT_XMC_2GO_XMC1100_V1/pins_arduino.h similarity index 100% rename from variants/XMC1100/config/XMC1100_XMC2GO/pins_arduino.h rename to variants/XMC1100/config/KIT_XMC_2GO_XMC1100_V1/pins_arduino.h diff --git a/variants/XMC1300/config/XMC1300_Boot_Kit/pins_arduino.h b/variants/XMC1300/config/KIT_XMC13_BOOT_001/pins_arduino.h similarity index 100% rename from variants/XMC1300/config/XMC1300_Boot_Kit/pins_arduino.h rename to variants/XMC1300/config/KIT_XMC13_BOOT_001/pins_arduino.h diff --git a/variants/XMC1400/config/XMC1400_Arduino_Kit/pins_arduino.h b/variants/XMC1400/config/KIT_XMC1400_ARDUINO/pins_arduino.h similarity index 100% rename from variants/XMC1400/config/XMC1400_Arduino_Kit/pins_arduino.h rename to variants/XMC1400/config/KIT_XMC1400_ARDUINO/pins_arduino.h diff --git a/variants/XMC1400/config/XMC1400_XMC2GO/pins_arduino.h b/variants/XMC1400/config/KIT_XMC14_2GO/pins_arduino.h similarity index 100% rename from variants/XMC1400/config/XMC1400_XMC2GO/pins_arduino.h rename to variants/XMC1400/config/KIT_XMC14_2GO/pins_arduino.h diff --git a/variants/XMC4200/config/XMC4200_Platform2GO/pins_arduino.h b/variants/XMC4200/config/KIT_XMC_PLT2GO_XMC4200/pins_arduino.h similarity index 100% rename from variants/XMC4200/config/XMC4200_Platform2GO/pins_arduino.h rename to variants/XMC4200/config/KIT_XMC_PLT2GO_XMC4200/pins_arduino.h diff --git a/variants/XMC4400/config/XMC4400_Platform2GO/pins_arduino.h b/variants/XMC4400/config/KIT_XMC_PLT2GO_XMC4400/pins_arduino.h similarity index 100% rename from variants/XMC4400/config/XMC4400_Platform2GO/pins_arduino.h rename to variants/XMC4400/config/KIT_XMC_PLT2GO_XMC4400/pins_arduino.h diff --git a/variants/XMC4700/config/XMC4700_Relax_Kit/pins_arduino.h b/variants/XMC4700/config/KIT_XMC47_RELAX/pins_arduino.h similarity index 100% rename from variants/XMC4700/config/XMC4700_Relax_Kit/pins_arduino.h rename to variants/XMC4700/config/KIT_XMC47_RELAX/pins_arduino.h