Commit Graph

280 Commits (e027a8e2247cd62865bd63c9f1187b035768ee22)

Author SHA1 Message Date
Martin Kojtal c9e7f409af Merge pull request #900 from PrzemekWirkus/host_test_autodetection
Host test autodetection improvements
2015-02-16 09:37:56 +00:00
Przemek Wirkus 09c48e4081 Refactored names for MBED_HOSTTEST macros used in test case auto-detection 2015-02-11 10:37:03 +00:00
Przemek Wirkus 35c034c911 Added timeout detection from aut-detection MUT printout
Timeout is captured by application supervising host_test and duration is modiffied

Added functionality preventing MUT printouts to reset device's timeout value or script execution timer counter
2015-02-10 09:15:46 +00:00
Anders Lindvall dcc53f4bda Fixed target issues for TARGET_LPC4088_DM
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
  TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
Martin Kojtal 9f80c90477 Merge pull request #866 from Marcomissyou/master
Add a new target DELTA_DFCM_NNN40
2015-02-02 07:25:54 +00:00
Przemek Wirkus f40ec7a294 Added autodetection fior tests including MMA8451Q accelerometer 2015-01-30 13:51:41 +00:00
Przemek Wirkus 2a07aea5ab Autodetection: Added support for Unit Tests (CppUTest test runner) 2015-01-30 10:32:53 +00:00
Przemek Wirkus 035714e409 Added NET_4, NET_6 and NET_13 tests to autodetection pool 2015-01-30 09:57:36 +00:00
Przemek Wirkus 605ee4a0b1 Added HTTP and NTP test to autodetection pool 2015-01-30 09:31:21 +00:00
Przemek Wirkus f81509c933 Refactored UDP echo server 2015-01-28 16:43:40 +00:00
Przemek Wirkus 111b55784e Refactored TCP echo server 2015-01-28 16:29:36 +00:00
Przemek Wirkus 9fc02738ac Refactored TCP and UPD client tests (with default host test instrumentation) 2015-01-28 16:08:54 +00:00
Przemek Wirkus ab472195ce Refactored EEPROM and InterruptIn test cases to do auto-detection act
Refactoring Tested with few Nucleo boards and Nordic board
2015-01-28 15:34:28 +00:00
Przemek Wirkus 0bafe71fed Refactored RTOS_1 test and did some small indent in tests.py 2015-01-28 11:38:44 +00:00
Przemek Wirkus 812a1c3000 Refactored few peripheral tests like DigitalInOut, InteruptIn
Checked refactoring progress on LPC11U24
2015-01-28 10:08:03 +00:00
Przemek Wirkus b45d190b5d Refactored Semihost test (valid for few LPC platforms) 2015-01-28 09:11:54 +00:00
Przemek Wirkus c6134eb6a2 Refactored C++ test and added '+' sign as recognized character in auto-test description 2015-01-28 09:08:58 +00:00
Przemek Wirkus 4d435b94be Refactored DIV and VTAB relocation tests
Ran checks for current implementation on LPC1768
2015-01-28 08:54:40 +00:00
Przemek Wirkus a4bf0cf135 Refactored tests for SD card peripheral 2015-01-27 13:44:30 +00:00
Przemek Wirkus dcce4d7cde Refactored detection test to use new autodetection of host test 2015-01-27 13:24:11 +00:00
Przemek Wirkus d610f0b08a Refactored echo at 115200 test for new model of test autodetection 2015-01-27 13:17:36 +00:00
0xc0170 453e81fd4c Merge branch 'pinology' of https://github.com/PrzemekWirkus/mbed into PrzemekWirkus-pinology
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c
2015-01-27 14:15:48 +01:00
Przemek Wirkus a8506caa1d Refactored few more tests to support autodetection: basic, call_before_main, dev_null, rtc, stdio 2015-01-27 12:51:53 +00:00
Przemek Wirkus 6903b54b9e Refactored generic tests with timer host test supervision
Reactored RTOS tests
2015-01-27 12:10:16 +00:00
Marcomissyou e7c32aff0f modify main.cpp of analog and analog_in 2015-01-27 15:41:52 +08:00
Marcomissyou 7b4f177cdb remove older target 2015-01-27 14:56:59 +08:00
Marcomissyou 4a52c80ef5 solve conflict targets.py and i2c_api.c
Merge remote-tracking branch 'upstream/master'

Conflicts:
	libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c
	workspace_tools/targets.py
2015-01-27 14:16:17 +08:00
Przemek Wirkus 06848611d3 Added initial 'host test auto-detection API' 2015-01-26 12:29:48 +00:00
Przemek Wirkus 8c50826562 Removed extra checks for operator[] and replaced them with MBED_ASSERT for cleaner code 2015-01-26 08:47:44 +00:00
Martin Kojtal 2c2ab2cb06 Merge pull request #861 from NitinBhaskar/master
On-Board SD Card support for LPC11U37H_401 board
2015-01-26 06:46:38 +00:00
nitin.bhaskar.27.09@gmail.com 19fd60321b On-Board SD Card support added, SD Card related test cases updated too 2015-01-24 22:57:01 +05:30
ZKvAH 466223a617 fix read_result always false
read_result always  false when read file success
2015-01-24 13:38:20 +08:00
Marcomissyou 66a5f716e3 modify i2c_api, analog_api, system_brf51822.c, targets/py and add device.h, PinNames 2015-01-23 16:40:26 +08:00
Przemek Wirkus 0c3caf8d75 Refactored SD card basic test
Included return value check from fopen() functions in read/write testcases
2015-01-12 08:39:34 +00:00
bcostm e0e18f54d6 [NUCLEO_F070RB] Update tests with this target 2015-01-09 11:21:15 +01:00
Przemek Wirkus 3ec2247713 K22F: added peripheral pin definitions to SD card tests and I2C EEPROM tests 2015-01-08 14:06:39 +00:00
Martin Kojtal bef46907fc Merge pull request #831 from ohagendorf/stm32f4xx_reorg_hal
STM32F4xx reorganisation of hal folder
2015-01-08 11:53:03 +00:00
ohagendorf 0498e2619b [STMF4xx] reorg hal folder
- some minor error correction
- add pin definition for 3 tests (MBED_A5,6,7)
- add new target disco_f401vc to travis_build

travis_build and all test are OK except missing STM32F4 target
MTS_MDOT_F405RG
2015-01-04 14:14:52 +01:00
ohagendorf b9bef6b06e [DISCO/NUCLEO_L053xx] adding to RTOS - part3
Reverting the DEFAULT_STACK_SIZE changes in cmsis.oh.h and adding
changes to RTOS_x tests, to create threads with the neccessary reduced
stack sizes for these targets.
2015-01-02 14:52:39 +01:00
Przemek Wirkus 32cea97577 Added simple tests for BusOut component to check if we can use new features of BusOut::operator[] and DigitalOut::is_connected() 2014-12-19 15:36:55 +00:00
Toyomasa Watarai 600af8d001 [LPC11XX_11CXX] Fix SPI slave issue
- Fix a bug reported here:
https://developer.mbed.org/questions/4872/SPISlave-Class-dosnt-work-on-LPC1114/
- Add IOCON settings to enable proper pin functions
- Remove non-busy check in slave_receive() function, since the SSP/SPI
is always in busy state when received a valid data according to the
device user manual
- Add bit mask in spi_slave_read() function
- Add TARGET_LPC1114 pin config in SPI_SLAVE test
- Tested with LPC11U24 SPI master and LPC1114 SPI slave
2014-12-03 14:49:23 +09:00
Masao Hamanaka cf9fc3c4ac Add SD function
Add SD function and tests for RZ_A1H.
2014-11-27 17:12:57 +09:00
Martin Kojtal f364b76d2f Merge pull request #703 from masaohamanaka/master
Targets: RZ_A1H - Fixed a bug of serial interrupt
2014-11-19 00:59:43 -08:00
Martin Kojtal eadd2013c2 Merge pull request #719 from PrzemekWirkus/host-test-improvements-part-2
Tools: Host test plugin improvements, part 2: Copy plugins
2014-11-19 00:24:28 -08:00
Masao Hamanaka a210914f42 Fixed some function's bugs
Fixed some bugs and modified mmu setting.
Fixed functions as below
- analog in
- i2c
- interruptin
2014-11-18 13:54:39 +09:00
Przemek Wirkus 0e51149ecf tcpclient test: cheanged the way we ask server for file content (we will now ask for full path, not relative one) so we avoid 'File moved' HTTP 301 return code. 2014-11-17 10:38:18 +00:00
Przemek Wirkus 70d2f16ca3 Removed dependency to Standard library header <cstdint> 2014-11-14 17:17:26 +00:00
Przemek Wirkus 7306211cb1 Aligned existing unit tests to new include structure. Now includes are in build/cpputest so no need to include like this: 'CppUTest/header_file.h' 2014-11-11 15:32:16 +00:00
Przemek Wirkus 77e847632e Reverted Martin's changes related to CppUTest includes 2014-11-11 14:43:07 +00:00
0xc0170 1c268fb25b Tests: Testrunner - console variable name fix
It matches the cpputest from mbed mbed.org repository.
2014-11-07 10:24:57 +00:00