瀏覽代碼

+ Xtensa: patch by Christo Crause: support subarch lx106 in freertos Makefile, part of #37242

git-svn-id: trunk@45691 -
florian 5 年之前
父節點
當前提交
d22e24937a
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 6 0
      rtl/freertos/Makefile
  2. 7 0
      rtl/freertos/Makefile.fpc

+ 6 - 0
rtl/freertos/Makefile

@@ -516,8 +516,14 @@ endif
 endif
 ifeq ($(ARCH),xtensa)
 CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
+ifeq ($(SUBARCH),lx6)
 CPU_UNITS=esp32
 CPU_UNITS_DEFINED=1
+endif
+ifeq ($(SUBARCH),lx106)
+CPU_UNITS=esp8266
+CPU_UNITS_DEFINED=1
+endif
 ifeq ($(CPU_UNITS_DEFINED),)
 $(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
 endif

+ 7 - 0
rtl/freertos/Makefile.fpc

@@ -223,10 +223,17 @@ $(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNIT
 endif
 endif
 
+
 ifeq ($(ARCH),xtensa)
 CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
+ifeq ($(SUBARCH),lx6)
 CPU_UNITS=esp32
 CPU_UNITS_DEFINED=1
+endif
+ifeq ($(SUBARCH),lx106)
+CPU_UNITS=esp8266
+CPU_UNITS_DEFINED=1
+endif
 ifeq ($(CPU_UNITS_DEFINED),)
 $(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
 endif