|
|
@@ -32,7 +32,6 @@ DEPENDENCIES = ["spi"]
|
|
|
CONF_CS2_PIN = "cs2_pin"
|
|
|
|
|
|
VENDOR_ROOT = Path(__file__).parent / "vendor"
|
|
|
-ARDUINO_COMPAT_DIR = Path(__file__).parent / "arduino_compat"
|
|
|
CATALOG_PATH = Path(__file__).parent / "catalog.json"
|
|
|
CATALOG = json.loads(CATALOG_PATH.read_text())
|
|
|
|
|
|
@@ -122,8 +121,6 @@ async def to_code(config: ConfigType) -> None:
|
|
|
|
|
|
add_idf_component(name=VENDOR_ROOT.name, path=str(VENDOR_ROOT))
|
|
|
_write_sources_manifest(entry["source"])
|
|
|
- cg.add_build_flag(f"-I{ARDUINO_COMPAT_DIR}")
|
|
|
- cg.add_build_flag(f"-I{CORE.relative_src_path()}")
|
|
|
|
|
|
cs_id, dc_id = _allocate_pin_id(), _allocate_pin_id()
|
|
|
reset_id = _allocate_pin_id() if CONF_RESET_PIN in config else -1
|