]> granicus.if.org Git - esp-idf/log
esp-idf
8 years agovfs: initial version of virtual filesystem API
Ivan Grokhotkov [Tue, 25 Oct 2016 13:02:39 +0000 (21:02 +0800)]
vfs: initial version of virtual filesystem API

8 years agoMerge branch 'feature/wdts' into 'master'
Ivan Grokhotkov [Thu, 27 Oct 2016 09:09:35 +0000 (17:09 +0800)]
Merge branch 'feature/wdts' into 'master'

Feature/wdts

This adds two watchdogs to  esp-idf:

- An interrupt watchdog. Kicks in if the FreeRTOS timer interupt on either the PRO_CPU or (when configured) the APP CPU isn't called for a configurable time. Panics, displaying which CPU caused the problem and the registers that may lead to the offending code.
- A task watchdog. A task has to feed it every once in a while. If not, it will print the name of the offending tasks, as well as the tasks currently running on both CPUs, and optionally panic.

Also adds a panic reason to the panic call, as well as fixes the panic code a bit.

See merge request !148

8 years agoMerge branch 'feature/refractor_for_lwip' into 'master'
Wu Jian Gang [Thu, 27 Oct 2016 07:47:18 +0000 (15:47 +0800)]
Merge branch 'feature/refractor_for_lwip' into 'master'

lwip: refactoring for lwip

1. All espressif specific code are prefix with ESP_
2. Define all ESP_ options in lwipopts.h
3. Remove useless code added in 8266

See merge request !154

8 years agolwip: refractor for lwip
Liu Zhi Fu [Thu, 27 Oct 2016 06:11:01 +0000 (14:11 +0800)]
lwip: refractor for lwip

1. All espressif specific code are prefix with ESP_
2. Define all ESP_ options in lwipopts.h
3. Remove useless code added in 8266

8 years agoMerge branch 'feature/freertos_static_buffers' into 'master'
Ivan Grokhotkov [Thu, 27 Oct 2016 05:44:31 +0000 (13:44 +0800)]
Merge branch 'feature/freertos_static_buffers' into 'master'

Backport the static allocation feature from FreeRTOS V9.0.0

This feature allows to use static buffers (or from a pool of memory which is not
controlled by FreeRTOS).
In order to reduce the impact of the changes, the static feature has only been added
to the queus (and in consequence to the semaphores and the mutexes) and the tasks.
The Timer task is always dynamically allocated and also the idle task(s), which in the
case of the ESP-IDF is ok, since we always need to have dynamic allocation enabled.

Original PR on Github: https://github.com/espressif/esp-idf/pull/21

See merge request !107

8 years agoMerge branch 'master' into feature/freertos_static_buffers
Ivan Grokhotkov [Thu, 27 Oct 2016 04:38:35 +0000 (12:38 +0800)]
Merge branch 'master' into feature/freertos_static_buffers

8 years agoesp32: update libs for changes in FreeRTOS header files
Ivan Grokhotkov [Thu, 27 Oct 2016 04:37:34 +0000 (12:37 +0800)]
esp32: update libs for changes in FreeRTOS header files

8 years agoMerge branch 'feature/add_api_to_get_ap_info' into 'master'
Wu Jian Gang [Thu, 27 Oct 2016 03:33:56 +0000 (11:33 +0800)]
Merge branch 'feature/add_api_to_get_ap_info' into 'master'

esp32: add esp_wifi_sta_get_ap_info

The customers need to get information about AP that associated with ESP32 station,
these information includes RSSI, channel number etc, so add this new API

See merge request !153

8 years agoFix panic config ifdefs, un-stall app cpu on boot so it restarts after panic
Jeroen Domburg [Thu, 27 Oct 2016 03:17:24 +0000 (11:17 +0800)]
Fix panic config ifdefs, un-stall app cpu on boot so it restarts after panic

8 years agoesp32: add esp_wifi_sta_get_ap_info
Liu Zhi Fu [Thu, 27 Oct 2016 02:42:01 +0000 (10:42 +0800)]
esp32: add esp_wifi_sta_get_ap_info

The customers need to get information about AP that associated with ESP32 station,
these information includes RSSI, channel number etc, so add this new API

8 years agoMerge remote-tracking branch 'origin/master' into feature/wdts
Jeroen Domburg [Thu, 27 Oct 2016 02:25:23 +0000 (10:25 +0800)]
Merge remote-tracking branch 'origin/master' into feature/wdts

8 years agoMerge branch 'feature/refractor_for_some_wifi_APIs' into 'master'
Wu Jian Gang [Thu, 27 Oct 2016 02:08:32 +0000 (10:08 +0800)]
Merge branch 'feature/refractor_for_some_wifi_APIs' into 'master'

Feature/refractor for some wifi ap is

    1. Modify esp_wifi_get_station_list to esp_wifi_ap_get_sta_list
    2. Modify tcpip_adapter_get_station_list to tcpip_adapter_get_sta_list
    3. Remove esp_wifi_free_station_list
    4. Remove tcpip_adapter_free_station_list
    5. Modify related data struct accordingly
    6. Move soft watchdog from wifi lib to IDF

See merge request !152

8 years agoChange inline to static inline functions. Ref Github issue 62.
Jeroen Domburg [Thu, 27 Oct 2016 01:15:43 +0000 (09:15 +0800)]
Change inline to static inline functions. Ref Github issue 62.

8 years agoMerge branch 'feature/add_per_socket_tcp_window' into 'master'
Jeroen Domburg [Wed, 26 Oct 2016 15:39:36 +0000 (23:39 +0800)]
Merge branch 'feature/add_per_socket_tcp_window' into 'master'

components/lwip - add per socket tcp window

Add code to support per socket tcp window and tcp send buffer size configuration.

See merge request !145

8 years agocomponents/esp32: refractor according to review comments
liuzhifu [Wed, 26 Oct 2016 13:50:15 +0000 (21:50 +0800)]
components/esp32: refractor according to review comments

modify esp_wifi_kick_sta to esp_wifi_deauth_sta

8 years agoesp32/tcpip_adapter: rework according to review comments
liuzhifu [Wed, 26 Oct 2016 12:02:39 +0000 (20:02 +0800)]
esp32/tcpip_adapter: rework according to review comments

1. Modify sta to station in comments
2. Modify esp_wifi_get_ap_num to esp_wifi_scan_get_ap_num
3. Modify esp_wifi_get_ap_list to esp_wifi_scan_get_ap_records

8 years agocomponents/esp32: udpate wifi lib
liuzhifu [Wed, 26 Oct 2016 10:18:58 +0000 (18:18 +0800)]
components/esp32: udpate wifi lib

1. cc5a5e29 - refractor for some wifi APIs
2. 8d787147 - move soft wdt to idf

8 years agoesp32/tcpip_adapter: refractor for some wifi APIs
liuzhifu [Wed, 26 Oct 2016 10:16:40 +0000 (18:16 +0800)]
esp32/tcpip_adapter: refractor for some wifi APIs

1. Modify esp_wifi_get_station_list to esp_wifi_ap_get_sta_list
2. Modify tcpip_adapter_get_station_list to tcpip_adapter_get_sta_list
3. Remove esp_wifi_free_station_list
4. Remove tcpip_adapter_free_station_list
5. Modify related data struct accordingly

8 years agoMerge branch 'feature/add_internal_api_header' into 'master'
Wu Jian Gang [Wed, 26 Oct 2016 09:29:12 +0000 (17:29 +0800)]
Merge branch 'feature/add_internal_api_header' into 'master'

Feature/add internal api header

    1. Add esp_wifi_internal.h
    2. Rename system_pp_recycle_rx_pkt to esp_wifi_internal_free_rx_buffer
    3. rename esp_wifi_tx_is_stop to esp_wifi_internal_tx_is_stop
    4. rename ieee80211_output to esp_wifi_internal_tx

See merge request !151

8 years agoMove write key and stage action select constants into headers
Jeroen Domburg [Wed, 26 Oct 2016 06:54:50 +0000 (14:54 +0800)]
Move write key and stage action select constants into headers

8 years agocomponents esp32/lwip: modify code according to review comments
liuzhifu [Wed, 26 Oct 2016 06:09:54 +0000 (14:09 +0800)]
components esp32/lwip: modify code according to review comments

1. Modify comments for esp_wifi_internal_tx
2. Fix delay time error in esp32_tx_flow_ctrl which is found in code review,
   modify _wait_delay init value from 0 to 1

8 years agocomponents/esp32: update wifi lib
liuzhifu [Wed, 26 Oct 2016 05:53:00 +0000 (13:53 +0800)]
components/esp32: update wifi lib

6ce01d76: rename some wifi internal APIs
aa4d2aa9: last rx buffer is reserved for mgmt frame
bb0ff4a8: tw7775 fix assert when rx auth frame before create bss

8 years agolwip/esp32: move the extern wifi calls into esp_wifi_internal.h
liuzhifu [Wed, 26 Oct 2016 05:23:35 +0000 (13:23 +0800)]
lwip/esp32: move the extern wifi calls into esp_wifi_internal.h

1. Add esp_wifi_internal.h
2. Rename system_pp_recycle_rx_pkt to esp_wifi_internal_free_rx_buffer
3. rename esp_wifi_tx_is_stop to esp_wifi_internal_tx_is_stop
4. rename ieee80211_output to esp_wifi_internal_tx

8 years agoRemove superfluous backup files
Jeroen Domburg [Wed, 26 Oct 2016 04:23:35 +0000 (12:23 +0800)]
Remove superfluous backup files

8 years agoMove panic handler and gdbstub into esp32 component, clean up wdt according to merge...
Jeroen Domburg [Wed, 26 Oct 2016 04:23:01 +0000 (12:23 +0800)]
Move panic handler and gdbstub into esp32 component, clean up wdt according to merge req suggestions

8 years agoMove panic handler code from FreeRTOS to esp32 component
Jeroen Domburg [Wed, 26 Oct 2016 03:06:53 +0000 (11:06 +0800)]
Move panic handler code from FreeRTOS to esp32 component

8 years agoMerge in master updates
Jeroen Domburg [Wed, 26 Oct 2016 03:04:42 +0000 (11:04 +0800)]
Merge in master updates

8 years agoAdd licenses, docbook, general cleanup
Jeroen Domburg [Tue, 25 Oct 2016 10:18:11 +0000 (18:18 +0800)]
Add licenses, docbook, general cleanup

8 years agoMake CPU1 int wdt / idle task wdt configurable, panic now properly disables other...
Jeroen Domburg [Tue, 25 Oct 2016 10:08:55 +0000 (18:08 +0800)]
Make CPU1 int wdt / idle task wdt configurable, panic now properly disables other cpu, tick handler now also is called on cpu1, task wdt prints currently running tasks.

8 years agoDisable brown-out WDT, fix thread WDT, add panic reason indication to _xt_panic()
Jeroen Domburg [Tue, 25 Oct 2016 09:05:13 +0000 (17:05 +0800)]
Disable brown-out WDT, fix thread WDT, add panic reason indication to _xt_panic()

8 years agoMerge branch 'bugfix/tw7458_dhcps_wrong_after_mode_switch' into 'master'
Wu Jian Gang [Tue, 25 Oct 2016 03:03:34 +0000 (11:03 +0800)]
Merge branch 'bugfix/tw7458_dhcps_wrong_after_mode_switch' into 'master'

component/tcpip_adapter: not update dhcps status when it is stopped after mode switch

When switch the mode from WIFI_MODE_STA/WIFI_MODE_NULL to WIFI_MODE_AP/WIFI_MODE_APSTA,
if the dhcp server is STOPPED, then dhcp server will not start automatically.

See merge request !147

8 years agocomponent/tcpip_adapter: not update dhcps status when it is stopped after mode switch
liuzhifu [Tue, 25 Oct 2016 01:26:10 +0000 (09:26 +0800)]
component/tcpip_adapter: not update dhcps status when it is stopped after mode switch

When switch the mode from WIFI_MODE_STA/WIFI_MODE_NULL to WIFI_MODE_AP/WIFI_MODE_APSTA,
if the dhcp server is STOPPED, then dhcp server will not start automatically.

8 years agoMerge branch 'bugfix/esptool_write_protect' into 'master'
Angus Gratton [Mon, 24 Oct 2016 01:58:46 +0000 (09:58 +0800)]
Merge branch 'bugfix/esptool_write_protect' into 'master'

Fix flash write protect bug

As reported in github #50 and on forum.

Incorporates other esptool.py changes:
https://github.com/themadinventor/esptool/compare/197ba605...5c6962e8

See merge request !144

8 years agocomponents/lwip - add per socket tcp window
liuzhifu [Sat, 22 Oct 2016 16:49:41 +0000 (00:49 +0800)]
components/lwip - add per socket tcp window

Add code to support per socket tcp window and tcp send buffer size configuration.

8 years agoBrownout works (in as far brownout can work...), int wdt works.
Jeroen Domburg [Fri, 21 Oct 2016 11:30:29 +0000 (19:30 +0800)]
Brownout works (in as far brownout can work...), int wdt works.

8 years agoMerge branch 'feature/trax' into 'master'
Jeroen Domburg [Fri, 21 Oct 2016 10:16:12 +0000 (18:16 +0800)]
Merge branch 'feature/trax' into 'master'

Feature/trax

Add Trax support to esp-idf. OpenOCD already has trax support, this allows an esp-idf program to also trigger this when needed. Also included: some more logic to correctly reserve memory blocks for Trax.

See merge request !73

8 years agoAdd licenses to Trax files
Jeroen Domburg [Fri, 21 Oct 2016 10:01:08 +0000 (18:01 +0800)]
Add licenses to Trax files

8 years agoInitial addition of wdt and brownout code
Jeroen Domburg [Fri, 21 Oct 2016 09:59:57 +0000 (17:59 +0800)]
Initial addition of wdt and brownout code

8 years agoMerge branch 'feature/component_hostcc_hostld_etc' into 'master'
Jeroen Domburg [Fri, 21 Oct 2016 07:52:28 +0000 (15:52 +0800)]
Merge branch 'feature/component_hostcc_hostld_etc' into 'master'

Also export HOSTCC etc for components

As title says :)

See merge request !143

8 years agoRemove SPIUnlock from linker script symbols
Angus Gratton [Fri, 21 Oct 2016 06:08:05 +0000 (17:08 +1100)]
Remove SPIUnlock from linker script symbols

Add a comment about why it was removed and where it went.

8 years agoBootloader: Export IS_BOOTLOADER_BUILD during make process
Angus Gratton [Fri, 21 Oct 2016 06:44:34 +0000 (17:44 +1100)]
Bootloader: Export IS_BOOTLOADER_BUILD during make process

8 years agoReplace ROM SPIUnlock function with a version that can't lock flash
Angus Gratton [Fri, 21 Oct 2016 05:02:06 +0000 (16:02 +1100)]
Replace ROM SPIUnlock function with a version that can't lock flash

Avoid bug where a bad status read is copied back to flash and can set
lock bits.

8 years agobootloader, menuconfig: add flash size setting support
Ivan Grokhotkov [Tue, 18 Oct 2016 11:03:59 +0000 (19:03 +0800)]
bootloader, menuconfig: add flash size setting support

8 years agoBump esptool version
Angus Gratton [Fri, 21 Oct 2016 04:26:11 +0000 (15:26 +1100)]
Bump esptool version

Incorporates fix for locked flash #50

8 years agoMerge branch 'feature/release_build' into 'master'
Ivan Grokhotkov [Fri, 21 Oct 2016 02:56:03 +0000 (10:56 +0800)]
Merge branch 'feature/release_build' into 'master'

Add menuconfig setting for optimization level

This change adds two options (Debug/Release) for optimization level.
- Debug (default) enables -O0
- Release enables -Os and adds `-DNDEBUG`, which removes all assert() statements

These options may be overriden at project level by adding necessary flags to CFLAGS/CXXFLAGS.

Debugging symbols are kept in both cases, although we may add an option to strip output file if necessary.

Also we used to define all common compiler flags in CPPFLAGS, and then prepended them to CFLAGS/CXXFLAGS.
It made it impossible to add preprocessor macros to CPPFLAGS at component level (one had to use CFLAGS/CXXFLAGS instead).
Some third party libraries are not compatible with this approach. Changed to the more common way of using these variables.

CI will build both debug (default) and release.

See merge request !138

8 years agorom/spi_flash.h: Remove first parameter of SPI_read_status_high()
Angus Gratton [Thu, 20 Oct 2016 23:44:05 +0000 (10:44 +1100)]
rom/spi_flash.h: Remove first parameter of SPI_read_status_high()

Corrects the prototype to match the one compiled into ROM.

8 years agoAlso export HOSTCC etc for components
Jeroen Domburg [Thu, 20 Oct 2016 12:11:13 +0000 (20:11 +0800)]
Also export HOSTCC etc for components

8 years agobuild system: fix setting C**FLAGS from project makefile
Ivan Grokhotkov [Thu, 20 Oct 2016 09:17:54 +0000 (17:17 +0800)]
build system: fix setting C**FLAGS from project makefile

8 years agobuild system: use -Og instead of -O0 for debug builds, expand help text in menuconfig
Ivan Grokhotkov [Thu, 20 Oct 2016 08:10:51 +0000 (16:10 +0800)]
build system: use -Og instead of -O0 for debug builds, expand help text in menuconfig

8 years agoMerge branch 'bugfix/build_dir_base' into 'master'
Angus Gratton [Thu, 20 Oct 2016 05:58:48 +0000 (13:58 +0800)]
Merge branch 'bugfix/build_dir_base' into 'master'

Build system: Fix BUILD_DIR_BASE out of tree

See github issue https://github.com/espressif/esp-idf/issues/38

See merge request !130

8 years agoMerge branch 'feature/faster_task_switching' into 'master'
Jeroen Domburg [Thu, 20 Oct 2016 05:50:43 +0000 (13:50 +0800)]
Merge branch 'feature/faster_task_switching' into 'master'

Optimize task switching

xPortGetCoreID to inline assembly: 32 to 25 uS

Spinlock optimizations: another 1.5uS.

See merge request !139

8 years agoChange inline assembly bits from macros to inline functions
Jeroen Domburg [Thu, 20 Oct 2016 03:23:59 +0000 (11:23 +0800)]
Change inline assembly bits from macros to inline functions

8 years agoBuild tests: Use & document clean_build_dir
Angus Gratton [Tue, 18 Oct 2016 04:35:17 +0000 (15:35 +1100)]
Build tests: Use & document clean_build_dir

8 years agoMerge branch 'master' into bugfix/build_dir_base
Angus Gratton [Tue, 18 Oct 2016 04:30:57 +0000 (15:30 +1100)]
Merge branch 'master' into bugfix/build_dir_base

8 years agoWarn user if trax is disabled in menuconfig but functions are called anyway.
Jeroen Domburg [Tue, 18 Oct 2016 03:50:19 +0000 (11:50 +0800)]
Warn user if trax is disabled in menuconfig but functions are called anyway.

8 years agoMerge branch 'bugfix/build_bootloader' into 'master'
Angus Gratton [Tue, 18 Oct 2016 03:44:33 +0000 (11:44 +0800)]
Merge branch 'bugfix/build_bootloader' into 'master'

build system tests: Verify bootloader doesn't build any files outside build/bootloader & config

See TW7505. Looks like bug was fixed via prior refactors, but adding the
test ensures it will stay fixed.

See merge request !137

8 years agoSome more optimizations, mostly in involuntary task switches. Doesn not really help...
Jeroen Domburg [Tue, 18 Oct 2016 02:51:08 +0000 (10:51 +0800)]
Some more optimizations, mostly in involuntary task switches. Doesn not really help here, but might in other cases.

8 years agoDetect success before errors in vPortCPUReleaseMutex. Shaves off another half uS.
Jeroen Domburg [Mon, 17 Oct 2016 10:49:19 +0000 (18:49 +0800)]
Detect success before errors in vPortCPUReleaseMutex. Shaves off another half uS.

8 years agoMake uxPortCompareSet into a macro. 25uS -> 24uS
Jeroen Domburg [Mon, 17 Oct 2016 10:30:13 +0000 (18:30 +0800)]
Make uxPortCompareSet into a macro. 25uS -> 24uS

8 years agoOptimize xPortGetCoreID to 2-instruction inline assembly.
Jeroen Domburg [Mon, 17 Oct 2016 10:09:15 +0000 (18:09 +0800)]
Optimize xPortGetCoreID to 2-instruction inline assembly.

8 years agoMerge branch 'master' into feature/freertos_static_buffers
Ivan Grokhotkov [Mon, 17 Oct 2016 08:02:09 +0000 (16:02 +0800)]
Merge branch 'master' into feature/freertos_static_buffers

8 years agosmartconfig: update to match new FreeRTOS header files
Ivan Grokhotkov [Mon, 17 Oct 2016 06:12:16 +0000 (14:12 +0800)]
smartconfig: update to match new FreeRTOS header files

8 years agobuild system: fix typo, move -ggdb to OPTIMIZATION_FLAGS
Ivan Grokhotkov [Mon, 17 Oct 2016 05:47:13 +0000 (13:47 +0800)]
build system: fix typo, move -ggdb to OPTIMIZATION_FLAGS

8 years agoAdd test for compiling in release mode, fix warnings and errors which appeared
Ivan Grokhotkov [Mon, 17 Oct 2016 04:45:42 +0000 (12:45 +0800)]
Add test for compiling in release mode, fix warnings and errors which appeared

8 years agobuild system: add menuconfig choice for optimization level, reorganize C*FLAGS
Ivan Grokhotkov [Mon, 17 Oct 2016 04:38:17 +0000 (12:38 +0800)]
build system: add menuconfig choice for optimization level, reorganize C*FLAGS

This change adds two options (Debug/Release) for optimization level.
Debug enables -O0, release enables -Os and adds -DNDEBUG (which removes all assert() statements).
Debugging symbols are kept in both cases, although we may add an option to strip output file if necessary.
Also we used to define all common compiler flags in CPPFLAGS, and then appended them to CFLAGS/CXXFLAGS.
It makes it impossible to add preprocessor macros to CPPFLAGS at component level (one has to use CFLAGS/CXXFLAGS instead).
Some third party libraries are not compatible with this approach. Changed to the more common way of using these variables.

8 years agoAdd Trax-support to esp-idf
Jeroen Domburg [Mon, 17 Oct 2016 04:18:17 +0000 (12:18 +0800)]
Add Trax-support to esp-idf

8 years agowifi libraries: update to match new FreeRTOS header files
Ivan Grokhotkov [Fri, 14 Oct 2016 13:52:43 +0000 (21:52 +0800)]
wifi libraries: update to match new FreeRTOS header files

8 years agofreertos: forward task affinity argument to prvInitializeNewTask
Ivan Grokhotkov [Fri, 14 Oct 2016 13:24:58 +0000 (21:24 +0800)]
freertos: forward task affinity argument to prvInitializeNewTask

8 years agoMerge branch 'feature/test_auto_config' into 'master'
Ivan Grokhotkov [Thu, 13 Oct 2016 07:01:23 +0000 (15:01 +0800)]
Merge branch 'feature/test_auto_config' into 'master'

Feature/test auto config

See merge request !114

8 years agobuild system tests: Verify bootloader doesn't build any files outside build/bootloade...
Angus Gratton [Thu, 13 Oct 2016 00:01:30 +0000 (11:01 +1100)]
build system tests: Verify bootloader doesn't build any files outside build/bootloader & config

See TW7505. Looks like bug was fixed via prior refactors, but adding the
test ensures it will stay fixed.

8 years agoMerge branch 'bugfix/small_fixes_jd' into 'master'
Jeroen Domburg [Wed, 12 Oct 2016 13:13:34 +0000 (21:13 +0800)]
Merge branch 'bugfix/small_fixes_jd' into 'master'

Some small fixes

- Kill unused uxReturn in task.c,  https://github.com/espressif/esp-idf/issues/48
- Line end conversion in gpio.c
- Move heap_alloc_caps.h so components can also use it

See merge request !135

8 years agoFix offset of coreid in tasktcb
Jeroen Domburg [Wed, 12 Oct 2016 10:17:58 +0000 (18:17 +0800)]
Fix offset of coreid in tasktcb

8 years agoAdd xCoreID arg to prvInitialiseNewTask code; initialize pvThreadLocalStoragePointers...
Jeroen Domburg [Wed, 12 Oct 2016 09:46:15 +0000 (17:46 +0800)]
Add xCoreID arg to prvInitialiseNewTask code; initialize pvThreadLocalStoragePointersDelCallback array to NULL

8 years agoremove debug command "ls" in test report job
Yinling [Wed, 12 Oct 2016 03:48:24 +0000 (11:48 +0800)]
remove debug command "ls" in test report job

8 years agoshould set TEST_CASE_FILE_PATH before CONFIG_FILE use it
Yinling [Wed, 12 Oct 2016 03:44:54 +0000 (11:44 +0800)]
should set TEST_CASE_FILE_PATH before CONFIG_FILE use it

8 years agorename components/test to idf_test:
Yinling [Wed, 12 Oct 2016 03:17:56 +0000 (11:17 +0800)]
rename components/test to idf_test:

1. test will be categorized by test level
2. add test level as attribute to test cases
3. will select TestCaseScript by the test cases added to CI (currently no test case uses test case script)
4. adding test level to test jobs
5. update .gitlab-ci.yml, each job need to set its test case file path
6. update .gitlab-ci.yml, test case path for test report is changed to idf_test

8 years agoReinstate build_examples gitlab CI case
Angus Gratton [Tue, 11 Oct 2016 05:41:05 +0000 (16:41 +1100)]
Reinstate build_examples gitlab CI case

Had been removed in 42e31116

8 years agofix issue on test report job:
Yinling [Fri, 30 Sep 2016 08:11:24 +0000 (16:11 +0800)]
fix issue on test report job:

1. test report job should be put to deploy stage, otherwise it can't get logs from test stage
2. allow test fail so that test report job will be executed for failed test

8 years agocan not put test report to deploy stage, otherwise if test fails it won't generate...
He Yin Ling [Fri, 30 Sep 2016 07:34:17 +0000 (15:34 +0800)]
can not put test report to deploy stage, otherwise if test fails it won't generate test report.

8 years agoadd job to generate test report
Yinling [Fri, 30 Sep 2016 05:58:02 +0000 (13:58 +0800)]
add job to generate test report

8 years agomove content from readme to wiki
Yinling [Thu, 29 Sep 2016 12:47:31 +0000 (20:47 +0800)]
move content from readme to wiki

8 years agoadd some missing cases caused by autogen bug
Yinling [Thu, 29 Sep 2016 12:22:33 +0000 (20:22 +0800)]
add some missing cases caused by autogen bug

8 years agonight jobs should exit succeed if no need to run
Yinling [Thu, 29 Sep 2016 12:21:33 +0000 (20:21 +0800)]
night jobs should exit succeed if no need to run

8 years agoupdate current known issue for ESP32 IDF test
Yinling [Thu, 29 Sep 2016 12:20:40 +0000 (20:20 +0800)]
update current known issue for ESP32 IDF test

8 years agoTest cases use libpcap or libnet are not CI ready now:
Yinling [Thu, 29 Sep 2016 06:14:19 +0000 (14:14 +0800)]
Test cases use libpcap or libnet are not CI ready now:

1. It need rebuild native lib
2. require root permission

8 years agoadd gitlab key in test template job
Yinling [Thu, 29 Sep 2016 05:38:29 +0000 (13:38 +0800)]
add gitlab key in test template job

8 years agobuild SSC should also use variable for server name
He Yin Ling [Wed, 28 Sep 2016 12:11:42 +0000 (20:11 +0800)]
build SSC should also use variable for server name

8 years agosync test config from test bench:
Yinling [Thu, 29 Sep 2016 04:07:35 +0000 (12:07 +0800)]
sync test config from test bench:

1. night jobs should exit without error if not triggered
2. remove get wifi connect status cases from IDF
3. use Env tag to check if test environment is special

8 years agoupdate job configs for allow case fail feature
Yinling [Wed, 28 Sep 2016 11:54:43 +0000 (19:54 +0800)]
update job configs for allow case fail feature

8 years agoadd note that test folder is for internal use.
Yinling [Wed, 28 Sep 2016 11:52:04 +0000 (19:52 +0800)]
add note that test folder is for internal use.
Will move data in readme to wiki except first two notes.

8 years agosync several changes from auto_test_script:
Yinling [Wed, 28 Sep 2016 11:48:38 +0000 (19:48 +0800)]
sync several changes from auto_test_script:

1. use variable for gitlab server
2. add LOCAL_ENV_CONFIG_PATH to template
2. update jobs with feature "allow fail"

8 years agoadd KnownIssues file to test:
Yinling [Wed, 28 Sep 2016 11:43:45 +0000 (19:43 +0800)]
add KnownIssues file to test:

add known issues to this file so that they will be exculded in CI results

8 years agofix bugs in config files:
Yinling [Tue, 27 Sep 2016 08:22:51 +0000 (16:22 +0800)]
fix bugs in config files:

1. filter name is "Add" not "ADD"
2. SSC_T1_APC is special environment
3. remove "debug mode" from config as it will implemented with other ways

8 years agoauto_test_script will be cloned from gitlab
Yinling [Tue, 27 Sep 2016 08:22:18 +0000 (16:22 +0800)]
auto_test_script will be cloned from gitlab

8 years agomodify document to add how to run test locally
Yinling [Mon, 26 Sep 2016 11:26:53 +0000 (19:26 +0800)]
modify document to add how to run test locally

8 years agorevise .gitlab-ci.yml:
Yinling [Mon, 26 Sep 2016 11:24:51 +0000 (19:24 +0800)]
revise .gitlab-ci.yml:
1. remove duplicated code
2. fix path error for config file

8 years agoupdate CI config file:
Yinling [Mon, 26 Sep 2016 06:32:58 +0000 (14:32 +0800)]
update CI config file:
1. add night job define (need to set variable in trigger to run night jobs)
2. move auto generated part to the end of file
3. add auto generated CI jobs

8 years agoadd auto generated test folder to components:
Yinling [Mon, 26 Sep 2016 06:27:57 +0000 (14:27 +0800)]
add auto generated test folder to components:
1. add test cases and related scripts
2. add CI config files
read README.md for detail

8 years agofreertos: fix setting xCoreID for new task
Ivan Grokhotkov [Tue, 11 Oct 2016 06:05:15 +0000 (00:05 -0600)]
freertos: fix setting xCoreID for new task

8 years agoMerge branch 'master' into feature/freertos_static_buffers
Ivan Grokhotkov [Tue, 11 Oct 2016 05:34:45 +0000 (23:34 -0600)]
Merge branch 'master' into feature/freertos_static_buffers

* master: (117 commits)
  build system: Add -fno-rtti when compiling C++ code
  FreeRTOS KConfig: Limit tick rate to 1000Hz
  bootloader: Fix accidental tabs introduced in !78
  build system: Print a WARNING if any submodule is out of date
  Fix stack overflow message format
  'make flash' targets: Print serial port when flashing
  lwip/esp32: support iperf
  Add data memory for RMT peripheral
  syscall write: Should return number of bytes written
  Also push relevant tags over
  esp32: add libsmartconfig.a to link libs
  esp32: not link wps
  esp32/lib: update wifi lib to a1e5f8b9
  esp32: remove esp_wps.h
  add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)
  esp32/lib: update wifi lib to 3853d7ae
  Add Comments
  Modify spinlock error in periph_ctrl.c
  Define xcoreid offset, add warning in tcb struct wrt the need to also change that define when struct changes
  components/tcpip_adapter: add some comments
  ...

# Conflicts:
# components/freertos/queue.c
# components/freertos/tasks.c