]>
granicus.if.org Git - esp-idf/log
Liu Zhi Fu [Sat, 19 Nov 2016 07:14:37 +0000 (15:14 +0800)]
lwip: fix CI build issue
Liu Zhi Fu [Sat, 19 Nov 2016 06:57:42 +0000 (14:57 +0800)]
lwip: fix socket memory leak issue
1. Add socket memory leak debug counter
2. Fix TCP PCB leak issue
Ivan Grokhotkov [Fri, 18 Nov 2016 12:56:54 +0000 (20:56 +0800)]
Merge branch 'feature/save_logs_to_test_report' into 'master'
save logs as test_report artifacts
save all logs as test report artifacts.
Testers only need to download artifacts for test report to analysis test result.
See merge request !217
Ivan Grokhotkov [Fri, 18 Nov 2016 12:46:03 +0000 (20:46 +0800)]
Merge branch 'feature/phy_init' into 'master'
PHY init support
This change set adds PHY init support and fixes NVS initialization.
Some configuration options for PHY init process are added to menuconfig.
See merge request !206
Ivan Grokhotkov [Fri, 18 Nov 2016 12:34:54 +0000 (20:34 +0800)]
docs: update partition tables documentation
Ivan Grokhotkov [Fri, 18 Nov 2016 11:17:13 +0000 (19:17 +0800)]
nvs, spi_flash: handle case when source data is in DROM
Ivan Grokhotkov [Thu, 17 Nov 2016 17:18:39 +0000 (01:18 +0800)]
phy_init: reduce the amount of hardwired logic, add coexist init
Angus Gratton [Wed, 16 Nov 2016 01:22:32 +0000 (12:22 +1100)]
phy init data: Read PHY init data partition offset from menuconfig
Ivan Grokhotkov [Tue, 15 Nov 2016 10:36:18 +0000 (18:36 +0800)]
add PHY init support
Ivan Grokhotkov [Tue, 15 Nov 2016 10:35:10 +0000 (18:35 +0800)]
partition_table: update layouts, remove unused subtypes, sync with header file
Ivan Grokhotkov [Tue, 15 Nov 2016 10:24:56 +0000 (18:24 +0800)]
nvs: allow nvs_flash_init to be called more than once
Also don’t assert in nvs_* functions if nvs_flash_init wasn’t called,
and make nvs_flash_init_custom an internal API for unit tests.
Ivan Grokhotkov [Tue, 15 Nov 2016 10:23:29 +0000 (18:23 +0800)]
nvs: initialize using layout from partition table
Wu Jian Gang [Fri, 18 Nov 2016 07:50:50 +0000 (15:50 +0800)]
Merge branch 'feature/openssl' into 'master'
OpenSSL API examples
add openssl demo
See merge request !198
Dong Heng [Fri, 18 Nov 2016 02:07:34 +0000 (10:07 +0800)]
components/openssl_demo: remove the apache license header and add cc license head
Wu Jian Gang [Thu, 17 Nov 2016 13:03:45 +0000 (21:03 +0800)]
Merge branch 'bugfix/taskwdt' into 'master'
taskwdt fixes: better handling of empty/emptying wdt task list, lock task struct while feeding
As in description.
See merge request !212
Jeroen Domburg [Thu, 17 Nov 2016 12:21:12 +0000 (20:21 +0800)]
Merge with master; merge Doxygen config
Ivan Grokhotkov [Thu, 17 Nov 2016 11:00:03 +0000 (19:00 +0800)]
Merge branch 'feature/docs_general_notes' into 'master'
Docs: new documentation and warnings cleanup
This change set
- adds a high-level description of application startup flow. Some parts are missing, but hopefully we can use this description as a base to expand on.
- adds a few notes about memory regions and their use in ESP-IDF.
- add SPI flash and partition APIs page
- fixes all Doxygen warnings in header files
- enables build failures on new Doxygen warnings
See merge request !201
Jeroen Domburg [Thu, 17 Nov 2016 10:05:47 +0000 (18:05 +0800)]
Make sure task wdt also does the right thing when triggered when flash is disabled
Angus Gratton [Thu, 17 Nov 2016 09:42:03 +0000 (17:42 +0800)]
Merge branch 'bugfix/secure_boot_fixes' into 'master'
Secure boot related fixes
Fix some issues (mostly build system) from the secure boot implementation
Also refactor the way submodule checks are applied to make them more reliable.
See merge request !207
Yinling [Thu, 17 Nov 2016 05:45:53 +0000 (13:45 +0800)]
save logs as test_report artifacts
Wu Jian Gang [Thu, 17 Nov 2016 04:46:48 +0000 (12:46 +0800)]
Merge branch 'bugfix/tw8706_softap_join_ap_return_wrong' into 'master'
esp32: tw8706 softap join ap return wrong code
In softap/null mode, esp_wifi_connect will return ESP_ERR_WIFI_MODE
See merge request !216
Jeroen Domburg [Thu, 17 Nov 2016 04:33:31 +0000 (12:33 +0800)]
Add docs build artifacts to gitignore
Jeroen Domburg [Thu, 17 Nov 2016 04:09:08 +0000 (12:09 +0800)]
Add documentation
Liu Zhi Fu [Thu, 17 Nov 2016 03:56:22 +0000 (11:56 +0800)]
esp32: tw8706 softap join ap return wrong code
In softap/null mode, esp_wifi_connect will return ESP_ERR_WIFI_MODE
Wu Jian Gang [Thu, 17 Nov 2016 03:53:41 +0000 (11:53 +0800)]
Merge branch 'bugfix/tw8746_restore_cause_load_fail' into 'master'
nvs_flash: adjust the nvs_flash start sector number
Modify the nvs flash start sector from 6 to 9 because the partition table bin burn address is modified from 0x4000 to 0x8000
See merge request !215
Wu Jian Gang [Thu, 17 Nov 2016 03:52:39 +0000 (11:52 +0800)]
Merge branch 'feature/tw8743_menuconfig_add_L2toL3_copy_option' into 'master'
lwip: add option to memcopy packet from L2 to L3
Menuconfig add an option to copy the packet from layer2 (WIFI driver) to layer3 (LWIP), default not copy
See merge request !211
Liu Zhi Fu [Thu, 17 Nov 2016 03:44:39 +0000 (11:44 +0800)]
docs/nvs_flash: update the nvs flash offset comment according review
Angus Gratton [Thu, 17 Nov 2016 03:35:06 +0000 (11:35 +0800)]
Merge branch 'doc/pr65_openocd_clone' into 'master'
Simplified "Installing OpenOCD" with git clone --recursive
Github pull request #65
See merge request !213
Angus Gratton [Wed, 16 Nov 2016 07:03:55 +0000 (18:03 +1100)]
build system: Use correct objcopy arguments for object format
Avoid ambiguous argument error on some platforms
Ref internal discussion !198
squash! build system: Use correct objcopy --input-target argument not --input
Liu Zhi Fu [Thu, 17 Nov 2016 03:22:20 +0000 (11:22 +0800)]
nvs_flash: adjust the nvs_flash start sector number
Modify the nvs flash start sector from 6 to 9
Liu Zhi Fu [Thu, 17 Nov 2016 02:53:00 +0000 (10:53 +0800)]
lwip: default ESP_L2_TO_L3_COPY to 0
Liu Zhi Fu [Thu, 17 Nov 2016 02:22:20 +0000 (10:22 +0800)]
lwip:refractor to the description about this menuconfig option
Benjamin Vernoux [Fri, 28 Oct 2016 20:25:14 +0000 (22:25 +0200)]
Simplified "Installing OpenOCD" with git clone --recursive
Angus Gratton [Wed, 16 Nov 2016 00:45:39 +0000 (11:45 +1100)]
build system: When embedding binary files, fix re-generating on partial builds
When embedding a generated file (ie secure boot public key data), the
file was being re-generated each time.
Angus Gratton [Wed, 16 Nov 2016 00:18:40 +0000 (11:18 +1100)]
micro-ecc: Add submodule dependency
Closes github #100
Angus Gratton [Wed, 16 Nov 2016 00:12:48 +0000 (11:12 +1100)]
build system: Refactor SubmoduleCheck to work project-wide
Required at project level because some components use header files in
other components' submodules, and one component with a
submodule (esptool.py) doesn't have or need a component.mk.
Angus Gratton [Tue, 15 Nov 2016 23:35:47 +0000 (10:35 +1100)]
build system: Fix embedding files which are themselves generated by the
build system
Used by secure boot, which generates the secure boot signing key inside build/.
Angus Gratton [Wed, 16 Nov 2016 22:09:06 +0000 (06:09 +0800)]
Merge branch 'bugfix/example_warning_cleanup' into 'master'
Example cleanup, raise warning level
See merge request !209
Angus Gratton [Wed, 16 Nov 2016 21:59:44 +0000 (08:59 +1100)]
Merge branch 'master' into bugfix/example_warning_cleanup
Ivan Grokhotkov [Tue, 15 Nov 2016 17:35:09 +0000 (01:35 +0800)]
docs: fix Doxygen warnings, fail CI build on Doxygen warnings
Ivan Grokhotkov [Wed, 16 Nov 2016 13:33:04 +0000 (21:33 +0800)]
docs: fix broken links, formatting, add SPI flash and partition APIs
Ivan Grokhotkov [Mon, 14 Nov 2016 07:40:54 +0000 (15:40 +0800)]
docs: add description of ESP-IDF application startup flow and memory layout
Liu Zhi Fu [Wed, 16 Nov 2016 13:11:17 +0000 (21:11 +0800)]
lwip: modify menuconfig comments according to review
Jeroen Domburg [Wed, 16 Nov 2016 09:53:50 +0000 (17:53 +0800)]
taskwdt fixes: better handling of empty/emptying wdt task list, lock task struct while feeding
Wang Jia Lin [Wed, 16 Nov 2016 09:23:08 +0000 (17:23 +0800)]
Merge branch 'bugfix/uart_isr_switch_context' into 'master'
bugfix/uart_isr_switch_context: add switching context in uart ISR.
1. add switching context in uart ISR
2. remove duplicated #include in uart.c
3. modify example in uart.h(will later add examples to idf/examples)
See merge request !203
Wangjialin [Wed, 16 Nov 2016 09:11:18 +0000 (17:11 +0800)]
Merge branch 'master' into bugfix/uart_isr_switch_context
Liu Zhi Fu [Wed, 16 Nov 2016 08:24:41 +0000 (16:24 +0800)]
lwip: add option to memcopy packet from L2 to L3
Menuconfig add an option to copy the packet from layer2 (WIFI driver) to layer3 (LWIP), default not copy
Angus Gratton [Wed, 16 Nov 2016 06:15:55 +0000 (17:15 +1100)]
ringbuf: Fix case where xTaskGetTickCount() overflows but task timeout point doesn't
Wu Jian Gang [Wed, 16 Nov 2016 06:55:39 +0000 (14:55 +0800)]
Merge branch 'feature/tw8427_softap_support_bridge' into 'master'
esp32: softap supports bridge
Softap supports bridge, then the stations associated with esp32 softap can send/receive traffic from each other
See merge request !210
Wangjialin [Wed, 16 Nov 2016 06:51:36 +0000 (14:51 +0800)]
Merge branch 'master' into bugfix/uart_isr_switch_context
Wangjialin [Wed, 16 Nov 2016 06:44:06 +0000 (14:44 +0800)]
driver: bugfix/fix uart parity and frame error bug
1. modify definition for uart_parity_t
2. fix bugs in uart interrupt handler for parity err and frame err.
Liu Zhi Fu [Wed, 16 Nov 2016 05:20:49 +0000 (13:20 +0800)]
esp32: softap supports bridge
Softap supports bridge, then the stations associated with esp32 softap can send/receive traffic from each other
Angus Gratton [Wed, 16 Nov 2016 04:42:38 +0000 (15:42 +1100)]
Build system: Raise warning level
Default esp-idf builds now show -Wextra warnings (except for a few:
signed/unsigned comparison, unused parameters, old-style C declarations.)
CI building of examples runs with that level raised to -Werror, to catch
those changes going into the main repo.
Angus Gratton [Wed, 16 Nov 2016 03:20:47 +0000 (14:20 +1100)]
examples: Update component.mk for new conventions
Dong Heng [Wed, 16 Nov 2016 03:11:01 +0000 (11:11 +0800)]
feature/openssl: fixup the file and code style
Dong Heng [Wed, 16 Nov 2016 02:46:03 +0000 (10:46 +0800)]
feature/openssl: fixup some insufficient
Wangjialin [Tue, 15 Nov 2016 17:31:02 +0000 (01:31 +0800)]
driver: fix header file warnings for Doxygen.
Dong Heng [Tue, 15 Nov 2016 07:20:48 +0000 (15:20 +0800)]
Merge branch 'master' into feature/openssl
Dong Heng [Tue, 15 Nov 2016 07:08:51 +0000 (15:08 +0800)]
feature/openssl: add the openssl server demo
Dong Heng [Tue, 15 Nov 2016 07:04:21 +0000 (15:04 +0800)]
feature/openssl: add openssl server demo and remove some check function
Jeroen Domburg [Tue, 15 Nov 2016 06:07:04 +0000 (14:07 +0800)]
Merge branch 'feature/better_idle_tick_hook_mechanism' into 'master'
Add more scalable tick/idle hook handlers.
Like it says in the title. Also adds WAITI to the idle loop, which suspends the CPU until an interrupt comes in. Seems we did not have that yet... :x
See merge request !196
Wangjialin [Tue, 15 Nov 2016 05:47:51 +0000 (13:47 +0800)]
bugfix/uart_isr_switch_context: add switching context in uart ISR.
1. add switching context in uart ISR
2. remove duplicated #include in uart.c
3. modify example in uart.h(will later add examples to idf/examples)
Jeroen Domburg [Tue, 15 Nov 2016 04:36:15 +0000 (12:36 +0800)]
Merge remote-tracking branch 'origin/master' into feature/better_idle_tick_hook_mechanism
Ivan Grokhotkov [Tue, 15 Nov 2016 04:28:39 +0000 (12:28 +0800)]
Merge branch 'feature/change_default_hostname' into 'master'
tcpip_adapter: add set hostname interface
Add the function for change the network interface's hostname
See merge request !170
Jeroen Domburg [Tue, 15 Nov 2016 04:27:23 +0000 (12:27 +0800)]
Merge branch 'bugfix/workaround_gpio_pullupdown_bug' into 'master'
Work around the GPIO pullup/pulldown SoC bug
Some GPIO pins need to have their pullups/pulldowns set in the RTC peripheral instead of in the GPIO peripheral because of a silicon bug.
This merge:
- Declares PIN_PULLUP_EN and friends as deprecated; they can't really be changed to work around the issue because they get passed an iomux register instead of an io pin number
- Adds gpio_pullup_en and friends to the GPIO driver. These functions do have the workaround (as well as all the other functions in the gpio driver) and are meant to easily replace the PIN_PULLUP_EN routines
- Fixes some comments in the gpio headers
See merge request !200
Jeroen Domburg [Tue, 15 Nov 2016 04:10:02 +0000 (12:10 +0800)]
Add comments/headers according to merge request comments
Jeroen Domburg [Tue, 15 Nov 2016 03:57:01 +0000 (11:57 +0800)]
Merge remote-tracking branch 'origin/master' into bugfix/workaround_gpio_pullupdown_bug
liuhan [Thu, 3 Nov 2016 05:30:32 +0000 (13:30 +0800)]
tcpip_adapter: add set hostname interface
Ivan Grokhotkov [Tue, 15 Nov 2016 03:40:27 +0000 (11:40 +0800)]
Merge branch 'feature/wps' into 'master'
Add wps API
See merge request !181
Xia Xiao Tian [Tue, 15 Nov 2016 03:19:15 +0000 (11:19 +0800)]
wps: update wifi lib -- add wps lib
Dong Heng [Tue, 15 Nov 2016 03:12:58 +0000 (11:12 +0800)]
feature/openssl: add openssl client demo
Jeroen Domburg [Tue, 15 Nov 2016 02:29:52 +0000 (10:29 +0800)]
Amend gpio driver to work around SoC bug with some pullups/pulldowns in the GPIO peripheral; mark existing function that does not always work as deprecated
Angus Gratton [Mon, 14 Nov 2016 23:08:33 +0000 (07:08 +0800)]
Merge branch 'feature/cleanup_examples' into 'master'
Minor example cleanup
Remove deprecated system_init, fix app_main prototype
See merge request !197
Xia Xiao Tian [Mon, 14 Nov 2016 07:24:12 +0000 (15:24 +0800)]
Merge branch 'master' into feature/wps
Dong Heng [Mon, 14 Nov 2016 07:11:22 +0000 (15:11 +0800)]
components/openssl: add client and server demo
Xia Xiao Tian [Mon, 14 Nov 2016 06:34:09 +0000 (14:34 +0800)]
add comments for system_event_sta_wps_er_pin_t
Angus Gratton [Mon, 14 Nov 2016 04:55:26 +0000 (15:55 +1100)]
ble_adv example: Remove int return value from app_main()
Angus Gratton [Mon, 14 Nov 2016 04:54:33 +0000 (15:54 +1100)]
Examples: Remove deprecated system_init() call
Angus Gratton [Mon, 14 Nov 2016 04:42:44 +0000 (12:42 +0800)]
Merge branch 'feature/build_component_project_vars' into 'master'
build system: General refactoring
The original goal here was to support setting different COMPONENT_INCLUDEDIRS/COMPONENT_LDFLAGS based on sdkconfig. It's turned into a general refactor.
* The `get_variable` target & associated macros have been replaced with a target that generates a makefile snippet for each component (inside the build directory), and includes these in the project make pass. This improves build speed ( "no-op" `make all` on my system is down from 1.43s (wall) / 0.55s (CPU) to 0.49s (wall) / 0.23s (CPU) due to not forking as many processes) and also makes the builds more debuggable, as you can go and look at the component_project_vars.mk files in the build directory to see what paths are being added where.
* Including component_common.mk from component.mk is no longer necessary (and prints a deprecation warning). Instead, component.mk is included from inside a wrapper makefile. This allows default variables and project configuration to be loaded before component.mk begins, and removes the need to split makefile statements arbitrarily between "before including component_common" and "after including component_common", with which goes where depending on internals of the build system. Part-fix for TW#8017.
* Rewrote build system docs to reflect these details and also clarify some other points, add more ReST structure. Fixes other issues raised in TW#8017.
* Should be backwards compatible with existing components. The only difference I know is the deprecation warning when including component_common.mk.
Adds one new failure case: because some paths are encoded in the generated component_project_vars.mk files then reorganising the component directory structure (but not modifying any other files or menuconfig) may cause a partial build to fail and require a `make clean`. Moving the whole project directory, whole build directory, or whole ESP-IDF directory will not trigger this. This failure case should only ever cause a build error, not incorrect build output.
See merge request !188
Angus Gratton [Mon, 14 Nov 2016 04:29:27 +0000 (15:29 +1100)]
build examples: Only build verbose on failure, save on log output
Angus Gratton [Mon, 14 Nov 2016 03:48:10 +0000 (14:48 +1100)]
Merge branch 'master' into feature/build_component_project_vars
Angus Gratton [Mon, 14 Nov 2016 03:32:04 +0000 (11:32 +0800)]
Merge branch 'feature/esptool_secure_boot' into 'master'
Secure boot support
Also includes a lot of esptool.py changes (two new command line tools, espefuse.py and espsecure.py)
https://github.com/themadinventor/esptool/compare/feature/esp32_v20_refactor...feature/esp32_secure_boot?expand=1
See merge request !163
Angus Gratton [Fri, 11 Nov 2016 04:47:38 +0000 (15:47 +1100)]
bootloader: Fix unused variable errors when secure boot is disabled
Angus Gratton [Fri, 11 Nov 2016 04:40:58 +0000 (15:40 +1100)]
secure boot: Add warnings this feature is not finished yet
Angus Gratton [Fri, 11 Nov 2016 04:40:29 +0000 (15:40 +1100)]
Secure boot: Documentation tweaks
Jeroen Domburg [Mon, 14 Nov 2016 02:20:49 +0000 (10:20 +0800)]
Fix wdt idle hook
Ivan Grokhotkov [Mon, 14 Nov 2016 02:06:33 +0000 (10:06 +0800)]
Merge branch 'feature/doc_update' into 'master'
ReadTheDocs documentation update
https://github.com/espressif/esp-idf/pull/89
See merge request !195
Dong Heng [Mon, 14 Nov 2016 01:40:12 +0000 (09:40 +0800)]
components/openssl: sync the code form esp8266 sdk
Angus Gratton [Fri, 11 Nov 2016 04:14:13 +0000 (15:14 +1100)]
secure boot: Rename efuse option for UART bootloader to option for ROM interpreter
Angus Gratton [Fri, 11 Nov 2016 03:44:10 +0000 (14:44 +1100)]
Build system: Don't shell-quote SEPARATOR variable or it evaluates as a bunch of wildcards!
Angus Gratton [Wed, 9 Nov 2016 00:55:09 +0000 (11:55 +1100)]
Bump esptool revision (espefuse.py fixes)
Angus Gratton [Mon, 7 Nov 2016 04:45:57 +0000 (15:45 +1100)]
secure boot: Functional partition table & app signature verification
Angus Gratton [Mon, 7 Nov 2016 04:45:26 +0000 (15:45 +1100)]
secure boot: Enable based on sdkconfig, remove "secure boot flag" from binary image
Angus Gratton [Mon, 7 Nov 2016 04:32:21 +0000 (15:32 +1100)]
partition_table: Pad generated table to 0xC00 length, for easier signing
Angus Gratton [Mon, 7 Nov 2016 03:35:23 +0000 (14:35 +1100)]
partition_table: Move from 0x4000 to 0x8000
Also fix a bug with correctly padding bootloader image when length is
already a multiple of 16.
Angus Gratton [Fri, 4 Nov 2016 05:05:00 +0000 (16:05 +1100)]
secure boot: Derive secure bootloader key from private key
Means only one key needs to be managed.
Angus Gratton [Thu, 3 Nov 2016 06:33:30 +0000 (17:33 +1100)]
Secure boot: initial image signature support
Angus Gratton [Sun, 13 Nov 2016 23:57:45 +0000 (10:57 +1100)]
Build system: Change deprecation message to include component path, easier to fix
Angus Gratton [Sun, 13 Nov 2016 23:51:53 +0000 (10:51 +1100)]
build system: Remove make 3.81 "component_project_vars.mk: No such file or directory" messages
Also add an explicit make version check & warning.
Jeroen Domburg [Fri, 11 Nov 2016 11:20:54 +0000 (19:20 +0800)]
Add a more scalable mechanism for the FreeRTOS tick- and idle hooks; idle handler now uses WAITI to reduce power