]> granicus.if.org Git - esp-idf/log
esp-idf
8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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;

8 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

8 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

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

8 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

8 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

8 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.

8 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 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

8 years agohwcrypto aes: Fix bugs w/ ECB decrypt, CFB modes
Angus Gratton [Thu, 8 Sep 2016 07:06:27 +0000 (17:06 +1000)]
hwcrypto aes: Fix bugs w/ ECB decrypt, CFB modes

8 years agoMerge branch 'bugfix/default_dio_spiflashmode' into 'master'
Jeroen Domburg [Thu, 8 Sep 2016 08:58:34 +0000 (16:58 +0800)]
Merge branch 'bugfix/default_dio_spiflashmode' into 'master'

Set default SPI flash access mode to DIO

We have a bunch of boards out there (the NodeMCU-lookalike, breadboardable boards) in the hands of early reviewers. Because the flash chips on these boards have a different command to go into QIO mode, ESP-IDF will break on these boards out of the box. Eventually, we need some nifty way to autodetect this or something, but for now, the quick fix is to make DIO the default access mode.

Once this is merged, I will also modify the default in the template apps sdkconfig.

See merge request !65

8 years agohwcrypto aes: Performance tweak, only write key to hardware once
Angus Gratton [Wed, 7 Sep 2016 04:48:20 +0000 (14:48 +1000)]
hwcrypto aes: Performance tweak, only write key to hardware once

Shaves ~10% off time to compute AES-CBC

8 years agohwcrypto sha: Feed one block at a time to hardware SHA implementation
Angus Gratton [Tue, 6 Sep 2016 01:05:56 +0000 (11:05 +1000)]
hwcrypto sha: Feed one block at a time to hardware SHA implementation

Fixes a bug where some longer block sizes produced incorrect results.

8 years agohwcrypto: Match API completely to mbedTLS naming conventions
Angus Gratton [Tue, 6 Sep 2016 00:38:12 +0000 (10:38 +1000)]
hwcrypto: Match API completely to mbedTLS naming conventions

8 years agoesp32 hwcrypto: Make SHA-224 an obvious no-op for now
Angus Gratton [Mon, 5 Sep 2016 00:36:25 +0000 (10:36 +1000)]
esp32 hwcrypto: Make SHA-224 an obvious no-op for now

This is not the long term solution...

8 years agoesp32: Add comment to ROM crypto functions recommending they not be used directly
Angus Gratton [Fri, 2 Sep 2016 08:39:57 +0000 (18:39 +1000)]
esp32: Add comment to ROM crypto functions recommending they not be used directly

8 years agoesp32 hwcrypto: Rework hardware crypto locking
Angus Gratton [Fri, 2 Sep 2016 08:36:26 +0000 (18:36 +1000)]
esp32 hwcrypto: Rework hardware crypto locking

Should protect against concurrent use of hardware crypto primitives,
with good performance.

Not necessary to call esp_aes_acquire_hardware(),
esp_sha_acquire_hardware(), etc when using these APIs. These are
provided for external users calling the hardware crypto hardware
directly, to coexist with this implementation.

8 years agoesp32: Move hardware crypto implementation/headers to hwcrypto directories
Angus Gratton [Fri, 2 Sep 2016 04:40:43 +0000 (14:40 +1000)]
esp32: Move hardware crypto implementation/headers to hwcrypto directories

8 years agombedtls: just format related files
Wu Jian Gang [Fri, 2 Sep 2016 03:31:38 +0000 (11:31 +0800)]
mbedtls: just format related files

method from !46

8 years agocomponents/mbedtls: modify MBEDTLS net feature
liuhan [Thu, 1 Sep 2016 02:53:23 +0000 (10:53 +0800)]
components/mbedtls: modify MBEDTLS net feature

modify get the connection's 'errno' info by calling getsockopt function.

8 years agolwip Makefile: Add POSIX headers to include path to #include <sys/sockets.h>, etc...
Angus Gratton [Wed, 31 Aug 2016 22:28:03 +0000 (08:28 +1000)]
lwip Makefile: Add POSIX headers to include path to #include <sys/sockets.h>, etc, works.

8 years agocomponents/mbedtls: modify hardware encryption feature
liuhan [Wed, 31 Aug 2016 03:43:48 +0000 (11:43 +0800)]
components/mbedtls: modify hardware encryption feature

rename "flag" and "keybites" in aes file,
rename "xxx_starts" and add license in sha file.

8 years agocomponents/mbedtls: MBEDTLS Handshake result check
liuhan [Tue, 30 Aug 2016 12:40:58 +0000 (20:40 +0800)]
components/mbedtls: MBEDTLS Handshake result check

modify esp_config.h add some feature for support http2.0 protocol, TLS Handshake OK.

8 years ago1. multi thread verify bignum AES and SHA
liuhan [Mon, 15 Aug 2016 13:04:57 +0000 (21:04 +0800)]
1. multi thread verify bignum AES and SHA

8 years agorecompile crypto and bignum function
liuhan [Mon, 8 Aug 2016 09:29:28 +0000 (17:29 +0800)]
recompile crypto and bignum function

8 years ago1. add lock function for every function
liuhan [Mon, 8 Aug 2016 05:56:36 +0000 (13:56 +0800)]
1. add lock function for every function
2. modify some function for crypto

8 years ago[t6001]: chip Use hardware acceleration of Encryption
liuhan [Fri, 5 Aug 2016 09:40:32 +0000 (17:40 +0800)]
[t6001]: chip Use hardware acceleration of Encryption

8 years agoCI: Build the esp-idf-template with the matching branch name, if it exists
Angus Gratton [Thu, 1 Sep 2016 08:58:06 +0000 (18:58 +1000)]
CI: Build the esp-idf-template with the matching branch name, if it exists

8 years agoREADME: Add Resources section with some links
Angus Gratton [Thu, 1 Sep 2016 00:04:30 +0000 (10:04 +1000)]
README: Add Resources section with some links

8 years agoRename README.buildenv to docs/build_system.rst and ReST-ify it
Angus Gratton [Wed, 31 Aug 2016 23:58:47 +0000 (09:58 +1000)]
Rename README.buildenv to docs/build_system.rst and ReST-ify it

8 years agoEclipse docs: Easier to just replace entire PATH, msys32 has everything we need to...
Angus Gratton [Wed, 31 Aug 2016 23:39:54 +0000 (09:39 +1000)]
Eclipse docs: Easier to just replace entire PATH, msys32 has everything we need to build/flash

8 years agotest_build_system: Print ESP_IDF_TEMPLATE_GIT for easier debugging
Angus Gratton [Wed, 31 Aug 2016 23:29:11 +0000 (09:29 +1000)]
test_build_system: Print ESP_IDF_TEMPLATE_GIT for easier debugging

8 years agoName component makefiles component.mk instead of Makefile
Angus Gratton [Wed, 31 Aug 2016 23:19:06 +0000 (09:19 +1000)]
Name component makefiles component.mk instead of Makefile

Fixes problems with Eclipse trying to build in directories it shouldn't.

This is a breaking change for existing repositories, they need to rename
any component Makefiles to component.mk and rename their references to
$(IDF_PATH)/make/component.mk to $(IDF_PATH)/make/component_common.mk

8 years agoEclipse doc: Add troubleshooting note about Makefile directories
Angus Gratton [Wed, 31 Aug 2016 01:13:00 +0000 (11:13 +1000)]
Eclipse doc: Add troubleshooting note about Makefile directories

8 years agoeclipse_make.sh: Fix printing of make directory
Angus Gratton [Wed, 31 Aug 2016 01:04:24 +0000 (11:04 +1000)]
eclipse_make.sh: Fix printing of make directory

8 years agoMove bin/eclipse_windows_make.sh to tools/windows_eclipse_make.sh
Angus Gratton [Wed, 31 Aug 2016 01:03:44 +0000 (11:03 +1000)]
Move bin/eclipse_windows_make.sh to tools/windows_eclipse_make.sh

Moving as bin directory is going away soon

8 years agoEclipse docs: Prepend IDF paths to beginning of PATH
Angus Gratton [Tue, 30 Aug 2016 08:10:30 +0000 (18:10 +1000)]
Eclipse docs: Prepend IDF paths to beginning of PATH

Avoids problem when a different incompatible make (MSYS1 or other) is already on PATH.

8 years agoMerge branch 'feature/mbedtls_upstream_source' into 'master'
Angus Gratton [Thu, 8 Sep 2016 03:32:02 +0000 (11:32 +0800)]
Merge branch 'feature/mbedtls_upstream_source' into 'master'

Add mbedtls release version 2.3.0

See merge request !56

8 years agoMerge branch 'feature/memory_canaries_temp' into 'master'
Angus Gratton [Thu, 8 Sep 2016 03:20:17 +0000 (11:20 +0800)]
Merge branch 'feature/memory_canaries_temp' into 'master'

FreeRTOS: temporary solution for memory canaries and memory debug

1. This is just a temporary solution, it will be removed when umm_malloc is ready
2. Support memory canaries mechanism
2. Add debug code to show allocated memory info

See merge request !64

8 years agoSet default SPI flash access mode to DIO
Jeroen Domburg [Thu, 8 Sep 2016 02:22:15 +0000 (10:22 +0800)]
Set default SPI flash access mode to DIO

8 years agoMerge branch 'bugfix/got_ip_event' into 'master'
Wu Jian Gang [Thu, 8 Sep 2016 01:44:48 +0000 (09:44 +0800)]
Merge branch 'bugfix/got_ip_event' into 'master'

tcpip_adapter: got ip event stuff

Include:
1. add dhcp callback;
2. post got ip event in dhcp callback when dhcp bind;
3. tcpip_adapter typedef clean;
4. post got ip event in station connected event handler when use valid static ip;

TW6926

See merge request !61

8 years agoFreeRTOS: temporary solution for memory canaries and memory debug
liuzhifu [Wed, 7 Sep 2016 13:52:24 +0000 (21:52 +0800)]
FreeRTOS: temporary solution for memory canaries and memory debug

1. This is just a temporary solution, it will be removed when umm_malloc is ready
2. Support memory canaries mechanism
2. Add debug code to show allocated memory info

8 years agoMerge branch 'feature/config_spi_flash_params_menuconfig' into 'master'
Angus Gratton [Wed, 7 Sep 2016 02:16:59 +0000 (10:16 +0800)]
Merge branch 'feature/config_spi_flash_params_menuconfig' into 'master'

Feature/config spi flash params menuconfig

Simple menuconfig option for flash speed and access mode.

See merge request !59

8 years agotcpip_adapter: fix dhcp client work flow
Wu Jian Gang [Mon, 5 Sep 2016 12:24:47 +0000 (20:24 +0800)]
tcpip_adapter: fix dhcp client work flow

8 years agoevent: not post got ip event if static is invalid
Wu Jian Gang [Mon, 5 Sep 2016 12:14:58 +0000 (20:14 +0800)]
event: not post got ip event if static is invalid

8 years agotcpip_adapter: typedef clean up
Wu Jian Gang [Tue, 6 Sep 2016 05:02:02 +0000 (13:02 +0800)]
tcpip_adapter: typedef clean up

8 years agoevent: post got ip event when use static ip
Wu Jian Gang [Mon, 5 Sep 2016 03:05:07 +0000 (11:05 +0800)]
event: post got ip event when use static ip

TW6926

8 years agotcpip_adapter: use dhcp callback to post got ip event
Wu Jian Gang [Fri, 2 Sep 2016 12:27:22 +0000 (20:27 +0800)]
tcpip_adapter: use dhcp callback to post got ip event

8 years agodhcp: add dhcp callback
Wu Jian Gang [Fri, 2 Sep 2016 12:00:45 +0000 (20:00 +0800)]
dhcp: add dhcp callback

The callback has no parameter now.
TODO: add a parameter to show dhcp status if needed.

8 years agolwip: remove netif_reg_addr_change_cb
Wu Jian Gang [Fri, 2 Sep 2016 10:18:22 +0000 (18:18 +0800)]
lwip: remove netif_reg_addr_change_cb

8 years agoMerge branch 'feature/get_sta_authmode' into 'master'
Wu Jian Gang [Tue, 6 Sep 2016 08:52:15 +0000 (16:52 +0800)]
Merge branch 'feature/get_sta_authmode' into 'master'

Add get station auth mode

See merge request !57

8 years agoChange the type of authmode
xiaxiaotian [Tue, 6 Sep 2016 08:15:47 +0000 (16:15 +0800)]
Change the type of authmode

8 years agoChange the type of authmode
xiaxiaotian [Tue, 6 Sep 2016 08:14:40 +0000 (16:14 +0800)]
Change the type of authmode

8 years agoPost station's auth mode event after it is connected to AP.
xiaxiaotian [Tue, 6 Sep 2016 07:28:09 +0000 (15:28 +0800)]
Post station's auth mode event after it is connected to AP.

8 years agoAdd get station auth mode
xiaxiaotian [Mon, 5 Sep 2016 13:13:20 +0000 (21:13 +0800)]
Add get station auth mode

8 years agoAdd flash freq selection to menuconfig
Jeroen Domburg [Fri, 2 Sep 2016 04:29:01 +0000 (12:29 +0800)]
Add flash freq selection to menuconfig

8 years agoAdd QIO/QOUT/DIO/DOUT select for esptool.py
Jeroen Domburg [Thu, 1 Sep 2016 07:47:09 +0000 (15:47 +0800)]
Add QIO/QOUT/DIO/DOUT select for esptool.py

8 years agoMerge branch 'feature/lwip_sntp_fromwifi' into 'master'
Angus Gratton [Tue, 6 Sep 2016 02:04:14 +0000 (10:04 +0800)]
Merge branch 'feature/lwip_sntp_fromwifi' into 'master'

Feature/lwip sntp fromwifi

Merge feature/lwip_sntp from wifi to master

See merge request !58

8 years agoMerge feature/lwip_sntp into feature/lwip_sntp_master
Angus Gratton [Tue, 6 Sep 2016 01:49:06 +0000 (11:49 +1000)]
Merge feature/lwip_sntp into feature/lwip_sntp_master

8 years agoMerge branch 'feature/wifi-stage-two' into 'master'
Angus Gratton [Tue, 6 Sep 2016 01:41:53 +0000 (09:41 +0800)]
Merge branch 'feature/wifi-stage-two' into 'master'

Merge wifi branch stage two

Merge wifi branch up to commit cb6bd109f2 plus some cleanup.

See merge request !55

8 years agoFreeRTOS thread local storage config: If using WiFi this must be >0
Angus Gratton [Tue, 6 Sep 2016 01:15:28 +0000 (11:15 +1000)]
FreeRTOS thread local storage config: If using WiFi this must be >0