Commit Graph

9700 Commits (ee55574d3baf3010db60e3ae32c6a67722e42ce6)

Author SHA1 Message Date
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
Matthew Else c56d1a5236 Fully implemented GPIO_IRQ
* Removed unused variables/comments.
* As of yet, untested...
2013-07-23 15:35:38 +01:00
Matthew Else 819ca5547c Removed extraneous comment from the function 2013-07-23 14:21:40 +01:00
Matthew Else 8011992021 Fully implemented gpio_irq_set 2013-07-23 14:19:33 +01:00
Matthew Else 04a368cbed Merge remote-tracking branch 'upstream/master' 2013-07-23 09:50:36 +01:00
matthewelse 1f01827ef5 Changed .git-ignore to cover all sublime-text files 2013-07-23 09:34:01 +01:00
Emilio Monti 27808da5ec Correctly wait for powerup acknowledge 2013-07-22 18:17:12 +01:00
Matthew Else fea818fccb Updates to interrupt handling 2013-07-22 13:56:56 +01:00
Matthew Else 1da8e8a2c7 Started to implement gpio_irq_set 2013-07-22 13:30:00 +01:00
Matthew Else 4cf6f09411 Enabled the interrupts api to compile 2013-07-22 12:46:46 +01:00