Djordje Nedic
b654c14d0e
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-26 23:17:33 +02:00
Djordje Nedic
367dff055d
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-17 13:50:09 +00:00
Marius Vikhammer
6334b5e56f
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-01 14:58:08 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Shivani Tipnis
810622017f
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-24 06:37:56 +00:00
Krzysztof Budzynski
08bd8bff7e
Merge branch 'docs/mass_mfg_update' into 'master'
...
Fix a typo according to DOC-158
See merge request espressif/esp-idf!8704
2020-05-12 18:36:35 +08:00
Wang Ning
5a28cc6ae3
Fix a typo according to DOC-158
2020-05-12 15:56:14 +08:00
Shivani Tipnis
3f6e7a553b
docs: Include links to tools for flash operations
2020-04-29 11:19:02 +05:30
Roland Dobai
5c0cd9417d
Docs: Encourage to used Python 3
2020-02-24 12:55:55 +01:00
Wang Fang
bea507378e
Add Chinese translation for README files in components and tools folders, including:
...
1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst
2019-09-06 20:18:19 +08:00
Shivani Tipnis
cc75721f9c
mfg_util: Optimise by adding subparser changes w.r.t similar changes in nvs util changes
2019-07-05 01:13:27 +00:00
Kirill Chalov
4faf2de035
Doc/review api ref storage
2019-06-17 14:23:52 +08:00
Shivani Tipnis
b0bfe937aa
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags
2019-06-10 12:08:58 +00:00
Shivani Tipnis
3996316524
mfg_util: Remove todo line leftback
2019-04-04 13:59:52 +05:30
Shivani Tipnis
a88b40483d
mfg_util: Add changes to mfg_util as per changes in nvs_util
...
revert changeson this file
Update README for mfg util
Update to correct coding style of script
2019-04-03 11:31:49 +05:30
Shivani Tipnis
7c08fcccaf
util: Update docs as per review comments
2018-10-12 11:04:49 +05:30
Shivani Tipnis
5bee9faf49
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
2018-10-12 11:04:49 +05:30
Shivani Tipnis
0f6bcec2bc
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
302d339640
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1f49e64730
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
fb31788504
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
807e72adce
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
17c907b35e
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
35205d8513
Add files and docs for mass mfg
2018-07-20 10:41:11 +05:30