Commit Graph

169 Commits (1dcc9246bd5818587bb8121a171d2c2faf5a6be3)

Author SHA1 Message Date
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
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
Matthew Else 84a76cd8d8 Added a load of debug lines
Basically this outputs a load of stuff to the serial port. I'm just
using this to get an idea of where the error lies within the code...
2013-07-19 16:56:49 +01:00
Matthew Else 9097bf7f55 A bit more debugging
Also removed a random shortcut link that didn't need to be there
2013-07-19 15:32:29 +01:00
Matthew Else 04051989bd Added UART to testing. 2013-07-19 14:13:38 +01:00
Matthew Else a9bb4aa5cb Lots of changes, fixing build bugs and renaming
Files renamed to fit with the new style folder structure
2013-07-19 13:59:50 +01:00