Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-tools by
IarFolder Class Reference
Public Member Functions | |
def | __str__ |
def | insert_file |
def | get_directory |
Detailed Description
This is a recursive folder object. To present the folder structure in the IDE as it is presented on the disk. This can be used for uvision as well if you replace the __str__ method. Example: files: ./main.cpp, ./apis/I2C.h, ./mbed/common/I2C.cpp in the project this would look like: main.cpp common/I2C.cpp input: folder_level : folder path to current folder folder_name : name of current folder source_files : list of source_files (all must be in same directory)
Definition at line 73 of file export/iar.py.
Member Function Documentation
def __str__ | ( | self ) |
converts the folder structue to IAR project format.
Definition at line 94 of file export/iar.py.
def get_directory | ( | file_path ) |
Returns the directory of the file
Definition at line 147 of file export/iar.py.
def insert_file | ( | self, | |
source_input | |||
) |
Inserts a source file into the folder tree
Definition at line 117 of file export/iar.py.
Generated on Thu Jun 15 2023 14:55:00 by
