Skip to content

Commit

Permalink
Merge pull request #7 from yangjie11/dev
Browse files Browse the repository at this point in the history
[add]增加wifi库
  • Loading branch information
armink authored Mar 14, 2020
2 parents e10e395 + c81a0f8 commit 00b41f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions SConscript
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from building import *
import rtconfig

cwd = GetCurrentDir()

Expand All @@ -20,6 +21,16 @@ elif GetDepend('BOARD_X1000_REALBOARD'):
else:
LIBS = ['wlan-wiced_gcc_x1000.a']

elif GetDepend('SOC_STM32L475VE'):
LIBPATH = [cwd + '/stm32l4']

if rtconfig.CROSS_TOOL == 'gcc':
LIBS = ['wifi_6181_0.2.6_armcm4_gcc']
elif rtconfig.CROSS_TOOL == 'keil':
LIBS = ['libwifi_6181_0.2.6_armcm4_keil']
else:
LIBS = ['libwifi_6181_0.2.6_armcm4_iar']

group = DefineGroup('wlan-wiced', src, depend = ['PKG_USING_WLAN_WICED', 'RT_USING_LWIP'], CPPPATH = CPPPATH, LIBS = LIBS, LIBPATH = LIBPATH)

Return('group')
Binary file added stm32l4/libwifi_6181_0.2.6_armcm4_gcc.a
Binary file not shown.
Binary file added stm32l4/libwifi_6181_0.2.6_armcm4_iar.a
Binary file not shown.
Binary file added stm32l4/libwifi_6181_0.2.6_armcm4_keil.lib
Binary file not shown.

0 comments on commit 00b41f1

Please # to comment.