/hal_espressif-2.7.6/tools/ci/ |
D | deploy_docs.py | 8 # Licensed under the Apache License, Version 2.0 (the "License"); 29 import packaging.version 33 """ Shortcut to return the expanded version of an environment variable """ 47 version = sanitize_version(ci_ver) 48 print('Git version: {}'.format(git_ver)) 49 print('CI Version: {}'.format(ci_ver)) 50 print('Deployment version: {}'.format(version)) 52 if not version: 53 raise RuntimeError('A version is needed to deploy') 79 tarball_path, version_urls = build_doc_tarball(version, git_ver, build_dir) [all …]
|
D | check_idf_version.sh | 6 echo "Checking if IDF version in esp_idf_version.h matches 'git describe' output" 14 grep -E "^${1} :=" make/version.mk | awk '{print $3;}' 18 grep -E "^set\(${1}" tools/cmake/version.cmake | sed -En "s/set\(${1} ([0-9])\)/\1/p" 39 echo "Could not determine the version from 'git describe' output: ${git_desc}" 45 echo "From version.mk: ${version_from_make}" 46 echo "From version.cmake: ${version_from_cmake}" 55 echo "version.mk does not match 'git describe' output" 60 echo "version.cmake does not match 'git describe' output"
|
D | test_build_system.sh | 226 # Make provision for getting IDF version 227 echo "IDF_VER_0123456789_0123456789_0123456789" > ${IDF_PATH}/version.txt 228 echo "project-version-w.z" > ${TESTDIR}/template/version.txt 238 rm -f ${IDF_PATH}/version.txt git 239 rm -f ${TESTDIR}/template/version.txt 243 print_status "Rebuild when app version was changed" 245 # App version 246 echo "project-version-1.0" > ${TESTDIR}/template/version.txt 249 print_status "Change app version" 251 echo "project-version-2.0(012345678901234567890123456789)" > ${TESTDIR}/template/version.txt [all …]
|
D | setup_python.sh | 4 # Use this version of the Python interpreter if it was not defined before. 6 # Jobs which doesn't support this version should define PYTHON_VER themselves 32 … # find some other installed 3.4.X version, and then some 3.X.X version. 36 python --version || { 42 python --version
|
/hal_espressif-2.7.6/components/tcpip_adapter/include/ |
D | tcpip_adapter.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 107 * @brief Compatible version of setting ethernet default handlers 108 * @note Compatible version of wifi handlers are provided in a separate header, 115 * @brief Compatible version of network stack input function. Translates to esp_netif_receive() 120 * @brief Compatible version of network stack input function. Translates to esp_netif_receive() 125 * @brief Compatible version of network stack input function. Translates to esp_netif_receive() 130 * @brief Compatible version of former tcpip_adapter API to clear default WIFI handlers 136 * @brief Compatible version of former tcpip_adapter API to clear default ethernet handlers 142 * @brief Compatible version of former tcpip_adapter API of esp_netif_dhcps_stop 147 * @brief Compatible version of former tcpip_adapter API of esp_netif_dhcpc_stop [all …]
|
/hal_espressif-2.7.6/docs/idf_extensions/ |
D | gen_version_specific_includes.py | 5 # with version-based content for this IDF version 45 …'version of ESP-IDF. It is fully functional and updated on weekly basis with the most recent featu… 47 'corresponding to this version of the documentation.', 52 '`Stable version`_ can be installed without Git.' 55 'version-note': { 58 …This is documentation for the master branch (latest version) of ESP-IDF. This version is under con… 59 `Stable version`_ documentation is available, as well as other :doc:`/versions`. 63 … This is documentation for stable version %s of ESP-IDF. Other :doc:`/versions` are also available. 69 }, # version-note 103 '`Stable version`_ 的 zip 归档文件。' [all …]
|
/hal_espressif-2.7.6/components/efuse/include/esp32c3/ |
D | esp_efuse_rtc_calib.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 23 * @brief Get the RTC calibration efuse version 25 * @return Version of the stored efuse 32 * @param version Version of the stored efuse 36 uint16_t esp_efuse_rtc_calib_get_init_code(int version, int atten); 41 * @param version Version of the stored efuse 46 * - ESP_ERR_INVALID_ARG: If efuse version or attenuation is invalid 49 esp_err_t esp_efuse_rtc_calib_get_cal_voltage(int version, int atten, uint32_t* out_digi, uint32_t*… 54 * @param version Version of the stored efuse 58 float esp_efuse_rtc_calib_get_cal_temp(int version);
|
/hal_espressif-2.7.6/docs/ |
D | sanitize_version.py | 1 # Tiny Python module to sanitize a Git version into something that can be used in a URL 7 # Licensed under the Apache License, Version 2.0 (the "License"); 22 """ Given a version (probably output from 'git describe --always' or similar), return 23 a URL-safe sanitized version. (this is used as 'release' config variable when building 26 Will override the original version with the Gitlab CI CI_COMMIT_REF_NAME environment variable if 34 version = os.environ['CI_COMMIT_REF_NAME'] 36 version = original_version 38 if version == 'master': 41 version = version.replace('/', '-') 43 return version
|
/hal_espressif-2.7.6/docs/en/ |
D | versions.rst | 14 The documentation for the current stable release version can always be found at this URL: 18 Documentation for the latest version (master branch) can always be found at this URL: 22 …u can find release notes, links to each version of the documentation, and instructions for obtaini… 29 Which Version Should I Start With? 32 …version`_. Stable versions have been manually tested, and are updated with "bugfix releases" which… 34 …ures, use the `latest version (master branch in Git) <https://docs.espressif.com/projects/esp-idf/… 36 …s possible to check out a pre-release version or a release branch. It is recommended to start from… 60 Each ESP-IDF major and minor release version has an associated support period. After this period, t… 69 …ew release is available. Whenever a bug fix release is available for the version you are using, pl… 70 - If possible, periodically update the project to a new major or minor ESP-IDF version (for example… [all …]
|
/hal_espressif-2.7.6/tools/kconfig_new/test/confserver/ |
D | test_confserver.py | 12 # Each protocol version to be tested needs a 'testcases_vX.txt' file 16 def parse_testcases(version): argument 17 with open('testcases_v%d.txt' % version, 'r') as f: 80 for version in PROTOCOL_VERSIONS: 81 test_protocol_version(p, version) 115 def test_protocol_version(p, version): argument 117 print('Testing version %d...' % version) 120 req = {'version': version, 'load': None} 125 cases = parse_testcases(version) 128 req = {'version': version, 'set': send} [all …]
|
/hal_espressif-2.7.6/tools/kconfig_new/ |
D | confserver.py | 45 parser.add_argument('--version', help='Set protocol version to use on initial status', 50 if args.version < MIN_PROTOCOL_VERSION: 51 …print('Version %d is older than minimum supported protocol version %d. Client is much older than E… 52 (args.version, MIN_PROTOCOL_VERSION)) 54 if args.version > MAX_PROTOCOL_VERSION: 55 …print('Version %d is newer than maximum supported protocol version %d. Client is newer than ESP-ID… 56 (args.version, MAX_PROTOCOL_VERSION)) 98 json.dump({'version': 1, 'values': values_dict, 'ranges': ranges_dict}, sys.stdout) 100 # V2 onwards: separate visibility from version 101 …json.dump({'version': default_version, 'values': config_dict, 'ranges': ranges_dict, 'visible': vi… [all …]
|
D | README.md | 27 "version": 2, 40 * "version" key is the protocol version in use. 52 { "version": 2, 60 The `version` key *must* be present in the request and must match a protocol version supported by c… 73 { "version": 2, 80 * `version` is the protocol version used by the server. 88 { "version": 2, 110 { "version": 777, 111 "error": [ "Unsupported request version 777. Server supports versions 1-2" ] 117 ### Protocol Version Changes
|
/hal_espressif-2.7.6/tools/windows/tool_setup/ |
D | python_find_installed.iss.inc | 11 procedure PythonVersionAdd(Version, DisplayName, Executable: String); 13 Log('Adding Python version=' + Version + ' name='+DisplayName+' executable='+Executable); 14 InstalledPythonVersions.Append(Version); 20 var Version: String; 45 if not RegQueryStringValue(RootKey, TagKey, 'SysVersion', Version) then 49 Version := TagName; 50 Delete(Version, 4, Length(Version)); 60 DisplayName := 'Python ' + Version;
|
D | git_page.iss.inc | 25 function GitVersionSupported(Version: String): Boolean; 30 if not VersionExtractMajorMinor(Version, Major, Minor) then 32 Log('GitVersionSupported: Could not parse version=' + Version); 120 Version, ErrStr: String; 142 if not GetVersionOfGitExe(GitExecutablePath, Version, ErrStr) then 144 MsgBox('Can not determine version of git.exe.' + #13#10 149 Log('Version of ' + GitExecutablePath + ' is ' + Version); 150 if not GitVersionSupported(Version) then 152 MsgBox('Selected git version (' + Version + ') is not supported.', mbError, MB_OK); 156 Log('Version of git is supported'); [all …]
|
D | git_find_installed.iss.inc | 12 procedure GitVersionAdd(Version, DisplayName, Executable: String); 14 Log('Adding Git version=' + Version + ' name='+DisplayName+' executable='+Executable); 15 InstalledGitVersions.Append(Version); 20 function GetVersionOfGitExe(Path: String; var Version: String; var ErrStr: String): Boolean; 32 Args := '/C "' + Path + '" --version >gitver.txt'; 37 ErrStr := 'Failed to get git version, error=' + IntToStr(err); 45 GitVersionPrefix := 'git version '; 48 ErrStr := 'Unexpected git version format: ' + GitVersion; 55 Version := GitVersion; 86 Log('Git version: ' + GitVersion);
|
D | idf_download_page.iss.inc | 4 { ------------------------------ Page to select the version of ESP-IDF to download ----------------… 28 function GetIDFVersionDescription(Version: String): String; 30 if WildCardMatch(Version, 'v*-beta*') then 31 Result := 'beta version' 32 else if WildCardMatch(Version, 'v*-rc*') then 33 Result := 'pre-release version' 34 else if WildCardMatch(Version, 'v*') then 35 Result := 'release version' 36 else if WildCardMatch(Version, 'release/v*') then 38 else if WildCardMatch(Version, 'master') then [all …]
|
D | idf_setup.iss.inc | 17 function GetIDFZIPFileVersion(Version: String): String; 23 if WildCardMatch(Version, 'v*') or WildCardMatch(Version, 'v*-rc*') then 24 Result := Version 25 else if Version = 'master' then 27 else if WildCardMatch(Version, 'release/v*') then 29 ReleaseVerPart := Version; 46 Log('GetIDFZIPFileVersion(' + Version + ')=' + Result); 132 - Download the .zip archive of a "close enough" release version, extract into a temporary 156 { The version of .zip file downloaded is not the same as the version the user has requested. 157 Will use 'git clone --reference' to obtain the correct version, using the contents [all …]
|
/hal_espressif-2.7.6/components/esp_common/include/ |
D | esp_idf_version.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 21 /** Major version number (X.x.x) */ 23 /** Minor version number (x.X.x) */ 25 /** Patch version number (x.x.X) */ 29 * Macro to convert IDF version number into an integer 36 * Current IDF version, as an integer 47 * Return full IDF version string, same as 'git describe' output. 49 * @note If you are printing the ESP-IDF version in a log file or other information, 50 * this function provides more information than using the numerical version macros. 51 * For example, numerical version macros don't differentiate between development,
|
/hal_espressif-2.7.6/tools/ |
D | idf_tools.py | 31 # Licensed under the Apache License, Version 2.0 (the "License"); 317 # An alternative version of urlretrieve which takes SSL context as an argument 440 def __init__(self, version, status): argument 441 self.version = version 452 return self.version < other.version 455 return self.status == other.status and self.version == other.version 525 def add_version(self, version): argument 526 assert(type(version) is IDFToolVersion) 527 self.versions[version.version] = version 532 def get_path_for_version(self, version): # type: (str) -> str argument [all …]
|
/hal_espressif-2.7.6/tools/cmake/ |
D | crosstool_version_check.cmake | 1 # Function to check the toolchain used the expected version 8 message(WARNING "Xtensa toolchain ${CMAKE_C_COMPILER} version ${CMAKE_C_COMPILER_VERSION} " 9 "is not the supported version ${expected_gcc_version}. ${ctng_version_warning}") 15 COMMAND ${CMAKE_C_COMPILER} --version 20 # We use FIND to match version instead of STREQUAL because some toolchains are built 21 # with longer git hash strings than others. This will match any version which starts with 22 # the expected version string. 28 message(WARNING "Xtensa toolchain ${CMAKE_C_COMPILER} crosstool-ng version ${ctng_version} " 29 "doesn't match supported version ${expected_ctng_version}. ${ctng_version_warning}")
|
/hal_espressif-2.7.6/examples/system/ota/native_ota_example/main/ |
D | native_ota_example.c | 152 // check current version with downloading in ota_example_task() 154 ESP_LOGI(TAG, "New firmware version: %s", new_app_info.version); in ota_example_task() 158 ESP_LOGI(TAG, "Running firmware version: %s", running_app_info.version); in ota_example_task() 164 … ESP_LOGI(TAG, "Last invalid firmware version: %s", invalid_app_info.version); in ota_example_task() 167 // check current version with last invalid partition in ota_example_task() 169 … if (memcmp(invalid_app_info.version, new_app_info.version, sizeof(new_app_info.version)) == 0) { in ota_example_task() 170 ESP_LOGW(TAG, "New version is the same as invalid version."); in ota_example_task() 171 …here was an attempt to launch the firmware with %s version, but it failed.", invalid_app_info.vers… in ota_example_task() 172 … ESP_LOGW(TAG, "The firmware has been rolled back to the previous version."); in ota_example_task() 178 … if (memcmp(new_app_info.version, running_app_info.version, sizeof(new_app_info.version)) == 0) { in ota_example_task() [all …]
|
/hal_espressif-2.7.6/tools/idf_py_actions/ |
D | constants.py | 22 # - version: version command line 27 'version': ['ninja', '--version'], 33 'version': [MAKE_CMD, '--version'],
|
/hal_espressif-2.7.6/examples/common_components/qrcode/ |
D | qrcodegen.c | 57 testable void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t resu… 58 testable int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl); 66 testable void initializeFunctionModules(int version, uint8_t qrcode[]); 67 static void drawWhiteFunctionModules(uint8_t qrcode[], int version); 69 testable int getAlignmentPatternPositions(int version, uint8_t result[7]); 85 testable int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version); 86 static int numCharCountBits(enum qrcodegen_Mode mode, int version); 98 // Version: (note that index 0 is for padding, and is set to an illegal value) 110 // Version: (note that index 0 is for padding, and is set to an illegal value) 210 // Find the minimal version number to use in qrcodegen_encodeSegmentsAdvanced() [all …]
|
/hal_espressif-2.7.6/components/efuse/src/esp32c3/ |
D | esp_efuse_rtc_calib.c | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 26 uint16_t esp_efuse_rtc_calib_get_init_code(int version, int atten) in esp_efuse_rtc_calib_get_init_code() argument 28 assert(version == 1); in esp_efuse_rtc_calib_get_init_code() 47 return init_code + 1000; // version 1 logic in esp_efuse_rtc_calib_get_init_code() 50 esp_err_t esp_efuse_rtc_calib_get_cal_voltage(int version, int atten, uint32_t* out_digi, uint32_t*… in esp_efuse_rtc_calib_get_cal_voltage() argument 54 if (version != 1) { in esp_efuse_rtc_calib_get_cal_voltage() 86 float esp_efuse_rtc_calib_get_cal_temp(int version) in esp_efuse_rtc_calib_get_cal_temp() argument 88 assert(version == 1); in esp_efuse_rtc_calib_get_cal_temp()
|
/hal_espressif-2.7.6/tools/kconfig_new/test/gen_kconfig_doc/ |
D | Kconfig | 112 prompt "CHIPA version" 117 bool "Version 1" 119 bool "Version 2" 121 bool "Version 3" 132 bool "Feature available from version 1" 136 bool "Feature available from version 3" 139 int "option with default value depending on the chip version"
|