-
Notifications
You must be signed in to change notification settings - Fork 27
PlatformIO
If you are new to PlatformIO, download and install first Visual Studio Code and the PlatformIO plugin. Please follow the instructions on the official website. Then go through this tutorial to get started with PlatformIO in VSCode and create a new project.
With the project created, now the library and its dependencies can be configured in the Platform.ini Project File. This file, located in the project root folder, includes one (or several) building environments [env:__].
In the environment section, the platform, board, and framework are specified. PlatformIO will take care of downloading and installing all dependencies.
In the following example, we use the XMC1100 Evaluation Kit (only available for Arduino):
[env:xmc1100_xmc2go]
platform = infineonxmc
board = xmc1100_xmc2go
framework = arduino
lib_deps =
# Using a library name
DC-Motor-Control-TLE5012BEL
# Using the repository URL
https://github.com/Infineon/TLE5012-Magnetic-Angle-Sensor#master
You can also simply take the platformio.ini file from the main TLE5012B repo. This file includes all settings for using this library with
Library Architecture
TLE5012B API
TLE5012B Register API
PAL Interface
Source Tree Structure
Preprocessor Configuration
Porting Guide
Doxygen Docs
Arduino
- Getting Started
- Lib Installation
- Arduino API
- PlatformIO
Cypress WICED
- Getting Started
- Lib Installation
- WICED API
- Troubleshooting Guide