Home
last modified time | relevance | path

Searched full:env (Results 1 – 25 of 42) sorted by relevance

12

/nrf52832-nimble/rt-thread/tools/tools/
H A Dclang-analyze.py22 def generate(env): argument
24 # let gnu_tools setup a basic env(learnt from SCons/Tools/mingw.py)
27 SCons.Tool.Tool(tool)(env)
30 env['CC'] = 'ccc-analyzer'
31 env['CXX'] = 'c++-analyzer'
32 env['AS'] = 'true'
33 env['AR'] = 'true'
34 env['LINK'] = 'true'
36 env['CFLAGS'] = ['-fsyntax-only', '-Wall', '-Wno-invalid-source-encoding', '-m32']
37 env['LINKFLAGS'] = '-Wl,--gc-sections'
[all …]
/nrf52832-nimble/rt-thread/tools/
H A Dbuilding.py39 Env = None variable
79 def spawn(self, sh, escape, cmd, args, env): argument
96 # Make sure the env is constructed by strings
97 _e = dict([(k, str(v)) for k, v in env.items()])
99 # Windows(tm) CreateProcess does not use the env passed to it to find
106 proc = subprocess.Popen(cmdline, env=_e, shell=False)
120 def GenCconfigFile(env, BuildOptions): argument
143 env.AppendUnique(CPPDEFINES = ['HAVE_CCONFIG_H'])
145 def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = []): argument
150 global Env
[all …]
H A Dvs.py114 if 'CPPPATH' in building.Env:
115 cpp_path = building.Env['CPPPATH']
133 if 'CPPDEFINES' in building.Env:
134 CPPDEFINES = building.Env['CPPDEFINES']
141 definitions = ';'.join(building.Env['CPPDEFINES'])
146 if 'LIBS' in building.Env:
150 libs_with_extention = [i+'.lib' for i in building.Env['LIBS']]
155 if 'LIBPATH' in building.Env:
156 lib_path = building.Env['LIBPATH']
H A Dcodeblocks.py93 if 'CPPPATH' in building.Env:
94 cpp_path = building.Env['CPPPATH']
109 for macro in building.Env.get('CPPDEFINES', []):
117 if 'LIBS' in building.Env:
121 libs_with_extention = [i+'.lib' for i in building.Env['LIBS']]
126 if 'LIBPATH' in building.Env:
127 lib_path = building.Env['LIBPATH']
H A Dutils.py158 def TargetGetList(env, postfix): argument
162 target = env['target']
172 def ProjectInfo(env): argument
174 project = env['project']
175 RTT_ROOT = env['RTT_ROOT']
176 BSP_ROOT = env['BSP_ROOT']
193 if 'CPPDEFINES' in env:
194 CPPDEFINES = env['CPPDEFINES']
209 HEADERS = TargetGetList(env, ['h'])
H A Dvs2012.py171 if 'CPPPATH' in building.Env:
172 cpp_path = building.Env['CPPPATH']
188 if 'CPPDEFINES' in building.Env:
190 definitions = ';'.join(building.Env['CPPDEFINES']) + ';%(PreprocessorDefinitions)'
196 if 'LIBS' in building.Env:
198 libs_with_extention = [i+'.lib' for i in building.Env['LIBS']]
204 if 'LIBPATH' in building.Env:
205 lib_path = building.Env['LIBPATH']
H A Dvsc.py33 def GenerateCFiles(env): argument
42 info = utils.ProjectInfo(env)
72 def GenerateVSCode(env): argument
74 GenerateCFiles(env)
H A Dses.py32 def SESProject(env) : argument
38 project = ProjectInfo(env)
42 project_path = os.path.abspath(env['BSP_ROOT'])
43 script = env['project']
H A Dmkdist.py178 def MkDist_Strip(program, BSP_ROOT, RTT_ROOT, Env): argument
196 …bsp_copy_files(os.path.join(library_path, Env['bsp_lib_type']), os.path.join(library_dir, Env['bsp…
200 if 'dist_handle' in Env:
202 dist_handle = Env['dist_handle']
305 def MkDist(program, BSP_ROOT, RTT_ROOT, Env): argument
323 …bsp_copy_files(os.path.join(library_path, Env['bsp_lib_type']), os.path.join(library_dir, Env['bsp…
327 if 'dist_handle' in Env:
329 dist_handle = Env['dist_handle']
H A Dmenuconfig.py96 env_dir = os.path.join(home_dir, '.env')
99 env_dir = os.path.join(home_dir, '.env')
128 env_dir = os.path.join(home_dir, '.env')
168 …ret = os.system('git clone https://github.com/RT-Thread/env.git %s' % os.path.join(env_dir, 'tools…
173 … "* Run command error for \"git clone https://github.com/RT-Thread/env.git\".\n"
184 "* Run command error for \"git clone https://github.com/RT-Thread/env.git\". \n"
192 env_sh = open(os.path.join(env_dir, 'env.sh'), 'w')
193 env_sh.write('export PATH=~/.env/tools/scripts:$PATH')
H A Dwin32spawn.py76 env = os.environ.copy()
78 … cr_flags, env, os.path.abspath(exec_dir),
H A Dwizard.py1 #! /usr/bin/env python
/nrf52832-nimble/packages/NimBLE-latest/
H A D.travis.yml39 env:
45 env:
51 env:
57 env:
65 env:
71 env:
79 env:
87 env:
93 env:
99 env:
/nrf52832-nimble/
H A DSConstruct15 env = Environment(tools = ['mingw'],
20 env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
23 env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
24 env.Replace(ARFLAGS = [''])
25 env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
31 objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
H A DKconfig5 option env="BSP_ROOT"
10 option env="RTT_ROOT"
15 option env="PKGS_ROOT"
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/
H A DSConstruct3 env = Environment()
4 env['CPPPATH'] = ['libs/parser', 'libs']
5 env['CPPDEFINES'] = ['CURSES_LOC=\\"ncurses.h\\"', 'HAVE_CONFIG_H',
10 env['LIBS'] = ['ncurses']
25 env.Program('kconfig-mconf', src)
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/emu/
H A Dcmdline.c67 // Note: last command return code stored in env 0.
139 static int cli_env_to_idx(char env) in cli_env_to_idx() argument
143 if (env >= '0' && env <= '9') { in cli_env_to_idx()
144 idx = env - '0' + 1; in cli_env_to_idx()
146 else if (env == '?') { in cli_env_to_idx()
153 int cli_env_set(char env, int val) in cli_env_set() argument
155 int idx = cli_env_to_idx(env); in cli_env_set()
165 int cli_env_get(char env) in cli_env_get() argument
167 int idx = cli_env_to_idx(env); in cli_env_get()
286 * set <env> <value>
[all …]
H A Dcmdline.h66 int cli_env_get(char env);
67 int cli_env_set(char env, int val);
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/gconf/
H A Dgconf.c.patch18 char *env;
31 env = getenv(SRCTREE);
32 if (env)
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/parser/
H A Dconfdata.c114 char *env, *name; in conf_get_default_confname() local
117 env = getenv(SRCTREE); in conf_get_default_confname()
118 if (env) { in conf_get_default_confname()
119 sprintf(fullname, "%s/%s", env, name); in conf_get_default_confname()
749 char *env; in conf_write() local
774 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write()
775 if (!env || !*env) { in conf_write()
1136 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols() local
1138 while( env && *env ) { in conf_set_all_new_symbols()
1140 int tmp = strtol( env, &endp, 10 ); in conf_set_all_new_symbols()
[all …]
H A Dlconf.l279 char *env, fullname[PATH_MAX+1];
284 env = getenv(SRCTREE);
285 if (env) {
286 sprintf(fullname, "%s/%s", env, name);
H A Dhconf.gperf48 env, T_OPT_ENV, TF_OPTION keyword
H A Dsymbol.c1364 return "env"; in prop_get_type_name()
1387 static void prop_add_env(const char *env) in prop_add_env() argument
1397 if (strcmp(sym2->name, env)) in prop_add_env()
1404 prop->expr = expr_alloc_symbol(sym_lookup(env, SYMBOL_CONST)); in prop_add_env()
1409 p = getenv(env); in prop_add_env()
1413 menu_warn(current_entry, "environment variable %s undefined", env); in prop_add_env()
/nrf52832-nimble/rt-thread/examples/libc/
H A Denv.c2 * env.c
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/
H A Dkconfig.in1 #!/usr/bin/env bash

12