mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
Generate ARDUINO_VERSION_CODE in Python code (#3101)
Co-authored-by: Otto winter <otto@otto-winter.com>
This commit is contained in:
@@ -202,6 +202,7 @@ def write_platformio_project():
|
||||
|
||||
DEFINES_H_FORMAT = ESPHOME_H_FORMAT = """\
|
||||
#pragma once
|
||||
#include "esphome/core/macros.h"
|
||||
{}
|
||||
"""
|
||||
VERSION_H_FORMAT = """\
|
||||
|
Reference in New Issue
Block a user