Commit Graph

14209 Commits (80082278b8a30f9a74177ffb879f5256c10cd24d)

Author SHA1 Message Date
Joris Aerts 51bfe267f4 Add can_t->index to struct and set it during can_init 2013-07-30 15:17:40 -07:00
Matthew Else 07cddbf038 Merge remote-tracking branch 'upstream/master' 2013-07-30 12:01:49 +01:00
Bogdan Marinescu 4302720e9a __cxa_pure_virtual changes
Rename stdio.cpp to retarget.cpp, since it doesn't contain only stdio-related code.
2013-07-29 19:06:14 +03:00
Bogdan Marinescu b73306bea6 tests.py: multiple changes
- Change pin assignments for KL25Z
- Two new peripherals: 24LC256 (eeprom), i2c_loop (LPC1768 only, tests communication
  between the two on-chip I2C peripherals)
- add 24LC256 to the list of automated tests (since it's currently the only
  automated I2C test)
- Tests/is_supported: if the test has an "mcu" attribute and the current target
  is not in the list of MCUs, don't include this test.
2013-07-29 19:06:03 +03:00
emimon01 1c30006043 Keep the default automated "test suite" smaller 2013-07-29 19:05:58 +03:00
Bogdan Marinescu 454ce65693 Added armcc support for STM32F407 2013-07-29 19:03:19 +03:00
Bogdan Marinescu ac2eac5a09 Interrupt chaining: preliminary version 2013-07-29 19:03:11 +03:00
Bogdan Marinescu 0ee819271d Add optional test aliases
If a "test_alias" dictionary is found in private_settings.py, it is searched for
aliases of tests for the "-n" option. For example, if the dictionary has this
association:

test_alias = { "basic" : "MBED_A1" }

you'll be able to use "-n basic" instead of "-n MBED_A1".
2013-07-29 19:00:21 +03:00
Bogdan Marinescu 8b6a294ec7 Added vector table relocation test 2013-07-29 18:59:48 +03:00
Bogdan Marinescu df5a993197 __cxa_pure_virtual changes
- rename stdio.cpp to retarget.cpp, since it doesn't contain only stdio-related
  code
- move __cxa_pure_virtual from exit.c to retarget.cpp where it belongs.
2013-07-29 18:54:22 +03: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 1cd95c2467 [KL25Z] Fix clock generation for I2C and SPI
Don't set a clock higher than the one requested for the I2C and SPI interfaces,
even if this setting is the closest to the requested one. This was causing
some issues with the EEPROM test and possibly other issues with the SPI SD test.
2013-07-29 18:20:04 +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 48d41016cd Added armcc support for STM32F407 2013-07-29 18:15:04 +03:00
Bogdan Marinescu 5655d2fc2a Fix for the previous "change vector table relocation check" commit. 2013-07-29 18:13:38 +03:00
Bogdan Marinescu beed7117ad Add __cxa_pure_virtual to avoid pulling in functions from the C++ library
Fixes PRMBED-859
2013-07-29 18:13:37 +03:00
Bogdan Marinescu 14409cd7fd Change the check for vector table relocation
Allows the user to specify his own VTOR location.
Fixes PRMBED-1065.
2013-07-29 18:13:37 +03:00
matthewelse 429d2e61eb Enabled CAN for LPC11CXX in device.h 2013-07-29 10:59:18 +01:00
Matthew Else 200b263dcd Added basic stuff necessary to compile for LPC11C24 target. 2013-07-27 18:12:35 +01:00
ytsuboi a9f0d9a3f7 [LPC1114]: uARM fixed
Tested with only "[ 32] MBED_11: Ticker"
2013-07-27 02:06:12 +09:00
Matthew Else 8c2ede6f4f Merge remote-tracking branch 'upstream/master' 2013-07-26 15:50:59 +01:00
Emilio Monti 5f0bd9d283 Update ARM toolchain symbols 2013-07-26 15:49:00 +01:00
matthewelse 3b71d6dedb Update README.md
Add support note for LPC1114
2013-07-26 14:24:11 +01:00
Matthew Else 153153f261 Added serial_break_clear/serial_break_set
Fixes #24
2013-07-26 11:44:09 +01: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 3172fd97ca Fix both edge bug in gpio_irq_api.c
Fixes #22
2013-07-26 09:41:20 +01:00
Matthew Else ddbb67a996 Merge remote-tracking branch 'upstream/master' 2013-07-26 09:00:23 +01:00
Emilio Monti c241af345d Keep information about type of interface disk provided by the target board 2013-07-25 17:55:52 +01:00
Emilio Monti 003c48cd44 Use new build convention for objects path 2013-07-25 17:49:55 +01:00
Matthew Else 1b399ecfab Added new test for devices with no analog out. 2013-07-25 16:02:02 +01:00
Matthew Else a356553c7d Fixed incorrect use of static in port_api.c
This was causing errors when compiling in GCC_ARM
2013-07-25 16:01:45 +01:00
Matthew Else 66dddfb747 Add support for the LPC1114 in export. 2013-07-25 13:08:04 +01:00
Matthew Else c3ebd47071 Tidying up gpio_irq_api.c 2013-07-25 10:43:49 +01:00
Matthew Else a7ba27618d Fixed bug in gpio_irq_api
Test interruptin now works. Fixes #16
2013-07-25 10:26:46 +01:00
ytsuboi ddf19e9a4d Merge remote-tracking branch 'upstream/master' 2013-07-25 09:14:33 +09:00
Emilio Monti 76578ade26 Propagate "clean" option for library builds
Keep the server program cycle target dependent
Keep program compilation and linking separate
Compile separately sources from different directory roots
2013-07-24 17:29:11 +01:00
Matthew Else b47b2fcddd Added debug.log to .gitignore
Don't know what it is, but we definitely don't need it.
2013-07-24 17:21:40 +01:00
Matthew Else 4bce371f2b Fixed InterruptIn (MBED_A7) Test 2013-07-24 16:42:18 +01:00
matthewelse 11d9468254 Update main.cpp 2013-07-24 16:32:18 +01:00
Matthew Else df067bd4e9 Complete support for GPIO interrupts. 2013-07-24 16:02:01 +01:00
Matthew Else 57cbd39868 Merge remote-tracking branch 'upstream/master' 2013-07-24 14:39:53 +01:00
Matthew Else 5b74924d87 Added .bak files to .gitignore
Added uVision backup files to gitignore
2013-07-24 14:35:24 +01:00
Matthew Else 3d08be9700 Attempt to fix the interrupts problem. 2013-07-24 11:00:07 +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
Emilio Monti dafcf7f82e Add support for legacy build conventions
Improve exporter test
Build the hal implementation and common sources separately to have proper
temporary relative paths
2013-07-23 17:22:57 +01:00
Matthew Else 9f47511812 Made some mbed tests compatible with the LPC1114 2013-07-23 16:08:45 +01:00
matthewelse d67d4f7fc1 Create README.md 2013-07-23 15:54:13 +01:00
Matthew Else 17678d2649 Merge remote-tracking branch 'origin/gpiointerrupts' 2013-07-23 15:46:33 +01:00
Matthew Else 55f91f1da8 Fixed errors in gpio_irq_api.c 2013-07-23 15:44:24 +01:00