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
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
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
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
ohagendorf
31c82ad2ba
target extension of test: DigitalIn DigitalOut
...
Extension of the test 'DigitalIn DigitalOut' for Nucleo_F401RE and
Nucleo_F411RE
2014-09-10 23:52:19 +02:00
Przemek Wirkus
a98c8574a3
Added test for timer to check member function attached
2014-09-10 12:44:31 +01:00
Sissors
654929803b
And unbreaking MMA test code
2014-09-07 21:39:53 +02:00
Sissors
555d43fab4
Added K22F I2C + fixed I2C
...
First part was pinouts. Second part is that the earlier done new I2C
commands were wrong. The macros for writing for example status register
expect the I2C base address, and were only getting the number of the i2c
peripheral. After figuring that one out technically the changes in
timeout_status_poll aren't necesary, but it won't hurt either.
2014-09-07 21:39:16 +02:00
Sissors
15bbd4143c
K22F PWM support
...
Pinouts added, and pwm names changed into something which are bit easier
to use when making that pinout.
2014-09-07 14:53:31 +02:00
Przemek Wirkus
2df3125ca4
Fixed missing STDOUT in Echo test
...
Fixed missing opening and closing brackets in {{start}}
2014-09-03 15:01:19 +01:00
Przemek Wirkus
4e3b149f79
Modified STDIO and ECHO so they use rpeamble to initialize communication
2014-09-03 13:33:54 +01:00
Przemek Wirkus
e43fade769
Added source folder with CSTRING test
2014-09-03 11:06:39 +01:00
Przemek Wirkus
451f3b2166
Refreshed STL test
2014-09-03 09:49:22 +01:00
Przemek Wirkus
ce8543ecc8
Refreshed STL test
2014-09-03 09:48:20 +01:00
Przemek Wirkus
39e75c042f
Changed test suite version to 1.2
...
Added simple test to check C strings conversions
2014-09-02 17:34:08 +01:00
Przemek Wirkus
d71a7579b4
Removed from Hello World target test success notification
2014-09-02 15:50:24 +01:00