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
Emilio Monti
091fe5c3d0
synch targets, exporters and tests
2013-07-17 14:11:54 +01:00
0xc0170
43ace93009
removed KL05Z hw tests + mv KL05Z to TARGET_Freescale
2013-07-04 17:57:52 +02: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
cd5d235e2b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/targets.py
workspace_tools/tests.py
2013-06-29 07:53:32 +02: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
Emilio Monti
984ba4b113
Refactor the build system:
...
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00
Andreas Rebert
2662e105c4
Add support for NXP LPC4088
2013-05-16 08:53:02 +02:00
Emilio Monti
be73e26366
[mbed::net] Not shutting down the socket, before closing it, is not robust in lwIP
2013-05-14 10:41:47 +01: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
a80058dc5f
Add multicast and broadcast support
2013-03-01 17:02:35 +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