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
Shivani Tipnis
4148beca50
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
(cherry picked from commit 60b5cdde20
)
2019-03-26 16:13:15 +05:30
Renz Christian Bagaporo
24a713b3c4
ldgen: fix library path parsing in windows
...
Closes https://github.com/espressif/esp-idf/issues/3173
2019-03-25 10:12:00 +08:00
Angus Gratton
2c91bc7a50
cmake: Set COMPONENT_PATH during early expansion of dependencies
...
Works around bug where components/soc/CMakeLists.txt was testing "EXISTS
${COMPONENT_PATH}/${SOC_NAME}" and this test could pass during early
expansion if COMPONENT_PATH was empty and a directory /esp32 exists
on Windows.
Closes https://github.com/espressif/esp-idf/issues/3195
2019-03-22 10:12:15 +11:00
Angus Gratton
2f2f0fbcbd
confserver: Send an error response if JSON request is malformatted
2019-03-15 17:37:09 +11:00
Angus Gratton
ec4c75b692
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 17:37:09 +11:00
Angus Gratton
90ddbaac16
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 17:37:09 +11:00
KonstantinKondrashov
646c7a7515
tools/test_build_system: Add tests with long IDF_VER
2019-03-14 15:49:16 +08:00
Konstantin Kondrashov
cc7e91e1a3
cmake: Trim IDF_VER to fit a 32-bit field
2019-03-14 15:49:03 +08:00
Angus Gratton
8ff6afd29f
confgen: Fix bug with JSON metadata conditional range generation
...
When generating JSON metadata for ranges where there are conditional ranges (ie different allowed range
depending on another config setting), the JSON metadata would always have the last named range as
the expression was not evaluated properly.
Thanks to ulfalizer on GitHub for pointing this out.
Closes https://github.com/espressif/esp-idf/issues/2195
2019-03-13 16:48:57 +11:00
Renz Christian Bagaporo
5fb1c1ad3e
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-12 17:26:54 +08:00
Renz Christian Bagaporo
d0b2d5ec95
cmake: Fix for Python files executed directly, not via PYTHON variable
...
A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).
Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936
Adds build system test to catch any future direct execution of Python in
the standard build process.
2019-03-12 13:31:44 +08:00
Angus Gratton
de7daa14a9
Merge branch 'bugfix/msys_cancel_idfpy' into 'master'
...
tools: re-run idf.py in MSYS with winpty
Closes #67
See merge request idf/esp-idf!4341
2019-03-11 12:27:36 +08:00
He Yin Ling
1a9f019d2a
unit-test-app: increase factory partition size
2019-03-10 06:21:37 +00:00
He Yin Ling
323a790f01
test: fix CI UT job pass even ut app bootup fail
2019-03-10 06:21:37 +00:00
Roland Dobai
ef250ced1b
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-07 14:47:19 +01:00
Ivan Grokhotkov
5f3bd38d3d
Merge branch 'bugfix/cmakeSpaceProcessForCOMPONENT_SRCS' into 'master'
...
add spaces2list for COMPONENT_SRCS
See merge request idf/esp-idf!4427
2019-03-07 15:11:51 +08:00
morris
9297b07a97
cmake: add spaces2list for COMPONENT_SRCS
...
According to ESP-IDF Cmake build system document, COMPONENT_SRCS should support using spaces to sperate source files.
Closes https://github.com/espressif/esp-idf/issues/3130
2019-03-06 20:55:38 +08:00
Anton Maklakov
88ec05cba2
ci: Fix the parsing of submodule paths
2019-03-06 19:37:34 +08:00
Konstantin Kondrashov
b8141f3ad8
efuse: Fix make/cmake build systems and docs
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
91676b8620
build_system: Add support efuse
2019-02-28 07:31:29 +00:00
Angus Gratton
fab11e1cec
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'
...
cmake: Fix psram workaround compiler flag application
See merge request idf/esp-idf!4335
2019-02-27 13:20:21 +08:00
Ivan Grokhotkov
1bc831f074
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'
...
esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test
See merge request idf/esp-idf!4340
2019-02-27 11:08:53 +08:00
Angus Gratton
da390618c2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-02-26 04:07:51 +00:00
Ivan Grokhotkov
d3724dc35d
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
Roland Dobai
7c959904b5
tools: Test IDF Monitor after it is ready to receive data
2019-02-25 10:35:09 +01:00
Ivan Grokhotkov
1aa8e8d38e
Merge branch 'bugfix/make_extra_component_dirs' into 'master'
...
make: fix issues related to EXTRA_COMPONENT_DIRS
See merge request idf/esp-idf!4253
2019-02-22 16:00:31 +08:00
Ivan Grokhotkov
6e88822807
Merge branch 'bugfix/kconfig_flex_arg' into 'master'
...
kconfig: fix compatibility with very old versions of flex
See merge request idf/esp-idf!4263
2019-02-22 15:49:11 +08:00
Renz Christian Bagaporo
24284b3afd
ldgen: remove resolution of template includes
2019-02-22 08:25:56 +08:00
Angus Gratton
5b182eefc1
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'
...
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
See merge request idf/esp-idf!4152
2019-02-19 13:28:10 +08:00
Anurag Kar
a1d37c833c
protocomm : version endpoint behavior simplified
...
List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.
2019-02-15 10:45:34 +00:00
Angus Gratton
1867da48af
Merge branch 'bugfix/cmake_unit_test_fail' into 'master'
...
Use flasher_args.json for flashing CMake CI unit test
See merge request idf/esp-idf!4225
2019-02-15 08:55:14 +08:00
Renz Christian Bagaporo
50e860fe8c
ci: test relink on template included file change
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
acd0be8239
cmake,make: add dependencies on template included scripts
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
022a1da4e9
ldgen: create python script to find linker script includes
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
bb552dd19c
ci: use flasher_args.json for cmake ci run
2019-02-14 08:33:46 +00:00
Renz Christian Bagaporo
c6b07eec54
ci: copy flasher_args.json to unit test output folder
2019-02-14 08:33:46 +00:00
Ivan Grokhotkov
fed0f846a4
kconfig: fix compatibility with very old versions of flex
...
See 4e762e4918
Closes https://github.com/espressif/esp-idf/issues/2703
2019-02-14 11:17:48 +08:00
Ivan Grokhotkov
7df598a062
make: fix issues related to EXTRA_COMPONENT_DIRS
...
1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.
For example:
main/
component.mk
main.c
test/
component.mk
test_main.c
Would compile test_main.c and link libtest.a.
2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.
For example:
esp/
esp-idf/
esp32/
(random stuff)
mycomponent/
component.mk
mycomponent.c
myproject/
main/
Makefile
and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.
3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.
For example:
my_components/
my_component/
component.mk
my_component.c
esp32/
(some random stuff)
and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.
2019-02-13 16:34:50 +08:00
Roland Dobai
80cb4a1a18
tools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors
...
Closes https://github.com/espressif/esp-idf/issues/3012
2019-02-01 11:33:41 +01:00
Roland Dobai
bcd584a63f
tools: check for incorrect case used in Kconfig filenames
2019-02-01 11:33:41 +01:00
Roland Dobai
d1dd3ab0d3
tools: Recognize backslashes in Kconfigs with CR+LF line endings
2019-02-01 11:33:41 +01:00
Ivan Grokhotkov
58b5394266
Merge branch 'bugfix/git_describe_always_for_cmake' into 'master'
...
tools: Add --always option to git describe for Cmake
See merge request idf/esp-idf!4107
2019-01-30 17:48:11 +08:00
Angus Gratton
0a2b54d2e3
Merge branch 'bugfix/correct_kconfigs' into 'master'
...
Correct Kconfigs according to the coding style
See merge request idf/esp-idf!4172
2019-01-30 09:24:22 +08:00
Angus Gratton
6b80955ac7
Merge branch 'update/esptool_repo_sync' into 'master'
...
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
See merge request idf/esp-idf!4194
2019-01-30 09:21:59 +08:00
Roland Dobai
4d156fd734
tools: replace absolute URLs in Kconfig docs
2019-01-29 16:27:02 +01:00
Angus Gratton
a672e4f44b
Merge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'
...
Disable warnings on redundant config merge
See merge request idf/esp-idf!4168
2019-01-29 22:03:05 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Angus Gratton
392e820c5e
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
2019-01-29 15:06:11 +11:00
Renz Christian Bagaporo
00e53f447a
confgen: disable config override warnings
2019-01-29 11:17:02 +08:00
Renz Christian Bagaporo
178bbfad43
kconfiglib: allow disabling of config override warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.
2019-01-29 11:16:25 +08:00
Renz Christian Bagaporo
5a4fe0bac8
confgen: disable redundant assignment warning
2019-01-25 18:35:58 +08:00
Renz Christian Bagaporo
d6b5f43ea0
kconfiglib: allow disabling of redundant definition warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.
2019-01-25 18:35:58 +08:00
KonstantinKondrashov
3d1e064e1a
tools: Add unit tests
2019-01-24 12:13:38 +08:00
KonstantinKondrashov
187f9945bc
tools: Add --always option to git describe for Cmake
...
Fixed differences in getting of the project version for Make and Cmake.
2019-01-24 12:06:55 +08:00
Angus Gratton
58acac883d
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
...
Fix issues with regenerating sdkconfig on modification
Closes #58
See merge request idf/esp-idf!4115
2019-01-24 11:56:52 +08:00
Angus Gratton
7f307423c1
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
...
Works around bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
Also moves all related functionality to newlib component.
2019-01-24 11:30:05 +08:00
Ivan Grokhotkov
07645955a2
Merge branch 'bugfix/bootloader_map_size' into 'master'
...
bootloader: fix incorrect mapping size
See merge request idf/esp-idf!3175
2019-01-23 16:56:58 +08:00
Ivan Grokhotkov
b65a088791
tinyfw: update to support new esptool argument
2019-01-22 18:40:25 +08:00
Sagar Bijwe
05220d9cda
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
...
When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.
2019-01-21 17:02:31 +05:30
KonstantinKondrashov
bf925869fe
tool: Add unit test for Kconfig gen
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
08f472ad1e
cmake: only generate sdkconfig on top level project
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
61329f60c3
confgen: base config creation on output type args
2019-01-16 08:16:09 +08:00
Ivan Grokhotkov
1ad8b96fed
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'
...
MQTT tests: connect to local broker when running in CI to make the tests more reliable
See merge request idf/esp-idf!3926
2019-01-14 16:29:43 +08:00
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
He Yin Ling
431653bba8
unit-test: fix 2 issues in unit test script:
...
1. Gitlab will only regard failure (not error) as failed case. Use log
failure instead of log error, to display all error msg in test result
2. fix failed case not recognized by test script when failed during
reset DUT
2019-01-10 09:51:17 +00:00
He Yin Ling
783cb692e8
unit-test-app: support passing parameter with signals
2019-01-10 09:51:17 +00:00
Sergei Silnov
0f61930872
python: Add check if current python is inside virtual environment
2019-01-08 12:21:33 +01:00
Angus Gratton
3c94b6e10a
Merge branch 'test/fix_failed_to_download_in_example_test' into 'master'
...
test: fix failed to download in example test
See merge request idf/esp-idf!4061
2019-01-03 15:14:22 +08:00
He Yin Ling
1c54630eaa
test: fix failed to download in example test:
...
1. example test uses auto detect flash size. we need to call
`detect_flash_size` before write flash
2. fix incorrect baudrate used: when using WROVER-Kits, it's likely that download with baudrate 921600
will fail. If we don't reset serial setting in decorator, 921600 will
become the default baudrate. This causes all the subsequent
communication fails
3. do hw reset after used esptool function
2019-01-02 20:49:03 +08:00
Roland Dobai
aca6e7b66a
tools: Be more helpful to MSYS32 users with package installation
2019-01-02 07:53:57 +01:00
Angus Gratton
6578673ed4
Merge branch 'feature/esp_platform_cmake_pr2601' into 'master'
...
cmake: Add ESP_PLATFORM in CMake build (PR 2601)
See merge request idf/esp-idf!3823
2019-01-02 14:03:52 +08:00
Renz Christian Bagaporo
50fa7c5a89
cmake: fix unable to start confserver on windows
2018-12-23 19:52:58 +08:00
Angus Gratton
849088d467
cmake: Add ESP_PLATFORM in idf_set_variables() as well
...
(Handles case where idf.py is not being used.)
Ref https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Per Malmberg
25333b59c2
Add ESP_PLATFORM to build environment.
...
Merges https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Ivan Grokhotkov
88dc626fd7
Merge branch 'feature/example_defconfig_ci' into 'master'
...
ci, examples: use sdkconfig.ci as an extra defaults file, if present
See merge request idf/esp-idf!3934
2018-12-21 12:14:57 +08:00
Angus Gratton
16854e1f40
Merge branch 'bugfix/cmake_list_component_config_alphabetically' into 'master'
...
List menuconfig component config items alphabetically via component name
See merge request idf/esp-idf!3939
2018-12-21 07:50:31 +08:00
Angus Gratton
78487123bf
Merge branch 'feature/cut_len_for_header_struct' into 'master'
...
build: Add trimming PROJECT_VER and PROJECT_NAME vars
See merge request idf/esp-idf!3927
2018-12-21 07:45:22 +08:00
Roland Dobai
0ad452e7b7
ci: Multi-device tests cannot run under Python 3
2018-12-20 12:44:33 +01:00
Roland Dobai
4ca2b149e5
examples, tools: Fix Python3 deprecation warning for the imp module
2018-12-20 12:44:33 +01:00
Renz Christian Bagaporo
16c88bf320
cmake: list items in component config via alphabetical component name
2018-12-20 19:08:00 +08:00
Angus Gratton
7b13308549
Merge branch 'feature/pystyle_tools' into 'master'
...
tools: Fix the Python coding style
See merge request idf/esp-idf!3901
2018-12-20 10:36:01 +08:00
Angus Gratton
ee7b660163
Merge branch 'bugfix/windows_install_prerequisites_idf_path' into 'master'
...
windows_install_prerequisites: Fix bug if IDF_PATH is not set
See merge request idf/esp-idf!3874
2018-12-20 09:19:03 +08:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Konstantin Kondrashov
7b68e346fa
build: Fix a warning from git describe
...
Fixed a fatal message when run `git describe`.
2018-12-18 15:58:22 +08:00
Angus Gratton
b3249d56f3
unit tests: Fix retrying with a new baud rate in IDFDUT.start_app()
2018-12-18 14:09:29 +11:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
Angus Gratton
0a27cfa850
unit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH
2018-12-18 14:09:05 +11:00
Angus Gratton
972cf1b416
Merge branch 'bugfix/ldgen_make_build_regression' into 'master'
...
Fix 'command not found' error when building on linux with make
See merge request idf/esp-idf!3977
2018-12-18 06:41:23 +08:00
Renz Christian Bagaporo
911d2352ac
ci: detect command not found build errors
2018-12-17 14:04:49 +08:00
Angus Gratton
480fb72b46
Merge branch 'bugfix/prov_example_tests' into 'master'
...
Fix provisioning example tests
See merge request idf/esp-idf!3667
2018-12-17 13:06:44 +08:00
Ivan Grokhotkov
da2116f55c
Merge branch 'bugfix/build_system_test_fixes_windows' into 'master'
...
Various fixes for build tests on Windows
See merge request idf/esp-idf!3944
2018-12-14 20:19:51 +08:00
Renz Christian Bagaporo
5d6e21795b
tools: fix makefile converter windows path issue
2018-12-13 18:20:51 +08:00
Renz Christian Bagaporo
5511541d20
ci: fix build test with IDF_PATH unset on Windows
2018-12-13 18:20:51 +08:00
Jiang Jiang Jian
d75ab3208f
Merge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'
...
test: add case to detect ds2ds issue
See merge request idf/esp-idf!3834
2018-12-13 14:49:30 +08:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anton Maklakov
240c343805
cmake: Put a variable to the cache to have access one in other cmake files
2018-12-13 12:29:27 +08:00
Roland Dobai
b0a43f07d9
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-12 08:22:45 +01:00
Konstantin Kondrashov
c0f5e58bdc
build: Add trimming PROJECT_VER and PROJECT_NAME vars
2018-12-11 11:23:53 +08:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
Anton Maklakov
0652a4b714
ci: Use more pedantic checking for examples and ut
2018-12-10 12:34:16 +08:00
Anton Maklakov
ac18b1024a
cmake: Add support for EXTRA_CFLAGS and EXTRA_CXXFLAGS
2018-12-10 12:34:16 +08:00
Anton Maklakov
812a49bd0d
Merge branch 'bugfix/shell_exit' into 'master'
...
scripts: Fix shell exit
See merge request idf/esp-idf!3908
2018-12-07 00:49:52 +08:00
Angus Gratton
8c7a6be627
Merge branch 'bugfix/ldgen_make_escaping' into 'master'
...
make/ldgen: Fix generation of ldgen.section_infos file when shell is bash
See merge request idf/esp-idf!3893
2018-12-06 13:27:36 +08:00
Angus Gratton
54532c6189
build example tests: Use portable "sed -i" form
2018-12-06 15:28:18 +11:00
Angus Gratton
ff71ea9202
Merge branch 'bugfix/win_path_print' into 'master'
...
tools: correct printed path on MS Win
See merge request idf/esp-idf!3853
2018-12-06 07:18:32 +08:00
Anton Maklakov
34109c4171
scripts: Fix shell exit. Really exit from current process, not from child process
2018-12-05 21:25:16 +08:00
Angus Gratton
9f8587360c
ldgen: Fix crash if --sections argument not supplied
2018-12-05 18:29:28 +11:00
Roland Dobai
4749b118bc
tools: fix idf.py monitor for MSYS
2018-12-05 07:52:25 +01:00
Angus Gratton
d50af8bd53
Merge branch 'bugfix/no_tests_for_unit_test_example' into 'master'
...
cmake: fix error in converting project variables to namespaced ones
See merge request idf/esp-idf!3887
2018-12-05 12:58:42 +08:00
Angus Gratton
36be9b36dd
Merge branch 'bugfix/fix_menuconfig_for_windows' into 'master'
...
Fix various errors for menuconfig on Windows
Closes #50
See merge request idf/esp-idf!3848
2018-12-05 11:34:49 +08:00
Ivan Grokhotkov
8a7b46aa90
Merge branch 'feature/anti_rollback_exp' into 'master'
...
esp32: Add firmware version to app
See merge request idf/esp-idf!3461
2018-12-05 11:10:04 +08:00
Renz Christian Bagaporo
b11238df4d
ci: add test for setting EXTRA_COMPONENT_DIRS
2018-12-05 10:51:10 +08:00
Renz Christian Bagaporo
0d5660fbde
cmake: fix error in converting project variables to namespaced ones
...
Closes https://github.com/espressif/esp-idf/issues/2764
2018-12-05 10:51:10 +08:00
Renz Christian Bagaporo
50d7067391
cmake: fix mconf path for existing mconf
...
Fixes https://github.com/espressif/esp-idf/issues/2771
Fixes https://github.com/espressif/esp-idf/issues/2722
2018-12-05 07:54:59 +08:00
Angus Gratton
2b557523ba
Merge branch 'bugfix/generic_cmake_gc_sections' into 'master'
...
generic cmake: Always use gc-sections when linking IDF libraries
See merge request idf/esp-idf!3873
2018-12-04 11:01:51 +08:00
Angus Gratton
2946b5f384
Merge branch 'bugfix/ldgen_cmd_args_too_long' into 'master'
...
Fix issue with generating linker script using Windows command line
See merge request idf/esp-idf!3865
2018-12-04 10:42:58 +08:00
Angus Gratton
4c8c88af22
windows_install_prerequisites: Fix bug if IDF_PATH is not set
...
if IDF_PATH is empty, [ -n ] test passes needs to be [ -n "" ]
Closes https://github.com/espressif/esp-idf/issues/2769
TW27714
2018-12-04 11:02:49 +11:00
Angus Gratton
89826e8f47
generic cmake: Always use gc-sections when linking IDF libraries
...
Required for some IDF binary libraries
Reported on forum: https://esp32.com/viewtopic.php?f=13&t=7535&p=34863#p34852
TW27733
2018-12-04 10:47:00 +11:00
Konstantin Kondrashov
3b9cb25fe1
esp32: Add firmware version to app
...
Added a new structure esp_app_desc_t. It has info about firmware:
version, secure_version, project_name, time/date build and IDF version.
Added the ability to add a custom structure with a description of the firmware.
The esp_app_desc_t is located in fixed place in start of ROM secotor. It is located after structures esp_image_header_t and esp_image_segment_header_t.
app_version is filed from PROJECT_VER variable (if set in custom make file) or PROJECT_PATH/version.txt or git repo (git describe).
Add API to get app_desc from partition.
2018-12-03 16:52:04 +08:00
Renz Christian Bagaporo
a7a1c32a8e
cmake, make: fix long cmd line args for ldgen
2018-12-03 12:26:38 +08:00
Angus Gratton
554cf77963
Merge branch 'bugfix/convert_to_cmake' into 'master'
...
Fix minor issue with convert_to_cmake script
See merge request idf/esp-idf!3666
2018-12-03 11:39:12 +08:00
Roland Dobai
f7281c75c7
tools: correct the coding style of check_python_dependencies.py
2018-11-30 13:43:28 +01:00