Angus Gratton
4f1a856dbf
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
...
* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
always used. Also trims the -I path from a number of components that have no actual include
directory.
* Simplifies knowing which components will be header-only and which won't
2018-04-30 09:59:20 +10:00
Angus Gratton
ce6748873d
cmake: Add embedding files in components support
...
Add subscribe_publish AWS example and fixes to allow it to build.
2018-04-30 09:59:20 +10:00
Angus Gratton
d9cbfe42f9
Merge branch 'bugfix/log_macro_statements' into 'master'
...
log: Make ESP_LOGx macros into single statements
See merge request idf/esp-idf!2275
2018-04-26 08:05:49 +08:00
Angus Gratton
2f318d16fa
log: Make ESP_LOGx macros into single statements
...
Requires a semicolon after any use (previously this was optional due to trailing } after expansion)
Closes https://github.com/espressif/esp-idf/issues/1757
2018-04-26 09:08:07 +10:00
Jitin George
d57495cb1c
esp-tls: Fix HTTP2 failure
...
Closes https://github.com/espressif/esp-idf/issues/1874
2018-04-20 16:59:36 +05:30
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
Ivan Grokhotkov
bdadd95dd7
Merge branch 'feature/wwrite_string_for_idf' into 'master'
...
Enable -Wwrite-strings when compiling IDF's own C files
See merge request idf/esp-idf!2193
2018-04-11 14:59:08 +08:00
He Yin Ling
e184a2fc0b
Merge branch 'feature/esp-tls' into 'master'
...
https_request: Fix CI failure
See merge request idf/esp-idf!2216
2018-04-10 22:07:07 +08:00
Jitin George
a48e0121e0
https_request: Fix CI failure
2018-04-10 16:00:34 +05:30
Ivan Grokhotkov
9464699952
Merge branch 'bugfix/Kconfig_fix_incorrect_description' into 'master'
...
Fix Kconfig.projbuild in some examples, where myssid is the password
See merge request idf/esp-idf!2192
2018-04-10 18:19:34 +08:00
Roland Dobai
744c2dcdd9
Resolve problems found by enabling -Wwrite-strings compilation flag
2018-04-10 08:53:43 +02:00
Jitin George
9d416fe84e
resolve merge conflicts
2018-04-06 18:16:40 +05:30
Jitin George
b09c3e9878
mbedtls integration in esp-tls
2018-04-06 17:16:27 +05:30
Jitin George
9c8a5ca979
https mbedtls example
2018-04-06 17:16:27 +05:30
Jitin George
30b50cbfb3
esp-tls header file name change
2018-04-06 17:16:27 +05:30
Jitin George
e29294b49a
Resolved Issues
2018-04-06 17:16:27 +05:30
Jitin George
8cd3c47956
esp-tls api support in https_request
2018-04-06 17:16:27 +05:30
Kedar Sovani
8211a16207
Use esp-tls in the http2 example
2018-04-06 17:16:27 +05:30
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
Ivan Grokhotkov
2e7613b656
Merge branch 'feature/use_esp_err_to_name' into 'master'
...
Use esp_err_to_name in examples & optionally disable it in Kconfig
See merge request idf/esp-idf!2013
2018-03-27 11:50:21 +08:00
Kedar Sovani
86eaf5d56b
http2: Include 'authority' field by default in the request
...
Closes https://github.com/espressif/esp-idf/issues/1717
2018-03-20 17:33:05 +05:30
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Mahavir Jain
886b5df30b
examples: aws_iot: fine tune stack size for aws_iot task
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-02-20 17:04:07 +05:30
me-no-dev
4bddbc031c
Import mDNS changes
2018-01-16 10:58:34 +02:00
Kedar Sovani
1c0543fb17
lwip: Change socket API macros to static-inline
2017-11-29 11:42:14 +05:30
Chen Wu
4b3997cfbb
aws_iot: fix aws_iot examples without NVS initialization
...
WiFi used to initialise nvs automatically, but it doesn't now.
see more info: https://github.com/espressif/esp-idf/issues/624
Closes #624
2017-11-22 13:02:55 +08:00
Ivan Grokhotkov
6e1453e864
Merge branch 'feature/bot' into 'master'
...
CI: support customize test with @bot
See merge request !1502
2017-11-21 18:43:56 +08:00
He Yin Ling
879160de8c
test: collect example https_request binary size
2017-11-16 17:48:30 +08:00
Ivan Grokhotkov
c6d25dd9cc
Merge branch 'features/http2_demo' into 'master'
...
HTTP2 Client Demo
See merge request !1475
2017-11-15 14:51:51 +08:00
zhangjunhao
6a02a58347
fix(tw16355): examples/protocols/coap_client(server)
...
fix coap example can not work properly
2017-11-15 11:58:19 +08:00
Kedar Sovani
3ace8416b5
[examples] Create HTTP2 example with http2.golang.org
...
Intention is to partition the demo into multiple files, so that the
main program is quite easy to follow.
1. connectlib.c: For any URL parsing and TCP connection related stuff
2. sh2lib.c: Convenience functions for HTTP2+TLS. The goal here is to
expose a simpler API than nghttp2. If most usecases end up being
served with this library, it could potentially be moved into a separate
component
2017-11-06 09:43:03 +05:30
He Yin Ling
4cb52e0a3d
test: add test for https_request
2017-10-31 17:42:20 +08:00
Angus Gratton
2cc8c91ad8
lwip: Remove undocumented CONFIG_MDNS macro flag
...
All options that were enabled via CONFIG_MDNS are now in menuconfig, with
the default values set the same as with CONFIG_MDNS enabled (meaning existing
projects that were using CONFIG_MDNS do not need to change).
2017-10-02 10:50:27 +11:00
Angus Gratton
61d2069e1c
example: Add UDP multicast example
2017-10-02 10:50:27 +11:00
Chris Morgan
76db44e8ce
openssl_client, openssl_server example: Fix misspelling of PRIORITY in OPENSSL_EXAMPLE_TASK_PRIORITY
...
Merges https://github.com/espressif/esp-idf/pull/929
2017-09-20 12:09:01 +10:00
krzychb
4079886704
Added socket receiving timeout, ref. TW#14353 / GitHub issue #844
2017-09-11 05:15:39 +02:00
Angus Gratton
c503a01388
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)
2017-09-07 18:02:39 +10:00
krzychb
672390c458
Mass replacement of http with https urls, fixed broken urls
2017-09-06 08:16:01 +02:00
Dong Heng
d523a5181b
example/openssl_client: Fix http string "printf" error without end character '\0'
2017-09-04 13:29:19 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Chris Morgan
105f9f466e
openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage
...
Merges https://github.com/espressif/esp-idf/pull/928
2017-08-30 17:55:00 +10:00
Angus Gratton
ea171a651c
https example: Use correct pattern around mbedtls_ssl_write()
...
mbedtls_ssl_write() will always write the request here in one go,
but it's good to have correct patterns in examples.
2017-08-18 17:15:11 +10:00
Angus Gratton
f4404ae220
https example: Clean up output, print cipher suite & request count
2017-08-18 17:15:11 +10:00
Ivan Grokhotkov
4c01929a1e
examples: fix timezone for China in SNTP example
...
Daylight saving time isn’t observed in China.
Fixes https://github.com/espressif/esp-idf/issues/549
2017-04-28 19:37:14 +08:00
Angus Gratton
fa3120cb40
PPPoS example: Move pin configuration to menuconfig, add log statement
...
Also remove spurious infinite loop in app_main()
2017-04-21 14:29:16 +10:00
Angus Gratton
f3a567b65d
PPPoS: Rearrange config items (move TCP/IP stack size to LWIP), mark as experimental/unsupported
...
Ref #272
2017-04-21 14:23:34 +10:00
Adrian Muzyka
47c722d674
Enable lwip PPPoS support
...
* Fix some lwip api bugs
* Added PPP_SUPPORT parameter to lwip Kconfig
* Added example pppos_client
Merges #272 https://github.com/espressif/esp-idf/pull/272
2017-04-21 14:23:34 +10:00
Ivan Grokhotkov
041754f255
examples: increase stack size in http_request
...
Previously the stack size was 2048 bytes, which caused stack overflow
to be detected after one or two runs of the example.
2017-04-11 19:01:41 +08:00
Ivan Grokhotkov
6b94c32cd6
examples: fix https_request request content
...
Same as 727d884, but for https_request example
2017-04-11 19:01:41 +08:00