删除IDF5.0不支持的编译方式

This commit is contained in:
HEYAHONG 2021-12-29 18:43:20 +08:00
parent 002d5acd59
commit 2db36cf239
3 changed files with 2 additions and 36 deletions

View File

@ -1,15 +0,0 @@
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := esp32
include $(IDF_PATH)/make/project.mk
# Create a SPIFFS image from the contents of the 'spiffs_image' directory
# that fits the partition named 'storage'. FLASH_IN_PROJECT indicates that
# the generated image should be flashed when the entire project is flashed to
# the target with 'make flash'.
SPIFFS_IMAGE_FLASH_IN_PROJECT := 1
$(eval $(call spiffs_create_partition_image,storage,spiffs_image))

View File

@ -14,16 +14,16 @@
环境安装正确后可采用以下方式编译由SDK提供
- 直接在工程目录使用make命令编译烧录
- 使用CMAKE生成工程文件再根据工程类型CMake支持的工程类型下面均为个人习惯的类型进行编译
- 默认状态下生成可使用make进行编译的工程。
- 生成codeblocks工程文件再使用codeblocks编译编译之前需确定环境变量设置正确
- ESP IDF支持的方式idf.py
根据平台不同CMake还可支持nijia/Eclipse CDT等类型。
## ESP-IDF版本
- 已测试分支:Release/v4.3
- 已测试分支:master (20211229)
## 注意

View File

@ -1,19 +0,0 @@
#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
COMPONENT_ADD_INCLUDEDIRS := include mesh_netif
COMPONENT_OBJS = main.o tftpd.o init.o wifinetwork.o wifimeshnet.o mesh_netif/mesh_netif.o ethernet.o mqtt.o
#默认框架中为启用tftp,在此处启用
COMPONENT_OBJS += tftp/tftp_server.o
COMPONENT_SRCDIRS := ./ mesh_netif
#默认框架中为启用tftp,在此处启用
COMPONENT_SRCDIRS += tftp
COMPONENT_SUBMODULES += main