4b6ed871a9
**New features** - Created a devicetree DTS and YAML parser in Python - Created new modules: - TactilityKernel (LGPL v3.0 license) - Platforms/PlatformEsp32 (LGPL v3.0 license) - Platforms/PlatformPosix (LGPL v3.0 license) - Tests/TactilityKernelTests Most boards have a placeholder DTS file, while T-Lora Pager has a few devices attached. **Licenses** Clarified licenses and copyrights better. - Add explanation about the intent behind them. - Added explanation about licenses for past and future subprojects - Added more details explanations with regards to the logo usage - Copied licenses to subprojects to make it more explicit
20 lines
299 B
C
20 lines
299 B
C
#pragma once
|
|
|
|
#include <Tactility/drivers/Gpio.h>
|
|
#include <hal/i2c_types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Esp32I2cConfig {
|
|
uint32_t clock_frequency;
|
|
struct GpioPinConfig pin_sda;
|
|
struct GpioPinConfig pin_scl;
|
|
const i2c_port_t port;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|