Commit Graph

19020 Commits (903b6d6d19ec277029346b4fa07fd45bc414423e)

Author SHA1 Message Date
Matthew Else 789f81b1ea Removed extra core_* files that are no longer needed. Makes Emilio more happy. 2013-08-01 22:54:52 +01:00
matthewelse 37087326f2 Reverted the change to ARM.py from dc68b76
Fixes one of Emilio's problems :D
2013-08-01 22:41:23 +01:00
Matthew Else d899612525 Merge branch 'forpullrequest' 2013-08-01 16:25:28 +01:00
Matthew Else 0f7ece02a8 Fixed I2C API 2013-08-01 16:23:13 +01:00
Matthew Else df5c36a9ae Uncommented i2c_wait_SI(obj), as it should not have been commented out. 2013-08-01 16:04:18 +01:00
Matthew Else dc68b76d0f Added timeout for i2c_stop in LPC1114 target. 2013-08-01 15:46:05 +01:00
Joris Aerts a16dc72272 Add @param documentation for new event parameter
Add clear irq to attach() template function
Call irq_handler for every interrupt set
2013-07-31 10:45:28 -07:00
Joris Aerts 63b2b271d1 Refactor CAN interrupt handling to LPC176X HAL implementation
Add handlers for other CAN interrupt events
Changed CAN private entities to protected
2013-07-31 07:26:32 -07:00
matthewelse 454935a2c8 Update README.md to include LPC11C24 under supported chips. 2013-07-31 11:27:25 +01:00
0xc0170 33c096c9d0 Initial version of a ld and a startup for KL25Z ARM GCC 2013-07-31 10:19:18 +02:00
Joris Aerts 8ef8aac36e Merge remote-tracking branch 'upstream/master' 2013-07-30 19:16:34 -07:00
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