Commit Graph

2920 Commits (598654fa4d705c1acfd62904474b47ace26825a5)

Author SHA1 Message Date
0xc0170 020975119c mbed lib revision - 104 2015-08-05 14:19:47 +01:00
Martin Kojtal 9d276ebad7 Merge pull request #1265 from Wiznet/mbed_dev4
Wiznet - I2c -> gpio
2015-07-31 14:52:52 +01:00
Martin Kojtal e4cd8bbd3e Merge pull request #1266 from alexbeer2048/master
Enable LPC8xx usart when configuring it
2015-07-31 14:12:58 +01:00
Martin Kojtal 5b1dc60c03 Merge pull request #1271 from kgills/pwm_fix
MAXWSNENV, MAX32600MBED - Fixing pwm array search.
2015-07-31 13:57:26 +01:00
Jay Francis 2cb58075f7 Removed PB6 debug toggling 2015-07-29 11:42:58 -04:00
Kevin Gillespie db8697c321 [MAXWSNENV, MAX32600MBED] Fixing pwm array search. 2015-07-28 13:55:22 -05:00
hjjeon0608 20888331af Deleted not used variable.
Deleted else if and using GPIO offset address.
Added GPIO out enable set/clear functions.
2015-07-28 11:19:08 +09:00
James Devine 633b57e209 Nordic: Enabled the invocation of twi_master.h functions from a cpp context
In a previous commit, the content of twi_master.h did not allow the invocation
of the c functions specified by the file from a cpp context. This commit wraps
the contents of the header file with the appropriate ifdefs.
2015-07-27 11:31:49 +01:00
Jonathan Austin c285f2e1d3 Nordic: refactor the way we select the LFCLKSRC
Rather than indefinitely adding platforms to a #define list that use
the internal RC oscillator instead of an external crystal, let platforms
define this and the 'core code' can be platform agnostic.

Note, that this also allows people to use this symbol in libraries.
There's one notable example in the BLE_API that can now be refactored to
the same method, hopefully saving someone some unpleasant debugging
when their platform doesn't work because of a missing platform dependent
define in the high level API.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:31:49 +01:00
Jonathan Austin 382f7334fb Nordic: added the s110 scatter files
This commit adds the ability for a compile flag to be set from targets.py
which changes the soft device to s110.

The compile flag is: MCU_NRF51_16K_S110. In order to avoid duplication
of the startup file, for the 16K parts we introduce an S110 or S130
scatter file. This means all 16K platforms must define
MCU_NRF51_16K
and ONE of
MCU_NRF51_16K_S110 or MCU_NRF51_16K_S130

Based on an earlier commit by Mihail but modified to avoid copy/paste
of the startup code for S110/S130

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:31:48 +01:00
Mihail Stoyanov ee4c83b34f Nordic:
Support multiple SoftDevices for NRF51822 based platforms
Move microbit S110 to Nordic default SoftDevice location
Remove obsolete S110 bootloader
2015-07-27 11:08:03 +01:00
James Devine 585fe6245f Add BBC microbit platform: NRF51_MICROBIT
This adds the BBC micro:bit platform, based on NRF51822

Initially, add the platform to use whatever version of softdevice is the
default for the NRF51822-based platforms.

Originally written by James, modified for new target inheritance by
Jonathan Austin:

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:07:53 +01:00
James Devine 668644c604 Nordic: fix for Nordic PAN56 - reset twi master
This commit is based on Nordic's fix for an abnormality in some releases
of the nrf51822 silicon.

Without this fix, the I2C bus locks up and doesn't reset properly. The
fix resets the TWI master on powerup.

For more information see
https://www.nordicsemi.com/eng/nordic/download_resource/24634/6/47696154

Nordic Product Anomaly ID 56.
2015-07-27 11:02:20 +01:00
James Devine e50305122d Wallbot: update wallbot to use standard I2C definitions
Unlike other Nordic platforms, the wallbot doesn't use numbered I2C
ports. This makes it difficult to refer to a platforms's I2C pins from
common code.

This fix leaves the original wallbot definitions, but adds the more
'standard' ones too.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:02:20 +01:00
Alexander Beer 37a478b88c Enable LPC8xx usart when configuring it 2015-07-27 11:45:47 +02:00
Martin Kojtal 9b9bab51e5 Merge pull request #1229 from Wiznet/mbed_dev2
Change us_ticker - one dual timer + one pwm timer
2015-07-27 09:38:55 +01:00
Martin Kojtal bfd1ddeee4 Merge pull request #1250 from dbestm/master
DISCO_F746NG - add pwm12 clock
2015-07-27 09:26:46 +01:00
hjjeon0608 641ecd065a Add Repeated read/write functions. 2015-07-27 11:22:04 +09:00
hjjeon0608 74cdab3021 Change I2C using GPIO. 2015-07-27 10:02:03 +09:00
hjjeon0608 226d534d85 I have rectified typos
DULA -> DUAL
2015-07-24 14:31:48 +09:00
Martin Kojtal c5a4d1068e Merge pull request #1256 from screamerbg/master
Add bootloader versioning based on the softdevice being used for all …
2015-07-23 10:02:50 +02:00
0xc0170 35cfd8ec82 mbed lib revision - 103 2015-07-21 14:38:29 +02:00
Mihail Stoyanov 49dbe0c6cc Add bootloader versioning based on the softdevice being used for all nRF51822 based platforms.
Remove obsolete S110 softdevice.
2015-07-21 13:47:40 +03:00
dbestm 75d08d8afa [DISCO_F746NG] remove tab in pwmout_api.c 2015-07-20 13:10:57 +02:00
Martin Kojtal a68b724d07 Merge pull request #1245 from stevew817/master
[Silicon Labs] Bring EFM32 HAL up to date
2015-07-20 09:46:13 +02:00
hjjeon0608 55dc1fd077 Deleted constant in calculate interrupt timing. 2015-07-20 14:54:56 +09:00
Steven Cooreman 60b16abb27 Fix tabulation mistake 2015-07-17 10:34:49 +02:00
dbestm 02024ec968 [DISCO_F746NG] add pwm12 clock 2015-07-17 10:16:13 +02:00
Martin Kojtal e7144f83a8 Merge pull request #1243 from kpurusho/master
More API implementation for SAMR21
2015-07-17 10:14:49 +02:00
ytsuboi e67c02128c [LPC4337] fix PinNames.h for OM13070 2015-07-17 16:36:34 +09:00
hjjeon0608 1479d07a5c Change hardcoded prescale setting 2015-07-17 11:01:48 +09:00
Steven Cooreman 81d2687d3e Make the stack space as large as possible when compiling with ARMCC (because GCC does this automatically). See https://github.com/mbedmicro/mbed/issues/1246 for reference. 2015-07-16 14:24:08 +02:00
Steven Cooreman d51db9039c Fix GPIO implementation 2015-07-16 14:23:07 +02:00
Steven Cooreman b6c2306e4e Fix mistake in Happy Gecko header files, reserved too little RAM space for NVIC table. 2015-07-15 16:12:14 +02:00
Martin Kojtal 9bb85c0678 Merge pull request #1240 from neilt6/assert-change
mbed - Modified MBED_ASSERT to use error()
2015-07-15 08:12:54 +01:00
Martin Kojtal c0279f5c35 Merge pull request #1233 from masaohamanaka/master
RZ_A1H - Modify PWM driver for period improvement
2015-07-15 08:08:33 +01:00
akhilpanayam 2bf4265ca2 * removed Atmel Copyright License from all files. 2015-07-15 12:22:44 +05:30
akhilpanayam da743d2aa7 * corrections in External Interrupt GPIO Peripheral Pins. 2015-07-15 12:22:43 +05:30
akhilpanayam def122fb0d * removed unavailable pins for SAMR21 in pin names. 2015-07-15 12:22:42 +05:30
akhilpanayam d85f2020f8 * updated analogue in with pin map functions.
* code optimizations in adc.
* Peripheral pins arrays updated.
* removed unused variable in pinmap_function.c
2015-07-15 12:22:42 +05:30
vimalrajr c0da42a0a3 Bug fix in SPI APIs o avoid sending dummy character for first transfer by slave 2015-07-15 12:22:41 +05:30
vimalrajr 37c52f0d9c Bug fix in SPI API. 2015-07-15 12:22:41 +05:30
akhilpanayam ae108230e6 * added sanity checks for serial apis.
* removed unused variables.
2015-07-15 12:22:40 +05:30
vimalrajr 6392162d32 Adding implementation for RTC API rtc_free(). 2015-07-15 12:22:40 +05:30
akhilpanayam fd26bb7b39 * updated with review comments for gpio_irq_api.c 2015-07-15 12:22:39 +05:30
akhilpanayam 70e1dd0178 * updated with correction in pinmap_function_sercom function usage for serial. 2015-07-15 12:22:39 +05:30
akhilpanayam 7cda3e9352 * updated serial_api.c with code rearrangement. 2015-07-15 12:22:38 +05:30
akhilpanayam 0c9b55bf52 * added cmsis file for SAMD21.
* updated SAMD21J18A files to avoid build errors.
2015-07-15 12:22:38 +05:30
akhilpanayam 58e94998b3 * updated serial break implementation with configuring tx pin for gpio (break set) and reverting back for break clear. 2015-07-15 12:22:37 +05:30
akhilpanayam 57dc24edf8 * updated with integrated pin mux code for serial.
* serial asynch updated with review comments.
* removed sercom pin mux implementation in PeripheralPins.c
2015-07-15 12:22:36 +05:30