Commit Graph

213 Commits (ba8264717c2064a2e8f73e13d8a65ff0a8683fc3)

Author SHA1 Message Date
Mihail Stoyanov 88281c839e Add AnalogIn potentiometer test for A0, A1 as present on the mbed application shield and automate MMA7660 test.
Various flags for platforms and tests.
2015-02-20 04:15:26 +02:00
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 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 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
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
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
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 62fcd83b23 Test MBED_A19: wrong I2C pins assigned to TARGET_LPC11U68 target because of leading TARGET_FF_ARDUINO 2014-10-28 13:22:25 +00:00
Toyomasa Watarai 03482e329d HAL : [LPC824] Fix SPI1 SWM table
- Fix SPI ch1 switch matrix table value - detected by SPI_MASTER test
case
- Add LPC824 pinout for some test cases
- [LPC824] spi_api.c code refactoring
2014-10-17 19:16:37 +09:00
Przemek Wirkus 42442233de Added new test MBED_34 to check two tickers with two detached alternately callbacks 2014-10-15 17:45:54 +01:00
Toyomasa Watarai d9479288a7 HAL : [LPC824] Fix I2C return value
- Add LPC824 target for I2C test cases
- Fix I2C read/write return value bug, detected by I2C_MMA7660 test case
2014-10-15 17:46:21 +09:00
Przemek Wirkus 0a0491cf0f Added new Unit Tests - General pool to cover common functionality and check if UT framework is working. This test pool can be extended with new tests 2014-09-24 16:22:19 +01:00
Przemek Wirkus 2ab8ad9b47 Feature: Device detection via serial - part 4
Interrupt In test pinology for NUCLEO changed
2014-09-24 14:58:14 +01:00
Przemek Wirkus da412da174 Feature: Device detection via serial - part 3 2014-09-24 14:58:10 +01:00
Przemek Wirkus 2e58f7922c Feature: Device detection via serial - part 1 2014-09-24 14:58:03 +01:00
Przemek Wirkus 3271e479b9 Minor modifications to mbed_main call testcase 2014-09-24 14:57:55 +01:00
bcostm c4bac8eb8a Tests: re-order and add new NUCLEO targets 2014-09-23 13:01:21 +02:00
Przemek Wirkus 1f3587f54a Added NUCLEO support for digital in/out tests
Slightly modified digital in/out tests
2014-09-23 10:53:53 +01:00
Przemek Wirkus 0a3e706703 Minor updates for InterruptIn testcase 2014-09-23 10:53:49 +01:00
Przemek Wirkus ea59d77d85 Small improvements to RTC test to check time elapsed and if timestamp is not zero 2014-09-22 10:06:39 +01:00
Martin Kojtal 2e5c761dc8 Merge pull request #495 from ohagendorf/develop
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn - new test case - both interrupts disabled
2014-09-22 09:26:12 +01:00
ohagendorf 96b323c5cb test [MBED_A7] extension
The test MBED_A7 is missing one functionality. It tests switch on an
edge detection, change the detected edge and switching on both. The
complete switch off is not tested.
2014-09-19 11:13:57 +02:00