Adam Green
8fe7276b98
Silence signed/unsigned comparison warnings in GCC.
...
Why do the wait APIs take a signed integer if they are going to be
compared to unsigned quantities?
2013-08-13 01:47:19 -07:00
Adam Green
c411823656
Fix operator precedence warning in can_api.c
...
The original code was:
if(LPC_CAN1->IER | LPC_CAN2->IER != 0) {
This would actually be interpreted as:
if(LPC_CAN1->IER | (LPC_CAN2->IER != 0)) {
I simplified it to:
if(LPC_CAN1->IER | LPC_CAN2->IER) {
With the comparison removed, the GCC warning no longer fires since the
user's intent is no longer unclear. However, the end result should be
the same.
2013-08-13 01:47:19 -07:00
Adam Green
15f833bc1b
Cast to matching enumeration type instead of uint32_t
...
These were done to silence GCC warnings and fix potential bugs where
they would never be equal when the enumeration wasn't a 32-bit type.
For example, common/pinmap_common.c used to contain this code:
if (pin == (uint32_t)NC)
I switched it to:
if (pin == (PinName)NC)
I wonder why this casting to uint32_t was done in the first place?
Maybe another supported compiler requires it?
2013-08-13 01:47:19 -07:00
Adam Green
3be88a4a6e
Add .DS_Store to .gitignore
...
Instruct git to ignore these OS X files.
2013-08-13 01:47:19 -07:00
0xc0170
4ea25c9ebd
Static mac address for ethernet interface
...
- enables to debug code even with semihosting enabled
2013-08-12 21:56:25 +02:00
Bogdan Marinescu
0e013cf5c8
Added script for building an official release of the mbed library
2013-08-12 13:45:35 +03:00
Bogdan Marinescu
1a47a218a4
[KL25Z] Fixed counter type for i2c_read operations.
2013-08-12 12:31:05 +03:00
Emilio Monti
0843613136
Add LPC11U24/301 TARGET
2013-08-09 17:21:03 +01:00
Emilio Monti
d6c658e859
Fix targets.py formatting
2013-08-09 17:18:50 +01:00
Emilio Monti
27d07f4a1d
Define all the required symbols in the generated project files
2013-08-08 16:58:37 +01:00
Emilio Monti
239a2f9adf
Define all the required symbols in the generated Makefile
2013-08-08 16:39:51 +01:00
Emilio Monti
ed2f350000
Merge pull request #23 from arebert/lpc4088
...
Updated pin mapping and CAN HAL impl for LPC4088 target
2013-08-08 06:53:34 -07:00
Andreas Rebert
75dba19438
Updated pin mapping and CAN HAL for LPC4088 target
2013-08-08 13:57:02 +02:00
Bogdan Marinescu
348c24e578
Added .gitattributes for automatic LF line ending conversion
2013-08-08 13:19:34 +03:00
Bogdan Marinescu
3b465de3aa
Changed line endings to LF, removed non-ASCII chars from sources
2013-08-08 12:58:34 +03:00
Bogdan Marinescu
3f703f1bf0
[LPC11C24] Make code compatible with the interrupt chaining code
2013-08-07 15:24:30 +03:00
Bogdan Marinescu
7b9081b59c
Add support for calling a function before main()
...
Also added a test for this feature (MBED_A22).
Fixes PRMBED-906.
2013-08-07 14:51:30 +03:00
Bogdan Marinescu
ad5516f898
Add test groups.
...
Group tests with the same functionality into groups that can be used by autotest.py.
The groups can be overriden from private_settings.py.
2013-08-07 14:51:24 +03:00
Bogdan Marinescu
9ee1fc9f55
[KL25Z] Fix I2C issue related to the silicon errata.
...
Makes a difference when running the I2C EEPROM test at 400KHz, which has a 100%
success rate after this change.
2013-08-07 14:49:11 +03:00
Bogdan Marinescu
6c05438993
Interrupt chaining: added documentation, fixed a synchronization issue in CallChain.
2013-08-07 14:46:40 +03: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
1e8e50996c
[KL25Z] Restore full SPI pin mappings
2013-08-07 14:42:02 +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
francois.berder@arm.com
ffb2668411
Fixed some bugs in HTTPS library
2013-08-07 14:38:07 +03:00
francois.berder@arm.com
bd9a31095a
Add HTTPS library
2013-08-07 14:36:53 +03:00
Emilio Monti
1142df8cfd
Merge pull request #22 from matthewelse/anotherpullrequest
...
PWM Patch Pull Request
2013-08-07 02:20:51 -07:00
Emilio Monti
262bd869a4
Merge pull request #21 from 0xc0170/kl25z_adc_channels
...
KL25Z adc channels A
2013-08-07 02:14:35 -07:00
Matthew Else
e1eb357c53
Added changes to PWM API from LPC1114 to LPC11C24
2013-08-07 09:45:47 +01:00
Matthew Else
b437a3ca22
Removed can_api.c from TARGET_LPC11CXX, as it's not ready for pull request yet.
2013-08-07 09:43:28 +01:00
Toyomasa Watarai
0c0b51f663
Fixed pwm_api bug
...
Corrected pwm_timer_map table for LPC1114
2013-08-07 16:24:58 +09:00
0xc0170
6127ed3bb7
KL25Z adc channels A
...
- only channels B were available
2013-08-06 21:21:03 +02:00
Matthew Else
548d18ebd7
Pull in changes to the main mbed code base.
2013-08-06 20:04:32 +01:00
Matthew Else
d29ebefbd9
Begin to add can_api.c to LPC11C24 codebase. Not complete yet, which is why it's #if 0ed out. Lots of build errors come up if #if0 isn't there, which is why it is for now.
2013-08-06 17:41:31 +01:00
Emilio Monti
e42786649f
The LPC1347 board does not have an interface chip
2013-08-06 16:36:03 +01:00
Emilio Monti
790a71b041
Merge pull request #20 from matthewelse/master
...
CAN-Related Pull Request
2013-08-06 07:15:15 -07:00
Matthew Else
45470aba31
Updated READMEs
2013-08-06 15:09:41 +01:00
Matthew Else
4401516f14
Removed unnecessary core_cm* files, as they are now shared in cmsis
2013-08-06 15:06:28 +01:00
Emilio Monti
2c882199b4
Add lwIP copyright information
2013-08-06 14:55:22 +01: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
Emilio Monti
3c6e2ab67a
Add license to workspace_tools files
2013-08-06 14:38:00 +01:00
Emilio Monti
d027bb4839
Add Apache v2 LICENSE file
2013-08-06 12:05:04 +01:00
Matthew Else
bf02700a32
Merge https://github.com/jorisa/mbed
2013-08-06 09:43:52 +01:00
Matthew Else
f7a2be4bed
Merge remote-tracking branch 'upstream/master'
2013-08-06 09:42:09 +01:00
Joris Aerts
c747e2533f
Rename some argument and enum names to match existing naming
...
Add CAN->mode(Mode mode) function (not implemented in hal)
2013-08-05 17:28:27 -07:00
emilmont
4f03cd09b8
Remove undefined peripherals
2013-08-05 22:09:32 +01:00
Emilio Monti
44b55c9c7b
Merge pull request #18 from 0xc0170/kl25z_arm_gcc
...
Kl25z arm gcc
2013-08-05 11:21:28 -07:00
0xc0170
e1af24c1f2
Spaces correction
2013-08-05 19:06:22 +02:00
Matthew Else
e38b3df861
Added LPC11C24 to README.md
2013-08-05 17:25:12 +01:00