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
Aron L. Phillips
bbe0203ccf
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to fix an issue with the online compiler.
2014-08-28 15:22:12 -04: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
Bogdan Marinescu
e4109d8efc
Added MemFileSystem.h from repo on mbed.org
2014-08-28 09:55:01 +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
Yihui Xiong
bda033dc8e
[nrf51822][gcc_arm][c++]: fix 'impossible constraint in asm' error, used by ble app
2014-08-28 16:54:27 +08:00
Rohit Grover
90467175c0
cleaning up code within Nordic's mbed HAL using astyle
2014-08-27 08:42:26 +01:00