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
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
Przemek Wirkus
06848611d3
Added initial 'host test auto-detection API'
2015-01-26 12:29:48 +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
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
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
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
Przemek Wirkus
eaed52a5aa
In tests NET_1 and NET_7 changed URL to files from mbed.org to developer.mbed.org. Reason: online IDE was moved to developer subdomain and NET1 and NET-7 tests were failing
2014-10-17 15:59:36 +01: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
4b50c3cadd
Minor unit test name change in DIV test
2014-09-25 17:42:01 +01: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
ohagendorf
45019cf62b
[DISCO_F407VG] test MBED_A7 InterruptIn failed
...
- solution similar to [NUCLEO_F4x1RE]
- digital_loop tests "DigitalIn DigitalOut", "DigitalInOut" and
"InterruptIn" are OK
2014-09-18 21:49:26 +02:00
ohagendorf
c59657a6d9
[NUCLEO_F4x1RE] test MBED_A7 InterruptIn failed
...
The test failed because it was not possible to switch off an already
active edge detection.
The reason was the GPIO HAL module driver function HAL_GPIO_Init. The
function changes only interrupt or event flags when the EXTI_MODE flag
in GPIO_Init->Mode is set. gpio_irq_set changed the event mode to
EDGE_NONE in gpio_irq_t structure but that doesn't changed the interrupt
and event flags in the CMSIS function because of the missing EXTI_MODE.
Now gpio_irq_set is able to switch off a specific or both edge
detections.
The MBED_A7 test was extended by another test to check if switch off
edge detection is OK.
2014-09-18 14:27:55 +02:00
0xc0170
c8eab47e81
Merge branch 'master' of github.com:Sissors/mbed into Sissors-master
...
Conflicts:
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/PeripheralPins.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/PortNames.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K22F/device/MK22F51212/fsl_bitaccess.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/PeripheralPins.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/PortNames.h
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/analogout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/device/MK64F12/regs.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_irq_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/gpio_object.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/i2c_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/objects.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/pinmap.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/pwmout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/rtc_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/serial_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/sleep.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/us_ticker.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/PeripheralPins.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/PortNames.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/analogin_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/analogout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/device/MK64F12/regs.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/device/MK64F12/system_MK64F12.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_irq_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/gpio_object.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/i2c_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/objects.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/pinmap.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/port_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/pwmout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/rtc_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/serial_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/sleep.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/spi_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/us_ticker.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/analogin_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/analogout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_irq_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/gpio_object.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/i2c_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/objects.h
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/pinmap.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/port_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/pwmout_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/rtc_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/serial_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/sleep.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/spi_api.c
libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/us_ticker.c
libraries/net/eth/lwip-eth/arch/TARGET_Freescale/fsl_enet_driver.c
workspace_tools/tests.py
2014-09-16 13:43:02 +01:00
Przemek Wirkus
63ee01bdd9
Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable)
2014-09-15 17:44:30 +01:00
Przemek Wirkus
8c77115d55
Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable)
2014-09-15 17:44:22 +01:00
Sissors
0de8335c20
[K22F] Sleep/deepsleep verified to work
...
Works properly with waking from interruptin, not from timeout from
regular sleep, but thats the nature of the current KSDK Ticker timer
used, can be changed later on :)
2014-09-11 08:33:44 +02:00
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