connection/lora/sx1278
1.Kconfig is ok. 2.gcc is ok.
This commit is contained in:
@@ -16,5 +16,8 @@ if ADD_NUTTX_FETURES
|
||||
endif
|
||||
|
||||
if ADD_RTTHREAD_FETURES
|
||||
config ADAPTER_SX1278_DRIVER
|
||||
string "SX1278 device spi driver path"
|
||||
default "/dev/sx1278"
|
||||
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
from building import *
|
||||
import os
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = []
|
||||
if GetDepend(['ADAPTER_SX1278']):
|
||||
src += ['sx1278.c']
|
||||
group = DefineGroup('connection lora sx1278', src, depend = [], CPPPATH = [cwd])
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user