Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02: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
Roland Dobai
26695df5c8
app_trace: Add coverage generation by gcovr
2020-03-30 13:34:06 +02:00
Angus Gratton
2415531f44
Merge branch 'refactor/esp_event_examples_new_interface' into 'master'
...
Examples: esp event examples use new register API
See merge request espressif/esp-idf!7928
2020-03-27 18:05:45 +08:00
fuzhibo
340563f479
Driver(touch): fix touch sensor driver for esp32s2.
...
1.update touch sensor driver for esp32s2;
2.update unit test for touch sensor;
3.update register files about touch sensor;
2020-03-25 22:45:57 +08:00
Jakob Hasse
1cf2312734
Examples: some examples use new event register API
...
* getting started - station
* softap
* iperf
* fast scan
* Power save
2020-03-25 10:36:47 +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
Angus Gratton
b4d97a8076
Merge branch 'feature/add_heap_info_per_task_example' into 'master'
...
Add Task Heap Tracking example
See merge request espressif/esp-idf!7750
2020-03-23 14:07:00 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Shubham Kulkarni
6e09056c25
example: Add Heap Task Tracking example
2020-03-19 15:07:41 +05:30
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
7ee7a6d7bb
docs: Updates OpenOCD command names
2020-03-16 19:06:47 +03:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Renz Bagaporo
7dbd77cefc
examples: split source files for one of the ulp examples
2020-03-03 16:56:14 +08:00
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
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
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
Ivan Grokhotkov
50466a5e4f
Merge branch 'bugfix/esp32s2_ldscripts' into 'master'
...
esp32s2: LD script fixes/improvements and re-enable SystemView examples
Closes IDF-1357, IDF-1354, and IDF-1346
See merge request espressif/esp-idf!7431
2020-02-05 02:09:29 +08:00
David Cermak
3f10c4af06
OTA: enable example builds for esp32s2 target
...
Closes IDF-1035
2020-01-29 15:20:42 +01:00
Ivan Grokhotkov
4145ca591f
examples: re-enable SystemView examples for esp32s2
...
Closes IDF-1357
2020-01-24 10:48:38 +01:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
bbbdcbfe4c
esp_netif: update netsuite test example to use I/O driver configuration
...
closes https://github.com/espressif/esp-idf/issues/4403
2019-12-16 19:38:01 +00:00
Ivan Grokhotkov
522cef42ab
examples: re-enable console example for esp32s2beta
2019-12-12 14:34:15 +01:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Alexey Gerenkov
b81e537b7f
apptrace: Extends SystemView heap & log example to run many allocator/freer tasks
2019-12-04 18:04:11 +03:00
houwenxiang
e4230d11ca
bugfix(UART): fix uart driver spinlock misused bug
...
1. fix uart driver spinlock misused bug
2. add uart driver ut test case
3. undo the change in light_sleep_example_main.c
2019-12-03 16:06:31 +08:00
Fu Zhi Bo
3a468a1ffd
Refactor the touch sensor driver
2019-11-27 20:08:44 +08:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
Dmitry
845b2d1cfe
Jumps change back to jumpr. because example supports esp32 only.
2019-11-22 09:03:23 +03:00
Dmitry
1518c410bc
A switch between esp32 and esp32s2betta added to the ULP build process.
...
The new bin utils will have extension esp32s2ulp-elf, and they have to be placed to the bin directory.
2019-11-22 09:03:13 +03:00
Angus Gratton
0e0994092e
Merge branch 'feature/esp32s2beta_fix_rtc_peripheral_driver' into 'master'
...
Driver: fix touch driver and deep sleep example
See merge request espressif/esp-idf!6476
2019-11-22 11:39:41 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
Ivan Grokhotkov
8ff801766a
Merge branch 'docs/update_oocd_config_on_cmd_line' into 'master'
...
Updates OpenOCD configuration file names in documentation
See merge request espressif/esp-idf!6226
2019-11-22 05:32:35 +08:00
Ivan Grokhotkov
910f49942e
examples: fix test function name in cpp_rtti example
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
d0e1edcd53
examples: add 2 CI build/test configurations for system/console
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
871ea650f6
examples: fix sdkconfig warnings
2019-11-21 15:36:06 +01:00
fuzhibo
246242dbd5
driver: fix sens_struct.h
;
...
driver: fix timer wakeup dsleep;
example: fix EXT1 wakeup dsleep;
example: fix touch pad wakeup dsleep;
2019-11-21 20:31:34 +08:00
chenjianqiang
9f9da9ec96
feat(timer): refator timer group driver
...
1. add hal and low-level layer for timer group
2. add callback functions to handle interrupt
3. add timer deinit function
4. add timer spinlock take function
2019-11-21 14:14:19 +08:00
fuzhibo
0c2bf7c8bc
rtcio: add hal for driver
2019-11-21 10:40:49 +08:00
Angus Gratton
e510e1779d
Merge branch 'bugfix/gcov_in_components' into 'master'
...
Fixes libgcov and libapp_trace cross dependency linking issue
Closes IDF-834
See merge request espressif/esp-idf!6250
2019-11-21 07:09:04 +08:00
Alexey Gerenkov
1626f827d3
docs: Updates OpenOCD configuration file names
2019-11-18 13:33:32 +03:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
Alexey Gerenkov
5b83b198c6
gcov: Fixes libgcov and libapp_trace cross dependency linking issue
...
Closes IDF-834
2019-11-12 18:42:08 +03:00
Alexey Gerenkov
02e084e2b5
examples: Collects coverage info in component
2019-11-12 18:42:02 +03:00
Ivan Grokhotkov
18c9e306c2
examples/system: add C++ RTTI example
2019-11-06 15:30:44 +01:00
Angus Gratton
ffdb57e04d
Merge branch 'bugfix/http_client_message_complete_callback_invocation' into 'master'
...
Fix issue in http client regarding `message_complete` callback invocation
Closes IDFGH-2040
See merge request espressif/esp-idf!6413
2019-11-05 12:02:10 +08:00
Angus Gratton
8b48a8e72e
Merge branch 'feature/efuse_example' into 'master'
...
examples: Add an example efuse API usage and the group writing mode
Closes IDF-773
See merge request espressif/esp-idf!5810
2019-11-05 10:13:21 +08:00
Angus Gratton
c5ef1cae04
Merge branch 'feature/perfmon' into 'master'
...
Performance monitor component
See merge request espressif/esp-idf!4705
2019-11-04 18:25:14 +08:00
Mahavir Jain
e1a6846ac3
examples/ota: disable WiFi power save mode for optimal performance
2019-11-04 12:15:19 +05:30
Mahavir Jain
917a406c0a
Logging improvements in OTA example and component
2019-11-04 12:15:19 +05:30
Mahavir Jain
de9549936d
examples: fix handle passed to esp_https_ota_is_complete_data_received
2019-11-04 12:15:19 +05:30
Renz Christian Bagaporo
f356d54365
esp_event: revert changes in !5702
2019-11-03 16:19:30 +08:00
KonstantinKondrashov
d7fa288a6c
examples: Add an example efuse API usage
...
Added: read, write operations for the common and custom efuse tables.
Writing is possible only for CONFIG_EFUSE_VIRTUAL.
Closes: IDF-773
2019-10-30 15:43:40 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
suda-morris
fa32a4bd93
ping: refactor with new esp_ping_xxx APIs
...
This refactor is only for backwards compatible.
2019-10-22 04:38:09 +00:00
Andro Nooh
a77e69c408
lwip: add icmp echo example
...
It piggybacks on the console example to add ping support and CLI.
Merges https://github.com/espressif/esp-idf/pull/4093
2019-10-22 04:38:09 +00:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
suda-morris
81e88764d5
console: fix wrong param passed to esp_err_to_name
2019-10-14 19:49:19 +08:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Darian Leung
de682a13b1
examples: Update system examples README
...
The following commit updates the first half of the the system
example README files. Some other changes were also made:
* Updated base_mac_address example
* Moved contents in GCOV README to GCOV docs
* Some *main.c file names updated
* Updated example README template
2019-08-28 16:19:40 +08:00
Angus Gratton
a21ca2270a
Merge branch 'feature/deep_sleep_fast_wake' into 'master'
...
bootloader: Reduce the time spent in image validation when waking from deep sleep
See merge request espressif/esp-idf!5140
2019-08-28 08:54:28 +08:00
Dmitry
a0730fec2a
Performance monitor component. The component contains APIs, example and
...
documentation.
2019-08-23 11:20:12 +03:00
KonstantinKondrashov
83db8d402b
examples: Add the fast wakeup option for deep sleep examples
...
The CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is enabled
by default for the following examples:
- system/deep_sleep,
- system/ulp,
- system/ulp_adc.
2019-08-21 11:44:37 +00:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
fuzhibo
572084821b
add Comment for touchpad
2019-08-07 11:39:17 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
75c0066f93
Fix remaining -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Ivan Grokhotkov
3c63f49591
examples: remove non-existent options from sdkconfig.defaults
2019-07-29 04:57:38 +02:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Alexey Gerenkov
2926cd09a2
gcov_example: Adds cmake target to generate report
...
Closes IDF-727
2019-07-05 12:44:35 +00:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
Jitin George
a2b5a93881
example/simple_ota_example: Fix python formatting and KConfig
2019-06-25 23:41:33 +00:00
Jitin George
83a4e4656f
example/simple_ota_example: Add support for skipping OTA server certificate CN field
2019-06-25 23:41:33 +00:00
Jitin George
9fa23bc599
example/simple_ota_example: Add example test
2019-06-25 23:41:33 +00:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00