mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Tools/project - project dir should be the list
The project dir if using just project.py shall be a list of directories.pull/1912/head
							parent
							
								
									999f798de6
								
							
						
					
					
						commit
						a92bf1c3b8
					
				| 
						 | 
				
			
			@ -205,12 +205,12 @@ if __name__ == '__main__':
 | 
			
		|||
 | 
			
		||||
            # Build the project with the same directory structure of the mbed online IDE
 | 
			
		||||
            project_name = test.id
 | 
			
		||||
            project_dir = join(EXPORT_WORKSPACE, project_name)
 | 
			
		||||
            project_dir = [join(EXPORT_WORKSPACE, project_name)]
 | 
			
		||||
            project_temp = EXPORT_TMP
 | 
			
		||||
            setup_user_prj(project_dir, test.source_dir, test.dependencies)
 | 
			
		||||
            setup_user_prj(project_dir[0], test.source_dir, test.dependencies)
 | 
			
		||||
 | 
			
		||||
        # Export to selected toolchain
 | 
			
		||||
        tmp_path, report = export(project_dir, project_name, ide, mcu, project_dir, project_temp, clean=clean, zip=zip, extra_symbols=lib_symbols, relative=sources_relative)
 | 
			
		||||
        tmp_path, report = export(project_dir, project_name, ide, mcu, project_dir[0], project_temp, clean=clean, zip=zip, extra_symbols=lib_symbols, relative=sources_relative)
 | 
			
		||||
        if report['success']:
 | 
			
		||||
            zip_path = join(EXPORT_DIR, "%s_%s_%s.zip" % (project_name, ide, mcu))
 | 
			
		||||
            if zip:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue