Commit Graph

382 Commits (165d2536fe0b24e6c3370866e91b34a497efed10)

Author SHA1 Message Date
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
Przemek Wirkus 400e4f8085 Added measurement prints to PERF test group 2014-09-01 08:44:08 +01:00
Przemek Wirkus 7c1adc5eaa Added simple coefficient notifiers (functions) to print int, uint and double together with measurement name 2014-09-01 08:44:04 +01:00
Przemek Wirkus b9c75a7712 Added 3 new performance tests (PERF_* group). Tests measure read/write speed of file system operation while using Stdio, FatFS and mbed (FIleHandle) implementations 2014-09-01 08:43:52 +01:00
Przemek Wirkus 13c3a64e3f Fixed CPPUTEST test runner for other compilers. Now we will force to pass main(argc, argv) ourselves to CPPUTEST test suite - as should be done in embedded project 2014-09-01 08:43:49 +01:00
Przemek Wirkus 60f6c97c3f HTTPClient bugfixed - recent HTTPClient tests show POST method failing. HTTP header scan function insufficient buffers blocked proper header scan 2014-09-01 08:43:18 +01:00
Przemek Wirkus ab2433cac2 Test bugfix: bugfixed RTOS (mutex, semaphore) - not thread safe stdio causes test result prints to be interrupted by threads' printing
test bugfix: added support for targetID print from device for 'hello world' and 'stdio' testcases
2014-08-15 11:17:52 +01:00
Przemek Wirkus d9fbefd373 Test compliance with LPC1549 and LPC11U68 2014-07-30 17:53:01 +01:00
Przemek Wirkus 12c7ba5ee2 Small refactoring for SD card tests for TARGET_K64F platform 2014-07-28 13:35:10 +01:00
Przemek Wirkus cd05521867 Added simple random seed provider. 2014-07-28 09:20:46 +01:00
Przemek Wirkus 2415d391d7 Added pseudo random seed source from compiler -D option 2014-07-24 15:33:49 +01:00
Mihail Stoyanov 8d5d92fea8 Added notify_start() to indicate test start
Added BusOut test
2014-07-22 09:53:05 +03:00
Przemek Wirkus f7ab12865e Added simple checks to make sure assertions outside test runs don't crash 2014-07-18 10:21:50 +01:00
Przemek Wirkus 265de723ad Changed console object name from 'console' to something more unique like 'mbed_cpputest_console' 2014-07-18 10:21:45 +01:00
Przemek Wirkus 1da17bd076 Added MMA8451Q accelerometer test port for K20D50M platform 2014-07-15 12:32:10 +01:00
Przemek Wirkus da68637753 Removed compilation warning about unused variable in i2c test 2014-07-15 12:08:35 +01:00
Przemek Wirkus ac667d6a3e Added SD card and EEPROM test pins for new Freescale K20D50M platform 2014-07-15 10:13:20 +01:00
Przemek Wirkus 0ca9a48b63 Indented using AStyle 2014-07-10 10:57:44 +01:00
Mihail Stoyanov 2018e40f3c Change LED blinking rate when tests finish 2014-07-04 20:32:14 +03:00
Mihail Stoyanov ac85b9f6a0 Added mbed blinky to tests 2014-07-04 20:10:28 +03:00
bcostm 693035b74f Add NUCLEOs targets in TMP102 test 2014-07-04 10:00:13 +02:00
Przemek Wirkus c97f1b8139 Added support for cpputest library. UT libray now compiles as separate lib, just like other libs. For example ETH or RTX. Added support for cpputest sources in root of mbed project (on the same level with mbed sdk repo). changes include adding new paths to the project. Two example UT (UT_1, UT_2 are added). New option -O is introduced to force 'test build only' 2014-07-01 17:45:38 +01:00
Przemek Wirkus 02ef2410cf Changed default p5 pin for DigitalOut to LED1 pin - so it is available on all devices supporting this test 2014-07-01 13:22:41 +01:00
Toyomasa Watarai b1cae3da93 [LPC1549] Added CAN support
Added CAN API support for LPC1549 target.
Tested with LPC1768 target using NXP TJA1042 CAN transceiver.
2014-06-30 15:21:42 +09:00
Christian Taedcke 021074eb1f [LPC1549] Enable analog test. 2014-06-23 19:17:38 +02:00
Christian Taedcke d27129351c [LPC1549] Fix pin assignment for simple io tests. 2014-06-23 19:17:38 +02:00
Przemek Wirkus a7d1228723 Added new NUCLEO boards definitions to general tests 2014-06-23 15:56:47 +01:00
0xc0170 971038f2ed spaces removal - tests 2014-05-29 15:50:20 +02:00
ban4jp 49cdbbfe5d [KLXX] Added RPC + RTOS support 2014-05-25 18:03:50 +09:00
Przemek Wirkus 7afde21d4d Added pins for EEPROM line test 2014-05-20 15:24:21 +01:00
Przemek Wirkus 20d2618d19 SD card test updated with 11U68 pinology 2014-05-20 15:05:28 +01:00
Rohit Grover c057be6709 remove BLE related tests;
They were only demos; not real tests.
2014-05-20 14:54:01 +01:00
Przemek Wirkus 30424b260d Code indentation only 2014-05-16 14:33:10 +01:00
Przemek Wirkus d6168f30cf Added TARGET_LPC11U68 to timer/ticker/eeprom tests 2014-05-16 14:29:51 +01:00
Przemek Wirkus 55c4d96efc Added NUCLEO L053R8 to SD test definitions 2014-05-16 11:16:47 +01:00
Przemek Wirkus ef1f4756c1 Removed compilation error 2014-05-14 17:21:11 +01:00
Przemek Wirkus 63d2bba43c Add new ST target TARGET_NUCLEO_L053R8 to few tests 2014-05-14 14:54:11 +01:00
Mihail Stoyanov 7882b9ca20 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-05 13:57:45 +03:00
Przemek Wirkus 044b5131cb Added NUCLEO_F103RB, NUCLEO_L152RE, NUCLEO_F302R8, NUCLEO_F030R8, NUCLEO_F401RE defines to timer tests. Fixed bug related to Nucleo not responding to singletest.py test execution 2014-05-02 19:54:40 +01:00
Mihail Stoyanov bdb8464262 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-05-02 15:12:47 +03:00
Przemek Wirkus e5b475f654 Added TARGET_NUCLEO_L152RE define to Timeout test 2014-04-30 13:57:14 +01:00
Przemek Wirkus 96f78f4151 Added TARGET_NUCLEO_L152RE define to Timer us test 2014-04-30 13:57:13 +01:00
Przemek Wirkus 70956ff794 Added TARGET_NUCLEO_L152RE define to Ticker 2 test 2014-04-30 13:57:12 +01:00
Przemek Wirkus 935ce7c733 Added TARGET_NUCLEO_L152RE define to EEPROM test 2014-04-30 13:57:11 +01:00
Przemek Wirkus d0b7f3009d Updated test MBED_A4 (i2c_TMP102) with LPC2368 target 2014-04-30 13:57:09 +01:00
Przemek Wirkus c62f8cd1d1 Added new test NET_14 - datagram PHY/data layer benchmark 2014-04-30 13:57:08 +01:00
Przemek Wirkus 23b696133a Added LPC2368 to SD card and TMP102 tests 2014-04-30 13:57:07 +01:00
Przemek Wirkus 5eb40d38ca Small refactoring + code indent 2014-04-24 14:41:53 +01:00
Przemek Wirkus 4927a9d7e3 Small updates for test MBED_A12, MBED_A19, MBED_A25 (SD, EEPROM, EEPROM) 2014-04-24 13:48:39 +01:00
Przemek Wirkus 77c96631cc Updated MBED_A19 24LC256 EEPROM test. Added new test MBED_A25 24LC256 I2C EEPROM pattern write/read to test suite 2014-04-24 13:48:38 +01:00
Przemek Wirkus 6b044ada5b Added KL25Z_5 MMA8451Q accelerometer test to test automation suite 2014-04-16 11:49:35 +01:00
Przemek Wirkus 581c8b4086 Small updates for NET_7 HTTP Client test 2014-04-16 11:06:38 +01:00
Przemek Wirkus c33b744fa5 Added NET_13 TCP client echo loop host test to test automation suite 2014-04-16 11:06:35 +01:00
dinau 9617a966df Merge branch 'mbedmicro.org/master' 2014-04-12 00:40:38 +09:00
Mihail Stoyanov ead2bc63cb Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-04-09 15:14:46 +01:00
Przemek Wirkus 602a4ed8eb Added EXAMPLE_1 /dev/null redirection host test to automation suite 2014-04-09 11:32:44 +01:00
Przemek Wirkus 497f8c5cd2 Added NET_1 and NET_2 (TCP / UDP client) automated tests to test suite 2014-04-08 15:31:16 +01:00
dinau d9c2175a05 [STM32F3-Discovery][DISCO_F303VC] initial port. 2014-04-08 22:30:24 +09:00
Przemek Wirkus 5804ee610b Added MBED_26 Integer constant division test to test suite 2014-04-08 12:09:22 +01:00
Przemek Wirkus 38f84aa194 Added MBED_22 Semihost test automation to test suite 2014-04-08 11:24:58 +01:00
Przemek Wirkus 528b3136d3 MBED_10 Hello World test host automation added to test suite 2014-04-08 10:20:44 +01:00
Mihail Stoyanov 3633348676 Changed the Arduino tests order 2014-04-07 16:56:13 +01:00
Bogdan Marinescu 2e32c71b50 [K64F] Ensure immediate update of CnV register in FTM
Also changed pin assignment for the PWM test.
2014-04-07 16:48:56 +01:00
Bogdan Marinescu 286a4e42f6 [K64F] Fix PWM implementation
Also change the pin for the PWM LED test.
2014-04-07 16:29:54 +01:00
Mihail Stoyanov 8806b50775 Merge branch 'master' of https://github.com/sg-/mbed 2014-04-04 12:26:23 +01:00
Mihail Stoyanov bf9689a9b8 Added "supported_form_factors" list attr to targets which defines TARGET_FF_* symbols for the supported form factors.
Unified some tests for targets that support Arduino form factor to use Arduino style pin names.
2014-04-04 12:24:21 +01:00
0xc0170 7daf2753a0 K64F - port HAL corrections 2014-04-04 10:30:30 +02:00
sg- 0e6cb47481 Update AnalogOut pinname in the test 2014-04-03 18:32:18 -05:00
Mihail Stoyanov 283e990f46 Added K64F to tests 2014-04-03 20:30:01 +01:00
Przemek Wirkus b6fadb4e11 RTOS_8 ISR handling for queue put/get functionality added to test suite 2014-03-26 17:38:36 +00:00
Przemek Wirkus ccd7f2e757 Cosmetic updates to VTOR relocation test 2014-03-26 15:07:42 +00:00
Przemek Wirkus e10bd60385 NET_7, NET_8 - HTTP and NTP client test automation added to test suite 2014-03-26 14:48:44 +00:00
Przemek Wirkus c2cd398d6a Added MBED_15 RPC test to automated test suite 2014-03-26 10:36:34 +00:00
Przemek Wirkus 773e0ce493 RTOS_2 Semaphore resource locking test automation added to test suite 2014-03-25 14:33:58 +00:00
Przemek Wirkus c1c470bf6f Small changes to testcase to allign with RTOS Mail test 2014-03-25 14:33:57 +00:00
Przemek Wirkus 40514add7f RTOS_6 Mail test automation added ti test suite 2014-03-25 14:33:56 +00:00
Przemek Wirkus 9a73b5a809 RTOS_4 Signal test automation added to test suite 2014-03-25 14:33:55 +00:00
Przemek Wirkus 031bf1323b RTOS_5 Queue test small implementation changes 2014-03-25 14:33:54 +00:00
Przemek Wirkus 0afeb401c7 RTOS_5 Queue test automation changed - host test is not used now - test is faster 2014-03-25 14:33:52 +00:00
Przemek Wirkus 11c042fac3 Added RTOS_5 Queue test to automated host test suite 2014-03-24 18:45:56 +00:00
Przemek Wirkus 7f14710eae Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-24 18:22:41 +00:00
Przemek Wirkus 88fa03a1af Added RTOS_7 timer automated test to host test suite 2014-03-24 18:22:33 +00:00
Emilio Monti 232bd99880 Update Health_Thermometer example to latest revision 2014-03-24 17:18:17 +00:00
Przemek Wirkus 3690bdd40f Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-03-24 17:06:19 +00:00
Przemek Wirkus a8c7e135f7 Added RTOS_1 basic test and RTOS_9 SD file write/read test to host test automation 2014-03-24 17:05:32 +00:00
Emilio Monti 2dff8cf4f4 Add BLE HeartRate and iBeacon examples 2014-03-24 17:01:32 +00:00
Emilio Monti 475657f920 Move BLE Nordic native library in separate directory 2014-03-24 16:45:14 +00:00
dinau a43ba4740a [STM32F407][LPC4088][GCC_ARM] Fixed compilation error.
This commit fix FPU error when compile with RTX OS.
2014-03-21 21:16:52 +09:00
dinau 86ee511c80 STM32F0-Discovery (STM32F051R8) initial port 2014-03-21 20:23:13 +09:00
Przemek Wirkus 1e79d929bf Added MBED_16 RTC host test automation (5 reads from RTC) 2014-03-20 15:52:06 +00:00
Przemek Wirkus d4c29b81cb trailing spaces removed 2014-03-20 15:02:32 +00:00
Przemek Wirkus c274102104 Added MBED_24 host test automation for timeout with us int handleers (2 x 500us tandem) 2014-03-20 15:01:28 +00:00
Przemek Wirkus f13c2d8c71 Added MBED_23 ticker host test automation. Test uses the sahe host_test script as wait_us test 2014-03-20 11:44:31 +00:00
Przemek Wirkus e051431053 Added MBED_11 ticker host test automation (test uses the same host_test script to test ticker as wait_us test. 2014-03-20 11:34:47 +00:00
Przemek Wirkus c32258de09 Added Interrupt vector relocation test automation. 2014-03-20 11:06:14 +00:00
Przemek Wirkus 8c234adf9a Trailing spaces removed 2014-03-20 10:55:45 +00:00
Przemek Wirkus f63ce6a2c0 Added MBED_12 test (C++) automation. target test code also updated. 2014-03-20 10:54:55 +00:00
Przemek Wirkus d07ed138b2 Added us Timer proper host test automation 2014-03-19 19:57:02 +00:00
dinau 1683e9fba2 STM32VL-Discovery initial port 2014-03-19 21:39:01 +09:00
dinau 218ea3a4da [GCC_ARM][LPC11U35][LPC1114][STMF407]: Modified build scripts
1. Added to Makefile templates for LPC11U35 and STM32F407
2. Added output facility of HEX file, LIST file and MAP file
2014-03-18 20:32:53 +09:00
Przemek Wirkus 47a8df4b51 TC and UDP client updates. Added automation information to test suite. Added new peripherial: 'ethernet' 2014-03-17 17:39:24 +00:00
Przemek Wirkus b345a189cf Added implementation for TCP and UDP client 2014-03-17 17:29:18 +00:00
Przemek Wirkus 34e19e31e5 Added automation tests' implementation for TCP_Server, UDP_Server and STDIO 2014-03-17 11:58:35 +00:00
Przemek Wirkus 9105963e2c Removed trailing spaces 2014-03-11 15:37:43 +00:00
Przemek Wirkus 02a0f4d321 Aligned USART RX/TX naming with ST NUCLEO board HAL 2014-03-11 15:36:53 +00:00
Przemek Wirkus dc1e190d9e Fixed pinology for ECHO test for NUCLEO boards: F103RB, L152RE, F401RE, F030R8 2014-03-11 15:01:03 +00:00
Przemek Wirkus 2bb462f5a3 InterruptIn test support added for NUCLEO boards: F103RB, L152RE, F401RE, F030R8 2014-03-11 11:58:33 +00:00
Fatih Aşıcı 4a0b7893ec Fix checking of TARGET_* symbols 2014-03-08 23:30:50 +02:00
Przemek Wirkus c74365cb83 LED test completion notification changed. Now if board do not have LED4, target will only blink LED1 to indicate test success. If test fails LED1 will not blink. This behaviour will be changed in the future. Now it is mainly removing compilation error (LED4 not defined). 2014-02-24 15:34:35 +00:00
Emilio Monti 3279edf10e Add first BLE API test 2014-02-21 15:05:21 +00:00
Emilio Monti b213992ac0 Optimize for speed 2014-02-11 17:07:29 +00:00
tkuyucu 026b6610a8 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libraries/tests/mbed/portinout/main.cpp
	libraries/tests/mbed/portout_portin/main.cpp
	libraries/tests/mbed/sd/main.cpp
	libraries/tests/mbed/spi_slave/main.cpp
	workspace_tools/targets.py
	workspace_tools/toolchains/arm.py
	workspace_tools/toolchains/gcc.py
	workspace_tools/toolchains/iar.py
2014-02-07 11:04:50 +01:00
tkuyucu 804188a6f7 Clean up and Reformatting
Unused header files are removed from the cmsis dir.
Tab characters replaced by 4 spaces.
Brackets and parenthesis formatted.
Spi slave functions updated for faster response.
2014-02-03 10:33:34 +01:00
Sissors 2c2bf35a77 Refactored KLXX code
See description. Everything HAL wise went into KLXX, with target
specific in subfolders. Only interrupt and spi are in target specific
since they are target specific.

Also you cannot set the uart anymore for 9 or 10 databits (the code
supported it to set it like that, but the actually read/write only did
8-bits)
2014-01-28 18:57:07 +01:00
tkuyucu 29560a3195 SPI and I2C will accept unsupported frequencies and match them with the closest available frequency instead of generating an error.
Sleep is now implemented (deepsleep will cause nrf to work in System OFF mode).
2014-01-10 14:21:43 +01:00
tkuyucu 694f9c726c fixes and updates after the mbed unit tests have been carried out. 2014-01-08 11:14:19 +01:00
ytsuboi 0a11767877 [LPC812] enable SPISlave 2013-12-29 19:18:50 +09:00
Bogdan Marinescu 4b4b986cdb Changed flow control test pin assignments 2013-12-19 15:05:36 +02:00
Bogdan Marinescu 34a43eaa41 Merge branch 'flow_control'
Conflicts:
	workspace_tools/tests.py
2013-12-19 11:36:45 +02:00
Bogdan Marinescu bb8ed20a47 LPC1768 flow control fixes
- Disable TX buffer, this isn't compatible with the software CTS implementation
- Properly set hardware RTS/CTS pins when possible
- Modified test to use hardware CTS and software RTS
2013-12-19 11:31:23 +02:00
Bogdan Marinescu f5e1f7037f Ported more tests to NUCLEO_F103RB 2013-12-12 20:00:56 +02:00
Bogdan Marinescu 7d1c888204 Added LED PWM test 2013-12-12 19:59:31 +02:00
Anders Lindvall 0c774294fb LPC4088 target fixes
- changed scatter file to keep all the code in the internal flash
- added tests for SPIFI memory usage
2013-12-12 12:29:00 +02:00
Bogdan Marinescu 8ee4396f01 Ported 'sd' test to the Nucleo board 2013-12-11 18:50:35 +02:00
Bogdan Marinescu 7a7c14e050 [NUCLEO_F103RB] Test porting
Ported GPIO and UART tests, verified as working.
2013-12-09 15:36:51 +02:00
Bogdan Marinescu d0b2fb6c66 Added flow control test
Since this requires a separate serial port connection, added this as a
new attribute of the MUTs.
2013-12-04 19:46:51 +02:00
Bogdan Marinescu e69956aba2 Updated DSP library + build system changes
Updated CMSIS DSP to latest version (CMSIS-SP-00300-r3p2-00rel1.zip)
Build system changes to be able to preprocess assembler sources before compiling them:

- GCC: use gcc '-x assembler-with-cpp'
- ARM: preprocess first, then assemble (two separate commands)
- IAR: added macro definitions and include directories to the assembler command line

Removed CORTEX_ARM_SUPPORT restriction for the DSP libraries.
Tested: LPC1768 with ARM, GCC_ARM and IAR, LPC11U24 with ARM.
2013-11-08 15:38:23 +02:00
Bogdan Marinescu 2404dc0092 Added new serial class, remove interrupt chaining
The new RawSerial class is a simple wrapper over the serial HAL that can
be safely used from an interrupt handler.
Interrupt chaining code was removed from InterruptIn, Serial and Ticker
because it caused lots of issues with the RTOS. Interrupt chaining is
still possible using the InterruptManager class.
2013-10-23 16:08:34 +03:00
Bogdan Marinescu fe7021d433 Renamed ubloxusbgsm in main to ubloxusb
Since the tests are now generic (both GSM and CDMA), rename the directory
to reflect this.
2013-10-22 12:41:01 +03:00
Bogdan Marinescu ae0bc41693 Added support for CDMA modem in SMSTest
Also remove unnecessary thread from main
2013-10-22 12:27:18 +03:00
Bogdan Marinescu 7f35fc4b76 Added support for CMDA modem in HTTPClientTest
Also remove unnecessary thread from main
2013-10-22 11:59:11 +03:00
Bogdan Marinescu dfb472ceaf fixed invalid include name 2013-10-21 14:43:46 +03:00
Bogdan Marinescu 8aaa1b76a6 Added auto synchronization for the u-blox GSM modem test
Also changed the test to look more like the original VodafoneUSBModem SMS
test (added another thread).
2013-10-21 14:21:42 +03:00
Bogdan Marinescu 5e6262a91a Fixed macro definitions in u-blox test 2013-10-19 14:39:50 +03:00
Bogdan Marinescu ea9ba23ff5 Changed u-blox modem test
The test is not automated now, so it can be synced with the official
repository.
Also changed it to look more like the original VodafoneUSBModem test by
adding another thread in the code.
2013-10-19 00:54:32 +03:00
Bogdan Marinescu bdf5d03ba1 Updated tests
- Vodafone tests are gone for now
- Added u-blox TCP test (UB_1) and SMS test (UB_2).
- tests can now have more than a single source directory
2013-10-17 18:57:02 +03:00
0xc0170 44bb8e00e5 First passed tests for KL46
- spi is failing, need to fix it
2013-10-01 20:18:39 +02:00
Toyomasa Watarai d0d2df3ce5 Fixed problem in PWMOUT mapping table
Fixed problem in PWMOUT output issue.
Startup code cean-up (correced exception names).
Corrected test cases.
2013-09-09 18:15:51 +09:00
dinau 7bcdf0b980 LPC2368 [GCC_ARM, GCC_CR]:
1. Added: GCC_CR toolchain ID for LPC2368. (targets.py)
2. Modified: Startup codes for GCC_ARM and GCC_CR toolchain.
3. Verified: "ticker" and "basic" test program works well, so far.
2013-08-31 13:33:34 +09:00
Toyomasa Watarai 463bf47a40 Support LPC1114 platform
Added TARGET_LPC1114 pins for InterruptIn test case and changed to
PullUp mode.
2013-08-21 16:41:18 +09:00
Toyomasa Watarai c26d2a990d Removed detach() call in test case 2013-08-16 21:47:42 +09:00
Toyomasa Watarai 10c44a99b2 Merge branch 'master' of https://github.com/ytsuboi/mbed 2013-08-16 21:07:03 +09:00
Toyomasa Watarai 66deb5e24d Added LPC1114 support and fixed hard fault 2013-08-16 21:06:51 +09:00
ytsuboi 478f0498e7 Merge remote-tracking branch 'upstream/master' 2013-08-16 02:38:42 +09:00
Toyomasa Watarai 268a2973ea Added LPC1114 and target for some test cases 2013-08-16 00:24:09 +09:00
pbrier c0fdbede02 Compile network and RTOS with GCC_ARM 2013-08-14 22:34:33 +02:00
Andreas Rebert 75dba19438 Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00
Bogdan Marinescu d399e51bfd Interrupt chaining: now working on all targets.
Tested on LPC1768, LPC11U24, KL25Z, LPC2368.
2013-08-07 14:43:36 +03:00
Bogdan Marinescu 43d4445074 Interrupt chaining: preliminary version 2013-08-07 14:43:26 +03:00
Bogdan Marinescu 58fd85fc6f Add support for calling a function before main()
The name of the function is mbed_main.
Fixes PRMBED-906.
2013-08-07 14:39:13 +03:00
Matthew Else 6cf35dbcb8 Fix CAN Interrupt Test (MBED_31) 2013-08-06 14:52:04 +01:00
Matthew Else 714daff020 Fix CAN Test (MBED_30) 2013-08-06 14:51:00 +01:00
Matthew Else ef28879863 Merged remote tracking branch 'upstream/master' 2013-08-05 17:22:01 +01:00
Emilio Monti 54893092c3 Merge pull request #17 from matthewelse/forpullrequest
LPC1114 Port Pull Request
2013-08-02 08:56:44 -07:00
Joris Aerts 48fc1aa49d Add test case MBED_30 and MBED_31 to test CAN api 2013-08-01 17:54:13 -07:00
Matthew Else 7f736b9d19 Removed unnecessary LPC1114-specific test. 2013-08-01 23:04:13 +01:00
Matthew Else 07cddbf038 Merge remote-tracking branch 'upstream/master' 2013-07-30 12:01:49 +01:00
Bogdan Marinescu 0c5d3548d1 I2C EEPROM test: remove the redundant TestHelper class 2013-07-29 18:20:05 +03:00