1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Rp2040 pio ledstrip (#4818)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Daniel Mahaney
2023-05-21 18:31:27 -04:00
committed by GitHub
parent 784cc3bc29
commit a15ac06771
9 changed files with 610 additions and 3 deletions

View File

@@ -299,6 +299,16 @@ def copy_src_tree():
copy_files()
elif CORE.is_rp2040:
from esphome.components.rp2040 import copy_files
(pio) = copy_files()
if pio:
write_file_if_changed(
CORE.relative_src_path("esphome.h"),
ESPHOME_H_FORMAT.format(include_s + '\n#include "pio_includes.h"'),
)
def generate_defines_h():
define_content_l = [x.as_macro for x in CORE.defines]