mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
* **Documentation** * Added new C coding style guide detailing naming conventions for files, directories, macros, constants, variables, functions, and type definitions with illustrative examples. * Updated C++ coding style documentation with clarifications on C naming conventions and header directory organization patterns. * **Refactor** * Updated header include paths throughout the codebase to use lowercase naming conventions consistently.
24 lines
465 B
Plaintext
24 lines
465 B
Plaintext
/dts-v1/;
|
|
|
|
#include <bindings/tlora_pager.h>
|
|
#include <tactility/bindings/esp32_gpio.h>
|
|
#include <tactility/bindings/esp32_i2c.h>
|
|
|
|
/ {
|
|
compatible = "lilygo,tlora-pager";
|
|
model = "LilyGO T-Lora Pager";
|
|
|
|
gpio0 {
|
|
compatible = "espressif,esp32-gpio";
|
|
gpio-count = <49>;
|
|
};
|
|
|
|
i2c0 {
|
|
compatible = "espressif,esp32-i2c";
|
|
clock-frequency = <100000>;
|
|
pin-sda = <&gpio0 3 GPIO_ACTIVE_HIGH>;
|
|
pin-scl = <&gpio0 2 GPIO_ACTIVE_HIGH>;
|
|
port = <I2C_NUM_0>;
|
|
};
|
|
};
|