Angus Gratton
b6a24bbd25
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'
...
esp_https_ota: component refactoring, bugfixes and feature additions
See merge request idf/esp-idf!4245
2019-05-10 12:39:14 +08:00
Shivani Tipnis
893c1d82f7
nvs_console: Fix type comparison
...
Closes https://github.com/espressif/esp-idf/issues/3320
2019-05-02 15:31:57 +05:30
Jitin George
64e3ab364e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-05-02 12:29:29 +05:30
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
Ivan Grokhotkov
11355c4162
examples/system: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
e37b0ad648
esp_event: move trailing semicolons out of defines
2019-04-11 12:04:58 +08:00
Alexey Gerenkov
296c9549a4
sys_view: Adds heap & log tracing example
2019-04-01 19:31:45 +03:00
Alexey Gerenkov
5ef3a64c00
sys_view: Adds heap tracing API
2019-04-01 19:31:27 +03:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
106dc05903
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'
...
move esp32 chip specific includes to esp32/xxx.h
See merge request idf/esp-idf!4534
2019-03-21 18:34:08 +08:00
Angus Gratton
112c54e043
Merge branch 'doc/ota_readme_cert_cn' into 'master'
...
ota example: Mention the certificate needs CN set correctly
See merge request idf/esp-idf!4441
2019-03-21 09:26:12 +08:00
morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
Angus Gratton
8d62b0d173
ota example: Mention the certificate needs CN set correctly
2019-03-08 18:32:55 +11:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Angus Gratton
48d3a5804d
Merge branch 'bugfix/simple_ota_example' into 'master'
...
bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different
See merge request idf/esp-idf!3983
2019-03-05 13:05:53 +08:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
Renz Christian Bagaporo
86c4950d2f
examples: fix specified location for event loop example test
2019-02-14 14:06:04 +08:00
Renz Christian Bagaporo
a0310e35d7
example: fix expected logging output order for esp_event example
2019-02-14 14:06:04 +08:00
Jeroen Domburg
72cca0f2a3
Proper README.md for himem example
2019-02-12 19:36:06 +08:00
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
He Yin Ling
86cc434ff1
test: get bin path from dut.app.flash_files
instead of dut.download_config
2019-01-03 09:57:47 +08:00
InfiniteYuan1
0fa31d3e31
bugfix(simple_ota): Compatible with V3.1 and V3.2
2018-12-18 14:41:12 +08:00
Konstantin Kondrashov
cf6b79581b
example: Add a support of an app rollback
2018-12-11 11:58:42 +08:00
Ivan Grokhotkov
4e77efc36b
Merge branch 'bugfix/clang_compatibility' into 'master'
...
clang compatibility fixes
See merge request idf/esp-idf!3912
2018-12-07 14:03:05 +08:00
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
Ivan Grokhotkov
94f2dd27d4
examples/console: don’t use raw string literals in C code
...
Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.
Ref LLVM-11
2018-12-06 16:14:14 +08:00
Ivan Grokhotkov
37975c186d
Merge branch 'feature/pthread_name_affinity_config' into 'master'
...
pthread: make affinity and task name configurable
See merge request idf/esp-idf!3878
2018-12-05 13:46:05 +08:00
Per Malmberg
71f57931bd
#2743 - Implemented ability to core affinity and thread name for pthreads and thus also for std::thread.
2018-11-28 20:43:09 +01:00
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
90f5432f2a
examples: generic cmake support examples
2018-11-27 13:59:26 +08:00
Alexey Gerenkov
3139b2d533
example: Adds SystemView tracing example app
2018-11-20 04:09:39 +00:00
Ivan Grokhotkov
a5adfd0169
examples: add unit testing example
2018-11-19 12:36:31 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
morris
7bc36d23e1
ethernet: add iperf example to test real bandwidth
...
1. Add command for Ethernet based on console component.
2. Make cmd_system and iperf a component that can be referenced by other examples
3. Add "version" command to cmd_system.c
4. Clean up the README.md in all ethernet examples[TW#26525]
2018-10-08 09:51:17 +08:00
Alexey Gerenkov
f0c15e749a
gcov: use GCC API to control GCOV data dumps
2018-09-20 18:53:14 +08:00
Angus Gratton
c15d3c1ffc
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-09-19 14:38:19 +10:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
514487e9a1
Merge branch 'feature/light_sleep_example' into 'master'
...
examples: add light sleep example
See merge request idf/esp-idf!3179
2018-09-13 09:00:59 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Ivan Grokhotkov
82b8db196f
examples: add light sleep example
2018-09-10 17:10:43 +08:00
krzychb
15c10b3cbe
Added missing CMakeLists.txt file to satisfy CI checks
2018-09-09 21:32:57 +02:00
Angus Gratton
4eeed31a04
Merge branch 'feature/cmake' into 'master'
...
Merge experimental CMake support to master
See merge request idf/esp-idf!3024
2018-09-07 13:44:17 +08:00
Ivan Grokhotkov
8893438f08
Merge branch 'feature/cpp_exceptions_example' into 'master'
...
examples: add C++ exception handling example
See merge request idf/esp-idf!3178
2018-09-07 10:34:18 +08:00
Ivan Grokhotkov
13107d5968
Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'
...
sleep: add support for GPIO and UART wakeup from light sleep
See merge request idf/esp-idf!3004
2018-09-07 10:33:33 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Ivan Grokhotkov
31e969aded
examples/console: add light sleep command
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
cb2876ff4e
examples: add C++ exception handling example
2018-09-04 21:00:14 +08:00
Konstantin Kondrashov
dbad72e6b5
examples/ulp: Add using esp_deep_sleep_disable_rom_logging
2018-09-04 18:21:34 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Konstantin Kondrashov
117c79eae5
app_update: Add API for getting sha256_of_partition
...
Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest
Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.
spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs
2018-08-13 13:59:07 +05:00
Ivan Grokhotkov
80c5547b97
Merge branch 'bugfix/ulp_fixes' into 'master'
...
ULP fixes
See merge request idf/esp-idf!2948
2018-08-08 15:37:25 +08:00
Angus Gratton
cdc792d72c
Merge branch 'feature/http_firmware_upgrade' into 'master'
...
esp_https_ota: Add esp_https_ota component
See merge request idf/esp-idf!2771
2018-08-08 12:27:05 +08:00
Ivan Grokhotkov
479af576ca
ulp: fix calculation or ulp_run argument
...
The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.
2018-08-07 16:14:57 +03:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
Jitin George
1fecdc3891
esp_https_ota: Add support for HTTPS based ota feature
2018-08-03 16:47:07 +05:30
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Ivan Grokhotkov
0e3694b542
Merge branch 'feature/freertos_vtasklist_xcoreid' into 'master'
...
freertos: Add option to display xCoreID in vTaskList
See merge request idf/esp-idf!2728
2018-07-20 18:46:41 +08:00
Ivan Grokhotkov
a8f39a892e
Merge branch 'bugfix/ulp_example_fix' into 'master'
...
ulp example: fix for RTC IOs
See merge request idf/esp-idf!2768
2018-07-19 15:04:20 +08:00
Ivan Grokhotkov
cffaa9f5b5
freertos: add configTASKLIST_INCLUDE_COREID
2018-07-17 10:57:26 +00:00
Ivan Grokhotkov
4b97a1edb2
ulp example: fix for RTC IOs
...
- call rtc_gpio_init for pins which aren't configured as RTC by default
- for RTC IOs 16 and 17, read higher part of the input register
- automatically convert GPIO number into RTC IO number
- use ulp_set_wakeup_period instead of writing to register
2018-07-13 17:48:15 +08:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
Angus Gratton
c1fdd45001
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'
...
bugfix(touch pad): modify deep-sleep example and add note for sleep api
See merge request idf/esp-idf!2553
2018-06-20 11:51:46 +08:00
fuzhibo
9a0d57b90b
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
...
Closes https://github.com/espressif/esp-idf/issues/2052
2018-06-20 10:57:26 +08:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Ivan Grokhotkov
2f5cd89833
examples: add esp_timer example
2018-06-07 11:59:36 +08:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
Alexey Gerenkov
585df5cfdb
docs: Corrects OpenOCD command usage in logtrace readme
2018-05-25 16:42:18 +03:00
Angus Gratton
a79116a23e
Merge branch 'feature/gcov_dbg_stubs' into 'master'
...
Feature/gcov dbg stubs
See merge request idf/esp-idf!1494
2018-05-21 08:07:49 +08:00
Alexey Gerenkov
c1b6a37bb1
esp32: Adds GCOV debug stubs support
...
Adds the following functionality
- Debug stubs infrastructure
- Stub for retrieveing GCOV data without user source code modification
2018-05-18 16:16:03 +03:00
Roland Dobai
18e83bcd53
Allow VFS file descriptors in select()
2018-05-18 08:06:33 +02:00
Chen Wu
460c4fa486
bugfix(ota): update ota to download valid bin file
2018-05-16 09:24:47 +00:00
Anuj Deshpande
6238459dd7
docs: Fix broken link in nvs and jtag example
...
- Closes https://github.com/espressif/esp-idf/issues/1922
2018-05-07 12:38:20 +05:30
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
Angus Gratton
fa3205737f
partition_table: Check configured flash size fits in partition table
...
Check happens at build time, so flash size config may need to be changed.
Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867
2018-04-26 09:51:55 +10:00
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
Roland Dobai
6852d653bd
Allow VFS file descriptors in select()
2018-04-17 11:25:30 +02:00
Hrishikesh Dhayagude
59d19d12af
Fix Kconfig.projbuild in some examples, where myssid is erroneously kept as the default value for password.
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-04-05 14:34:43 +05:30
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Ivan Grokhotkov
c8ba6cf156
Merge branch 'feature/rtc_gpio_isolate' into 'master'
...
Add rtc_gpio_isolate function, use it in deep sleep examples
See merge request idf/esp-idf!1936
2018-02-26 06:09:08 +08:00
Michael (Xiao Xufeng)
10ab4c085b
example(console): print column name for tasks.
2018-02-14 11:56:47 +08:00
Ivan Grokhotkov
af6cfc5552
docs, examples: use rtc_gpio_isolate to disconnect GPIO12
...
This is needed to reduce deep sleep current on ESP32-WROVER modules.
Ref TW18165.
2018-02-11 13:28:47 +08:00
Ivan Grokhotkov
206eadab5a
console example: increase main task stack size
...
Stack size was not sufficient for logging at Verbose log level.
2018-02-11 13:14:44 +08:00
Ivan Grokhotkov
57a516389c
console example: add 'tasks' command to print vTaskList output
...
This command prints list of tasks, their state, and stack
watermark values.
Fixes https://github.com/espressif/esp-idf/issues/1534
2018-02-11 13:06:01 +08:00
Ivan Grokhotkov
24b07a3f45
console example: initialize nvs on startup
...
Fixes https://github.com/espressif/esp-idf/issues/1478
2018-01-09 12:48:02 +08:00
Ivan Grokhotkov
ca751648fa
ulp: document the need to wait for RTC to be ready for wakeup
2017-12-11 12:11:46 +08:00
Angus Gratton
dc994e9c88
ota example: Send a valid HTTP/1.0 request
...
Was sending an invalid HTTP/1.1 request which many web servers rejected.
Thanks @chegawara for pointing this out on IRC.
Ref:
https://github.com/espressif/esp-idf/issues/231#issuecomment-300287523
2017-11-21 09:02:58 +11:00
Ivan Grokhotkov
3726cd39ab
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'
...
examples/ulp: disable pullup on GPIO15 to reduce current
See merge request !1486
2017-11-13 17:34:12 +08:00