]>
granicus.if.org Git - esp-idf/log
Jeroen Domburg [Wed, 26 Oct 2016 06:54:50 +0000 (14:54 +0800)]
Move write key and stage action select constants into headers
Jeroen Domburg [Wed, 26 Oct 2016 04:23:35 +0000 (12:23 +0800)]
Remove superfluous backup files
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
Jeroen Domburg [Wed, 26 Oct 2016 03:06:53 +0000 (11:06 +0800)]
Move panic handler code from FreeRTOS to esp32 component
Jeroen Domburg [Wed, 26 Oct 2016 03:04:42 +0000 (11:04 +0800)]
Merge in master updates
Jeroen Domburg [Tue, 25 Oct 2016 10:18:11 +0000 (18:18 +0800)]
Add licenses, docbook, general cleanup
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.
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()
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
Jeroen Domburg [Fri, 21 Oct 2016 11:30:29 +0000 (19:30 +0800)]
Brownout works (in as far brownout can work...), int wdt works.
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
Jeroen Domburg [Fri, 21 Oct 2016 10:01:08 +0000 (18:01 +0800)]
Add licenses to Trax files
Jeroen Domburg [Fri, 21 Oct 2016 09:59:57 +0000 (17:59 +0800)]
Initial addition of wdt and brownout code
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
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.
Angus Gratton [Fri, 21 Oct 2016 06:44:34 +0000 (17:44 +1100)]
Bootloader: Export IS_BOOTLOADER_BUILD during make process
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.
Ivan Grokhotkov [Tue, 18 Oct 2016 11:03:59 +0000 (19:03 +0800)]
bootloader, menuconfig: add flash size setting support
Angus Gratton [Fri, 21 Oct 2016 04:26:11 +0000 (15:26 +1100)]
Bump esptool version
Incorporates fix for locked flash #50
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
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.
Jeroen Domburg [Thu, 20 Oct 2016 12:11:13 +0000 (20:11 +0800)]
Also export HOSTCC etc for components
Ivan Grokhotkov [Thu, 20 Oct 2016 09:17:54 +0000 (17:17 +0800)]
build system: fix setting C**FLAGS from project makefile
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
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
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
Jeroen Domburg [Thu, 20 Oct 2016 03:23:59 +0000 (11:23 +0800)]
Change inline assembly bits from macros to inline functions
Angus Gratton [Tue, 18 Oct 2016 04:35:17 +0000 (15:35 +1100)]
Build tests: Use & document clean_build_dir
Angus Gratton [Tue, 18 Oct 2016 04:30:57 +0000 (15:30 +1100)]
Merge branch 'master' into bugfix/build_dir_base
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.
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
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.
Jeroen Domburg [Mon, 17 Oct 2016 10:49:19 +0000 (18:49 +0800)]
Detect success before errors in vPortCPUReleaseMutex. Shaves off another half uS.
Jeroen Domburg [Mon, 17 Oct 2016 10:30:13 +0000 (18:30 +0800)]
Make uxPortCompareSet into a macro. 25uS -> 24uS
Jeroen Domburg [Mon, 17 Oct 2016 10:09:15 +0000 (18:09 +0800)]
Optimize xPortGetCoreID to 2-instruction inline assembly.
Ivan Grokhotkov [Mon, 17 Oct 2016 05:47:13 +0000 (13:47 +0800)]
build system: fix typo, move -ggdb to OPTIMIZATION_FLAGS
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
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.
Jeroen Domburg [Mon, 17 Oct 2016 04:18:17 +0000 (12:18 +0800)]
Add Trax-support to esp-idf
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
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.
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
Yinling [Wed, 12 Oct 2016 03:48:24 +0000 (11:48 +0800)]
remove debug command "ls" in test report job
Yinling [Wed, 12 Oct 2016 03:44:54 +0000 (11:44 +0800)]
should set TEST_CASE_FILE_PATH before CONFIG_FILE use it
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
Angus Gratton [Tue, 11 Oct 2016 05:41:05 +0000 (16:41 +1100)]
Reinstate build_examples gitlab CI case
Had been removed in
42e31116
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
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.
Yinling [Fri, 30 Sep 2016 05:58:02 +0000 (13:58 +0800)]
add job to generate test report
Yinling [Thu, 29 Sep 2016 12:47:31 +0000 (20:47 +0800)]
move content from readme to wiki
Yinling [Thu, 29 Sep 2016 12:22:33 +0000 (20:22 +0800)]
add some missing cases caused by autogen bug
Yinling [Thu, 29 Sep 2016 12:21:33 +0000 (20:21 +0800)]
night jobs should exit succeed if no need to run
Yinling [Thu, 29 Sep 2016 12:20:40 +0000 (20:20 +0800)]
update current known issue for ESP32 IDF test
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
Yinling [Thu, 29 Sep 2016 05:38:29 +0000 (13:38 +0800)]
add gitlab key in test template job
He Yin Ling [Wed, 28 Sep 2016 12:11:42 +0000 (20:11 +0800)]
build SSC should also use variable for server name
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
Yinling [Wed, 28 Sep 2016 11:54:43 +0000 (19:54 +0800)]
update job configs for allow case fail feature
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.
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"
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
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
Yinling [Tue, 27 Sep 2016 08:22:18 +0000 (16:22 +0800)]
auto_test_script will be cloned from gitlab
Yinling [Mon, 26 Sep 2016 11:26:53 +0000 (19:26 +0800)]
modify document to add how to run test locally
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
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
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
Angus Gratton [Mon, 10 Oct 2016 21:00:27 +0000 (05:00 +0800)]
Merge branch 'bugfix/fixes_from_github' into 'master'
Minor fixes/improvements (github-related)
Fixes for some issues reported on github or otherwise related.
See merge request !131
Angus Gratton [Mon, 10 Oct 2016 06:19:13 +0000 (17:19 +1100)]
build system: Add -fno-rtti when compiling C++ code
Angus Gratton [Wed, 5 Oct 2016 23:06:01 +0000 (10:06 +1100)]
FreeRTOS KConfig: Limit tick rate to 1000Hz
>1000Hz breaks portTICK_PERIOD_MS (see gitlab 4)
A working >1000Hz tick rate is possible with some changes, but beyond a
certain point it's dimishing returns to preempt tasks this often.
Angus Gratton [Wed, 5 Oct 2016 22:55:43 +0000 (09:55 +1100)]
bootloader: Fix accidental tabs introduced in !78
Angus Gratton [Tue, 4 Oct 2016 05:33:18 +0000 (16:33 +1100)]
build system: Print a WARNING if any submodule is out of date
Inspired by Github #27 and related "gotchas" with keeping submodules up to date.
rudi ;-) [Sun, 2 Oct 2016 00:04:09 +0000 (02:04 +0200)]
Fix stack overflow message format
Poorly formatted message for stack overflow for task. Closes #36
Angus Gratton [Mon, 3 Oct 2016 23:12:17 +0000 (10:12 +1100)]
'make flash' targets: Print serial port when flashing
Inspired by github #30 and related mentions where selected serial port
is not clear from the make output.
Angus Gratton [Mon, 10 Oct 2016 20:52:34 +0000 (04:52 +0800)]
Merge branch 'feature/support_iperf' into 'master'
lwip/esp32: support iperf
1. Add _exit() definition in syscalls.c
2. Fix a bug in sockets.c on which iperf depends
I'm now investigating performance of esp32, need iperf to be merged in to master branch for convience
See merge request !136
Jeroen Domburg [Mon, 10 Oct 2016 14:44:36 +0000 (22:44 +0800)]
Merge branch 'feature/rmt_add_struct_for_memory' into 'master'
Add data memory for RMT peripheral
As described in the title.
See merge request !134
liuzhifu [Sun, 9 Oct 2016 07:45:25 +0000 (15:45 +0800)]
lwip/esp32: support iperf
1. Add _exit() definition in syscalls.c
2. Fix a bug in sockets.c on which iperf depends
Jeroen Domburg [Sun, 9 Oct 2016 07:32:08 +0000 (15:32 +0800)]
Rename include, use spaces instead of tabs
Jeroen Domburg [Sat, 8 Oct 2016 06:12:55 +0000 (14:12 +0800)]
Convert Windows -> Unix line ends in gpio.c
Jeroen Domburg [Sat, 8 Oct 2016 06:11:34 +0000 (14:11 +0800)]
Move heap_alloc_caps.h to a location where it can be included by components
Jeroen Domburg [Sat, 8 Oct 2016 05:15:06 +0000 (13:15 +0800)]
Add data memory for RMT peripheral
Angus Gratton [Thu, 6 Oct 2016 07:58:34 +0000 (15:58 +0800)]
Merge branch 'bugfix/syscall_write' into 'master'
syscall write: Should return number of bytes written
Fixes bug where sometimes output truncates after a newline, or large
chunks of large output buffers are lost.
Closes #44
See merge request !133
Angus Gratton [Wed, 5 Oct 2016 22:51:51 +0000 (09:51 +1100)]
syscall write: Should return number of bytes written
Fixes bug where sometimes output truncates after a newline, or large
chunks of large output buffers are lost.
Angus Gratton [Thu, 6 Oct 2016 07:29:34 +0000 (18:29 +1100)]
build system: Run parallel builds without warnings
Ref github #38
Angus Gratton [Thu, 6 Oct 2016 07:06:52 +0000 (18:06 +1100)]
build system tests: Untabify shell script
Angus Gratton [Thu, 6 Oct 2016 07:05:51 +0000 (18:05 +1100)]
build system: Allow BUILD_DIR_BASE to be a relative directory (see github #38)
Angus Gratton [Tue, 4 Oct 2016 04:54:27 +0000 (15:54 +1100)]
build system tests: Add some more notes about test internals
Angus Gratton [Tue, 4 Oct 2016 04:38:20 +0000 (15:38 +1100)]
config system: Fix configuration when BUILD_DIR_BASE out-of-tree
Ref #38. Also no longer generates bootloader sdkconfig in source tree.
Angus Gratton [Tue, 4 Oct 2016 04:03:48 +0000 (15:03 +1100)]
build system: Fix out-of-tree building via BUILD_DIR_BASE
Closes #38
Angus Gratton [Tue, 4 Oct 2016 01:37:10 +0000 (12:37 +1100)]
Build system tests: Add test cases for out-of-tree builds (currently failing)
See github #38
Jeroen Domburg [Fri, 30 Sep 2016 10:06:41 +0000 (18:06 +0800)]
Also push relevant tags over
Wu Jian Gang [Fri, 30 Sep 2016 07:40:08 +0000 (15:40 +0800)]
esp32: add libsmartconfig.a to link libs
Wu Jian Gang [Fri, 30 Sep 2016 06:18:40 +0000 (14:18 +0800)]
Merge branch 'feature/wifi_lib_update' into 'master'
wifi lib update
1. update smartconfig 2.6.2;
2. add watch dog;
3. remove libwpa2.a/libwps.a;
See merge request !129
Wu Jian Gang [Fri, 30 Sep 2016 06:04:03 +0000 (14:04 +0800)]
esp32: not link wps
Wu Jian Gang [Fri, 30 Sep 2016 05:50:11 +0000 (13:50 +0800)]
esp32/lib: update wifi lib to
a1e5f8b9
1. update smartconfig 2.6.2;
2. add watch dog
3. remove libwpa2.a/libwps.a
Wu Jian Gang [Fri, 30 Sep 2016 05:48:37 +0000 (13:48 +0800)]
esp32: remove esp_wps.h
not support now
Jeroen Domburg [Fri, 30 Sep 2016 01:36:13 +0000 (09:36 +0800)]
Merge branch 'driver_merge_tmp/merge_smartconfig' into 'master'
add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)
1. change the API names.
2. return esp_err_t
3. merge this after updating libsmartconfig.a version v2.6.2
See merge request !127
Wangjialin [Thu, 29 Sep 2016 18:31:14 +0000 (02:31 +0800)]
add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)
1. change the original API names.
2. return esp_err_t
3. merge this after updating libsmartconfig.a version v2.6.2
Wu Jian Gang [Thu, 29 Sep 2016 10:37:32 +0000 (18:37 +0800)]
Merge branch 'bugfix/fix_rxbuf_leak_issue' into 'master'
component/esp32: udpate wifi lib
1.
cb274d8b - add debug api for debugging rx buffer leak issue
2.
f86b0510 - fix rx buffer leak issue
See merge request !126
Wu Jian Gang [Thu, 29 Sep 2016 10:19:38 +0000 (18:19 +0800)]
esp32/lib: update wifi lib to
3853d7ae
1. add debug api for debugging rx buffer leak issue
2. fix rx buffer leak issue