mirror of
https://github.com/HEYAHONG/ESP32ModRTOSDemo.git
synced 2025-06-03 05:29:36 +08:00
删除IDF5.0不支持的编译方式
This commit is contained in:
parent
002d5acd59
commit
2db36cf239
15
Makefile
15
Makefile
@ -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))
|
@ -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)
|
||||
|
||||
## 注意
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user