/nrf52832-nimble/rt-thread/tools/ |
H A D | mkdist.py | 24 import os 31 if not os.path.exists(src): 34 path = os.path.dirname(dst) 36 if not os.path.exists(path): 37 os.makedirs(path) 44 if not os.path.exists(src_dir): 48 if os.path.exists(dst_dir): 77 for parent, dirnames, filenames in os.walk(RTT_ROOT): 86 pathfile = os.path.join(parent, 'Kconfig') 89 pathfile = os.path.join(parent, 'KConfig') [all …]
|
H A D | buildbot.py | 1 import os 5 print '%s all -- build all bsp' % os.path.basename(sys.argv[0]) 6 print '%s clean -- clean all bsp' % os.path.basename(sys.argv[0]) 7 print '%s project -- update all prject files' % os.path.basename(sys.argv[0]) 9 BSP_ROOT = os.path.join("..", "bsp") 23 projects = os.listdir(BSP_ROOT) 25 project_dir = os.path.join(BSP_ROOT, item) 27 if os.path.isfile(os.path.join(project_dir, 'template.Uv2')): 31 os.system('scons --directory=' + project_dir + command) 33 if os.path.isfile(os.path.join(project_dir, 'template.uvproj')): [all …]
|
H A D | menuconfig.py | 25 import os 80 if os.path.isfile('rtconfig_project.h'): 91 if os.environ.get('ENV_ROOT'): 92 return os.environ.get('ENV_ROOT') 95 home_dir = os.environ['USERPROFILE'] 96 env_dir = os.path.join(home_dir, '.env') 98 home_dir = os.environ['HOME'] 99 env_dir = os.path.join(home_dir, '.env') 101 if not os.path.exists(env_dir): 124 home_dir = os.environ['HOME'] [all …]
|
H A D | keil.py | 25 import os 62 name = os.path.basename(filename) 63 path = os.path.dirname (filename) 65 basename = os.path.basename(path) 67 path = os.path.join(path, name) 71 name = os.path.basename(path) 95 name = os.path.basename(filename) 96 path = os.path.dirname (filename) 98 basename = os.path.basename(path) 100 path = os.path.join(path, name) [all …]
|
H A D | utils.py | 26 import os 32 The first item in the list will be either ``os.curdir``, ``os.pardir``, empty, 40 while loc != os.curdir and loc != os.pardir: 42 loc, child = os.path.split(prev) 57 If they are identical return ``os.curdir`` 61 origin = os.path.abspath(origin).replace('\\', '/') 62 dest = os.path.abspath(dest).replace('\\', '/') 64 orig_list = splitall(os.path.normcase(origin)) 68 if orig_list[0] != os.path.normcase(dest_list[0]): 75 if start_seg != os.path.normcase(dest_seg): [all …]
|
H A D | sconsui.py | 55 import os 189 import os 193 driver = os.environ['HOMEDRIVE'] 194 home = os.environ['HOMEPATH'] 195 home = os.path.join(driver, home) 197 home = os.environ['HOME'] 199 setting_path = os.path.join(home, '.rtt_scons') 200 if os.path.exists(setting_path): 201 setting = open(os.path.join(home, '.rtt_scons')) 218 if 'RTT_ROOT' in os.environ: [all …]
|
H A D | building.py | 27 import os 85 os.remove(f) 102 old_path = os.environ['PATH'] 103 os.environ['PATH'] = _e['PATH'] 109 print ('Exception: ' + os.strerror(e.errno)) 110 if (os.strerror(e.errno) == "No such file or directory"): 115 os.environ['PATH'] = old_path 125 if not os.path.isfile('cconfig.h'): 130 if os.path.isfile('cconfig.h'): 207 Rtt_Root = os.path.abspath(root_directory) [all …]
|
H A D | iar.py | 25 import os 57 path = os.path.dirname(fn.abspath) 58 basename = os.path.basename(path) 60 path = os.path.join(path, name) 65 if os.path.isabs(path): 79 project_path = os.path.dirname(os.path.abspath(target)) 98 lib_full_path = os.path.join(path_item, prefix_item + item + suffix_item) 99 if os.path.isfile(lib_full_path): 133 inc = _make_path_relative(project_path, os.path.normpath(path)) 145 if os.path.isabs(path) or path.startswith('$'): [all …]
|
H A D | vs.py | 25 import os 44 path = os.path.dirname(fn.abspath) 47 path = os.path.join(path, name) 53 name = os.path.basename(lib) 54 path = os.path.dirname(lib) 57 path = os.path.join(path, name) 76 project_path = os.path.dirname(os.path.abspath(target)) 98 full_path = os.path.join(path_item, item + '.lib') 99 if os.path.isfile(full_path): # has this library 118 inc = _make_path_relative(project_path, os.path.normpath(path)) [all …]
|
H A D | codeblocks.py | 25 import os 56 path = os.path.dirname(fn.abspath) 59 path = os.path.join(path, name) 67 project_path = os.path.dirname(os.path.abspath(target)) 69 if os.path.isfile('template.cbp'): 72 tree = etree.parse(os.path.join(os.path.dirname(__file__), 'template.cbp')) 97 inc = _make_path_relative(project_path, os.path.normpath(path)) 130 inc = _make_path_relative(project_path, os.path.normpath(path))
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/scripts/ |
H A D | config.sub | 113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 114 # Here we must recognize all the valid KERNEL-OS combinations. 122 os=-$maybe_os 126 os=-linux-android 132 then os=`echo $1 | sed 's/.*-/-/'` 133 else os=; fi 141 case $os in 142 -sun*os*) 152 os= 156 os=-cnk [all …]
|
/nrf52832-nimble/rt-thread/components/net/freemodbus/port/ |
H A D | portevent_m.c | 52 /* waiting forever OS event */ in xMBMasterPortEventGet() 80 * This function is initialize the OS resource for modbus master. 81 * Note:The resource is define by OS.If you not use OS this function can be empty. 91 …* Note:The resource is define by Operating System.If you not use OS this function can be just retu… 105 * Note:The resource is define by Operating System.If you not use OS this function can be empty. 116 * @note There functions will block modbus master poll while execute OS waiting. 127 * @note This code is use OS's event mechanism for modbus master protocol stack. in vMBMasterErrorCBRespondTimeout() 128 * If you don't use OS, you can change it. in vMBMasterErrorCBRespondTimeout() 138 * @note There functions will block modbus master poll while execute OS waiting. 149 * @note This code is use OS's event mechanism for modbus master protocol stack. in vMBMasterErrorCBReceiveData() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/ |
H A D | .travis.yml | 37 - os: linux 43 - os: linux 49 - os: linux 55 - os: linux 63 - os: linux 69 - os: linux 77 - os: linux 85 - os: osx 91 - os: osx 97 - os: osx
|
/nrf52832-nimble/ |
H A D | SConscript | 2 import os 7 list = os.listdir(cwd) 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
H A D | SConstruct | 1 import os 5 if os.getenv('RTT_ROOT'): 6 RTT_ROOT = os.getenv('RTT_ROOT') 8 RTT_ROOT = os.path.normpath(os.getcwd() + '/rt-thread') 10 sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
/nrf52832-nimble/rt-thread/components/drivers/usb/ |
H A D | SConscript | 2 import os 7 list = os.listdir(cwd) 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/CMSIS/ |
H A D | SConscript | 2 import os 7 list = os.listdir(cwd) 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/drivers/ |
H A D | SConscript | 2 import os 7 list = os.listdir(cwd) 10 path = os.path.join(cwd, d) 11 if os.path.isfile(os.path.join(path, 'SConscript')): 12 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/libc/compilers/ |
H A D | SConscript | 3 import os 8 list = os.listdir(cwd) 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/ |
H A D | SConscript | 3 import os 8 list = os.listdir(cwd) 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/utilities/ |
H A D | SConscript | 3 import os 8 list = os.listdir(cwd) 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/libc/ |
H A D | SConscript | 3 import os 8 list = os.listdir(cwd) 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/net/ |
H A D | SConscript | 2 import os 8 list = os.listdir(cwd) 15 path = os.path.join(cwd, d) 16 if os.path.isfile(os.path.join(path, 'SConscript')): 17 objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
/nrf52832-nimble/packages/ |
H A D | SConscript | 1 import os 6 list = os.listdir(cwd) 9 if os.path.isfile(os.path.join(cwd, item, 'SConscript')): 10 objs = objs + SConscript(os.path.join(item, 'SConscript'))
|
/nrf52832-nimble/rt-thread/components/ |
H A D | SConscript | 2 import os 8 list = os.listdir(cwd) 14 if os.path.isfile(os.path.join(cwd, item, 'SConscript')): 15 objs = objs + SConscript(os.path.join(item, 'SConscript'))
|