Commit Graph

4525 Commits (9d276ebad7fd567e170326b8ba3f5ecbf2b021a3)

Author SHA1 Message Date
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
dbestm 2075adfd80 [DISCO_L053C8] enhance python file for uvision exporter 2015-07-31 13:54:23 +01:00
Martin Kojtal cc29b78880 Merge pull request #1274 from robojay/master
Removed PB6 debug toggling
2015-07-31 13:45:27 +01:00
Jay Francis 2cb58075f7 Removed PB6 debug toggling 2015-07-29 11:42:58 -04:00
Martin Kojtal e87fec7b35 Merge pull request #1267 from jamesadevine/microbit-pr04
Microbit addition
2015-07-29 09:37:34 +01: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
James Devine 50fca30a2f microbit: Added NRF51_MICROBIT_B to build_release.py
Added NRF51_MICROBIT_B to build_release.py so this platform
can be built for release.
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 0ee410d831 Move HRM and DELTA targets to use LFCLK define
After this change it will no longer be necessary to list all
the platforms that require the LFCKL to be the internal RC oscillator,
instead we specify it as a property of the platform.

Applications and libraries can use the TARGET_NRF_LFCLK_RC symbol to
filter for platforms that don't have an external crystal.

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
Martin Kojtal 23cdadc405 Merge pull request #1253 from bcostm/master
DISCO_F746NG - Add IAR exporter
2015-07-27 09:25:33 +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
Martin Kojtal cda27fddc9 Merge pull request #1254 from bridadan/remove-gcc-arm-for-arm-mps
Removes GCC_ARM as a supported compiler for the ARM_MPS targets
2015-07-24 15:19:18 +02:00
Martin Kojtal 591781b445 Merge pull request #1257 from yoonghm/yoonghm-Export_GCC_ARM_TEENSY3_1
Yoonghm-Export-gcc_arm_teensy3 1
2015-07-24 15:17:31 +02:00
Martin Kojtal e6e5c975d4 Merge pull request #1261 from screamerbg/master
Redesign Nordic nRF51 MCU and derivative platforms
2015-07-24 15:15:13 +02:00
hjjeon0608 226d534d85 I have rectified typos
DULA -> DUAL
2015-07-24 14:31:48 +09:00
Mihail Stoyanov e9ccab9fb8 Redesign Nordic nRF51 MCU and derivative platforms to use class inheritance:
* add class to support both versions - 16K and 32K
* add class to support 2 modes - BOOT and (F)OTA
* change all classes to use the corresponding parent class
2015-07-23 15:28:52 +03:00
Martin Kojtal 58bac00e25 Merge pull request #1260 from screamerbg/master
Add travis test whether the testsuite is usable
2015-07-23 11:24:57 +02:00
Mihail Stoyanov 482941ab0e Add travis test whether the testsuite is usable 2015-07-23 12:12:06 +03: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
Martin Kojtal 67a3069560 Merge pull request #1259 from bridadan/remove-mbedls-dependency
Remove mbed-ls dependency from test framework
2015-07-23 08:09:40 +02:00
Brian Daniels b5191580fd Removed mbed-ls dependency from test framework 2015-07-22 16:40:42 -05:00
YoongHM 4a7d6beaea Add GCC_ARM export for TEENSY3_1
To reflect support for GCC_ARM export for TEENSY3_1
2015-07-22 20:29:37 +08:00
YoongHM 8e04c1f2a7 Add gcc_arm_teensy3_1.tmpl
Add Jinja2 template to support export of Teensy 3.1 project for GCC ARM toolchain.
2015-07-22 20:25:23 +08:00
YoongHM b1534cf994 Feature: Export GCC_ARM for TEENSY3_1
Support project export in GCC_ARM for Teensy 3.1.
2015-07-22 20:20:58 +08:00
Mihail Stoyanov 9cc84bb8c4 Support multiple SoftDevices for NRF51822 based platforms 2015-07-22 15:08:46 +03: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
Brian Daniels 8640bcf9cc Removes GCC_ARM as a supported compiler for the ARM_MPS targets 2015-07-20 10:47:29 -05:00
bcostm 1f93b7694a [DISCO_F746NG] Add IAR exporter 2015-07-20 13:16:22 +02: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
Martin Kojtal 164dd4da1b Merge pull request #1251 from chrta/add_wextra_to_gcc_arm_exporter
GCC_ARM EXPORTER - Add Wextra flag as suggested in #950
2015-07-20 09:31:44 +02:00
hjjeon0608 55dc1fd077 Deleted constant in calculate interrupt timing. 2015-07-20 14:54:56 +09:00
Christian Taedcke f20246217c [GCC_ARM][EXPORTER] Add Wextra flag as suggested in #950 2015-07-19 10:26:11 +02: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