{"id":21969583,"url":"https://github.com/cinderblock/xmc-peripheral-library","last_synced_at":"2025-03-22T22:27:46.458Z","repository":{"id":143531499,"uuid":"154736540","full_name":"cinderblock/XMC-Peripheral-Library","owner":"cinderblock","description":"Mirror of Infineon's XMC Lib (https://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-arm-cortex-m/#!tools)","archived":false,"fork":false,"pushed_at":"2018-10-25T21:01:53.000Z","size":153346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T02:16:04.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinderblock.png","metadata":{"files":{"readme":"Readme.txt","changelog":"ChangeLog.txt","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-25T20:56:42.000Z","updated_at":"2021-10-29T20:41:23.000Z","dependencies_parsed_at":"2023-03-27T14:28:15.365Z","dependency_job_id":null,"html_url":"https://github.com/cinderblock/XMC-Peripheral-Library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2FXMC-Peripheral-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2FXMC-Peripheral-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2FXMC-Peripheral-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2FXMC-Peripheral-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinderblock","download_url":"https://codeload.github.com/cinderblock/XMC-Peripheral-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245027911,"owners_count":20549414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T14:22:35.703Z","updated_at":"2025-03-22T22:27:46.420Z","avatar_url":"https://github.com/cinderblock.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================\r\n== INTRODUCTION ==\r\n==================\r\n\r\nThe XMC Peripheral Library (XMC Lib) consists of low-level drivers for the XMC product family peripherals.\r\nIt addition the Cortex Microcontroller Software Interface Standard (CMSIS) is included. \r\nCMSIS provides a hardware abstraction layer for the Cortex-M processor series.\r\nXMC Lib is built on top of CMSIS and MISRA-C 2004 compliant. \r\n\r\nThe following tool chains are supported:\r\n- GNU GCC for ARM (gcc)\r\n- MDK-ARM Microcontroller Development Kit v5 (armcc)\r\n- IAR Embedded Workbench for ARM (iccarm)\r\n- TASKING VX-toolset for ARM v5.(carm)\r\n\r\nThe following 32-Bit Industrial Microcontrollers based on ARM Cortex are supported:\r\n- XMC4800 series\r\n- XMC4700 series\r\n- XMC4500 series\r\n- XMC4400 series\r\n- XMC4300 series\r\n- XMC4200 series\r\n- XMC4100 series\r\n- XMC1400 series\r\n- XMC1300 series\r\n- XMC1200 series\r\n- XMC1100 series\r\n\r\n==============\r\n== CONTENTS ==\r\n==============\r\n\r\n  Readme.txt\r\n  License.txt\r\n  XMClib/\r\n    doc/\r\n    examples/\r\n    /inc\r\n    /src \r\n  CMSIS/\r\n    Include/\r\n    Infineon/\r\n      SVD/\r\n      XMC1100_series/\r\n      XMC1200_series/\r\n      XMC1300_series/\r\n      XMC1400_series/\r\n      XMC4100_series/\r\n      XMC4200_series/\r\n      XMC4300_series/\r\n      XMC4400_series/\r\n      XMC4500_series/\r\n      XMC4700_series/\r\n      XMC4800_series/\r\n    Lib/\r\n  Newlib\r\n\r\nNow let's explain the purpose of each directory:\r\n - XMClib: The XMC Peripheral Library   \r\n - XMClib/doc: Holds complete documentation\r\n - XMClib/examples: Contains examples using the XMClib for the supported devices and tool chains.\r\n - XMClib/inc: Include files per peripheral\r\n - XMClib/src: Implementation files per peripheral\r\n - CMSIS: The Cortex Microcontroller Software Interface Standard abstraction layer\r\n - CMSIS/Include: Hardware Abstraction Layer (HAL) for Cortex-M processor registers with standardized definitions for the SysTick, \r\n                  NVIC, System Control Block registers, MPU registers, FPU registers, and core access functions\r\n - CMSIS/Infineon: Includes System View Description files (SVD) for use with debuggers, device header files with the register description, \r\n                   system files and startup files defined by CMSIS\r\n - CMSIS/Lib: Precompiled CMSIS DSP libraries for XMC4 (ARM Cortex M4F) and XMC1 (ARM Cortex M0) families.\r\n - Newlib: stubs for system calls. Only relevant for GNU GCC for ARM\r\n      \r\n===========\r\n== USAGE ==\r\n===========\r\n\r\nSeveral examples for the supported tool chains are provided that can serve as starting point.\r\n\r\nTo start a project from scratch follow the steps:\r\n1. Copy the CMSIS, XMClib and Newlib folders into your project.\r\n3. Add the following folders into the include paths of your project:\r\n   - ${ProjName}/XMCLib/inc\r\n   - ${ProjName}/CMSIS/Include\r\n   - ${ProjName}/CMSIS/Infineon/XMC4400_series/Include\r\n4. Select the device for which your compiling defining a preprocessor symbol, i.e. XMC4500_F144x1024\r\n5. Include into your source the header files of the peripherals you want to use, i.e. #include \u003cxmc_vadc.h\u003e\r\n6. Configure the peripheral and make use of the APIs described in the documentation.\r\n\r\n======================\r\n== REVISION HISTORY ==\r\n======================\r\n\r\nXMC Peripheral Library v2.1.4p1 (06-04-2016)\r\n--------------------------------------------\r\n  - Updated CMSIS component to v4.5.0p1. See release notes in CMSIS/Readme.txt\r\n\r\n\r\nXMC Peripheral Library v2.1.6   (29-04-2016)\r\n--------------------------------------------\r\n  - Updated CMSIS component to v4.5.0p2. See release notes in CMSIS/Readme.txt\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Added Newlib folder\r\n  - Following examples has been updated:\r\n    - XMC4500/EBU/EBU_SDRAM\r\n       - Fix CAS latency corrected to 3\r\n       - Change writing/reading of variables from 16bit to 32bit\r\n\r\n    - XMC4500/ETH/HTTPSERVER_RAW\r\n       - Stability and speed improvements\r\n\r\n    - XMC4500/ETH/HTTPSERVER_NETCONN\r\n       - Stability and speed improvements\r\n\r\n    - XMC4800/ETH/HTTPSERVER_RAW\r\n       - Stability and speed improvements\r\n\r\n    - XMC4800/ETH/HTTPSERVER_NETCONN\r\n       - Stability and speed improvements\r\n\r\n\r\nXMC Peripheral Library v2.1.6p1   (17-05-2016)\r\n--------------------------------------------\r\n  - Updated of XMC4300 header file (v1.0.4) in CMSIS folder to solve issues with wrong base address of some peripheral modules.\r\n\r\nXMC Peripheral Library v2.1.6p2   (14-07-2016)\r\n--------------------------------------------\r\n  - Updated CMSIS component to v4.5.0p3. See release notes in CMSIS/Readme.txt\r\n\r\nXMC Peripheral Library v2.1.8     (30-08-2016)\r\n--------------------------------------------\r\n  - Updated CMSIS component to v4.5.0p4. See release notes in CMSIS/Readme.txt\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Added USBH driver\r\n  - Added USBH and USBD driver examples\r\n\r\nXMC Peripheral Library v2.1.12     (21-04-2017)\r\n--------------------------------------------\r\n  - Updated CMSIS component to v5.0.0. See release notes in CMSIS/Readme.txt\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Several examples added\r\n\r\nXMC Peripheral Library v2.1.14     (30-06-2017)\r\n--------------------------------------------\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Updated CMSIS component to v5.0.0p1.\r\n    - Changes device header and system files to add support for ARM Compiler 6 (armclang)\r\n  - Examples added\r\n\r\nXMC Peripheral Library v2.1.16     (09-08-2017)\r\n--------------------------------------------\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Examples added\r\n\r\nXMC Peripheral Library v2.1.18     (30-11-2017)\r\n--------------------------------------------\r\n  - See changelog section in the documentation files for individual peripheral driver changes\r\n  - Updated CMSIS component to v5.2.0.\r\n    - Changed:\r\n      - update core files to v5.2.0 (http://www.keil.com/pack/doc/CMSIS/General/html/cm_revisionHistory.html)\r\n      - update lwIP to v2.0.3 (https://savannah.nongnu.org/forum/forum.php?forum_id=8953)\r\n      - update fatFS to v0.13a\r\n      - system_XMC4x00.c: Disable FPU if FPU_USED macro is zero. This is the case when using -mfloat-abi=soft.\r\n      - startup_XMC1400.s: Added option to select wait time before ASC BSL channel selection (WAIT_ASCBSL_ENTRY_SSW)\r\n    - Added:\r\n      - Support for XMC1302-T028x0064, XMC1302-T028x0128, XMC1302-T028x0200\r\n\r\n  - Examples added\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fxmc-peripheral-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinderblock%2Fxmc-peripheral-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fxmc-peripheral-library/lists"}