Przemek Wirkus
01b0ed20f7
Added test output to test_entry in database so users can browse between results and see console output
2014-09-01 08:43:45 +01:00
Przemek Wirkus
020ae4df99
Added location parameter to build id in database. So we can distinguish all test suites working on one host
2014-09-01 08:43:41 +01:00
Przemek Wirkus
59bf36a2a5
Database feature: Added more info to build_id: added build_id type so builds can be divided into different sorts. E.g. some builds are only to build project and other will also run tests (default setting)
2014-09-01 08:43:38 +01:00
Przemek Wirkus
9f4946651a
Database functionality improved: Changes in database structure, added new features like: we update MUTs, test specification, test shuffle seed if needed and update test suite single run status at the beggining and in the end of test run
2014-09-01 08:43:34 +01:00
Przemek Wirkus
24a73e3c14
database access bugfixing. Also added few comemnts to database interface and logger interface
2014-09-01 08:43:30 +01:00
Przemek Wirkus
35fd4ad7d9
Database: added new factory and verbose database detection functions
...
Added separate file to store test suite DB access interface
Added new functionality to database interface: database name, connection status, hostname + uname functionality
Added option --db to singletest.py so users can define database connection url for database access
Added database configuration check with switch --config. Now users can combine switch --db and --config to check database conenctivity
2014-09-01 08:43:25 +01:00
Przemek Wirkus
4aaf7d4e3f
DB access, added build id status consts
2014-09-01 08:43:21 +01:00
Przemek Wirkus
884fed5a63
Mysql DB access: small updates
2014-09-01 08:43:14 +01:00
Przemek Wirkus
1e4ac92f2a
Database / MySQL API support added (test suite will access DB to store test results)
2014-09-01 08:43:10 +01:00
Rohit Grover
616ac8929a
add support for nRF51-DK
2014-08-28 16:36:16 +01:00
Bogdan Marinescu
fee50a80ff
Fixed case for FATFileSystem
2014-08-28 13:14:38 +01:00
Bogdan Marinescu
024a68e792
Publish FatFileSystem under mbed-official
2014-08-28 10:54:35 +01:00
Bogdan Marinescu
2b696a06fc
Synchronize FatFileSystem automatically
2014-08-28 10:42:59 +01:00
Yihui Xiong
cb75014f09
[nrf51822][gcc_arm]: fix softdevice path and srec_cat params of makefile templates
2014-08-28 16:54:28 +08:00
Sissors
ae822b969a
Merge remote-tracking branch 'martins/dev_ksdk_update'
...
Conflicts:
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogin_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c
2014-08-24 17:12:27 +02:00
Bogdan Marinescu
bbc120c478
Merge pull request #460 from xiongyihui/stm32f407
...
DISCO_F407VG - add USBDevice support and a variant - ARCH_MAX
2014-08-21 14:57:36 +01:00
Yihui Xiong
cbe4a4b26e
add target ARCH_MAX, a variant of DISCO_F407VG
2014-08-21 16:48:40 +08:00
Yihui Xiong
132278ac87
add USBDevice library support for DISCO_F407VG
2014-08-21 16:03:37 +08:00
Przemek Wirkus
a9713521d7
Added missing macros to symbol list
2014-08-20 10:59:28 +01:00
Bogdan Marinescu
e4bd6f4df3
Merge pull request #444 from chrta/enable_jinja_template_inheritance
...
Enable the use of template inheritance for exporters
2014-08-18 15:11:48 +01:00
Bogdan Marinescu
4dbfe1ea08
Merge pull request #445 from Experiment-626/master
...
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to match the new name of t...
2014-08-18 09:18:55 +01:00
Bogdan Marinescu
601712595f
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-15 16:20:11 +01:00
Bogdan Marinescu
3082f90285
Enabled GCC_ARM for NRF51822 targets in official build
2014-08-15 16:19:20 +01:00
Przemek Wirkus
ab2433cac2
Test bugfix: bugfixed RTOS (mutex, semaphore) - not thread safe stdio causes test result prints to be interrupted by threads' printing
...
test bugfix: added support for targetID print from device for 'hello world' and 'stdio' testcases
2014-08-15 11:17:52 +01:00
Przemek Wirkus
e5f2d119ae
Added self parameter to mbedToolchain::__exit__() method
...
Removed unused modules' imports
Few minor indent issues fixed
2014-08-14 17:40:58 +01:00
Bogdan Marinescu
cc0476de33
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-14 17:13:41 +01:00
Bogdan Marinescu
939725575d
Switched XADOW_M0 to uARM for correct compilation
2014-08-14 17:11:57 +01:00
Aron L. Phillips
bf254ca673
For this commit, renamed GHI_MBUINO to OC_MBUINO as required for the platform change as well as the TARGET_GHI_MBUINO to TARGET_OC_MBUINO directory.
2014-08-14 10:56:32 -04:00
Przemek Wirkus
4bc1944973
Removed two logger entries in global test api functions (JSON parser prompters)
2014-08-14 14:39:52 +01:00
Przemek Wirkus
7d3ce4d65f
Fixed toolchain colummn order when using --config option
2014-08-14 14:31:28 +01:00
Bogdan Marinescu
ba4f09543f
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-14 12:40:26 +01:00
Bogdan Marinescu
8c28ed250a
Removed DISCO_F407VG from the official build
...
It was basically useless, since there's no corresponding target on
mbed.org
2014-08-14 11:38:11 +01:00
Przemek Wirkus
a09f3dd605
Bugfix: when displaying extra summary using -t option some indexes are not found and dictionary must be checked against key
2014-08-14 11:30:50 +01:00
Przemek Wirkus
278acbec5d
Host test: wrapped mbed.serial.timeout into separate function to avoid traceback and send proper IO_SERIAL error from host test(s)
2014-08-14 11:29:56 +01:00
Christian Taedcke
cc09416bd2
Using jinja2 environment to load the template file.
...
This enables the use of template inheritance, see
http://jinja.pocoo.org/docs/templates/#template-inheritance
2014-08-13 21:52:47 +02:00
Przemek Wirkus
a5bdd4a8bb
More comments added to methods in host_test.py
2014-08-13 11:29:06 +01:00
Przemek Wirkus
005c3a7b87
Host test: wrapped timeout for MUTs serial port access to handle IO_SERIAL error while accessing serial port
2014-08-13 11:11:51 +01:00
Przemek Wirkus
d076c51060
Changed short description for --firmware-name switch
2014-08-13 10:27:12 +01:00
Przemek Wirkus
61f028f050
Fixed commit issues regarding logging mechanism - missed during previous commits
2014-08-13 10:27:10 +01:00
Przemek Wirkus
8cc7678c4b
Small comment indent in test web api file
2014-08-13 10:27:07 +01:00
Przemek Wirkus
f80d0302a7
Added simple logger CLI logger (with logging to file) plus simple logger super class
2014-08-13 10:27:05 +01:00
Przemek Wirkus
23bcf850b3
Small update to new functionality for logger
2014-08-13 10:27:03 +01:00
Przemek Wirkus
0e6803b787
Bugfix: fixed function printing table with test results per target (switch -t)
2014-08-13 10:27:00 +01:00
Przemek Wirkus
698fe930e6
Changed functions' docstring format a little to mach singletest, test api and test webapi files
2014-08-13 10:26:58 +01:00
Przemek Wirkus
fd23d125db
reset functionality extensions: added function which will handle image configuration file changes after binary (image) copy to target. Now we can copy binary (image) into specified directory on MUTs disk
2014-08-13 10:26:55 +01:00
Przemek Wirkus
28b48ae4d0
reset functionality extensions: adding 'image_copy_method_selector' - function which will apply if necessary image configuration file modifications when image is copied onto MUT
2014-08-13 10:26:53 +01:00
Przemek Wirkus
17c0132d56
Added parts of functionality related to extra reset types, global timeout increments and image configuration file modifications
2014-08-13 10:26:50 +01:00
Przemek Wirkus
0f8c5dc494
MPS2: Added function which will modify image cfg. file for MPS2 board. Added skeleton for log functionality
2014-08-13 10:26:48 +01:00
Przemek Wirkus
c1ebcb498b
Simple indent for function call parameters
2014-08-13 10:26:46 +01:00
Przemek Wirkus
64640c8880
Feature: MPS2 reset functionality implementation (not finished and will not break current implementation)
2014-08-13 10:26:43 +01:00
Przemek Wirkus
5947838b2b
BUgfix: jobs (-j) value was not properly set in SingletestRunner class parameters
2014-08-13 10:26:41 +01:00
Bogdan Marinescu
23b25bbd91
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-12 15:06:47 +01:00
Bogdan Marinescu
25926ae75d
Re-implemented LPC patching step
...
Now implemented as a 'post binary hook'. Targets that need this will have
to inherit from LPCTarget instead of Target, the rest should be automatic
(but see LPC4088 for an exception (currently, hooks can't be chained
automatically))
2014-08-12 14:59:50 +01:00
Bogdan Marinescu
ec6f5454a8
Merge pull request #435 from janekm/master
...
fixes to NRF51822 GCC template
2014-08-12 10:22:59 +01:00
Bogdan Marinescu
e6bf98d996
Merge pull request #437 from 0xc0170/fix_nordic_exporters
...
[Exporters] Nordic - uvision - RAM fix and mergehex removal
2014-08-12 10:22:24 +01:00
Martin Kojtal
c266ac3596
Merge pull request #439 from xiongyihui/stm32f407
...
[Exporters] add DISCO_F407VG's uvision support
2014-08-12 07:38:54 +01:00
Yihui Xiong
c8704284bd
add DISCO_F407VG's uvision support
2014-08-12 11:53:19 +08:00
Bogdan Marinescu
beaec03041
Compile LPC1549 with GCC_ARM under Travis
2014-08-11 15:21:05 +01:00
Bogdan Marinescu
15129aa459
Merge pull request #434 from chrta/add_lpc1549_gcc_arm
...
[LPC1549] Add support for GCC_ARM
2014-08-11 14:34:11 +01:00
Janek Mann
4357cdb229
adding --gc-sections back in to the template
2014-08-11 11:51:58 +01:00
Janek Mann
c5f07dc672
fix for NRF51822 linker script
2014-08-11 11:42:41 +01:00
Janek Mann
7e2001b980
workaround for --gc-sections issue with NRF51822
2014-08-11 11:23:13 +01:00
Yihui Xiong
0b7b75881a
fixed L6235E link error for Xadow M0
2014-08-11 12:37:06 +08:00
Janek Mann
24ea3bcafa
fixes to NRF51822 GCC template
2014-08-11 00:30:06 +01:00
Christian Taedcke
bc62d0b66d
[LPC1549][GCC_ARM] Add export functionality
2014-08-09 16:05:07 +02:00
Christian Taedcke
67e9feeab7
[LPC1549] Add support for GCC_ARM
2014-08-09 16:05:06 +02:00
0xc0170
e689bd9421
[Exporters] Nordic - uvision - RAM fix and mergehex removal
2014-08-08 16:08:41 +01:00
Bogdan Marinescu
4c54ea6a4b
Added parallel build option to build_travis.py
...
Mostly to test Mihail's parallel build changes
2014-08-07 17:06:56 +01:00
Bogdan Marinescu
2cf5f34286
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-07 17:03:21 +01:00
Bogdan Marinescu
45597fd8e6
A few changes to the new parallel build system
...
- restored assemble/compile_c/compile_cpp, except now they return the commands
that will run, instead of actually running the commands
- remove need_update_new, since it doesn't seem to be used anywhere
2014-08-07 17:01:39 +01:00
Przemek Wirkus
49a78419bb
Bugfix: In SingletestRunner.run_host_test function optional named parameters verbose and reset were not assigned with proper values
2014-08-07 14:00:05 +01:00
Przemek Wirkus
ed0501188b
Added fat library (switch --fat) to Travis libs build
2014-08-07 13:31:33 +01:00
Przemek Wirkus
70ae40f938
Propagated 'jobs' argument to test suite CLI. Now option -j can be used with 'single_test.py' script
2014-08-07 13:22:51 +01:00
Przemek Wirkus
dc4d741c37
Removed tabs, added Copyright preamble, added info about 'fat' library availability in 'libs' section, added python env path in first line of the script
2014-08-07 11:54:02 +01:00
Przemek Wirkus
c3c0be5443
Added extra reset option - not yet implemented. Only switches added to test suite CLI and host_test.py optparse
2014-08-07 11:48:47 +01:00
Przemek Wirkus
755d0174d6
Removed repeated lines from Copyright disclaimer/preamble
2014-08-07 11:48:44 +01:00
Przemek Wirkus
3310416d2f
Fixed duration time for test MBED_A25 - EEPROM flash line read/write - back to 10s after NUCLEO team fixed I2C impementation and I2C timing
2014-08-07 11:48:42 +01:00
Bogdan Marinescu
8dbd2833fc
Propagated 'jobs' argument to build_project'
2014-08-07 11:21:07 +01:00
Bogdan Marinescu
16b9ae0c8a
Added 'jobs' argument to static_analysis_scan_lib
2014-08-07 11:21:03 +01:00
Bogdan Marinescu
4099f9c29e
Propagated 'jobs' argument to build_lib
2014-08-07 11:20:59 +01:00
Bogdan Marinescu
2df4afd948
Merge pull request #395 from screamerbg/master
...
Support for multiple compile queues/jobs, stats cache and compile order consistency
2014-08-07 11:19:13 +01:00
Martin Kojtal
5b145e4f6c
Merge pull request #422 from Experiment-626/master
...
[TARGET_LPC11UXX] PeripheralNames.h and PinMap definitions separation for LPC11UXX platforms
2014-08-06 10:12:30 +03:00
Mihail Stoyanov
d5835221ec
Add _assemble() and _compile() methods to generate one or more commands per source file
...
Support multiple commands per compile
Reuse _assemble() and _compile() for sequential and parallel compiles
Preserve compile(), compile_c(), compile_cpp() and assemble() methods functionality
2014-08-05 18:22:50 +03:00
Mihail Stoyanov
647c96172c
Merge branch 'master' of https://github.com/mbedmicro/mbed
...
Conflicts:
workspace_tools/build.py
2014-08-05 15:06:53 +03:00
0xc0170
44822442da
[HAL] K22F - CMSIS files, target.py addition
2014-08-05 12:21:53 +02:00
Przemek Wirkus
7bc89f6323
Refactoring: Continue refactoring for separate CLI and webservice API / functionalities in test suite. Separated by subclassing: 'one responsibility per class'
2014-08-05 09:32:44 +01:00
Przemek Wirkus
72fafcf269
Few pyLint and pyFlakes defects fixed
2014-08-04 16:16:47 +01:00
Aron L. Phillips
4a870d3682
The following changes were based on the request by Martin Kojtal:
...
Removed the pin definition comments from the xxx_api.c files;
Added GHI_MBUINO to the build_travis.py target section.
2014-08-04 11:06:15 -04:00
Przemek Wirkus
eed8d68789
Refactoring: moved optParse options frm singletest.py CLI script to test_api to group common options in one place. Added new file test_webapi.py to store there web services API and related functions
2014-08-04 15:57:59 +01:00
Przemek Wirkus
7f480e4b84
Added test web services API file
2014-08-04 15:54:49 +01:00
Przemek Wirkus
13c6c4f13e
Refactoring: created test_api.py and moved test code and classes to separate test api file. Prepareing to add MPS2 reset functionality
2014-08-04 14:29:46 +01:00
Przemek Wirkus
dcf1ef2130
Added 'firefox' as one of the ways to copy binary to target device (other options are cp, copy, xcopy, shutil.copy()
2014-08-04 14:29:44 +01:00
Przemek Wirkus
80bb5b6f6d
Added correct target counting when filtering option -S with -f filter
2014-08-04 14:29:41 +01:00
Przemek Wirkus
5b07b38554
Added script major / minor version
2014-08-04 14:29:39 +01:00
Aron L. Phillips
1584c55aed
Modified the linker script for the ARM Micro, Standard, and GCC to accommodate for the specific chip that the mBuino platform uses LPC11U24FHI33/301 which is 6kB in the SRAM vs 8kB;
...
Added ('GHI_MBUINO', ('ARM', 'uARM', 'GCC_ARM')), to the OFFICIAL_MBED_LIBRARY_BUILD section of build_release.py.
2014-08-01 15:53:02 -04:00
Toyomasa Watarai
4cb75a3fbb
Fixed L6235E link error for NRF51822 variants
...
Changed TARGET_NRF51822 target directory names to TARGET_MCU_NRF51822
Removed NRF51822 names to extra_label of target.py
Added MCU_NRF51822 names to extra_label of target.py
Tested with blinky example for NRF51822, HRM1017, ARCH_BLE and
RBLAB_NRF51822 target
2014-08-01 16:36:54 +09:00
Bogdan Marinescu
71226052f8
Merge branch 'master' of github.com:mbedmicro/mbed
2014-07-31 13:37:06 +01:00
Bogdan Marinescu
5a9910ded3
Consider '.hpp' as include files in the resource scanner
2014-07-31 13:36:14 +01:00
Bogdan Marinescu
f179946b89
Merge pull request #420 from toyowata/master
...
Added --multibyte_chars option
2014-07-31 10:44:13 +01:00
Bogdan Marinescu
d0d75b1224
Merge branch 'master' of github.com:mbedmicro/mbed
2014-07-31 10:15:39 +01:00
Bogdan Marinescu
ffbabdbea9
Revert "Change F411 to Cortex-M4F instead of Cortex-M4"
...
This reverts commit 97cdccdf03
.
Will apply on the next SDK build, to keep synchronized with the online
build system.
2014-07-31 10:14:43 +01:00
Toyomasa Watarai
32255cfb5b
Revert "Fixed L6235E link error for NRF51822 variants"
...
This reverts commit 320e384f02
.
2014-07-31 11:44:30 +09:00
Toyomasa Watarai
320e384f02
Fixed L6235E link error for NRF51822 variants
...
Changed TARGET_NRF51822 target directory names to TARGET_MCU_NRF51822
Removed NRF51822 names to extra_label of target.py
Added MCU_NRF51822 names to extra_label of target.py
Tested with blinky example for NRF51822, HRM1017, ARCH_BLE and
RBLAB_NRF51822 target
2014-07-31 11:13:19 +09:00
Toyomasa Watarai
49231e22ad
Merge remote-tracking branch 'upstream/master'
2014-07-31 10:33:24 +09:00
Przemek Wirkus
d5b7006223
Added reset option to host_test so in the future we can use different reset type, e.g. touch reset.txt on systems like MPS2 boards
2014-07-30 17:53:03 +01:00
Przemek Wirkus
d9fbefd373
Test compliance with LPC1549 and LPC11U68
2014-07-30 17:53:01 +01:00
Przemek Wirkus
4c24cd6665
Fixed shuffle seed print only when shuffling
2014-07-30 17:52:58 +01:00
Przemek Wirkus
12b8dff9f9
First RESTful API functionality draft
2014-07-30 17:52:56 +01:00
Przemek Wirkus
783d20bac8
Added commandline parser help display when -i or -M option is missiog from command line
2014-07-30 17:52:54 +01:00
Przemek Wirkus
62c3118e38
Bugfixed filter target counter when used with filter.
2014-07-30 17:52:51 +01:00
Przemek Wirkus
d71e2713dd
Added simple filtering switch for -S option. This can be extended in the future to other switches like -r / -R
2014-07-30 17:52:49 +01:00
Przemek Wirkus
d28da8ec83
Fixed flow for JSON defect line / column parsing from json exceprion msg string
2014-07-30 17:52:46 +01:00
Przemek Wirkus
03c96a45de
Now issues in JSON configuration files will be printed in human readable format.
2014-07-30 17:52:43 +01:00
Przemek Wirkus
d0cd53e29f
Few pyLint issues fixed
2014-07-30 17:52:41 +01:00
Przemek Wirkus
dc12ff6bba
Fixed few pyFlakes issues + simple refactoring of unused variables and imports
2014-07-30 17:52:38 +01:00
Przemek Wirkus
c75944562f
Bugfix: removed blocking continue from shuffling option
2014-07-30 17:52:36 +01:00
Przemek Wirkus
d66852d09f
Added simple commen to GOANNA_PATH. This will be refactored in the future to get more flexible Goanna settings in private_settings.py
2014-07-30 17:52:33 +01:00
Przemek Wirkus
28e4fc4f06
Separation for test class SingletestRunner towards Object Oriented design. Added shuffle seed to recreate test order when shuffling test order
2014-07-30 17:52:31 +01:00
Przemek Wirkus
fee2533ab9
Small source code and print indent refactoring
2014-07-30 17:52:29 +01:00
Toyomasa Watarai
c66f9943a6
Added --multibyte_chars option
...
Added --multibyte_chars option for ARM and uARM build.
This enables to use multi-byte character such as Japanese or Chinese
especially for string literal.
It should not be affected single-byte character set. Tested with
Japanese Windows environment.
2014-07-30 10:54:08 +09:00
Bogdan Marinescu
7d32effdfd
Merge pull request #419 from 23chrischen/master
...
Change F411 to Cortex-M4F instead of Cortex-M4
2014-07-29 18:47:55 +01:00
23chrischen
97cdccdf03
Change F411 to Cortex-M4F instead of Cortex-M4
2014-07-29 09:43:48 -05:00
Przemek Wirkus
68b2f4648f
FAT library will be now built to .a / .ar separate folder. New switch -f / --fat is introduced for build.py script
2014-07-28 14:04:26 +01:00
Przemek Wirkus
4c10fbb660
Changed copyright date to 2014
2014-07-25 17:37:16 +01:00
Przemek Wirkus
8fab5bca18
Bugfix: Replaced magic value of UNDEF test result with proper const name
2014-07-24 15:33:46 +01:00
sg-
67a3183567
Add new platform. Based on K64F.
2014-07-22 09:15:52 -05:00
Przemek Wirkus
21ddd8b6cf
bugfix: option -t was not displaying all targets
2014-07-22 10:59:54 +01:00
Mihail Stoyanov
55f9b014de
Add GHI_MBUINO target support
2014-07-22 11:12:05 +03:00
Mihail Stoyanov
8d5d92fea8
Added notify_start() to indicate test start
...
Added BusOut test
2014-07-22 09:53:05 +03:00
jesusalvarez
8b831ab53b
Enable exporters for LPC4330_M4
2014-07-21 21:41:05 -04:00
0xc0170
ed13c38055
[Travis] Libraries addition to some targets
2014-07-21 11:45:27 +01:00
0xc0170
cd18872a83
[Travis] Targets addition (should be all supported targets by GCC_ARM)
2014-07-21 10:36:10 +01:00
Przemek Wirkus
805f470880
Bugfix reported by Mihail: If image firmware is not found wrong number of rows is reported (returned by SingleTest.handle() method.
2014-07-21 10:03:04 +01:00
Przemek Wirkus
a540c47d8c
Add simple comment to explain dependencies for Unit Tests and CppUTest library
2014-07-21 09:44:53 +01:00
Mihail Stoyanov
787da10f72
RedBearLab NRF51822 target support
2014-07-19 18:57:26 +03:00
Martin Kojtal
df84f2b3e9
Merge pull request #404 from xiongyihui/master
...
New ARCH_GPRS target
2014-07-18 14:09:41 +01:00
Przemek Wirkus
2ad17c9f63
Added new switch -V which will allow users only to print test result text from serial port during test. It helps just to see test results from test / host test itself
2014-07-18 11:43:11 +01:00
Przemek Wirkus
f28e561da6
Added new switch -u. Now you can force test suite to shuffle test execution order so your tests are executed in random order
2014-07-18 10:21:47 +01:00
Przemek Wirkus
8c3fb1cdcc
Fixed bug in reporting IOERR_COPY. test_all_result was not filled with IOERR_COPY error when using -n ooption with single test
2014-07-18 10:21:43 +01:00
Przemek Wirkus
05bc565d33
Removed trailing spaces
2014-07-18 10:21:40 +01:00
0xc0170
e2a080bd79
[tools] Fixed iterating through the available hex files
2014-07-17 15:14:22 +02:00
Rohit Grover
0e24b53599
Allow combining against one from a set of Nordic soft-devices in decreasing order of preference.
2014-07-17 13:57:43 +01:00
Yihui Xiong
76f1eb949b
add ARCH_GPRS target
2014-07-16 18:34:20 +08:00
Przemek Wirkus
1da17bd076
Added MMA8451Q accelerometer test port for K20D50M platform
2014-07-15 12:32:10 +01:00
Przemek Wirkus
d6668565cf
Removed prints in verbose mode regarding skipped print. Still this prints can be shown using --verbose-skipped switch
2014-07-15 10:13:23 +01:00
Przemek Wirkus
19bfb0eb61
Added new feature: Now user can change default global name of project (test) binary to other name or by default use name chosen by the suite which is test folder name
2014-07-15 10:13:17 +01:00
Martin Kojtal
2031512f69
Merge pull request #400 from micromint/master
...
[LPC4330] Updated LPC4330_M4 port
2014-07-15 07:35:28 +01:00
jesusalvarez
e84df816c4
Restored assert on gpio_object.h. Added export template for GCC ARM Embedded (TOOLCHAIN_GCC_ARM)
2014-07-14 10:05:37 -04:00
Przemek Wirkus
ed4f76b9de
Added TIMEOUT as one of the rest results. Fixed test result structure in result summary (not all results were added)
2014-07-14 13:08:36 +01:00
Przemek Wirkus
c4fc4931a9
Added simple print to table in -S switch command
2014-07-14 11:49:06 +01:00
jesusalvarez
4e82296c05
Updates to LPC4330_M4 drivers
2014-07-11 14:48:25 -04:00
Przemek Wirkus
2b2187587c
Removed (again) RPC test from automation pool.
2014-07-11 11:24:51 +01:00
Przemek Wirkus
0725b33375
Added exception handling for prettytable and serial modules - gracefuly handle missing imports.
2014-07-11 11:24:03 +01:00
Przemek Wirkus
41a7dada69
Removed TODO section in comments - all TODOs are fixed and implemented now.
2014-07-11 10:34:52 +01:00
Przemek Wirkus
ce078d6e90
Added few comments to functions. Removed fixed TODO in copy function. Refactored one function to return string instead of priting it.
2014-07-11 10:33:13 +01:00
Przemek Wirkus
a8d47821be
pyFlakes issue fixed: Removed two unused variables
2014-07-11 10:21:11 +01:00
Bogdan Marinescu
bbf5cbc715
Merge pull request #397 from 0xc0170/dev_k20d50m
...
[K20D50M] K20D5M -> K20D50M
2014-07-11 09:57:00 +01:00
Mihail Stoyanov
8c8b3eb3b9
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-07-11 11:19:02 +03:00
Mihail Stoyanov
0d85f673ed
Fixed compile with IAR
...
Added get_dep_opt for ARM class
2014-07-11 11:13:22 +03:00
Mihail Stoyanov
b92e928f6a
Trade slightly more CPU usage for less memory usage
2014-07-10 22:30:51 +03:00
Przemek Wirkus
c3cfff246c
Replaces prompts starting with >>> with simple one liners. It will be later refactored to common display format via some 'print info/warn/err class'
2014-07-10 18:26:39 +01:00
Mihail Stoyanov
853630792e
Restore verbose logging
2014-07-10 20:10:21 +03:00
Przemek Wirkus
80745d51ee
Test loops feature part 3: Finnaly commit. Added Loops info in pretty table in test sumary. Added Result resolving by test result list analysis.
2014-07-10 18:05:01 +01:00
Przemek Wirkus
98ae711ba5
Test loops feature part 2: added local and global loops counter to switches and test execution function.
2014-07-10 17:10:13 +01:00
Przemek Wirkus
b78617df93
Test loops feature part 1: added --loops and --global-loops switches, added test_loops paramater for test handler
2014-07-10 15:58:17 +01:00
Przemek Wirkus
a1c9c941b5
Added serial port wrappers for read/write instead of raw serial port access to access MUT serial port. This will allow to catch more issues with communication with MUT during tests. This will also 'hide' tracebacks from test suite execution.
2014-07-10 14:54:05 +01:00
Przemek Wirkus
82e4a672ca
Added seral port read/write wrappers to handle serial port communication issues. Added IOERR_SERIAL handler for basic test. Other tests will be refactored in separate commits.
2014-07-10 14:51:56 +01:00
Przemek Wirkus
f1db89ea0f
Added new error codes to test suite: IOERR_SERIAL, IOERR_DISK, IOERR_TIMEOUT, IOERR_COPY. Not all of them are yet handled but naming convention added for further implementations.
2014-07-10 14:50:35 +01:00
0xc0170
cf645e8fa1
[K20D50M] K20D50M - correct target name
2014-07-10 13:46:38 +01:00
Mihail Stoyanov
fab45821a7
Refactoring of the python multiprocessing code to use queues load balancing based on apply_async();
...
Use the returned result by apply_async() to fetch compile_worker() results and get rid of python queues;
Optimize the threads handling code
Reuse compile threads via self.mp_pool
2014-07-10 15:33:04 +03:00
Przemek Wirkus
054d33a297
Added handler to catch file copy exceptions. Both suprocess.call() and shutils.copy are handled. tested with shutil.copy, cp and xcopy. Note: xcopy is in interactive mode by defalt.
2014-07-10 13:15:21 +01:00
Przemek Wirkus
c159494e35
Added file remove function with exception handling
2014-07-10 11:24:02 +01:00
Przemek Wirkus
1dbeae4423
Added target conflict detection in verbose mode in --config switch
2014-07-10 10:58:13 +01:00
Przemek Wirkus
1846a7ebcb
Added test specification and MUTs configuration pretty print
2014-07-10 10:58:11 +01:00
Przemek Wirkus
10974f29f3
Removed unused 'pass' statement
2014-07-10 10:58:09 +01:00
Przemek Wirkus
f3567d4f1a
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:58:07 +01:00
Przemek Wirkus
7c6ece5764
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:58:05 +01:00
Przemek Wirkus
e7c8010fe5
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:58:02 +01:00
Przemek Wirkus
f55c0aca43
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:58:00 +01:00
Przemek Wirkus
7a5d00bd65
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:58 +01:00
Przemek Wirkus
3ce8116fb2
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:56 +01:00
Przemek Wirkus
803c92438d
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:53 +01:00
Przemek Wirkus
0fef3ba498
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:51 +01:00
Przemek Wirkus
89ef186680
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:49 +01:00
Przemek Wirkus
005ed7ec4a
pyFlakes issues fixed. Simple refactoring
2014-07-10 10:57:47 +01:00
Przemek Wirkus
efead473eb
Issues from pyFlakes corrected in the script (removed some unused imports and functions)
2014-07-10 10:57:42 +01:00
Mihail Stoyanov
82e9c166f3
Remove --depend option that is specific to armcc
2014-07-09 20:28:28 +03:00
Mihail Stoyanov
ff3cd57126
Add -j option to build.py, build_release.py and make.py
...
Multiple compile jobs are not enabled by default unless -j 0 or -j >1 is specified
2014-07-09 20:00:21 +03:00
Mihail Stoyanov
f858f02120
Changed comment
2014-07-09 15:30:41 +03:00
Mihail Stoyanov
9c6f0bf37c
Revert global toolchains optimizations
2014-07-09 15:09:48 +03:00
Mihail Stoyanov
61f58c93ab
Reordered the logics around compile_queue()
2014-07-09 14:38:18 +03:00
Mihail Stoyanov
9345778a6f
Add multiple compile queues support (multiprocessing)
...
Add header stats cache for need_update() routine
Add compile order consistency
2014-07-09 13:28:02 +03:00
Rohit Grover
aae8513739
changes needed to support V7 of the nRF51822 soft-device 110
2014-07-08 16:42:47 +01:00
Przemek Wirkus
2d4abbbf2e
Fixed path to semihost unit test sources. Recompiled to check and test
2014-07-08 14:31:20 +01:00
Przemek Wirkus
79970295ea
Bugfixing for UT library support
2014-07-08 14:31:17 +01:00
Przemek Wirkus
ee1a2f5289
Added permutation counter to default on-line compiler
2014-07-08 14:31:15 +01:00
Martin Kojtal
12975ce03c
Merge pull request #390 from xiongyihui/master
...
[EXPORTERS] add XADOW_M0 and ARCH_BLE to build_release.py, export support for Arch BLE
2014-07-08 09:32:58 +01:00
Mihail Stoyanov
fd1600582b
Fixed Xadow M0 extra labels
2014-07-07 19:04:43 +03:00
Yihui Xiong
e13f1f2516
export support for arch ble
2014-07-07 15:11:47 +08:00
Yihui Xiong
1b190a4ec2
add XADOW_M0 and ARCH_BLE
2014-07-07 15:09:25 +08:00
Mihail Stoyanov
ac85b9f6a0
Added mbed blinky to tests
2014-07-04 20:10:28 +03:00
Przemek Wirkus
362d6c83ff
Added TODO for test suite improvements.
2014-07-04 14:52:09 +01:00
Bogdan Marinescu
2c7c7767de
Merge pull request #385 from ytsuboi/master
...
[HRM1017] Added to build_release.py
2014-07-04 15:21:33 +02:00
Przemek Wirkus
690517143d
Changed timeouts for EEPROM line read/writes to 15 because Nucleo targets perform tis test in <12s period
2014-07-04 10:03:42 +01:00
Mihail Stoyanov
ca14f552e5
Fixed Xadow M0 target support
2014-07-04 11:44:53 +03:00
Mihail Stoyanov
19264fc372
Added ARM MPS2 platform support
...
Changed ONLINE_TOOLCHAIN flag to default_toolchain
2014-07-03 12:27:08 +03:00
ytsuboi
5e91f7d5ad
[HRM1017] Added to build_release.py
2014-07-03 03:35:11 +09:00
Przemek Wirkus
1a7c96d10b
Bugfixiong after modification in -r and -R options
2014-07-02 15:01:46 +01:00
Przemek Wirkus
41f703c594
Refactoring: Changed option -r and added option -R to print more info about test cases
2014-07-02 15:01:43 +01:00
Przemek Wirkus
5d553dae3f
Added default on-line compiler info in -S option for target/compiler support
2014-07-02 11:07:42 +01:00
Przemek Wirkus
522d2812c5
Added class member self.ONLINE_TOOLCHAIN = ARM to note ARM / UARM default online compiler
2014-07-02 10:56:24 +01:00
Przemek Wirkus
ba0c4078a0
Removed example unit tests UT_1, UT_2 from automated list
2014-07-02 10:29:20 +01:00
Przemek Wirkus
06f2fb3e55
Added TOTO about graceful handle of disk full error in mbed board
2014-07-02 10:29:18 +01:00
Przemek Wirkus
c97f1b8139
Added support for cpputest library. UT libray now compiles as separate lib, just like other libs. For example ETH or RTX. Added support for cpputest sources in root of mbed project (on the same level with mbed sdk repo). changes include adding new paths to the project. Two example UT (UT_1, UT_2 are added). New option -O is introduced to force 'test build only'
2014-07-01 17:45:38 +01:00
ytsuboi
4771ebac99
Added target HRM1017
2014-07-01 02:24:31 +09:00
Toyomasa Watarai
b1cae3da93
[LPC1549] Added CAN support
...
Added CAN API support for LPC1549 target.
Tested with LPC1768 target using NXP TJA1042 CAN transceiver.
2014-06-30 15:21:42 +09:00
Martin Kojtal
eb364dacfe
Merge pull request #380 from xiongyihui/master
...
[ARCH_BLE] target ARCH_BLE uses separate PinNames.h and device.h
2014-06-30 06:37:35 +02:00
Yihui Xiong
582eb65675
target ARCH_BLE uses separate PinNames.h and device.h
2014-06-30 09:58:48 +08:00
Bogdan Marinescu
f74be83b04
Merge pull request #367 from dinau/LPCcappuccino_initial_port
...
LPCCAPPUCCINO] initial port
2014-06-27 16:20:32 +01:00
Przemek Wirkus
0c937bb333
Added more todo to host test file
2014-06-26 17:44:11 +01:00
Przemek Wirkus
5711275f24
Added option -c to control how we are going to copy files on target platform disk
2014-06-26 17:43:27 +01:00
Przemek Wirkus
9b1c07195e
Added TODO to fix issues with serial detection
2014-06-26 11:11:57 +01:00
dinau
9e3c3b15cc
Merge branch 'origin/master'
2014-06-25 20:57:25 +09:00
Yihui Xiong
61a1270429
bug fix for XADOW_M0 and ARCH_BLE
2014-06-25 11:44:06 +08:00
Mihail Stoyanov
58f1093043
Remove the 8.3 fix for ST Nucleo boards
2014-06-24 19:23:16 +01:00
dinau
0e1d88d0ee
Merge branch 'origin/master'
2014-06-24 23:46:48 +09:00
Bogdan Marinescu
8ef659bca8
Merge pull request #372 from bcostm/dev_NUCLEO_F334R8
...
[NUCLEO_F334R8] Add platform files
2014-06-24 14:44:08 +01:00
bcostm
fff8e429f9
[NUCLEO_F334R8] Add uVision4 exporter
2014-06-24 11:18:43 +02:00
Christian Taedcke
1b8c6e5755
Enable rtos tests for LPC1549.
2014-06-23 19:17:39 +02:00
Christian Taedcke
021074eb1f
[LPC1549] Enable analog test.
2014-06-23 19:17:38 +02:00
Christian Taedcke
d27129351c
[LPC1549] Fix pin assignment for simple io tests.
2014-06-23 19:17:38 +02:00
Przemek Wirkus
f5d3245fe9
Added safer serial.sendBreak() function implementation to handle Linux issues
2014-06-23 17:42:04 +01:00
Przemek Wirkus
12e365302e
Removed unused code for reset MCU and runnit single test (old way: like in make.py)
2014-06-23 17:41:07 +01:00
Przemek Wirkus
b771f22dac
sendBreak() bugix proposed by mbed user 'chrta'
2014-06-23 17:34:10 +01:00
Przemek Wirkus
caee48f917
Added 'skipped' build list for build.py
2014-06-23 15:56:45 +01:00
Przemek Wirkus
05b19683ff
Typos corrected in optparser info strings
2014-06-23 10:42:53 +01:00
Christian Taedcke
bfb06e200b
Disable rtti for gcc.
2014-06-21 12:24:05 +02:00
dinau
84be4cfc65
Merge branch 'github.com/master'
2014-06-21 06:56:49 +09:00
dinau
323a5d7270
LPCCAPPUCCINO] initial port
...
LPCCAPPUCCINO is the breakboard that has LPC11U37,
https://strawberry-linux.com/catalog/items?code=12045
Schematic:
https://strawberry-linux.com/pub/cappuccino-sch.pdf
2014-06-20 23:08:02 +09:00
bcostm
fa38a1d303
[NUCLEO_F411RE] Add uVision4 exporter
2014-06-20 14:17:55 +02:00
Bogdan Marinescu
f60bb902c9
Merge pull request #358 from 0xc0170/dev_kds_exporter
...
kds exporter
2014-06-17 13:28:25 +03:00
0xc0170
990a82a008
[Codered exporter] tab to spaces
2014-06-17 12:55:16 +03:00
0xc0170
cf3b3d5a87
Merge branch '1549' of https://github.com/Kazu-zamasu/mbed into Kazu-zamasu-1549
2014-06-17 11:26:08 +03:00
0xc0170
c10588321e
[KDS exporter] Release target missing paths + flags corrections
2014-06-16 14:26:50 +03:00
0xc0170
fdeeb8fcb1
[KDS Exporter] Internal builder option enabled (fix for long lines in linker)
2014-06-16 12:10:07 +03:00
kazu
dac7e28264
Update codered_lpc1549_cproject.tmpl
2014-06-16 08:01:28 +09:00
kazu
3a9a86e47a
Update codered_lpc11u68_cproject.tmpl
2014-06-16 08:00:51 +09:00
kazu
fd497f40de
Update build_release.py
2014-06-15 09:25:00 +09:00
kazu
17f5c62b93
Update codered.py
2014-06-15 09:21:44 +09:00
kazu
3387f76cba
add 11U68 ARM CR
2014-06-15 09:12:42 +09:00
0xc0170
e6038209f3
[KDS exporter] newlib-nano
2014-06-14 11:13:57 +01:00
0xc0170
dc50dad6e2
[KDS exporter] Print size, slashes corrections
2014-06-13 18:19:51 +01:00
0xc0170
60bf37ca7d
[KDS exporter] debug symbols enabled, linker paths addition, plus common flags enabled/disabled
2014-06-13 14:04:32 +01:00
dinau
131cdb529d
[LPC2368][GCC_ARM] Added export functionality
...
Other changes are,
(1) Modified link error
(2) Silent Warning
2014-06-13 20:13:14 +09:00
Przemek Wirkus
2750c36086
More improvements to switch -t (Shorter matrix of text x toolchains results)
2014-06-12 17:46:05 +01:00
Przemek Wirkus
5fade0ff20
Added switch -C to run only common tests. This is oposite option to -P which will test only peripherals
2014-06-12 16:04:05 +01:00
Przemek Wirkus
86e953d817
Not needed spaces removed from 'include files' list generators
2014-06-12 16:04:03 +01:00
0xc0170
136569cf45
Freescale KDS template for launch configuration
...
- corrections in templates - include ass/c/c++
2014-06-12 15:12:12 +01:00
Bogdan Marinescu
66d25186cd
Merge branch 'nrf51822-gcc-arm-export' of git://github.com/juancferrer/mbed into juancferrer-nrf51822-gcc-arm-export
...
Conflicts:
workspace_tools/export/gccarm.py
workspace_tools/export_test.py
workspace_tools/targets.py
2014-06-12 14:44:36 +01:00
kazu
ebced1c131
Update codered.py
2014-06-12 21:04:59 +09:00
kazu
1fe1b65749
Update build_release.py
2014-06-12 21:02:32 +09:00
Andreas Rebert
5d4be89662
[LPC4088] Corrected FPU setting in LPCXpresso project file
2014-06-12 11:22:18 +02:00
Juan Carlos Ferrer
cd176039df
cleanup
2014-06-11 16:55:21 -05:00
kazu
d9c48d3450
add 1549 GCC_CR
2014-06-12 05:33:50 +09:00
kazu
a0b12abc1b
add 1549 GCC_CR
2014-06-12 05:29:44 +09:00
Przemek Wirkus
74a051e5e6
cppcheck Popen usage improvements (stderr issues)
2014-06-11 17:08:35 +01:00
0xc0170
747007a369
initial version - exporters for Freescale KDS
2014-06-11 16:30:43 +01:00
Przemek Wirkus
d58d532ebc
cppcheck Linux / Windows support
2014-06-11 15:52:12 +01:00
Bogdan Marinescu
c694da0543
Merge branch 'dev_error_assert' of git://github.com/0xc0170/mbed into 0xc0170-dev_error_assert
...
Conflicts:
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/serial_api.c
workspace_tools/toolchains/arm.py
2014-06-11 15:50:34 +01:00
Przemek Wirkus
43ef069310
cppcheck cmd call bugfixes
2014-06-11 15:26:00 +01:00
Przemek Wirkus
4c738929a4
Cppcheck command execution fixes
2014-06-11 15:07:38 +01:00
Przemek Wirkus
d05f4fc6cf
Added tmp file file list passing to cppcheck to avoid 'command line too long' errors
2014-06-11 14:47:54 +01:00
Przemek Wirkus
e535ad0ce5
Added HTML verbose (inactive) for -S switch
2014-06-11 13:15:14 +01:00
Bogdan Marinescu
0adb870369
Merge branch 'arch-pro' of git://github.com/xiongyihui/mbed
...
Conflicts:
workspace_tools/targets.py
2014-06-11 09:40:42 +01:00
Przemek Wirkus
f930af5ffc
Added cppcheck support for libraries
2014-06-10 17:25:54 +01:00
Przemek Wirkus
9aaf2c1220
Added CPPCHECK static analysis for MBED and CMSIS libraries from command line. Use switch --cppcheck
2014-06-10 16:38:43 +01:00
Przemek Wirkus
51b18186be
Adding cppcheck support for suprces scanning
2014-06-10 15:29:15 +01:00
Przemek Wirkus
978d8bd667
Small indent / trailing spaces issues corrected
2014-06-10 11:24:44 +01:00
0xc0170
58ac3c6cd5
Merge branch 'gcc_k64f' of https://github.com/sg-/mbed into sg--gcc_k64f
...
Conflicts:
workspace_tools/targets.py
2014-06-10 10:31:03 +01:00
Przemek Wirkus
ae196fc578
Add permutation print
2014-06-09 16:25:53 +01:00
Przemek Wirkus
baa3036041
Added matrix of MCU x supported toolchain print
2014-06-09 16:11:08 +01:00
PrzemekWirkus
caefb89e20
Added bash python path #!/usr/bin/env python (file first line)
2014-06-04 16:12:24 +01:00
Przemek Wirkus
5d7a475ec7
Fixed simple path sufix detection
2014-06-04 15:26:16 +01:00
Przemek Wirkus
a202afec2c
Added support for additional libs build for each test
2014-06-03 17:35:53 +01:00
Przemek Wirkus
688fb9cbec
Added disk path slash sufix if missing
2014-06-03 14:54:18 +01:00
Bogdan Marinescu
bb120221fb
Merge branch 'dev_trailing_spaces_removal' of git://github.com/0xc0170/mbed into 0xc0170-dev_trailing_spaces_removal
...
Conflicts:
workspace_tools/toolchains/__init__.py
workspace_tools/toolchains/arm.py
2014-06-03 10:39:31 +01:00
0xc0170
e0ee969cca
.orig files removal, *.orig addition to gitignore
2014-06-03 10:03:53 +01:00
Juan Carlos Ferrer
1624a5f2b6
Adds sreg concat
2014-06-02 22:33:00 -05:00
sg-
bc61af3b93
Start of adding gcc_arm export support and GCC_ARM compilation support. Binaries produced by GCC for K64F not functional at this point.
2014-06-02 19:20:17 -05:00
Juan Carlos Ferrer
7716e927b9
Exporter outputs hex
2014-06-02 18:50:02 -05:00
Przemek Wirkus
8a2d961526
Added new option for more verbose mode when printing compiler warnings/errors. Option -x like 'extra' verbose mode
2014-06-02 15:44:45 +01:00
Juan Carlos Ferrer
64cebfa232
Enables hex hook
2014-06-01 17:09:52 -05:00
Juan Carlos Ferrer
a08d447906
Puts the NRF51822 test in a nicer place
2014-05-31 17:01:40 -05:00
Juan Carlos Ferrer
b93b72d00f
Adds basic tmpl file
2014-05-31 16:21:37 -05:00
Juan Carlos Ferrer
da3bb21d26
Add nrf51822 to export target
2014-05-31 15:33:21 -05:00
Juan Carlos Ferrer
c7ea75f103
Oops
2014-05-31 15:29:50 -05:00
Juan Carlos Ferrer
7615b927f3
Begin export
2014-05-31 15:29:07 -05:00
Juan Carlos Ferrer
34d7d6f9c6
Makes sure the extension is .bin when using GCC_ARM
2014-05-31 15:21:54 -05:00
Juan Carlos Ferrer
f1cdd852b1
Begins nrf51822 gcc arm export
2014-05-31 14:00:11 -05:00
Przemek Wirkus
515fe34a09
Reduced RPC test scope to LPC1768 for now
2014-05-30 17:51:15 +01:00