Commit Graph

239 Commits (86647d8387d2d8423311a7c1f03bb30a0cf11f6b)

Author SHA1 Message Date
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
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 c12b5de37b Fixed NET_(4,6,13) client tests so after reset we wait for device to send print it's ready
Fixed small print issue with -V option
2014-09-04 10:10:55 +01: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
Przemek Wirkus b481bc4319 Modified test EXAMPLE_1 to fail if can't receive proper print from Mbed 2014-09-02 14:52:24 +01:00
Przemek Wirkus ff9252a247 Fixed ticker_2 blinking 2014-09-01 08:44:24 +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