]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'bugfix/windows' into 'master'
Angus Gratton [Mon, 19 Sep 2016 02:41:14 +0000 (10:41 +0800)]
Merge branch 'bugfix/windows' into 'master'

Fix some Windows build issues

Fix and/or document some issues seen under Windows (especially if git clones with CRLF line endings)

See merge request !87

7 years agoMerge branch 'bugfix/fix_memory_debug_macro_issue' into 'master'
Ivan Grokhotkov [Sun, 18 Sep 2016 12:25:20 +0000 (20:25 +0800)]
Merge branch 'bugfix/fix_memory_debug_macro_issue' into 'master'

freertos: fix memory debug macro issue

When enable memory debug via make menuconfig, we got compile error.
Define configENABLE_MEMORY_DEBUG according to CONFIG_ENABLE_MEMORY_DEBUG

See merge request !89

7 years agofreertos: fix memory debug macro issue
liuzhifu [Sun, 18 Sep 2016 07:35:42 +0000 (15:35 +0800)]
freertos: fix memory debug macro issue
Define configENABLE_MEMORY_DEBUG according to CONFIG_ENABLE_MEMORY_DEBUG

7 years agobuild system docs: Add note about no spaces in component names
Angus Gratton [Fri, 16 Sep 2016 08:22:16 +0000 (18:22 +1000)]
build system docs: Add note about no spaces in component names

7 years agoDocs: Add note about unusual submodule messages when cloning on Windows
Angus Gratton [Fri, 16 Sep 2016 08:05:52 +0000 (18:05 +1000)]
Docs: Add note about unusual submodule messages when cloning on Windows

Related to github #11

7 years agoconfig system: Support Windows when CRLFs used for eol markers
Angus Gratton [Fri, 16 Sep 2016 07:56:50 +0000 (17:56 +1000)]
config system: Support Windows when CRLFs used for eol markers

Includes a test in test_build_system.sh to prevent regressions w/
CRLFs in text files.

Fixes Github #10

7 years agodocs: Add note about esp-idf not supporting spaces in paths
Angus Gratton [Fri, 16 Sep 2016 04:31:46 +0000 (14:31 +1000)]
docs: Add note about esp-idf not supporting spaces in paths

Ref Github #10

7 years agoMerge branch 'bugfix/github_deploy' into 'master'
Ivan Grokhotkov [Thu, 15 Sep 2016 06:08:35 +0000 (14:08 +0800)]
Merge branch 'bugfix/github_deploy' into 'master'

fix deploy to GitHub

Previous change to gitlab-ci.yml moved setting of Gitlab ssh key to global before_script.
This together with the fact that we used `echo >>` instead of `echo >` to write to `id_rsa_base64` file caused wrong key to be used while pushing to GitHub.
Therefore:
- don't run default before_script before push_master_to_github job
- replace echo >> with echo > to avoid mistakes in the future

See merge request !82

7 years agoMerge remote-tracking branch 'origin/feature/mbedtls'
Wu Jian Gang [Wed, 14 Sep 2016 10:05:56 +0000 (18:05 +0800)]
Merge remote-tracking branch 'origin/feature/mbedtls'

7 years agoMerge branch 'feature/wifi_lib_update' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 09:53:01 +0000 (17:53 +0800)]
Merge branch 'feature/wifi_lib_update' into 'master'

esp32/lib: update to 1303c92c

1. support to set vendor ie;
2. fix "mode:" log twice issue; TW7019
3. fix station can not connect to some AP in WEP mode; TW7021

See merge request !85

7 years agoMerge branch 'bugfix/tw7058_mode_fatal' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 09:46:12 +0000 (17:46 +0800)]
Merge branch 'bugfix/tw7058_mode_fatal' into 'master'

[teamwork7058]It causes fatal when switch wifi mode.

See merge request !84

7 years agoesp32/lib: update to 1303c92c
Wu Jian Gang [Wed, 14 Sep 2016 08:57:00 +0000 (16:57 +0800)]
esp32/lib: update to 1303c92c

7 years agoMerge branch 'feature/support_vendor_ie_api' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 08:53:53 +0000 (16:53 +0800)]
Merge branch 'feature/support_vendor_ie_api' into 'master'

esp32: add vendor ie API

1. add esp_wifi_set_vnd_ie
2. add esp_wifi_set_vnd_ie_cb

See merge request !75

7 years agodhcpserver: Fix crash when switching wifi mode
Xu Chun Guang [Wed, 14 Sep 2016 08:14:50 +0000 (16:14 +0800)]
dhcpserver: Fix crash when switching wifi mode

See Teamwork 7058.

7 years agombedtls: Temporarily disable default hardware crypto SHA & bignum
Angus Gratton [Wed, 14 Sep 2016 07:52:39 +0000 (17:52 +1000)]
mbedtls: Temporarily disable default hardware crypto SHA & bignum

Due to limitations referenced in the comments of the changes.

7 years agombedtls hwcrypto sha512: Fix redirection of function names
Angus Gratton [Wed, 14 Sep 2016 07:52:24 +0000 (17:52 +1000)]
mbedtls hwcrypto sha512: Fix redirection of function names

7 years agombedtls upstream tweak: Move mbedtls_sha512_process in sha512.h
Angus Gratton [Wed, 14 Sep 2016 07:51:27 +0000 (17:51 +1000)]
mbedtls upstream tweak: Move mbedtls_sha512_process in sha512.h

Function declaration should only be included if MBEDTLS_SHA512_ALT is
not set. This matches sha1.h and sha256.h

This change should be contributed back upstream to mbedTLS project.

7 years agoFormat code by using 4 spaces instead
qiyueixa [Wed, 14 Sep 2016 06:42:17 +0000 (14:42 +0800)]
Format code by using 4 spaces instead

7 years agoMerge branch 'driver_merge_tmp/merge_soc_header' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 06:12:39 +0000 (14:12 +0800)]
Merge branch 'driver_merge_tmp/merge_soc_header' into 'master'

Modify headers in idf/soc

Pass compiling under esp-idf-tests/merge_soc_tmp/merge_for_soc_headers branch.(Only changed some names of registers and INUM).

See merge request !83

7 years agomodify character conversion error and typo
Wangjialin [Wed, 14 Sep 2016 05:16:34 +0000 (13:16 +0800)]
modify  character conversion error and typo

7 years agomodify i2s_reg.h, rebase to master
Wangjialin [Tue, 13 Sep 2016 18:34:24 +0000 (02:34 +0800)]
modify i2s_reg.h, rebase to master

7 years agoOnly modify headers in soc/ .
Wangjialin [Tue, 13 Sep 2016 15:02:03 +0000 (23:02 +0800)]
Only modify headers in soc/ .
Pass compiling under esp-idf-tests/merge_soc_tmp/merge_for_soc_headers branch.(only change some names of register and INUM).

7 years agoRename vender_ie_type_t and vendor_ie_id_t to wifi_vendor_ie_type_t and wifi_vendor_i...
qiyueixa [Wed, 14 Sep 2016 03:30:19 +0000 (11:30 +0800)]
Rename vender_ie_type_t and vendor_ie_id_t to wifi_vendor_ie_type_t and wifi_vendor_ie_id_t respectively

7 years agomodify arguments for vendor ie APIs by using enum instead
qiyueixa [Tue, 13 Sep 2016 09:11:53 +0000 (17:11 +0800)]
modify arguments for vendor ie APIs by using enum instead

7 years agoMerge branch 'feature/adjust_task_priority' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 05:28:50 +0000 (13:28 +0800)]
Merge branch 'feature/adjust_task_priority' into 'master'

task priority:  adjust task priority of lwip/event/wifi task

1. Modify lwip core task priority to configMAX_PRIORITIES-7
2. Modify wifi startup task priority to configMAX_PRIORITIES-7
3. Modify event task priority to configMAX_PRIORITIES-4

See merge request !42

7 years agoesp32: fix typo
Wu Jian Gang [Wed, 14 Sep 2016 05:26:17 +0000 (13:26 +0800)]
esp32: fix typo

7 years agoesp32: fix kconfig
Wu Jian Gang [Wed, 14 Sep 2016 04:55:41 +0000 (12:55 +0800)]
esp32: fix kconfig

7 years agodefine lwip task priority in esp_task.h
liuzhifu [Wed, 14 Sep 2016 01:36:54 +0000 (09:36 +0800)]
define lwip task priority in esp_task.h

7 years agocomponents: esp32 - fix build error
liuzhifu [Thu, 1 Sep 2016 07:48:59 +0000 (15:48 +0800)]
components: esp32 - fix build error

7 years agocomponents: lwip - Modify lwip task priority and stack definition method
liuzhifu [Thu, 1 Sep 2016 06:48:12 +0000 (14:48 +0800)]
components: lwip - Modify lwip task priority and stack definition method

lwip task priority and stack size defintion should not depends on esp_task.h, define it
in lwipopts.h directly

7 years agocomponents: esp32
liuzhifu [Thu, 1 Sep 2016 06:37:19 +0000 (14:37 +0800)]
components: esp32

Remove priority/stack definition of task that is freertos/lwip/app

7 years agocomponents: esp32
liuzhifu [Thu, 1 Sep 2016 06:18:16 +0000 (14:18 +0800)]
components: esp32

add missing file esp_task.h

7 years agocomponents: esp32/lwip
liuzhifu [Thu, 1 Sep 2016 06:09:21 +0000 (14:09 +0800)]
components: esp32/lwip

Add esp_task.h for placing all task priority/stack size macro definition

7 years agotask priority: modify lwip/wifi/event task priority
liuzhifu [Wed, 31 Aug 2016 11:38:43 +0000 (19:38 +0800)]
task priority: modify lwip/wifi/event task priority

1. Modify lwip core task priority to configMAX_PRIORITIES-7
2. Modify wifi startup task priority to configMAX_PRIORITIES-7
3. Modify event task priority to configMAX_PRIORITIES-4

7 years agoMerge branch 'feature/add_wifi_api_comments' into 'master'
Wu Jian Gang [Wed, 14 Sep 2016 03:17:29 +0000 (11:17 +0800)]
Merge branch 'feature/add_wifi_api_comments' into 'master'

Feature/add wifi api comments

Add wifi API comments

See merge request !63

7 years agoMerge branch 'bugfix/add_tx_flowcontrol' into 'master'
Angus Gratton [Wed, 14 Sep 2016 01:01:42 +0000 (09:01 +0800)]
Merge branch 'bugfix/add_tx_flowcontrol' into 'master'

lwip: add socket tx flow control

This fix is used to solve wifi q full issue:
1. When wifi tx q is full, set tx_enable to false
2. When wifi tx q decrease 1/2 max length, set tx_enable to true again
3. esp_wifi_tx_enable return whether tx_enable is true
4. If esp_wifi_tx_enable return false, socket will be blocked

See merge request !62

7 years agoMerge branch 'feature/esptool_upstream'
Angus Gratton [Wed, 14 Sep 2016 00:28:41 +0000 (10:28 +1000)]
Merge branch 'feature/esptool_upstream'

7 years agogitlab-ci: fix setting GitHub deploy key
Ivan Grokhotkov [Tue, 13 Sep 2016 13:24:57 +0000 (21:24 +0800)]
gitlab-ci: fix setting GitHub deploy key

- don't run default before_script before push_master_to_github job
- replace echo >> with echo > to avoid mistakes in the future

7 years agofix typos
Wu Jian Gang [Tue, 13 Sep 2016 12:54:20 +0000 (20:54 +0800)]
fix typos

7 years agoMerge branch 'bugfix/spi_flash_unlock_once' into 'master'
Ivan Grokhotkov [Tue, 13 Sep 2016 10:14:22 +0000 (18:14 +0800)]
Merge branch 'bugfix/spi_flash_unlock_once' into 'master'

components/spi_flash: call SPIUnlock once

This fixes the performance impact for spi_flash_write and spi_flash_erase.
With this change, NVS init in single core mode takes about 50ms (compared to >2seconds before that).

For dual core mode, we still spend on average 2ms for each spi_flash_ operation due to synchronization between CPUs, so NVS startup time is about 2 seconds in dual core mode.

See merge request !80

7 years agoMerge remote-tracking branch 'origin/master' into feature/mbedtls
Wu Jian Gang [Tue, 13 Sep 2016 08:31:48 +0000 (16:31 +0800)]
Merge remote-tracking branch 'origin/master' into feature/mbedtls

7 years agocallback: add a void* pointer with each callback
Wu Jian Gang [Tue, 13 Sep 2016 07:57:11 +0000 (15:57 +0800)]
callback: add a void* pointer with each callback

also format event.c/wifi.c/esp_event.h/esp_wifi.h

7 years agoheader: callbacks use "void *" as arguments
Wu Jian Gang [Mon, 12 Sep 2016 09:25:51 +0000 (17:25 +0800)]
header: callbacks use "void *" as arguments

7 years agoheader: format and fix typos
Wu Jian Gang [Mon, 12 Sep 2016 08:43:32 +0000 (16:43 +0800)]
header: format and fix typos

SYSTEM_EVENT_STA_GOTIP to SYSTEM_EVENT_STA_GOT_IP

7 years agoadd wifi api comments
liuzhifu [Wed, 7 Sep 2016 12:33:13 +0000 (20:33 +0800)]
add wifi api comments

7 years agoadd wifi api comments
liuzhifu [Wed, 7 Sep 2016 09:29:08 +0000 (17:29 +0800)]
add wifi api comments

7 years agoMerge branch 'bugfix/ci_update_for_wifi_revision' into 'master'
Ivan Grokhotkov [Tue, 13 Sep 2016 08:05:17 +0000 (16:05 +0800)]
Merge branch 'bugfix/ci_update_for_wifi_revision' into 'master'

update ci: build ssc with idf submodule wifi lib

update CI build SSC part according to the discussion in MR bugfix/wifi_revision

See merge request !76

7 years agocomponents/spi_flash: call SPIUnlock only once
Ivan Grokhotkov [Tue, 13 Sep 2016 07:16:36 +0000 (15:16 +0800)]
components/spi_flash: call SPIUnlock only once

This fixes the performance impact for spi_flash_write and spi_flash_erase.
With this change, NVS init in single core mode takes about 50ms (compared to >2seconds before that).

7 years agoMerge branch 'feature/bootloader_config' into 'master'
Angus Gratton [Tue, 13 Sep 2016 06:31:18 +0000 (14:31 +0800)]
Merge branch 'feature/bootloader_config' into 'master'

Add bootloader menuconfig entries

Adds log verbosity & ANSI coloring to menuconfig, also some cleanup in cpu_start.c

See merge request !79

7 years agoMerge branch 'feature/dualcore_spi_flash_api' into 'master'
Ivan Grokhotkov [Tue, 13 Sep 2016 05:58:54 +0000 (13:58 +0800)]
Merge branch 'feature/dualcore_spi_flash_api' into 'master'

Dual core compatible spi flash APIs

Implementation of spi flash APIs which work in dual core mode.

This also includes other changes:
- fixes to FreeRTOS tasks.c made by Jeroen and me — these were originally made to fix issues with high priority tasks seen in WiFi stack, but were required to get stuff in ipc.c working as well
- initial base idea with two high-priority tasks was separated into a separate API — esp_ipc.h. That API allows one to run a function on the other CPU from a high-priority task. Because we don't have preemption across CPUs, this is currently not very fast: it requires on average half a tick until the second CPU switches to the high priority task. Currently that API can be either blocking, or non-blocking with queue length of 1. I haven't yet found a use case for arbitrary sized queue of IPC requests. Anyone who needs that can trivially add that later by replacing a binary semaphore with a generic queue.

With these changes i can run application with WiFi stack and NVS on both cores.

See merge request !25

7 years agocomponents/spi_flash: improve comments and readability
Ivan Grokhotkov [Tue, 13 Sep 2016 04:47:21 +0000 (12:47 +0800)]
components/spi_flash: improve comments and readability

7 years agoesp32 cpu_start: Include rom/uart.h, remove inline ROM function declarations
Angus Gratton [Tue, 13 Sep 2016 03:48:28 +0000 (13:48 +1000)]
esp32 cpu_start: Include rom/uart.h, remove inline ROM function declarations

7 years agobootloader: Add bootloader Kconfig
Angus Gratton [Tue, 13 Sep 2016 03:46:51 +0000 (13:46 +1000)]
bootloader: Add bootloader Kconfig

Allow debug level & colour highlighting to be configured

7 years agoFix bug where nesting vTaskEnterCritical calls would not re-enable interrupts after...
Jeroen Domburg [Tue, 13 Sep 2016 02:22:38 +0000 (10:22 +0800)]
Fix bug where nesting vTaskEnterCritical calls would not re-enable interrupts after vTaskExitCritical sections.

7 years agoinstalled gitlab key in global before_script,
Yinling [Tue, 13 Sep 2016 02:06:09 +0000 (10:06 +0800)]
installed gitlab key in global before_script,
don't need to overwrite in template before_script

7 years agoci: Use github repo for wifi libraries on master branch, gitlab repo otherwise
Angus Gratton [Tue, 13 Sep 2016 01:34:28 +0000 (11:34 +1000)]
ci: Use github repo for wifi libraries on master branch, gitlab repo otherwise

7 years agocomponents/esp32,spi_flash: update some comments
Ivan Grokhotkov [Mon, 12 Sep 2016 11:54:35 +0000 (19:54 +0800)]
components/esp32,spi_flash: update some comments

7 years agocomponents/esp32: remove dependency of WIFI_ENABLED on FREERTOS_UNICORE
Ivan Grokhotkov [Mon, 12 Sep 2016 11:53:38 +0000 (19:53 +0800)]
components/esp32: remove dependency of WIFI_ENABLED on FREERTOS_UNICORE

7 years agoesp32/lib: Bump WiFi revision
Wu Jian Gang [Mon, 12 Sep 2016 11:32:05 +0000 (19:32 +0800)]
esp32/lib: Bump WiFi revision

7 years agoupdate ci: build ssc with idf submodule wifi lib
Yinling [Mon, 12 Sep 2016 11:09:28 +0000 (19:09 +0800)]
update ci: build ssc with idf submodule wifi lib

7 years agocomponents/esp32: add inter-processor call API and implement spi_flash through it
Ivan Grokhotkov [Mon, 12 Sep 2016 10:54:45 +0000 (18:54 +0800)]
components/esp32: add inter-processor call API and implement spi_flash through it

With this change, flash operations can run on both cores.
NVS and WiFi stack can also run in dual core mode now.

7 years agoMerge branch 'bugfix/wifi_revision' into 'master'
Wu Jian Gang [Mon, 12 Sep 2016 10:52:40 +0000 (18:52 +0800)]
Merge branch 'bugfix/wifi_revision' into 'master'

esp32/lib: Bump WiFi revision

See merge request !72

7 years agoMerge branch 'feature/add_rom_comments' into 'master'
Wu Jian Gang [Mon, 12 Sep 2016 10:14:02 +0000 (18:14 +0800)]
Merge branch 'feature/add_rom_comments' into 'master'

header files: modify rom code header files and soc header files

1. timer reg file for both time group 0 and time group 1, not only timer group 0
2. fix bug that io mux header file mismatch with chip
3. fix bug that some BASE address not correct
4. add some static function to eagle.fpga32.rom.addr.v7.ld
5. add interrupts usage table
6. add some comments for rom code functions

See merge request !43

7 years agoadd MACRO to get flash pad number from efuse value
Jack [Mon, 12 Sep 2016 05:54:08 +0000 (13:54 +0800)]
add MACRO to get flash pad number from efuse value

7 years agoadd comments to register read/write operations
Jack [Tue, 6 Sep 2016 12:21:47 +0000 (20:21 +0800)]
add comments to register read/write operations

7 years agoheader files: clean up
Wu Jian Gang [Mon, 5 Sep 2016 08:20:26 +0000 (16:20 +0800)]
header files: clean up

1. format;
2. Slow RTC memory reverse 2KB;

7 years agoheader files: modify rom code and soc header files
jack [Wed, 31 Aug 2016 13:53:23 +0000 (21:53 +0800)]
header files: modify rom code and soc header files

1. timer reg file for both time group 0 and time group 1, not only timer group 0
2. fix bug that io mux header file mismatch with chip
3. fix bug that some BASE address not correct
4. add some static function to eagle.fpga32.rom.addr.v7.ld
5. add interrupts usage table
6. add some comments for rom code functions

7 years agoMerge branch 'bugfix/realloc' into 'master'
Jeroen Domburg [Mon, 12 Sep 2016 09:08:57 +0000 (17:08 +0800)]
Merge branch 'bugfix/realloc' into 'master'

modify realloc behaves

 modify realloc behaves just like malloc when pass a null pointer for ptr.

See merge request !66

7 years agoadd_path.sh: Use non-bash-specific instructions
Angus Gratton [Mon, 12 Sep 2016 08:39:13 +0000 (18:39 +1000)]
add_path.sh: Use non-bash-specific instructions

7 years agoCI for SSC: Allow for submodules & using the gitlab repo's libraries
Angus Gratton [Mon, 12 Sep 2016 08:04:09 +0000 (18:04 +1000)]
CI for SSC: Allow for submodules & using the gitlab repo's libraries

7 years agoMerge branch 'master' into feature/esptool_upstream
Angus Gratton [Mon, 12 Sep 2016 08:02:10 +0000 (18:02 +1000)]
Merge branch 'master' into feature/esptool_upstream

7 years agomake: Add macro to test for & try to fix up files required for submodules
Angus Gratton [Mon, 12 Sep 2016 07:48:40 +0000 (17:48 +1000)]
make: Add macro to test for & try to fix up files required for submodules

Now applied to both esptool.py & esp32 wifi libs

7 years agoesp32/lib: Bump WiFi revision
Angus Gratton [Mon, 12 Sep 2016 07:31:43 +0000 (17:31 +1000)]
esp32/lib: Bump WiFi revision

7 years agoMerge branch 'master' into feature/mbedtls
Angus Gratton [Fri, 9 Sep 2016 07:09:56 +0000 (17:09 +1000)]
Merge branch 'master' into feature/mbedtls

7 years agoMerge branch 'bug/storage_enum' into 'master'
Wu Jian Gang [Mon, 12 Sep 2016 03:49:22 +0000 (11:49 +0800)]
Merge branch 'bug/storage_enum' into 'master'

Change the enum of wifi_storage_t to be the same as that in wifi lib.

See merge request !71

7 years agoChange the enum of wifi_storage_t to be the same as that in wifi lib.
xiaxiaotian [Mon, 12 Sep 2016 03:38:13 +0000 (11:38 +0800)]
Change the enum of wifi_storage_t to be the same as that in wifi lib.

7 years agoMerge branch 'feature/ci_add_function_test' into 'master'
Ivan Grokhotkov [Mon, 12 Sep 2016 03:30:09 +0000 (11:30 +0800)]
Merge branch 'feature/ci_add_function_test' into 'master'

update ci config file with 2 changes:

1. add build SSC and do sanity test config
2. add tags to each job as sanity test need to be executed on special runner

Test is now only arranged for master branch

See merge request !69

8 years agofreertos: protect calls to prvAddTaskToReadyList with xTaskQueueMutex
Ivan Grokhotkov [Mon, 5 Sep 2016 02:22:37 +0000 (10:22 +0800)]
freertos: protect calls to prvAddTaskToReadyList with xTaskQueueMutex

8 years agoadd comments about current tx flow control
liuzhifu [Fri, 9 Sep 2016 09:54:13 +0000 (17:54 +0800)]
add comments about current tx flow control

8 years agomodify esp32_tx_flow_ctrl to static function and move extern api to header file
liuzhifu [Fri, 9 Sep 2016 06:31:10 +0000 (14:31 +0800)]
modify esp32_tx_flow_ctrl to static function and move extern api to header file

8 years agomodify macro ESP32_TX_FLOW_CTRL to inline function
liuzhifu [Fri, 9 Sep 2016 02:20:14 +0000 (10:20 +0800)]
modify macro ESP32_TX_FLOW_CTRL to inline function

8 years agolwip: add socket tx flow control
liuzhifu [Wed, 7 Sep 2016 05:07:30 +0000 (13:07 +0800)]
lwip: add socket tx flow control

8 years agoAdd working portASSERT_IF_IN_ISR function, fix enter_critical thing even better.
Jeroen Domburg [Mon, 5 Sep 2016 04:30:57 +0000 (12:30 +0800)]
Add working portASSERT_IF_IN_ISR function, fix enter_critical thing even better.

8 years agoFix prev code to not crash horribly when scheduler is not running yet
Jeroen Domburg [Mon, 5 Sep 2016 03:58:40 +0000 (11:58 +0800)]
Fix prev code to not crash horribly when scheduler is not running yet

8 years agoMake vTaskEnterCritical callable from ISR
Jeroen Domburg [Mon, 5 Sep 2016 03:46:08 +0000 (11:46 +0800)]
Make vTaskEnterCritical callable from ISR

8 years agoMerge branch 'master' into feature/dualcore_spi_flash_api
Ivan Grokhotkov [Fri, 9 Sep 2016 09:14:16 +0000 (17:14 +0800)]
Merge branch 'master' into feature/dualcore_spi_flash_api

* master: (130 commits)
  lwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line
  CI: Build the esp-idf-template with the matching branch name, if it exists
  README: Add Resources section with some links
  Rename README.buildenv to docs/build_system.rst and ReST-ify it
  Eclipse docs: Easier to just replace entire PATH, msys32 has everything we need to build/flash
  test_build_system: Print ESP_IDF_TEMPLATE_GIT for easier debugging
  Name component makefiles component.mk instead of Makefile
  Eclipse doc: Add troubleshooting note about Makefile directories
  eclipse_make.sh: Fix printing of make directory
  Move bin/eclipse_windows_make.sh to tools/windows_eclipse_make.sh
  Eclipse docs: Prepend IDF paths to beginning of PATH
  Set default SPI flash access mode to DIO
  FreeRTOS: temporary solution for memory canaries and memory debug
  tcpip_adapter: fix dhcp client work flow
  event: not post got ip event if static is invalid
  tcpip_adapter: typedef clean up
  event: post got ip event when use static ip
  tcpip_adapter: use dhcp callback to post got ip event
  dhcp: add dhcp callback
  lwip: remove netif_reg_addr_change_cb
  ...

8 years agoMerge branch 'bugfix/lwip_esp8266_flag' into 'master'
Jeroen Domburg [Fri, 9 Sep 2016 06:47:27 +0000 (14:47 +0800)]
Merge branch 'bugfix/lwip_esp8266_flag' into 'master'

lwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line

See merge request !70

8 years agoesp32: modify realloc behaves just like malloc when pass a null pointer for ptr.
liuhan [Thu, 8 Sep 2016 02:50:52 +0000 (10:50 +0800)]
esp32: modify realloc behaves just like malloc when pass a null pointer for ptr.

8 years agohwcrypto sha: Fix initialisation of SHA hardware in esp_shaX_start functions
Angus Gratton [Fri, 9 Sep 2016 04:27:34 +0000 (14:27 +1000)]
hwcrypto sha: Fix initialisation of SHA hardware in esp_shaX_start functions

Problem exposed by previous commit.

8 years agombedtls: Revert changes to upstream library sources.
Angus Gratton [Fri, 9 Sep 2016 04:10:44 +0000 (14:10 +1000)]
mbedtls: Revert changes to upstream library sources.

This reverts part of commit 0f83831c743801960242525bc19ed15383e091e7.

8 years agojson & expat: Update component.mk after merging from master
Angus Gratton [Fri, 9 Sep 2016 04:07:45 +0000 (14:07 +1000)]
json & expat: Update component.mk after merging from master

8 years agombedtls: Move esp_config.h file to port directory
Angus Gratton [Fri, 9 Sep 2016 04:06:14 +0000 (14:06 +1000)]
mbedtls: Move esp_config.h file to port directory

8 years agolwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line
Angus Gratton [Fri, 9 Sep 2016 03:53:38 +0000 (13:53 +1000)]
lwip: Define LWIP_ESP8266 in port lwipopts.h not gcc command line

8 years agoupdate ci config file with 2 changes:
Yinling [Fri, 9 Sep 2016 02:49:03 +0000 (10:49 +0800)]
update ci config file with 2 changes:
1. add build SSC and do sanity test config
2. add tags to each job as sanity test need to be executed on special runner

8 years agombedtls networking: Remove WIN32 parts, minor cleanup
Angus Gratton [Fri, 9 Sep 2016 01:24:35 +0000 (11:24 +1000)]
mbedtls networking: Remove WIN32 parts, minor cleanup

8 years agomake debugging: With V=1, output when including each Makefile.projbuild
Angus Gratton [Fri, 9 Sep 2016 00:49:35 +0000 (10:49 +1000)]
make debugging: With V=1, output when including each Makefile.projbuild

also enable V=1 on CI builds

8 years agoBuild system: Allow components to add to the global CFLAGS via Makefile.projbuild
Angus Gratton [Fri, 9 Sep 2016 00:14:38 +0000 (10:14 +1000)]
Build system: Allow components to add to the global CFLAGS via Makefile.projbuild

Used by mbedTLS to set MBEDTLS_CONFIG_FILE in all components.

This change sets CFLAGS/etc at the project level and then exports those
variables for components, rather than setting them independently each time
a component Makefile is invoked.

8 years agoMerge branch 'master' into feature/mbedtls
Angus Gratton [Fri, 9 Sep 2016 00:29:19 +0000 (10:29 +1000)]
Merge branch 'master' into feature/mbedtls

8 years agoMerge branch 'bugfix/docs_eclipse' into 'master'
Angus Gratton [Thu, 8 Sep 2016 23:41:32 +0000 (07:41 +0800)]
Merge branch 'bugfix/docs_eclipse' into 'master'

Eclipse fixes, including renaming component Makefiles to component.mk

Some changes after following up some Eclipse problems with @nilay .

Biggest thing is renaming all component Makefiles to component.mk. This requires changes to all esp-idf projects, ie:
* https://github.com/espressif/esp-idf-template/compare/bugfix/docs_eclipse?expand=1
* http://gitlab.espressif.cn/idf/esp-idf-tests/tree/update/component_makefiles

... this fixes Eclipse weirdness and also means the only "Makefile"s in the project are the ones you should run make against.

If this MR is merged then I'll also merge these, email all developers about the breaking change and post on esp32.com.

See merge request !34

8 years agombedtls: Use hardware accelerated AES, SHA, bignum
Wu Jian Gang [Thu, 8 Sep 2016 09:41:43 +0000 (17:41 +0800)]
mbedtls: Use hardware accelerated AES, SHA, bignum