Angus Gratton
6cd6423092
kconfig: Don't create "split" directory structures under build/include/config
...
Reported in https://github.com/espressif/esp-idf/issues/3299
If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.
We don't rely on this feature all, so disable it.
2019-09-10 05:52:29 +00:00
Jiang Jiang Jian
9f3f7009c0
Merge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'
...
kconfig: Add -MP option so .d files include empty targets (v3.3)
See merge request espressif/esp-idf!5847
2019-09-08 23:17:29 +08:00
Jiang Jiang Jian
d1e8b4473d
Merge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'
...
tiny-test-fw: support detect exception in IDFDUT (backport v3.3)
See merge request espressif/esp-idf!4542
2019-09-08 23:09:48 +08:00
He Yin Ling
7b39d5e5c5
Apply suggestion to tools/ci/build_examples_cmake.sh
2019-08-26 11:00:46 +08:00
He Yin Ling
d5b0b36758
Apply suggestion to tools/ci/build_examples.sh
2019-08-26 11:00:33 +08:00
He Yin Ling
0a609be968
CI: use parallel attribute in CI config file
2019-08-26 10:46:39 +08:00
Angus Gratton
a3adc6c202
kconfig: Add -MP option so .d files include empty targets
...
Prevents make-level errors when switching IDF versions, as headers may be removed.
Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-21 18:37:42 +10:00
Angus Gratton
ebfa74310c
Merge branch 'bugfix/link_test_components_to_executable_directly' into 'release/v3.3'
...
cmake: link test components to executable directly
See merge request espressif/esp-idf!5739
2019-08-15 14:59:56 +08:00
Angus Gratton
3be1c70d46
Merge branch 'bugfix/cmake_extra_component_dirs_v3.3' into 'release/v3.3'
...
CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS (v3.3)
See merge request espressif/esp-idf!5109
2019-08-12 12:44:19 +08:00
Renz Christian Bagaporo
dbd05d8986
cmake: link test components to executable directly
2019-08-09 15:18:06 +08:00
He Yin Ling
9420c5398f
test: handle exception by unit test script:
...
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-07-23 09:44:28 +00:00
He Yin Ling
31c8be0738
tiny-test-fw: support translate backtrace in IDFDUT
2019-07-23 09:44:28 +00:00
He Yin Ling
cbc438c807
tiny-test-fw: support detect exception in IDFDUT
2019-07-23 09:44:28 +00:00
Renz Christian Bagaporo
d7569b5862
cmake: refactor finding components
2019-07-10 16:50:23 +08:00
Renz Christian Bagaporo
db9979701a
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 16:49:44 +08:00
Renz Christian Bagaporo
f5d33fa889
cmake: set variables set by project call
...
ESP-IDF overrides project() definition for user convenience. This
redefinition lacks setting the variables documented at
the project command documentation
https://cmake.org/cmake/help/v3.5/command/project.html in the parent
scope.
This commit sets those variables.
Closes https://github.com/espressif/esp-idf/issues/3611 .
2019-07-10 11:51:17 +08:00
Anurag Kar
c1fe8ceb83
esp_prov : Minor refactoring in argument dependent logic
...
Other changes:
* Command line argument name and descriptions updated and formatted
* Some exception messages updated for clarity
* READMEs updated for tool and all provisioning examples
* Minor update in example test scripts due to change in esp_prov.get_transport() API
* Transport_Softap renamed to Transport_HTTP
* Transport_HTTP now forces connect on initialization
2019-07-07 12:45:06 +05:30
Anurag Kar
f94db7bba7
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-28 07:49:03 +00:00
Anurag Kar
f7f02c9a43
esp_prov : Support new JSON format of version string while maintaining backward compatibility
...
Other changes:
* Version check only happens if command line argument is specified
* Minor bugfix in processing apply_config response
2019-06-28 07:49:03 +00:00
Angus Gratton
f5ab51c9b7
Merge branch 'bugfix/error_on_unknown_component' into 'release/v3.3'
...
cmake: error out when component is not found (v3.3)
See merge request idf/esp-idf!5299
2019-06-28 15:39:21 +08:00
Sachin Parekh
ae1389afd9
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
92f1d7ae39
ref_clock: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Renz Christian Bagaporo
0af6d8ffe3
cmake: error out when component is not found
...
Closes https://github.com/espressif/esp-idf/issues/3637
2019-06-20 12:10:41 +08:00
Angus Gratton
b816edac3c
Merge branch 'bugfix/idf_py_windows_relpath_v3.3' into 'release/v3.3'
...
idf.py: Fix Windows issue if project and IDF are on different drives (v3.3)
See merge request idf/esp-idf!4731
2019-06-13 13:53:07 +08:00
Angus Gratton
09515bdfde
Merge branch 'fix/mfg_util_3.3' into 'release/v3.3'
...
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags (backport 3.3)
See merge request idf/esp-idf!5045
2019-06-11 10:25:38 +08:00
Angus Gratton
081b623a34
Merge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'
...
Fix false positive errors with CMake example builds (backport v3.3)
See merge request idf/esp-idf!4984
2019-06-11 09:05:42 +08:00
Angus Gratton
871e95087e
Merge branch 'bugfix/restore_ccache_use' into 'release/v3.3'
...
CMake : Restore ccache use (backport v3.3)
See merge request idf/esp-idf!4985
2019-06-11 09:03:54 +08:00
Angus Gratton
a3b3f9ae2d
Merge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'
...
idf.py: Detect symlinks on Windows during fullclean (v3.3)
See merge request idf/esp-idf!4924
2019-06-11 08:26:36 +08:00
Angus Gratton
fb6f343ce5
Merge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.3)
See merge request idf/esp-idf!5017
2019-06-07 07:47:19 +08:00
Angus Gratton
e1069de9aa
Merge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'
...
confserver: Add v2 confserver protocol with separate visibility info (backport v3.3)
See merge request idf/esp-idf!4513
2019-06-07 06:31:41 +08:00
Angus Gratton
8f8113f5cd
idf.py: Fix Windows issue if project and IDF are on different drives
...
Closes https://github.com/espressif/esp-idf/issues/2753
2019-06-06 07:45:47 +00:00
Renz Christian Bagaporo
261c5bf6a8
ci: check that build uses ccache when present
2019-06-04 23:28:02 +08:00
Renz Christian Bagaporo
6132d7bce3
cmake: restore ccache use when present
...
Closes https://github.com/espressif/esp-idf/issues/3116
2019-06-04 23:27:18 +08:00
Anurag Kar
13a3edee8a
protocomm_ble : Example updated to use custom 128bit service UUID
...
Also removed old hardcoded UUIDs from README of esp_prov
2019-06-03 08:26:48 +00:00
Anurag Kar
56866567ae
esp_prov : Runtime discovery of Service UUID and endpoint name mapping
...
List of changes:
* Retrieve UUID property from Bluez device object before connecting to retrieve UUID contained in advertisement
* Read Characteristic User Descriptions attribute of each UUID for mapping endpoint names
* To support older implementations with hardcoded Name-UUID map, revert to fallback mode in order if advertisement data has no UUID field
2019-06-03 08:26:48 +00:00
Shivani Tipnis
cd9249970f
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags
...
(cherry picked from commit 8b96668c9123fbbf8c78b347479215f471b102ed)
2019-05-31 13:55:03 +05:30
Renz Christian Bagaporo
e821c22a8c
ci: check that custom bootloader overrides original
2019-05-27 17:04:23 +08:00
Angus Gratton
8c57aa0242
Merge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release/v3.3'
...
Combine definitions of multiple mapping fragments referring to the same library
See merge request idf/esp-idf!4243
2019-05-20 13:58:25 +08:00
Renz Christian Bagaporo
fc3aa765cf
ci: fix cmake example build fail
2019-05-13 11:58:41 +08:00
Roland Dobai
26e7f3fde6
idf.py: Detect symlinks on Windows during fullclean
...
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-06 09:41:39 +02:00
Renz Christian Bagaporo
1b3c6fb1a1
ldgen: rename common module
2019-04-14 12:48:27 +08:00
Jiang Jiang Jian
f7177095cf
Merge branch 'bugfix/name_conflict_esp32_project_ld_v3.3' into 'release/v3.3'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading (v3.3)
See merge request idf/esp-idf!4732
2019-04-14 10:29:39 +08:00
Angus Gratton
b354c11db7
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
...
Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in
This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.
At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.
As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105
2019-04-09 10:20:33 +10:00
Renz Christian Bagaporo
2f72645320
ldgen: allow combining mapping fragment definitions
2019-04-05 13:12:32 +08:00
Shivani Tipnis
4be28a798f
mfg_util: Add support for comments in input config csv file only
2019-04-04 18:25:03 +05:30
Shivani Tipnis
3368783bf0
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
(cherry picked from commit a88b4048
)
2019-04-04 13:46:39 +05:30
Angus Gratton
1cb29ac446
Merge branch 'feature/nvs_part_util_3.3' into 'release/v3.3'
...
Add support as per encryption and multipage blob changes in NVS Partition Utility (backport v3.3)
See merge request idf/esp-idf!4626
2019-04-02 13:31:57 +08:00
Angus Gratton
7b368fc211
Merge branch 'bugfix/esp_prov_ble_rw_except_backport_v3d3' into 'release/v3.3'
...
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic (backport v3.3)
See merge request idf/esp-idf!4659
2019-04-02 12:20:15 +08:00
Angus Gratton
d5f9eb65e9
Merge branch 'bugfix/ldgen_type_1_fails_on_windows_v3.3' into 'release/v3.3'
...
Fix library path parsing in windows (backport v3.3)
See merge request idf/esp-idf!4609
2019-04-02 11:47:18 +08:00
Anurag Kar
2f26bb2e65
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
...
This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.
2019-04-01 15:43:50 +05:30