Angus Gratton
580cfeaaae
idf.py: Print flashing steps at the end of each build
2018-05-29 16:34:45 +10:00
Angus Gratton
955e84a3bc
docs: Add some clarifications for Mac OS users
2018-05-29 16:34:45 +10:00
Angus Gratton
f6cd55d2ac
config: Rename mconf to mconf-idf & conf to conf-idf
...
These versions of conf/mconf are forked from the upstream, and the CMake system allows mconf-idf to
be installed externally on the path. So the best option is to rename.
Includes changes to Windows installer for v1.1
2018-05-29 16:34:45 +10:00
Angus Gratton
11980a9ad4
docs: Add port argument to idf.py monitor
2018-05-29 16:34:45 +10:00
Angus Gratton
6cc5971516
docs: Add some clarification about ~/.profile
2018-05-29 16:34:45 +10:00
Angus Gratton
61aff5162c
mconf: Don't print a recommendation to use 'make' if CMake build system is in use
...
Also add some cmake dependencies to rebuild mconf if its source files change.
2018-05-29 16:34:45 +10:00
Angus Gratton
8cf82be917
esp32: Component needs public dependency on tcpip_adapter
...
Because of esp_event.h
Closes https://github.com/espressif/esp-idf/issues/1954
2018-05-29 16:34:45 +10:00
Nicola Lunghi
ed1f4e50df
cmakelists: move spi_flash to COMPONENT_REQUIRES
...
in the include file esp_ota_ops.h "esp_partition.h" is included.
This is from spi_flash so component that requires app_update also will need that
this fixes this error:
In file included from ../components/esp32-homie/ota.c:11:0:
/esp-idf/components/app_update/include/esp_ota_ops.h:22:27: fatal error: esp_partition.h: No such file or directory
Signed-off-by: Nicola Lunghi <25422924+nicola-lunghi@users.noreply.github.com>
Merges https://github.com/espressif/esp-idf/pull/1947
2018-05-29 16:34:45 +10:00
Angus Gratton
be4956fe7c
docs: Add some tips about setting the Python interpreter, and a specific check in idf.py
...
Don't show the "Python 2 interpreter" option in menuconfig when using CMake.
This is a stop-gap until we support Python 2 & 3 together in ESP-IDF (soon).
Closes https://github.com/espressif/esp-idf/issues/1924
2018-05-29 16:34:45 +10:00
Angus Gratton
a1fac97f1a
cmake: Fix set_default using value from environment
...
Fixes issue with idf.py passing through Python interpreter, as reported in
https://github.com/espressif/esp-idf/issues/1924
2018-05-29 16:34:45 +10:00
Angus Gratton
979568fa0b
docs: Separate "build and flash" into building then flashing
...
Explains idf.py build as mentioned here: https://github.com/espressif/esp-idf/issues/1906#issuecomment-387557050
2018-05-29 16:34:45 +10:00
Angus Gratton
f07c1ca94f
docs: Fix some Windows Command Prompt paths
...
Reported in https://github.com/espressif/esp-idf/issues/1906
2018-05-29 16:34:45 +10:00
Angus Gratton
cc104eb05b
cmake: Add sdkconfig.h directory to include paths list not just compiler args
...
Also move into 'build/config/' subdir, remove creation of empty include/config dir.
2018-05-29 16:34:45 +10:00
Angus Gratton
2f4079ebb2
cmake: Hide serial port settings in menuconfig when using cmake
2018-05-29 16:34:45 +10:00
Angus Gratton
829e6c44f1
cmake docs: Specify feature/cmake branch when cloning from Github
...
As mentioned here https://github.com/espressif/esp-idf/issues/1906#issuecomment-387377493
2018-05-08 22:05:43 +08:00
Angus Gratton
81e48ca31f
Merge branch 'cmake/docs' into 'feature/cmake'
...
cmake preview: Update docs
See merge request idf/esp-idf!2348
2018-05-08 17:54:39 +08:00
Angus Gratton
526496ba20
ci: Allow bot to control branch used for esp-idf-template
2018-05-08 14:44:25 +08:00
Angus Gratton
6f31674b28
cmake: Add ESPORT/ESPBAUD environment variables to idf.py & docs
2018-05-07 18:45:49 +08:00
Angus Gratton
b7ddb0c3d3
Revert "docs: Temporarily allow cmake docs to be in English only"
...
This reverts commit d5a5897140
.
2018-05-07 18:45:49 +08:00
Angus Gratton
c7f19e76d7
docs: Move main docs to cover CMake
...
Add "GNU Make build system" doc with "cheat sheet" for moving to new system
2018-05-07 18:45:49 +08:00
Angus Gratton
8453806a8c
idf.py: Fix 'idf.py monitor' build & flash targets
2018-05-04 16:05:25 +10:00
Angus Gratton
48c3ad37f1
docs/cmake: Add some notes about need to set IDF_PATH and/or PATH in certain configurations
2018-05-01 17:27:39 +10:00
Angus Gratton
9ec14decce
cmake: Fix idf_size.py merge errors
2018-05-01 17:27:39 +10:00
Angus Gratton
68282cf80b
heap/cmake: Fix linking error when heap tracing is enabled
2018-05-01 17:27:39 +10:00
Angus Gratton
2fadf8a000
cmake docs: Fix variable expansion when adding tools dir to PATH
2018-05-01 17:27:39 +10:00
Angus Gratton
c7307de63e
cmake: Automatically pull in winpty for menuconfig, monitor if needed
2018-05-01 17:27:39 +10:00
Angus Gratton
c42b791aaa
cmake: Use prebuilt mconf on Windows
...
Closes https://github.com/espressif/esp-idf/issues/1905
2018-05-01 17:27:39 +10:00
Angus Gratton
f6db61e4f4
cmake docs: Fix Windows tools installer download URL
2018-04-30 15:44:05 +10:00
Angus Gratton
918c4b4c48
Temporarily add feature/cmake to the list of branches we auto-push to github
2018-04-30 10:18:33 +10:00
Angus Gratton
d5a5897140
docs: Temporarily allow cmake docs to be in English only
2018-04-30 10:18:33 +10:00
Angus Gratton
99e02d4e42
windows: New ESP-IDF Tools Installer
...
Working on 64-bit Windows only due to Ninja binary.
2018-04-30 10:18:33 +10:00
Angus Gratton
381be65472
cmake: Build all examples in CI
...
Includes some fixes for compile errors/warnings in examples.
2018-04-30 10:18:33 +10:00
Angus Gratton
858b95a924
cmake: Add build system tests
2018-04-30 09:59:20 +10:00
Angus Gratton
1cb5712463
cmake: Add component dependency support
...
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
2018-04-30 09:59:20 +10:00
Angus Gratton
4a2f1f0354
esptool: Add note that ESPTOOLPY_PORT & ESPTOOLPY_BAUD are ignored when using idf.py
2018-04-30 09:59:20 +10:00
Angus Gratton
56902f0054
cmake: Write configuration & component metadata to project_description.json
2018-04-30 09:59:20 +10:00
Angus Gratton
f1d3bfc0c7
cmake: Add new flasher_args.json file for IDE parsing, document metadata files better
2018-04-30 09:59:20 +10:00
Angus Gratton
2a3e2b8eed
doc: Use confgen.py to build docs from same code path as config generation
2018-04-30 09:59:20 +10:00
Angus Gratton
b44c8b125f
cmake: Style cleanup, add cmake linter to gitlab CI
2018-04-30 09:59:20 +10:00
Angus Gratton
2ea359ad0c
cmake: Cleanups to work with Windows
2018-04-30 09:59:20 +10:00
Angus Gratton
6bdc49b6e4
cmake: set CCACHE_BASEDIR & CCACHE_NOHASHDIR when using ccache
...
Dramatically improves build performance when building multiple
projects in different directories.
2018-04-30 09:59:20 +10:00
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
9d88d13f77
cmake: convert_to_cmake.py script for converting IDF GNU Make projects
2018-04-30 09:59:20 +10:00
Angus Gratton
2816cf1d67
cmake: Change data_file_to_c to data_file_embed_asm for objcopy compatibility
...
Now generates _binary_filename_start / _binary_filename_end as well as more useful naming.
2018-04-30 09:59:20 +10:00
Angus Gratton
b57843b66a
cmake: Linker scripts need to account for .c.obj extension as well as .o
2018-04-30 09:59:20 +10:00
Angus Gratton
12be399762
cmake: Add link-time dependencies for linker script files
...
Requires some hackery around limitations in CMake's LINK_DEPENDS
2018-04-30 09:59:20 +10:00
Angus Gratton
bc1693aae3
cmake: Fix SPIRAM options
2018-04-30 09:59:20 +10:00
Angus Gratton
88df8fd293
cmake: Use cmake_lint project, tidy up all CMake source files
2018-04-30 09:59:20 +10:00
Angus Gratton
15d5e88618
cmake: Automatically include ccache if it's on the path
2018-04-30 09:59:20 +10:00
Angus Gratton
9f8cdd3572
cmake: Add "Preview release" getting start guide & build system documentation
2018-04-30 09:59:20 +10:00