Ivan Grokhotkov
1cd572c7b9
Add test for compiling in release mode, fix warnings and errors which appeared
2016-10-17 13:40:10 +08:00
Ivan Grokhotkov
182184567e
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.
2016-10-17 12:38:17 +08:00
Jeroen Domburg
0aab006bb7
Add Trax-support to esp-idf
2016-10-17 12:18:17 +08:00
yulong
7cb55c2c6c
component bt: added the WX_AIRSYNC_CFG macro to control the wechat profile
2016-10-16 23:54:22 -04:00
Tian Hao
3ed2d89538
Merge branch 'master' into feature/btdm_blufi
...
# Conflicts:
# components/bt/component.mk
2016-10-16 18:59:04 +08:00
Tian Hao
f87ebb6d49
Merge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/stack/btu/btu_task.c
2016-10-16 17:08:05 +08:00
Tian Hao
3ecce07dbc
component/bt: cleanup phy/rtc/pp libs
2016-10-16 16:50:02 +08:00
yulong
1a08abea78
component bt:1.update the BLE hid to the project
...
2.update the app adverting method
2016-10-15 06:28:54 -04:00
yulong
02ad223eea
component bt: 1.modified the btu buffer size from 15 to 60;
...
2.change the smp method
2016-10-15 05:46:10 -04:00
yulong
982b90e77d
commponent bt: update the components/bt/lib & components/esptool_py/esptool
2016-10-15 04:42:33 -04:00
Ivan Grokhotkov
4370794d07
wifi libraries: update to match new FreeRTOS header files
2016-10-14 21:52:43 +08:00
Ivan Grokhotkov
72712c00a7
freertos: forward task affinity argument to prvInitializeNewTask
2016-10-14 21:24:58 +08:00
yulong
f68c8dd687
commponant bt:change bt_app_main to app_main
2016-10-14 04:44:56 -04:00
yulong
af9b08d863
commponent bt:1.added the bt_prf_sys_main.c file which has been process the profile task event method;
...
2.modified the thread.h file==> added the profile task event in it
3.modified bt_prf_task.c==>added the ready function in it
4.added the bt_prf_sys.h file
5.remove the profile_sys.h file
2016-10-13 09:13:21 -04:00
yulong
65445b21dd
commponent bt:1.add bt_prf_act.c file for the state machine
...
2.add the bt_app_api.h file
3.modified the bt_prf_task.c==>added the free & start task function
2016-10-13 04:02:30 -04:00
Ivan Grokhotkov
bdd67c98d6
Merge branch 'feature/test_auto_config' into 'master'
...
Feature/test auto config
See merge request !114
2016-10-13 15:01:23 +08:00
yulong
6a5f5400f0
commponent bt: 1.added the bt_app_sec.c file used for the security of the bt module;
...
2.added the bt_app_sec.h file which defined the sturct used for the bt security
2016-10-12 23:41:30 -04:00
Angus Gratton
20b508e62e
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.
2016-10-13 11:01:30 +11:00
Jeroen Domburg
fa476c8ba9
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
2016-10-12 21:13:34 +08:00
Jeroen Domburg
03bd5b6d22
Fix offset of coreid in tasktcb
2016-10-12 18:17:58 +08:00
Jeroen Domburg
89097d5f11
Add xCoreID arg to prvInitialiseNewTask code; initialize pvThreadLocalStoragePointersDelCallback array to NULL
2016-10-12 17:46:15 +08:00
yulong
c56325f43b
commponent bt:added the bt_prf_evt.h file defined the API event used for the profile task
2016-10-12 05:28:01 -04:00
yulong
3c792f427b
commponent bt:add bt_prf_task.c file for proceess the profile task event
...
add bt_prf_task.h for defined the data & struct used for the profile task
add prodile_sys.h defined the profile system data used for profile task
modified component.mk
2016-10-12 03:38:26 -04:00
Yinling
5e0a9bfcf2
remove debug command "ls" in test report job
2016-10-12 11:48:24 +08:00
Yinling
e9199a0320
should set TEST_CASE_FILE_PATH before CONFIG_FILE use it
2016-10-12 11:44:54 +08:00
Yinling
b72d22041c
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
2016-10-12 11:17:56 +08:00
yulong
d85ff46bdf
commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton
2016-10-11 08:05:58 -04:00
yulong
849ba39544
commponent bt:add the wechat airsync profile to the project
...
1. add the wx_airsync_prf.h which have been define the sturcter data has been
used for the wechat airsync profile database
2. add the wx_airsync_prf.c file
3. add the app_airsync_md5.c file
4. add the app_airsync_prf.c
5. add epb.c file
6. add epb_mmbp.c
7. add mpbledemo2.c
8. add wechar_crc.c
9 add wechat_aes.c
10. add app_airsync_md5.h
11. add app_airsync_prf.h
12. add app_wechat_util.h
13. add epb.h
14. add epb_mmbp.h
15 add mpbledemo2.h
16 add wechar_crc.h
17 add wechat_aes.h
2016-10-11 05:43:36 -04:00
Angus Gratton
685c1084ba
Reinstate build_examples gitlab CI case
...
Had been removed in 42e31116
2016-10-11 17:23:46 +11:00
Yinling
1447cd4136
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
2016-10-11 17:23:46 +11:00
He Yin Ling
e5b8854d96
can not put test report to deploy stage, otherwise if test fails it won't generate test report.
2016-10-11 17:23:46 +11:00
Yinling
19ca66c968
add job to generate test report
2016-10-11 17:23:46 +11:00
Yinling
fbb654fa68
move content from readme to wiki
2016-10-11 17:23:46 +11:00
Yinling
6442601333
add some missing cases caused by autogen bug
2016-10-11 17:23:46 +11:00
Yinling
12fa7472ea
night jobs should exit succeed if no need to run
2016-10-11 17:23:46 +11:00
Yinling
547fb6ed6c
update current known issue for ESP32 IDF test
2016-10-11 17:23:46 +11:00
Yinling
9b72441b45
Test cases use libpcap or libnet are not CI ready now:
...
1. It need rebuild native lib
2. require root permission
2016-10-11 17:23:46 +11:00
Yinling
4929534448
add gitlab key in test template job
2016-10-11 17:23:46 +11:00
He Yin Ling
d7db3e6a35
build SSC should also use variable for server name
2016-10-11 17:23:46 +11:00
Yinling
5ba6c1b1b7
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
2016-10-11 17:23:45 +11:00
Yinling
5fab6c36c8
update job configs for allow case fail feature
2016-10-11 17:23:45 +11:00
Yinling
d695d40196
add note that test folder is for internal use.
...
Will move data in readme to wiki except first two notes.
2016-10-11 17:23:45 +11:00
Yinling
59b35eb16a
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"
2016-10-11 17:23:45 +11:00
Yinling
024a1ce260
add KnownIssues file to test:
...
add known issues to this file so that they will be exculded in CI results
2016-10-11 17:23:45 +11:00
Yinling
4de2054541
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
2016-10-11 17:23:45 +11:00
Yinling
745ecef263
auto_test_script will be cloned from gitlab
2016-10-11 17:23:45 +11:00
Yinling
99ebc93abb
modify document to add how to run test locally
2016-10-11 17:23:45 +11:00
Yinling
e2dd6ebcf0
revise .gitlab-ci.yml:
...
1. remove duplicated code
2. fix path error for config file
2016-10-11 17:23:45 +11:00
Yinling
2fe759ce1d
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
2016-10-11 17:23:28 +11:00
Yinling
90e57cdf8f
add auto generated test folder to components:
...
1. add test cases and related scripts
2. add CI config files
read README.md for detail
2016-10-11 17:19:40 +11:00