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:
@@ -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]
|
||||
|
Reference in New Issue
Block a user