Commit Graph

896 Commits (6d37d18fca3db8404f202b24051c4d436f6de785)

Author SHA1 Message Date
Sissors a1be82dc81 [KSDK][K22F] AnalogIn/Out added/verified
The original code switched ADC clock source depending on required
prescaler. Maybe thats possible on K64, but on K22 it just tried to set
clock to non-existing source. Not it gets a bit above MAX_ADC, but that
is set fairly conservative so is not an issue.
2014-09-11 08:08:39 +02:00
ohagendorf da9b7d33a4 Toolchain GCC ARM for Nucleo_F411RE
- Linker script and startup for Nucleo_F411 - both are copies of
Nucleo_F401 with some changes (memory size, interrupt vector table)
- changes in target.py for the new toolchain
2014-09-10 23:48:06 +02:00
Przemek Wirkus 7d9048fccc Simple refactoring around MUT copy functionality - 'copy_method' avail in MUTs definition 2014-09-10 14:09:25 +01:00
Przemek Wirkus 55a77a2721 Added field 'copy_config' to MUTs file format 2014-09-10 14:09:21 +01:00
Przemek Wirkus 4a2b989f98 Added more exception handling for compilation error - so now we do not have Tracebacks when lib / mbed compilation fails 2014-09-10 13:10:38 +01:00
Przemek Wirkus e066b84f1c For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-10 12:44:27 +01:00
ytsuboi 89342dbe69 Merge remote-tracking branch 'upstream/master' 2014-09-10 03:20:05 +09:00
ytsuboi 2009f7e8d1 [nRF51822] Fixed support for Nordic parts with 16k RAM 2014-09-09 02:31:23 +09:00
Bogdan Marinescu 82ec8c2c4d Added support for Nordic parts with 32K of RAM 2014-09-08 16:27:53 +01:00
Przemek Wirkus eec7671fa0 For timer / timeout related tests deviation changed to +/- 10% - some boards can run on not precise quartz / RC oscilators 2014-09-08 11:49:04 +01:00
ytsuboi b55e3b42b4 Merge remote-tracking branch 'upstream/master' 2014-09-07 19:59:40 +09:00
Sissors 1aaaea5553 Set correct CPU for K22F
Apparantly the wrong CPU was set, fixed that to correct one
(MK22F51212). Won't hurt though if someone checks the .s and .sct file.
(It does compile and work fine now for blinky and helloworld)
2014-09-07 11:56:21 +02:00
Przemek Wirkus 8e7f498f9e Added simple compiler path check on --config switch 2014-09-05 13:26:51 +01:00
Przemek Wirkus 41c7771268 Fixed small typu and added print to RTC host test 2014-09-05 11:51:21 +01:00
Przemek Wirkus 0b24faacab Removed unnecessary import 2014-09-05 11:51:17 +01:00
Bogdan Marinescu 449b984e4a Merge pull request #468 from xiongyihui/dev
[nrf51822][gcc_arm]: fix makefile templates and nrf_svc.h's 'impossible constraint in asm' error
2014-09-05 10:15:54 +01:00
sg- 24f537ea60 [MTS_GAMBIT][K64F][exporters][net] Update directory names for K64F to allow derivative platforms. Change net/eth/lwip-eth/arch directory name to allow K64F derivative EthernetInterface support. Disable Ethernet in MTS_GAMBIT device.h - seems depreciated or just not implemented. Add MTS_GAMBIT exporters for uvision and gcc_arm 2014-09-04 17:26:54 -05:00
Przemek Wirkus beed8358f9 Improvements to RTC's host_test test case 2014-09-04 15:30:08 +01:00
Przemek Wirkus c12b5de37b Fixed NET_(4,6,13) client tests so after reset we wait for device to send print it's ready
Fixed small print issue with -V option
2014-09-04 10:10:55 +01:00
Przemek Wirkus 2df3125ca4 Fixed missing STDOUT in Echo test
Fixed missing opening and closing brackets in {{start}}
2014-09-03 15:01:19 +01:00
Przemek Wirkus 61b1d75032 Added dynamic test printing 2014-09-03 14:27:53 +01:00
Przemek Wirkus 4e3b149f79 Modified STDIO and ECHO so they use rpeamble to initialize communication 2014-09-03 13:33:54 +01:00
Przemek Wirkus 828ba90dcd Added 'real-time' test result printing when tests are executed (view test execution progress using option -V) 2014-09-03 13:33:50 +01:00
Przemek Wirkus 7a1f2cd9b1 Disabled STL and CString test 2014-09-03 11:22:06 +01:00
Przemek Wirkus ce8543ecc8 Refreshed STL test 2014-09-03 09:48:20 +01:00
ytsuboi ab9cc6c050 [LPC4337] renamed target name from LPC4337_M4 to LPC4337 2014-09-03 02:20:48 +09:00
ytsuboi ef0819c731 [LPC4337] move files from LPC43XX to LPC4330 2014-09-03 02:20:48 +09:00
Przemek Wirkus 39e75c042f Changed test suite version to 1.2
Added simple test to check C strings conversions
2014-09-02 17:34:08 +01:00
Przemek Wirkus d71a7579b4 Removed from Hello World target test success notification 2014-09-02 15:50:24 +01:00
Przemek Wirkus 1bdc4b8046 Simplified HelloWorld test to detect different types of ragteId (they can have different length) 2014-09-02 15:24:51 +01:00
Przemek Wirkus b481bc4319 Modified test EXAMPLE_1 to fail if can't receive proper print from Mbed 2014-09-02 14:52:24 +01:00
Przemek Wirkus 52f929f4e0 Feature: Added waterfall test option: if used defines --loops or --global-loops and -W (--waterfall) option; testing of particular test will be tested until test pass (OK result) 2014-09-02 11:43:08 +01:00
Przemek Wirkus 3a02126bd6 ToolException catch added when executing tests in execute() function 2014-09-02 11:11:47 +01:00
Przemek Wirkus 9c6dd060dc Moved MySQLDb package dependency to factory function to people not using DB will not have install MySQL Driver 2014-09-02 10:08:27 +01:00
ytsuboi f89ecdd600 Merge remote-tracking branch 'upstream/master' 2014-09-02 12:48:37 +09:00
Przemek Wirkus b45361a4d4 Flush separated for different methods 2014-09-01 17:05:00 +01:00
Przemek Wirkus 4d908bd626 Added -N alias to --firmware-name switch 2014-09-01 16:36:28 +01:00
Przemek Wirkus 9cf976e827 Flushing serials after reset added as test stability improvement 2014-09-01 16:27:54 +01:00
Przemek Wirkus 6a9e726ccd Flushing serials after reset added as test stability improvement 2014-09-01 16:25:00 +01:00
Przemek Wirkus 2c166222b6 Added parent directory to import path to host test script so we can now impoer workspace_tools.* as we do in other scripts - problem was host_test.py and other tests run with custom CWD and imports are not easy to maintain 2014-09-01 16:10:24 +01:00
ytsuboi 1ee314c4a5 [LPC4337] first commit
just confirmed with >workspace_tools\make.py -m LPC4337_M4 -t ARM -p 25
2014-09-01 23:30:22 +09:00
Przemek Wirkus e25ffc7856 Added to switch -c option 'eACommander' and 'eACommander-usb'
Added to switch --reset-type option 'eACommander' and 'eACommander-usb'
2014-09-01 15:13:42 +01:00
Przemek Wirkus d8553d2724 Added copy + reset method for eACommander 2014-09-01 08:44:20 +01:00
Przemek Wirkus 400e4f8085 Added measurement prints to PERF test group 2014-09-01 08:44:08 +01:00
Przemek Wirkus 414a87083a Added PERF_ tests to automated pool 2014-09-01 08:44:00 +01:00
Przemek Wirkus 65627812c5 Forced test case order by default to be sorted by test_id 2014-09-01 08:43:57 +01:00
Przemek Wirkus b9c75a7712 Added 3 new performance tests (PERF_* group). Tests measure read/write speed of file system operation while using Stdio, FatFS and mbed (FIleHandle) implementations 2014-09-01 08:43:52 +01:00
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