Commit Graph

319 Commits (f6164f34cd6f9a31ed1b35d6ca90d56d25d73a28)

Author SHA1 Message Date
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
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 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
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
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 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
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 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 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 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
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
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 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
Bogdan Marinescu fb347b62c8 [KL25Z] Fix tests for KL25Z
This commit fixes a number of issues with invalid/wrong pin assignments for the
KL25Z mbed target:

- analog: PTC1 doesn't seem to be exported at all, replaced with PTC2.
- digitalin/out, interruptin, portin/out: these tests used PTA1 and PTA2, which
are the console UART pins for the KL25Z mbed. The tests now use PTA4<->PTC5 and
PTA5<->PTC6.
2013-07-29 18:20:05 +03:00
Bogdan Marinescu ade7a941e2 Multiple fixes to test_env
- send {{message}} instead of {message}. This is neede to overcome a serial
interface issue on the Freedom board.
- don't blink the passed/failed LEDs if they are not actually connected.
2013-07-29 18:19:37 +03:00
Bogdan Marinescu 5655d2fc2a Fix for the previous "change vector table relocation check" commit. 2013-07-29 18:13:38 +03:00
Toyomasa Watarai 698001caa2 Fixed issue #13
Changed pwm test code for LPC1114 using P1_1 (CT32B1_MAT0) and P1_2
(CT32B1_MAT1).

[PWM test (MBED_5) result]
Initialize PWM on pin 13 with duty cycle: 0.75
Initialize PWM on pin 14 with duty cycle: 0.50
{success}
{end}
2013-07-26 18:12:49 +09:00
Matthew Else 1b399ecfab Added new test for devices with no analog out. 2013-07-25 16:02:02 +01:00
Matthew Else 4bce371f2b Fixed InterruptIn (MBED_A7) Test 2013-07-24 16:42:18 +01:00
Toyomasa Watarai a125a25a97 Implemented PortIn, PortOut and PortInOut API #8
Followingt test cases have been passed:
* PortOut (#24)
* PortOut PortIn (#9)
* PortInOut (#8)
2013-07-24 18:37:12 +09:00
Matthew Else 9f47511812 Made some mbed tests compatible with the LPC1114 2013-07-23 16:08:45 +01:00
Toyomasa Watarai 8bd3171943 Fixed ticker test case to support LPC1114 2013-07-21 23:46:33 +09:00
Emilio Monti 091fe5c3d0 synch targets, exporters and tests 2013-07-17 14:11:54 +01:00
0xc0170 9ff042699b Update freedomKL05 from upstream master 2013-07-02 19:44:15 +02:00
Bogdan Marinescu 4a98d0ed7e Added I2C master/slave test 2013-07-01 16:28:33 +01:00
0xc0170 4c4d15f323 Serial api - clock, SPImaster test 2013-06-28 19:59:15 +02:00
0xc0170 5d169ce654 Clocks correction, ticker, tests
- systemInit - clock update (crystal 32768Hz)
  - us_ticker - MCG clock input
  - Kl05 testing - pin definitions for KL05 (all run in KEIL with debugger)
2013-06-27 23:20:47 +02:00
Andreas Rebert 2662e105c4 Add support for NXP LPC4088 2013-05-16 08:53:02 +02:00
samux 4292adebc1 [KL25Z]: spi slave and i2c slave support 2013-05-08 16:05:57 +01:00
Emilio Monti a607392724 [LPC812] Add us_ticker interrupts, board pin names and tests 2013-04-17 16:32:49 +01:00
Emilio Monti 49b28faba3 Update tests 2013-04-11 17:13:23 +01:00
Emilio Monti db129a9c27 [KL25Z] Improve division by constant integer in us_ticker implementation. 2013-03-18 17:20:05 +00:00
Emilio Monti 80518c489c Add LPC812 target. Update tests. Remove obsolete documentation. Move shared code among targets to target independent layer. 2013-03-14 11:52:38 +00:00
Emilio Monti faa724220f Add KL25Z tests and USBDevice implementation 2013-02-26 15:37:59 +00:00
Emilio Monti a5e0438a97 Add Freescale KL25Z 2013-02-26 14:57:42 +00:00
Emilio Monti 5c20760685 Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00