whj4674672 / stm32h743-atk-apollo-lwip

stm32h743-atk-apollo-lwip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build error

02350316 opened this issue · comments

1,change;
lantianyu@jf-pc:~/work/github/stm32h743-atk-apollo-lwip$ git diff .
diff --git a/rtconfig.py b/rtconfig.py
index ef6708f..3f6f823 100644
--- a/rtconfig.py
+++ b/rtconfig.py
@@ -17,7 +17,8 @@ if os.getenv('RTT_ROOT'):

EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR

if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'

  • EXEC_PATH = r'C:\Users\XXYYZZ'
  • #EXEC_PATH = r'C:\Users\XXYYZZ'
  • EXEC_PATH = r'/opt/gcc-arm-none-eabi-5_4-2016q3/bin/'
    elif CROSS_TOOL == 'keil':
    PLATFORM = 'armcc'
    EXEC_PATH = r'C:/Keil_v5'

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2,error;
lantianyu@jf-pc:/work/github/stm32h743-atk-apollo-lwip$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/applications/main.o
applications/main.c:14:24: fatal error: lwip/netif.h: No such file or directory
compilation terminated.
scons: *** [build/applications/main.o] Error 1
scons: building terminated because of errors.
lantianyu@jf-pc:
/work/github/stm32h743-atk-apollo-lwip$