Commit Graph

1782 Commits (252d06bc83c86a4eef94c39176dfcb7ade72f4b5)

Author SHA1 Message Date
Jeremy Brodt 7020c50c56 Added function to get the timestamp of the next us_ticker event. 2015-02-24 14:25:43 -06:00
Martin Kojtal 1b2a62100a Merge pull request #905 from Willem23/master
LPC81x - Update us_ticker.c, using MRT
2015-02-24 13:36:38 +00:00
Martin Kojtal 7ae7dafa66 Merge pull request #906 from Willem23/patch-1
LPC812 - pwmout HAL implementation
2015-02-24 13:36:01 +00:00
Sam Grove 2de26e779e Update nRF51822.sct
FIx copy paste error in RAM size when softdevice isn't used
2015-02-20 23:41:20 -06:00
Martin Kojtal 86041dd398 Merge pull request #923 from mazgch/master
enable the additional uart 7&8 of the STM32F439 in the mbed sdk/api
2015-02-20 17:54:15 +00:00
mazgch 1641dd7e8d enable the additional uart 7&8 of the STM32F439 2015-02-20 13:38:11 +01:00
Wim 9241e5eaba Update us_ticker.c
Used precomputed variables to replace runtime mult and div in us_ticker_read().
2015-02-19 15:09:18 +01:00
0xc0170 31f66c22e5 mbed header file - mbed lib revision - 94 2015-02-16 17:04:27 +00:00
0xc0170 15ee1ca2dc Fix for #908, exit req std namespace 2015-02-16 10:11:54 +00:00
nitin.bhaskar.27.09@gmail.com ed7e114d66 LPC11U68 build support extended to ARM toolchain, uvision export template added 2015-02-13 21:02:16 +05:30
Martin Kojtal fba1390241 Merge pull request #891 from AppNearMe/master
Add support for LPC11U34_421 and AppNearMe's MicroNFCBoard
2015-02-12 14:30:08 +00:00
Martin Kojtal e03fb2793f Merge pull request #908 from adamgreen/exitMoveToRetarget
Move exit() to retarget.cpp
2015-02-12 13:10:17 +00:00
Martin Kojtal 4a7b7d067d Merge pull request #887 from Marcomissyou/master
Modify 32MHz crystal setting for NRF51822, overrides file for DFCM-NNN40 target
2015-02-12 12:57:45 +00:00
K4zuki cb2269fe13 [ SSCI824 ] enabling onboard Oscillator
changing flag to use onboard 12MHz oscillator
2015-02-12 12:46:37 +00:00
Adam Green 06495658ce Move exit override to retarget.cpp
I moved the exit handler from exit.c to retarget.cpp where the rest of
the standard C library retargetting routines are found.  The exported
makefiles already explicitly link in retarget.o but not exit.o
When building with the GNU toolchain, it is safest to link in the
object file directly for retargetting routines so that GNU linker has
to use these versions of the routines.

Testing:
I have only tested this change with GCC_ARM. It should really be
tested with more toolchains before getting merged.
2015-02-12 00:14:26 -08:00
Wim 2f2f4d67bc Update objects.h
Added PWM object.
2015-02-11 22:42:35 +01:00
Wim 7bd12f26f7 Update LPC8xx.h
Updated LPC_MRT_TypeDef for new us_ticker implementation on LPC812.
2015-02-11 22:37:15 +01:00
Wim 81e67758fa Update device.h
Activated the I2CSlave functions. Slave block read/write operations are fully supported. The slave byte read and writes need general modification to I2CSlave.cpp. See pending Issue.
Activated the PWM functions. They are supported now using the SCT after updating us_ticker() to use the MRT instead of the SCT.
2015-02-11 19:52:20 +01:00
Wim d9bd50c37e Create pwmout_api.c
Added PWM support for the LPC812 using the SCT. Code was ported from LPC824 libs.
First needed to modify us_ticker() to free up the SCT and use the MRT instead.
PWM can support a maximum of 4 channels using any portpin. All channels will use the same period.
2015-02-11 19:47:04 +01:00
Wim e270779ae1 Update us_ticker.c
Using MRT instead of SCT, needed to free up SCT for PWM
Code ported from LPC824 libs
2015-02-11 19:35:44 +01:00
Donatien Garnier eeba514435 Added extra linker scripts 2015-02-11 16:18:56 +00:00
GustavWi fb4a7f7a58 Fixed issue #903 IAR linker nrf51 rtos 2015-02-11 16:10:18 +01:00
Marcomissyou 2d66553f14 remove comment 2015-02-11 17:44:20 +08:00
Marcomissyou 89de5390fb Merge remote-tracking branch 'upstream/master' 2015-02-11 16:49:54 +08:00
Marcomissyou b17246c6ea edit license of mbed_overrides.c 2015-02-11 16:47:42 +08:00
Martin Kojtal cef6954740 Merge pull request #881 from Willem23/master
I2CSlave support for lpc812
2015-02-11 08:22:09 +00:00
Donatien Garnier 9a0ed7db7c Update copyright year 2015-02-10 11:21:05 +00:00
Marcomissyou 4aca0d439f Merge remote-tracking branch 'upstream/master' 2015-02-10 10:45:11 +08:00
Wim 3aff0e7c9f Update I2CSlave.cpp
Removed comments again regarding need for dedicated i2c_slave_byte_read() and i2c_slave_byte_read(). This issue is captured in "I2c - slave should have own write/read functions (#896)"
2015-02-09 19:52:59 +01:00
0xc0170 408837f212 Merge branch 'stm32f0xx_reorg_hal' of https://github.com/ohagendorf/mbed into ohagendorf-stm32f0xx_reorg_hal
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F070RB/gpio_object.h
2015-02-09 09:26:51 +00:00
Martin Kojtal 8607b74ab8 Merge pull request #892 from xiongyihui/master
Replace target name 'ble_smurfs' with 'seeed_tiny_ble'
2015-02-09 08:59:02 +00:00
Martin Kojtal aeeed2d050 Merge pull request #876 from NitinBhaskar/master
Initial ethernet support for LPC433x
2015-02-09 08:40:47 +00:00
0xc0170 d5e43ff5b5 Targets - K22 - fix issue #758 - vectors number + allocation 2015-02-09 08:23:42 +00:00
Yihui Xiong cb35cab5a4 replace target name 'ble_smurfs' with 'seeed_tiny_ble' 2015-02-07 10:14:26 +08:00
Wim 1e098305ef Update device.h
Disabled DEVICE_I2CSLAVE option for LPC812 until the dedicated i2c_slave_byte_read() and i2c_slave_byte_write() functions have been added for all platforms.
2015-02-06 21:14:19 +01:00
Wim 83d87140aa Update I2CSlave.cpp
Added comments regarding the need for dedicated i2c_slave_byte_write() and  i2c_slave_byte_read() functions.
2015-02-06 21:11:29 +01:00
Donatien Garnier 662d5a5d41 Added support for NXP LPC11U34_421 and AppNearMe MicroNFCBoard 2015-02-06 18:33:38 +00:00
Donatien Garnier 245789dad2 Added USB interrupts handling in GCC_ARM toolchain for LPC11UXX micros 2015-02-06 18:32:34 +00:00
Marcomissyou eee73e82e2 solve conflict in system_nrf51822.c 2015-02-06 17:14:37 +08:00
Marcomissyou 43081555a3 modify #if defined(TARGET_HRM1017) || defined(TARGET_DELTA_DFCM_NNN40) in system_nrf51822.c 2015-02-06 11:34:08 +08:00
Marcomissyou 2ffec3246f modify system_nrf51822.c for fix HRM1017 and mbed_overrides.c for 32MHz setting 2015-02-06 10:42:28 +08:00
Takafumi Naka 9b4470823b Update system_nrf51822.c
Fixed support for mbed HRM1017.
It had been broken Feb.27th.
2015-02-06 02:44:01 +09:00
Martin Kojtal f41e6b5ac1 Merge pull request #883 from GustavWi/iar_mbed
Added IAR support for NRF51822. IAR's linker can not merge hex files
2015-02-05 13:39:38 +00:00
Wim 5356a00770 Update system_LPC8xx.c
Fixed SystemCoreClock calculation for LPC810 (same as for LPC812). Added MainClock variable for serial_api.
Added comments for PLL calculation. Note that SystemCoreClock for LPC810 is still 24MHz rather than rated 30MHz.
2015-02-04 20:53:28 +01:00
GustavWi 61d1204e05 Added IAR support for NRF51822. IAR's linker can not merge hex files as a section only binarys. I added a binary under TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR that represents the soft_device. I added support in the python scripts to also copy binaries to the build/mbed dir and also added support for the exporter to copy binaries from resources into the exported zip file. 2015-02-04 11:29:31 +01:00
Martin Kojtal c8f933ba07 Merge pull request #878 from mazgch/master
UBLOX_C029 - new target based on STM32F439
2015-02-04 09:19:31 +00:00
Wim c565c72dd1 Update I2C Slave for lpc812
The dedicated I2C Slave byte read and byte write functions need to be called
from 'common' mbed I2CSlave API for devices that have separate Master and 
Slave engines such as the lpc812 and lpc1549.
2015-02-03 21:49:50 +01:00
Wim 90c1ccb0af Update i2c_api.h
Added i2c_slave_byte_read() and i2c_slave_byte_write() for devices such as the lpc812, lpc824 and lpc1549 that have separate I2C engines for Master and Slave functions.
2015-02-03 21:43:10 +01:00
Wim eb9b8cdb8b Enabled I2CSlave 2015-02-03 21:40:07 +01:00
Wim 7045d12363 Added I2C Slave functions
Added support for I2C Slave block read, block write and byte read and write. The slave address can be set and the general call address is automatically enabled. Note that the lpc812, lpc824 and lpc1549 have the same I2C engine. This new engine is very different from the lpc1768 and other NXP mbeds. The newer engine has separate controls for Master and Slave functions and they can be enable at the same time. Note that currently the lib does not support multi-master (arbitration lost is not handled).
2015-02-03 21:39:04 +01:00