Commit Graph

19619 Commits (ae75dfcf9225dd2295a7c58523d9ae679ebece1c)

Author SHA1 Message Date
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 ff9252a247 Fixed ticker_2 blinking 2014-09-01 08:44:24 +01:00
Przemek Wirkus d8553d2724 Added copy + reset method for eACommander 2014-09-01 08:44:20 +01:00
Przemek Wirkus 2deae79c13 test cases minor improvements - for timers reduced other code, left only with LED blinking (no pin toggling) 2014-09-01 08:44:16 +01:00
Przemek Wirkus bd689d7c7e Fixed static / extern for led_blik() function. This function should be encapsulated inside test_env.cpp compilation unit for internal printing / error prompting usage 2014-09-01 08:44:12 +01:00
Przemek Wirkus 400e4f8085 Added measurement prints to PERF test group 2014-09-01 08:44:08 +01:00
Przemek Wirkus 7c1adc5eaa Added simple coefficient notifiers (functions) to print int, uint and double together with measurement name 2014-09-01 08:44:04 +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 13c3a64e3f Fixed CPPUTEST test runner for other compilers. Now we will force to pass main(argc, argv) ourselves to CPPUTEST test suite - as should be done in embedded project 2014-09-01 08:43:49 +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 60f6c97c3f HTTPClient bugfixed - recent HTTPClient tests show POST method failing. HTTP header scan function insufficient buffers blocked proper header scan 2014-09-01 08:43:18 +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
Bogdan Marinescu f304c6ba83 Merge pull request #471 from dbestm/master
[NUCLEOs] enhance i2c api
2014-08-29 20:42:28 +01:00
Rohit Grover 734f365d7d These changes allow us to re-implement us-Ticker using the RTC for the
nRF51822. There are two major themes here:

1. timestamp_t as an abstraction for time values managed by
   Ticker. Using uint64_t for timestamp_t allows a wraparound-free
   Ticker. This change forces us to update the definitions of usTicker
   for all platforms; but the changes beyond nRF51822 aren't major.

2. reduce power consumption on the nRF51822 by removing the need for
   the high-frequency processor timer; and reimplementing it using the
   RTC.

I've also replaced high-frequency clock with low-frequency external
clock during system startup of the nRF51822. This brings a major win
in power consumption.
2014-08-29 17:03:08 +01:00
Rohit Grover 958aa2488b changes proposed from Martin's review 2014-08-29 17:02:40 +01:00
Rohit Grover 6daf3ac52a add a destructor for Ticker. 2014-08-29 17:02:40 +01:00
Rohit Grover fedb7f02c0 use timestamp_t for Ticker::_delay 2014-08-29 17:02:39 +01:00
Rohit Grover ab17cc71dc minor simplification of a reused expression 2014-08-29 17:02:39 +01:00
Rohit Grover a5ac14aab0 use constants from projectconfig.h as arguments for APP_TIMER_INIT() 2014-08-29 17:02:39 +01:00
Rohit Grover c8f896d708 update definitions for us_ticker_set_interrupt() across all platforms to use timestamp_t 2014-08-29 17:02:39 +01:00
Rohit Grover 01bc4de3ab white space diffs. 2014-08-29 17:02:39 +01:00
Rohit Grover c8fc050ce4 simplify the algorithm which keeps only one app_timer timer running. 2014-08-29 17:02:39 +01:00
Rohit Grover dcdca19948 updated call to APP_TIMER_INIT() to use contants from projectconfig.h 2014-08-29 17:02:39 +01:00
Rohit Grover 675ddde2f4 introduce a timestamp_t to track timeouts for TimerEvents.
The previous type used for this purpose was unsigned int, which was both
un-portable and liable to wrap-around.
2014-08-29 17:02:39 +01:00
Rohit Grover 7555d7411c add a cachedInterruptTimestamp to us_ticker_set_interrupt() to short-circuit duplicate calls. 2014-08-29 17:02:39 +01:00
Rohit Grover 88e2e4e369 add a minor comment to explain some complex branching in us_ticker_irq_handler() 2014-08-29 17:02:39 +01:00
Rohit Grover 9294fcbb59 reimplement the micro-second ticker on nRF51822 using the app_timer module (RTC) 2014-08-29 17:02:39 +01:00
Rohit Grover ac11358455 add a missing call to us_ticker_disable_interrupt from us_ticker_remove_event. 2014-08-29 17:02:39 +01:00
Rohit Grover 2deb3706d2 Replace the 16mhz clock with a low-freqncy external crystal based clock source at statup.
This results in a big win in power consumption.
2014-08-29 17:02:39 +01:00
Rohit Grover 27be321fa6 add some more files related to app_common/ to the Nordic Lib 2014-08-29 14:47:30 +01:00
dbestm aee7023d7f [NUCLEOs] enhance i2c api 2014-08-29 15:31:51 +02:00
Rohit Grover 04d0142bd6 add app_common header files for Nordic targets 2014-08-29 11:37:13 +01:00
Bogdan Marinescu e4e0873d55 Merge pull request #469 from Experiment-626/master
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to fix an issue with the o...
2014-08-29 10:02:34 +01:00