Michael (XIAO Xufeng)
3b429766bc
esp_flash: support MXIC flash chips
...
The default chip driver (chip_generic) use command 01H + 2 bytes to
clear the QE bit. However this will accidently change the configuration
register value of the MXIC chip.
MXIC chip driver is added to fix that.
2020-04-01 20:54:23 +08:00
Ivan Grokhotkov
168660aebf
Merge branch 'feature/toolchain_2020r1-RC1' into 'master'
...
Toolchain 2020r1 support bringing (esp32, esp32s2)
See merge request espressif/esp-idf!7509
2020-04-01 18:17:28 +08:00
Angus Gratton
ff427c9650
ci: Support joining sdkconfig.ci files that don't end in a newline
...
If trailing newline is missing, the last line of that item gets merged
with the first line of the next item.
2020-04-01 17:17:30 +11:00
fuzhibo
baa7898e35
driver(adc/dac): fix adc dac driver for esp32s2
...
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;
See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
Anton Maklakov
1441b671d6
Merge branch 'bugfix/ci_static_analysis_fail_on_new_issue' into 'master'
...
ci: update static analysis rules to fail on any new issue
Closes IDF-686 and IDF-973
See merge request espressif/esp-idf!6424
2020-03-30 15:36:42 +08:00
Ivan Grokhotkov
d4bac87630
Merge branch 'feature/idf_size_diff' into 'master'
...
tools: Add option to show differences between MAP files with idf_size.py
Closes IDF-604 and IDF-1122
See merge request espressif/esp-idf!7994
2020-03-30 05:17:14 +08:00
David Cermak
a2d55ddece
ci: update static analysis rules to fail on any new issue zeroing out limits for number of warnings which are tolerated
...
closes IDF-973
2020-03-27 18:46:39 +01:00
Ivan Grokhotkov
d14aad7e6d
Merge branch 'feature/install_export_in_fish' into 'master'
...
Add export and install scripts for fish shell
Closes IDFGH-2324 and IDFGH-2899
See merge request espressif/esp-idf!8134
2020-03-28 01:17:19 +08:00
Anton Maklakov
e5dab771dd
Update toolchain to esp-2020r1
...
Closes https://github.com/espressif/esp-idf/issues/3694
2020-03-27 20:06:53 +07:00
Jeroen Domburg
419848549e
Add fixes for gcc8 psram fix improvement
2020-03-27 20:04:47 +07:00
Michael (XIAO Xufeng)
a304421124
Merge branch 'feat/spi_bus_lock' into 'master'
...
SPI: support running SPI master and esp_flash on the same bus
See merge request espressif/esp-idf!6520
2020-03-27 19:59:43 +08:00
morris
39fd234576
tool: fix install.fish
2020-03-27 18:11:01 +08:00
Angus Gratton
02fe8fb1eb
Merge branch 'bugfix/monitor_encrypted_target' into 'master'
...
tools: Fix flashing encrypted binaries from IDF Monitor
Closes IDF-822
See merge request espressif/esp-idf!8090
2020-03-27 08:11:38 +08:00
Michael (XIAO Xufeng)
3ee81e0046
ci: split test config psram_2 into psram_3
2020-03-26 22:08:26 +08:00
Michael (XIAO Xufeng)
296d095e53
Merge branch 'bugfix/remove_dependency_in_timergroup_caps' into 'master'
...
remove dependency of timer_group_caps.h on soc.h
See merge request espressif/esp-idf!8116
2020-03-26 18:18:45 +08:00
Ivan Grokhotkov
7f18576e23
Merge branch 'bugfix/inline_get_cpu_id_hal_func' into 'master'
...
soc: put hal function to get core id in IRAM
See merge request espressif/esp-idf!8107
2020-03-26 18:14:51 +08:00
morris
0c6e1b9482
remove dependency of timer_group_caps.h on soc.h
2020-03-26 17:15:19 +08:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Michael (XIAO Xufeng)
826cc7ecb6
Merge branch 'feature/bringup_723_cmake_rmt_driver_update' into 'master'
...
RMT new features in ESP32S2
Closes IDF-1286
See merge request espressif/esp-idf!7401
2020-03-26 10:24:18 +08:00
Anton Maklakov
8252611edc
Merge branch 'feat/ci_decrease_ut_artifact_num' into 'master'
...
ci: temporarily remove some artifacts from UT build
See merge request espressif/esp-idf!8102
2020-03-25 17:26:46 +08:00
morris
4fc16e2374
rmt: prefix caps name with SOC_
2020-03-25 17:14:00 +08:00
morris
c91565d538
rmt: update rmt ll APIs
2020-03-25 13:19:03 +08:00
Michael (XIAO Xufeng)
322faa727f
ci: temporarily remove some artifacts from UT build
2020-03-25 12:42:35 +08:00
Renz Bagaporo
b2fd9dd51c
ci: add basic startup test for when CONFIG_COMPILER_OPTIMIZATION_NONE=y
2020-03-25 10:00:39 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
Ivan Grokhotkov
349dc125e8
Merge branch 'feature/espcoredump_resilient_stack_decoding' into 'master'
...
espcoredump: fix espcoredump to make it more resilient when decoding erroneous thread stack
Closes IDFGH-2802
See merge request espressif/esp-idf!7892
2020-03-24 21:08:57 +08:00
aleks@espressif.com
45c844c1d1
espcoredump: fix idf_monitor test artifacts
2020-03-24 11:48:18 +01:00
David Cermak
39011c055a
ci: fix rom header checker to validate *rom* on word boundaries
2020-03-23 12:19:38 +00:00
David Cermak
a5a750ba48
examples: add socket stdin utils to common connect component
2020-03-23 12:19:38 +00:00
David Cermak
995ef85e85
socket examples: add tests for server and client applications
2020-03-23 12:19:38 +00:00
Roland Dobai
66271f7a86
tools: Support showing differences of MAP files in JSON format
2020-03-23 12:04:07 +01:00
Roland Dobai
c81243b92b
tools: Add option to show differences between MAP files with idf_size.py
2020-03-23 12:04:07 +01:00
Roland Dobai
f6e1414ba6
tools: Remove unused toolchain-prefix argument from idf_size.py
2020-03-23 12:04:07 +01:00
Ivan Grokhotkov
286538e7af
Merge branch 'bugfix/ci_example_target_specific_defaults' into 'master'
...
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
See merge request espressif/esp-idf!8061
2020-03-23 15:48:15 +08:00
Renz Bagaporo
3d0967a58a
test: declare requirements and include dirs private
2020-03-23 10:58:50 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Ivan Grokhotkov
3053119f60
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
2020-03-20 14:50:00 +01:00
Ivan Grokhotkov
2548a3e528
ci: add startup tests with VFS disabled
2020-03-20 14:07:10 +01:00
Ivan Grokhotkov
4f5d15ae93
ci: generate separate log files for each {example, test app} config
...
Otherwise the build log gets overwritten, and warnings in earlier
builds may be masked.
2020-03-20 00:01:16 +01:00
Ivan Grokhotkov
9b20b76ae6
Merge branch 'bugfix/s2_gcm_hw' into 'master'
...
aes: Fixed tag sometime being wrong for HW GCM
See merge request espressif/esp-idf!8009
2020-03-19 18:06:25 +08:00
Anton Maklakov
8b8897cfc5
Merge branch 'feature/update_tools' into 'master'
...
tools: Update Ninja and CMake
See merge request espressif/esp-idf!7764
2020-03-19 17:56:49 +08:00
Ivan Grokhotkov
e280b3a3d9
Merge branch 'feature/single_sysview_file_for_multicore' into 'master'
...
apptrace: Adds support for multi-core traces in single file to SystemView processing scripts
See merge request espressif/esp-idf!7298
2020-03-19 17:45:15 +08:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
Ivan Grokhotkov
5a1b1d6a1d
tools: cmake: update to 3.16.4
2020-03-18 08:28:36 +00:00
Ivan Grokhotkov
8a6c507d14
tools: ninja: update to 1.10.0
...
Closes https://github.com/espressif/esp-idf/issues/4687
2020-03-18 08:28:36 +00:00
Marius Vikhammer
ffb9010cbe
aes: Fixed tag sometime being wrong for HW GCM
...
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.
Added additional tests for AES and GCM
Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Ivan Grokhotkov
454293159d
Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
...
Updates OpenOCD commands
See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Alexey Gerenkov
6964cc5d3a
tools: Updates OpenOCD version to v0.10.0-esp32-20200309
2020-03-16 19:07:05 +03:00
Alexey Gerenkov
d5cd131da4
apptrace: Adds support for multi-core traces in single file to SystemView processing scripts
2020-03-16 15:17:36 +03:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
Mahavir Jain
88fd09111c
Merge branch 'feature/prov_example_restructure' into 'master'
...
wifi_provisioning: Example restructuring
See merge request espressif/esp-idf!6901
2020-03-16 15:38:11 +08:00
Anton Maklakov
7355e550cc
Merge branch 'feature/public_headers_check_objects' into 'master'
...
CI: public header check script in python
Closes IDF-1324
See merge request espressif/esp-idf!7923
2020-03-16 13:23:00 +08:00
Angus Gratton
1a2ddcb77a
docs: deploy docs to production server from CI
2020-03-16 14:36:23 +11:00
Angus Gratton
416076665b
docs: use new sphinx_idf_theme theme, add variables to allow theme to build version footer
2020-03-16 14:36:23 +11:00
David Cermak
8f6645667e
CI: public header check script in python
...
Additional test compiling the header to produce assembly:
- checks if header really compiles (previously validated only by
preprocessor)
- checks that the header produced empty object, no inline code to be
present in public headers
Closes IDF-1324
2020-03-13 12:53:52 +01:00
Jiang Jiang Jian
57ad4afe7d
Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
...
esp32s2: fix when enable multi phy init data bin compile err.
Closes IDF-1459
See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Piyush Shah
62626ac4b9
esp_prov: Add support for sending some abstract custom data
...
To be used with the provisioning/wifi_prov_mgr example
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Piyush Shah
156ae68275
provisioning_examples: Move older examples to legacy/ folder
...
Change the manager example folder name to wifi_prov_mgr to sound more meaningful.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Marius Vikhammer
3351376a11
AES: optimize AES-GCM
...
HW acceleration for GCM is now enabled by default
Closes IDF-1443
2020-03-12 10:20:24 +08:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Anton Maklakov
96ecd5bb53
Merge branch 'ci/build_bootloader_configs' into 'master'
...
ci: Fix CI testing of bootloader configs
See merge request espressif/esp-idf!7911
2020-03-09 19:08:39 +08:00
Ivan Grokhotkov
95c275109b
Merge branch 'refactor/add_target_name_for_parttool' into 'master'
...
parttool: don't print target name
See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris
46ea7d815d
parttool: don't print target name
2020-03-09 15:05:04 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
Angus Gratton
a9e21060e1
Merge branch 'ci/fix_ut_s2_only' into 'master'
...
ci: fix the issue unit_test_s2 label cannot be used independently
See merge request espressif/esp-idf!7873
2020-03-09 13:35:23 +08:00
Angus Gratton
7b5bca9b93
unit test app: Use the new config names for DEBUG/RELEASE configs
...
Also build the bootloader to the same config level as the app
2020-03-09 11:55:52 +11:00
Angus Gratton
8de3ad8df1
ci: Build all bootloader configs when building the bootloader app
...
CI regression in 26efc5a6d0
2020-03-09 11:55:22 +11:00
Ivan Grokhotkov
f7d1ed5f32
Merge branch 'bugfix/idf_tools_check_virtualenv' into 'master'
...
tools: check if idf_tools.py install-python-env is called from a venv
Closes IDF-1095
See merge request espressif/esp-idf!7793
2020-03-07 18:07:41 +08:00
Roland Dobai
c35538ecee
tools: fix idf.py to be able to select a generator for build
2020-03-06 10:41:09 +01:00
Angus Gratton
a9854f7085
Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
...
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2
Closes IDFGH-1715
See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
Angus Gratton
2f1815f74e
Merge branch 'bugfix/cmake_issues' into 'master'
...
CMake bugfixes
See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton
02e9e0621e
Merge branch 'bugfix/display_partition_table_info' into 'master'
...
partition_table: output partition table info for partition_table target
See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Jiang Jiang Jian
b184504a84
Merge branch 'feature/support_multiple_phy_init_data_bin' into 'master'
...
feature: support multiple phy init data
Closes WIFI-648
See merge request espressif/esp-idf!6399
2020-03-06 12:20:43 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
Michael (XIAO Xufeng)
27b194bdb9
ci: fix the issue unit_test_s2 label cannot be used independently
2020-03-05 11:10:49 +08:00
Renz Bagaporo
b239070442
ci: add test for partition_table target
2020-03-05 11:04:09 +08:00
Mahavir Jain
5f771fb7be
Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
...
esp_wifi: fix occasional test failure due to memory leak indications
See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
morris
acd4d4a40b
unit test using internal signal connection
2020-03-03 20:14:46 +08:00
morris
07088c6446
rmt: disable carrier feature by default
2020-03-03 20:14:46 +08:00
morris
3c43264f83
rmt: add RMT_CHANNELS_NUM in rmt_caps.h
2020-03-03 20:14:45 +08:00
Ivan Grokhotkov
b97b9418f8
Merge branch 'bugfix/improve_component_manager_test_output' into 'master'
...
Improve message for component manager tests
See merge request espressif/esp-idf!7765
2020-03-03 19:02:31 +08:00
Ivan Grokhotkov
39aad6e9f7
Merge branch 'bugfix/cmake_generators' into 'master'
...
tools: Force the order of cmake generators
Closes IDF-1444
See merge request espressif/esp-idf!7836
2020-03-03 18:33:30 +08:00
David Cermak
6176b5fbe6
MQTT: Add build only test for using mqtt API from C++
2020-03-03 07:07:57 +00:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Roland Dobai
2d97209475
tools: Force the order of cmake generators
2020-03-02 16:15:30 +01:00
Angus Gratton
6f7be93d53
Merge branch 'bugfix/cmake_convert_whitespace' into 'master'
...
cmake: Minor convert_to_cmake.py fixes
See merge request espressif/esp-idf!7066
2020-03-02 14:22:37 +08:00
Angus Gratton
c051eafa6a
Merge branch 'feature/test_confgen' into 'master'
...
Tools: Add tests for confgen.py
Closes IDF-480
See merge request espressif/esp-idf!7774
2020-03-02 12:46:51 +08:00
Angus Gratton
8887f79bef
cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
...
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-02 14:45:03 +11:00
Angus Gratton
ee8557f69d
cmake: convert_to_cmake: Fix possible whitespace issues
...
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453
split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-02 14:44:16 +11:00
Renz Christian Bagaporo
a5d49d4db5
tools: fix double builds with idf.py
2020-03-02 07:18:22 +05:00
Renz Christian Bagaporo
f64a3c2a66
cmake: utility to create a failing target
2020-03-02 07:18:22 +05:00
Roland Dobai
2816c3c536
tools: Fix idf_size.py
2020-02-28 11:55:53 +01:00
Roland Dobai
1821ee8851
tools: Add proper multi-chip support for idf_size.py
2020-02-27 19:50:05 +01:00
Supreet Deshpande
2f62b3af4a
Increase job count for heap tests
2020-02-27 17:54:09 +05:30
Mahavir Jain
5f897fd33c
Merge branch 'feat/secure_boot_v2_v41' into 'master'
...
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3
Closes IDF-799
See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Angus Gratton
d40c69375c
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Anton Maklakov
5ea4d7ba61
Merge branch 'ci/ut_esp32s2_allow_schedule' into 'master'
...
ci: allow esp32s2 unit tests run by scheduled pipeline
See merge request espressif/esp-idf!7796
2020-02-27 14:48:10 +08:00
Michael (XIAO Xufeng)
7f8c827326
Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
...
bugfix(pcnt): fix driver ut pcnt
See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Michael (XIAO Xufeng)
9199207c67
ci: allow esp32s2 unit tests run by scheduled pipeline
2020-02-27 11:20:08 +08:00
Ivan Grokhotkov
5d399b459c
tools: check if idf_tools.py install-python-env is called from a venv
...
Closes IDF-1095
2020-02-26 14:03:38 +01:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Michael (XIAO Xufeng)
9d8e590d86
Merge branch 'fix/spi_flash_legacy_on_esp32s2' into 'master'
...
spi_flash: fix the reading issue using the ROM functions on ESP32-S2
See merge request espressif/esp-idf!7767
2020-02-26 18:04:51 +08:00
xiongyu
4d5c950770
bugfix(pcnt): fix driver ut pcnt
...
* Let `[ignore] case` return to freedom
1) Because this test uses its own ISR, we need to release it with `esp_intr_free` instead of `pcnt_isr_service_uninstall`.
2) `pcnt_evt_queue` needs to be created before the interrupt is registered and needs to be released at the end of each case.
* Add test support for ESP32S2
* Support chip internal connection, no external wiring required.
2020-02-26 16:52:53 +08:00
michael
f8fae4c80c
spi_flash: resume unit tests for ESP32-S2
2020-02-26 11:12:08 +08:00
Roland Dobai
c4421629c8
Tools: Add tests for confgen.py
2020-02-25 17:15:46 +01:00
Sergei Silnov
47bfd337d2
Improve message for component manager tests
2020-02-25 09:22:52 +01:00
Supreet Deshpande
b79606ca37
feat/secure_boot_v2: Adding tools support for secure boot v2 ECO3
2020-02-25 01:28:22 +05:30
Roland Dobai
5c0cd9417d
Docs: Encourage to used Python 3
2020-02-24 12:55:55 +01:00
Ivan Grokhotkov
5ccfc332ea
Merge branch 'feature/nvs_erase_check_init' into 'master'
...
NVS Flash: prevent erasing initialized partition
See merge request espressif/esp-idf!7615
2020-02-21 17:47:45 +08:00
Ivan Grokhotkov
b90a68f89b
Merge branch 'bugfix/esp32s2_trax' into 'master'
...
xtensa: add TRAX support for esp32s2
Closes IDF-1408
See merge request espressif/esp-idf!7683
2020-02-21 09:58:15 +08:00
Ivan Grokhotkov
cd114f656b
Merge branch 'fix/gdbstub_large_com_on_windows' into 'master'
...
idf_monitor: fix gdbstub issue opening large COM port number on Windows
See merge request espressif/esp-idf!7619
2020-02-21 09:56:42 +08:00
Angus Gratton
3b498a0576
Merge branch 'bugfix/confserver_hex_types' into 'master'
...
confserver: Standardize and document the handling of hex values
See merge request espressif/esp-idf!7437
2020-02-20 14:48:15 +08:00
Jakob Hasse
c6deffb8a2
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-02-19 18:16:04 +01:00
Ivan Grokhotkov
240ec7444f
ci: add build test for TRAX feature
2020-02-19 14:02:35 +01:00
Ivan Grokhotkov
32ea031b19
Merge branch 'bugfix/bootloader_custom_console_pins' into 'master'
...
Fix bootloader build if custom UART pins are used (Github PR + ESP32-S2 + test)
See merge request espressif/esp-idf!7665
2020-02-19 16:56:15 +08:00
Ivan Grokhotkov
1cbb2287be
ci: add build test for custom console UART pins
2020-02-19 08:13:23 +01:00
Angus Gratton
dc63badbd2
Merge branch 'feature/add_subdirectory_if_exists' into 'master'
...
cmake: add subdirectory if exists utility
See merge request espressif/esp-idf!7302
2020-02-19 07:54:27 +08:00
Renz Christian Bagaporo
ab84c73244
cmake: add subdirectory if exists utility
2020-02-18 17:16:06 +05:00
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
Angus Gratton
a0644bf8ae
Merge branch 'test/resume_ut_esp32s2' into 'master'
...
ci: resume esp32s2 unit tests
See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
Angus Gratton
b92882a0e6
Merge branch 'bugfix/kconfig_cmake_escape' into 'master'
...
confgen.py: Escape special characters for cmake
Closes IDFGH-2677
See merge request espressif/esp-idf!7580
2020-02-18 08:13:13 +08:00
Michael (XIAO Xufeng)
b00cea250f
idf_monitor: fix gdb issue opening large COM port on Windows
...
The GDB uses CreateFile to open COM port on Windows. However this
function requires COM path to be `\\.\COMx` to open COM port whose
number is larger than 10.
Replace the port name from `COM` to `\\.\COM` when on Windows to fix
this.
2020-02-17 07:39:21 +00:00
Angus Gratton
d9d7a906b1
confserver docs: Merge the build-system docs info about confserver into the README
...
Add link into the README from the docs
2020-02-17 17:21:22 +11:00
Angus Gratton
89fb104747
confserver: Standardize and document the handling of hex values
...
Previously, server always sent back "hex" types as JSON integers but would only accept setting them as a
JSON string of hex digits. This still works, but also possible to use JSON integers in both directions.
Add tests for both representations, add a note in the README about types.
2020-02-17 17:21:22 +11:00
Anton Maklakov
8222ab7330
Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url' into 'master'
...
ci: no stage attempts variables, no custom toolchain url
See merge request espressif/esp-idf!6689
2020-02-17 11:05:58 +08:00
michael
24b16b0b19
ci: resume esp32s2 unit tests
2020-02-15 18:28:24 +08:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Ivan Grokhotkov
605da33c3d
Merge branch 'fix/app_update_test_s2' into 'master'
...
app_update: fix unit tests
See merge request espressif/esp-idf!7581
2020-02-13 23:05:13 +08:00
Ivan Grokhotkov
cdb947113e
Merge branch 'feature/esp_event_multiple_register' into 'master'
...
ESP-Event: Feature/esp event multiple register
See merge request espressif/esp-idf!7384
2020-02-13 19:02:09 +08:00
michael
98ee6f55df
app_update: fix unit tests
2020-02-13 15:51:42 +08:00
Roland Dobai
935b34e829
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-12 14:30:53 +01:00
Angus Gratton
c1d0daf36d
Merge branch 'refactor/restructure_soc_component' into 'master'
...
soc: separate abstraction, description and implementation
See merge request espressif/esp-idf!7261
2020-02-12 07:50:10 +08:00
Angus Gratton
80e03a2d2d
Merge branch 'bugfix/win_tools_installer_fixes' into 'master'
...
tools: Windows tools installer release v2.3
Closes IDFGH-2670 and IDFGH-1929
See merge request espressif/esp-idf!7550
2020-02-12 07:22:50 +08:00
Ivan Grokhotkov
69e91959ff
tools: bump version of windows tools installer to v2.3
...
Includes the following fixes:
- bc43d48e
: fix Windows Defender checkbox
https://github.com/espressif/esp-idf/issues/4225
- 7a18f02a
: idf_tools.py compatibility with virtualenv 20.0
- Fix extracting IDF to a destination on another drive
https://github.com/espressif/esp-idf/issues/4128
https://github.com/espressif/esp-idf/issues/4744
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
24e793baa3
tools: installer: add PYTHONUNBUFFERED=1 when calling idf_tools.py
...
Fixes the issue that there is no output from 'idf_tools.py install'
stage.
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
972aeec265
tools: installer: use bundled idf_tools when installing IDF 3.3.1, 4.0
...
This is a workaround for the 'no-site-packages' bug in the version of
idf_tools.py shipped in v4.0 and v3.3.1 (see 7a18f02ac
).
When installing IDF v4.0 and v3.3.1, the installer will use the
bundled version of idf_tools.py instead of the version which comes
with IDF.
2020-02-11 19:05:17 +01:00
Ivan Grokhotkov
b67a7f48a9
tools: installer: fix copying IDF to a destination on another drive
...
Closes https://github.com/espressif/esp-idf/issues/4128
Closes https://github.com/espressif/esp-idf/issues/4744
2020-02-11 19:05:17 +01:00
Jakob Hasse
9b4815e3c8
ESP Event: multiple registrations to one event
...
* It's possible now to register the same handler
several times to one specific event, using
a dynamic handle object.
2020-02-11 10:52:05 +01:00
Renz Christian Bagaporo
16e0c93e40
ci: solve public headers errors
2020-02-11 14:30:42 +05:00
Ivan Grokhotkov
bcd2358eb6
Merge branch 'bugfix/idf_tools_virtualenv' into 'master'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
See merge request espressif/esp-idf!7549
2020-02-11 16:42:41 +08:00
Angus Gratton
ab5dad3be5
Merge branch 'feature/esp_netif_flexible_init' into 'master'
...
esp netif: minor API update, more flexible wifi init
Closes IDFGH-2523
See merge request espressif/esp-idf!7487
2020-02-11 12:01:20 +08:00
Angus Gratton
7bd2677d5d
Merge branch 'bugfix/ci_doc_fixes' into 'master'
...
docs: CI fixes
See merge request espressif/esp-idf!7539
2020-02-11 06:38:34 +08:00
David Cermak
9bdcd40f2b
ESP-NETIF: add CI compile only tests for common init/config pattern in C/C++
2020-02-10 19:40:28 +01:00
Ivan Grokhotkov
7a18f02acd
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-10 19:14:41 +01:00
Anton Maklakov
d6a5bb60da
ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support
2020-02-10 18:05:21 +07:00
Angus Gratton
0441c5d744
docs ci: Use the final version of the esp-idf-doc-env image
...
(Content is the same)
2020-02-10 19:55:46 +11:00
Angus Gratton
f906095789
docs ci: Ensure deploy directory exists
2020-02-10 19:55:15 +11:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
Angus Gratton
64654c0444
Merge branch 'fix/tools_py_environ_str' into 'master'
...
idf_py: fix the ESPPORT environ variable type issue
See merge request espressif/esp-idf!7433
2020-02-10 14:28:35 +08:00
Konstantin Kondrashov
daa9c30c8e
rmt/esp32s2: Update RMT: reg, struct, LL and test_utils/ref_clock.c
2020-02-09 20:03:31 +08:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
Ivan Grokhotkov
627d9b3142
ci: test_build_system_cmake: ensure sdkconfig timestamp changes
...
idf.py bootloader runs very quickly on some build servers, so when
sdkconfig is modified, the next idf.py invocation doesn't pick up the
timestamp difference. Add some delays to make sure the change is
noticed.
2020-02-07 09:35:41 +01:00
Angus Gratton
3017bfb8e3
Merge branch 'feature/test_apps_v2' into 'master'
...
test apps (2nd attempt)
Closes IDF-641
See merge request espressif/esp-idf!7084
2020-02-07 15:23:26 +08:00
Angus Gratton
291735c7dd
docs: Move to Python 3.5+ and Sphinx 2.3
2020-02-07 16:47:50 +11:00
Angus Gratton
c7209b110e
check_python_dependencies: If overriding requirements.txt path, provide a pip command line
...
Advice about install.sh/install.bat, etc only works for the default requirements.txt
2020-02-07 16:37:45 +11:00
Angus Gratton
ac8e931179
confgen: Avoid including invisible (due to target) choice items in kconfig.rst renames
2020-02-07 16:37:45 +11:00
Anton Maklakov
fb3edc9c87
docs: Add features to build_docs.py: check warnings, check links, check GH links
...
The old check_doc_warnings.sh was deleted
2020-02-07 16:37:44 +11:00
Angus Gratton
ee03e04947
docs: Run build_docs script in ci
2020-02-07 16:37:44 +11:00
Angus Gratton
a148d8e6ba
docs: Refactor extensions into packages, update the add-ons-reference docs page
...
Includes converting some of the remaining standalone scripts into Sphinx extensions.
Make flake8 clean
2020-02-07 16:37:43 +11:00
Angus Gratton
e6211c7864
docs: add new top-level docs builder that builds docs for a single chip
2020-02-07 16:37:43 +11:00
David Cermak
30c6e27bcc
CI: document test-apps feature, updated test-apps structure
2020-02-06 16:46:41 +00:00
David Cermak
692deac5ae
CI: assign and target-test stages updated to run test-apps in the ci
2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
e63764b468
CI: test-apps introduction
...
Introducing feature of adding arbitrary projects which could be build or
executed in the CI for the only purpose as testing
Closes IDF-641
2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
cbf8b60466
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds
2020-02-06 16:15:58 +01:00
Angus Gratton
c9cc694dbb
Merge branch 'fix/ci_target_test' into 'master'
...
CI - Fix target variable default value
See merge request espressif/esp-idf!7424
2020-02-06 14:52:10 +08:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
Ivan Grokhotkov
902024f980
ci: fix build system test on macOS
...
Replaces ${var^^} expansion supported with Bash >= 4 with 'tr'
2020-02-05 19:05:04 +01:00
Angus Gratton
9ebb48ff9d
Merge branch 'bugfix/idf_fullclean_loses_target' into 'master'
...
idf.py: guess IDF_TARGET from sdkconfig/sdkconfig.defaults, error out if IDF_TARGET is inconsistent
Closes IDF-869 and IDF-1040
See merge request espressif/esp-idf!7486
2020-02-05 07:41:11 +08:00
KonstantinKondrashov
aa42177e19
app_update(s2): Enable app_update UTs
...
Closes: IDF-1007
2020-01-31 10:34:08 +00:00
Ivan Grokhotkov
9bff344ef5
idf.py: fail and show instructions on IDF_TARGET mismatch
...
Closes IDF-869
2020-01-31 11:08:22 +01:00
Angus Gratton
1d28aa0194
Merge branch 'bugfix/doc_visible_kconfigs_only' into 'master'
...
Docs: Omit kconfig configurations not available for the target
Closes IDF-1212
See merge request espressif/esp-idf!7473
2020-01-31 12:57:00 +08:00
Ivan Grokhotkov
a1c1af72bf
idf.py: guess IDF_TARGET from sdkconfig if CMakeCache doesn't exist
...
This solves the issue that target is changed to the default one after
idf.py fullclean.
Also allow setting the default target using sdkconfig.defaults, e.g.
CONFIG_IDF_TARGET="esp32s2"
Closes IDF-1040
2020-01-30 19:09:37 +01:00
Ivan Grokhotkov
9b7a038583
Merge branch 'bugfix/esp32s2_ut_reset_reason' into 'master'
...
unit-test-app: make compatible with ESP32-S2 reset reasons
See merge request espressif/esp-idf!7449
2020-01-30 18:12:01 +08:00
Roland Dobai
5454c268f7
Docs: Omit kconfig configurations not available for the target
2020-01-30 10:30:06 +01:00
Angus Gratton
f8e7285591
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor' into 'master'
...
idf.py: add monitor-baud option to monitor command
Closes IDF-978
See merge request espressif/esp-idf!6613
2020-01-30 13:38:29 +08:00
Ivan Grokhotkov
f5d37c453a
unit-test-app: make compatible with ESP32-S2 reset reasons
...
ESP32-S2 has slightly different names of reset reasons, printed by
the ROM. Allow using ESP32 reset reason names in test cases.
2020-01-29 19:05:33 +01:00
Ivan Grokhotkov
ac1834e288
Merge branch 'feature/freertos_xtensa_folder' into 'master'
...
freertos: moved all xtensa specific files into a separated folder
See merge request espressif/esp-idf!7377
2020-01-29 17:04:34 +08:00
Rosa Elena Veiga Otero
af6541e773
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-28 11:47:45 +01:00
Angus Gratton
f5b82c5b1f
Merge branch 'bugfix/esptool_elf2image_flashmode' into 'master'
...
esptool_py: pass flash mode/frequency/size to elf2image
See merge request espressif/esp-idf!7440
2020-01-28 14:22:35 +08:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
Ivan Grokhotkov
37edc8f6e9
Merge branch 'feature/idf_docker_updates' into 'master'
...
Docker image improvements
Closes IDFGH-2559
See merge request espressif/esp-idf!7454
2020-01-28 02:28:34 +08:00
Ivan Grokhotkov
f74b83b5b4
Merge branch 'feature/idf_tools_doc' into 'master'
...
docs: add API guide page about IDF Tools
See merge request espressif/esp-idf!7378
2020-01-27 17:10:21 +08:00
Shivani Tipnis
770a1eae01
ci: Fix target variable default value
2020-01-27 09:05:23 +00:00
Ivan Grokhotkov
287d0039ff
tools/docker: enable ccache by default
2020-01-24 19:12:22 +01:00
Ivan Grokhotkov
54eed09d70
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-01-24 19:11:56 +01:00
Ivan Grokhotkov
1cd6f67679
docs: add API guide page about IDF Tools
2020-01-24 14:02:21 +01:00
Ivan Grokhotkov
cbb6beccd9
ci: add build system tests for bootloader flash mode/freq/size
2020-01-23 17:03:52 +01:00
Ivan Grokhotkov
90af8531d8
esp32s2: remove -nostdlib accidentally added
...
-nostdlib was removed in 9a2af7a
and then accidentally added
in 1c2cc54
.
The issue manifested itself as a failure to link some symbols from
libgcc, even though libgcc should implicitly appear at the end of the
linker command line when -nostdlib is not given.
2020-01-23 17:00:31 +01:00
Angus Gratton
4e4bfb4348
Merge branch 'bugfix/ci_handle_retried_jobs' into 'master'
...
CI: fix CI fail when have retried build jobs
See merge request espressif/esp-idf!7435
2020-01-23 09:30:07 +08:00