LPC810 has only 4KB of flash, thus avoiding dead code is really nice.
Here the NVIC interrupt setup was pulled from the us_ticker code even
if no code is using timer events.
This also adds ARM_GCC support for TARGET_LPC81X.
LPC81X and LPC82X support Cortex M0+ VTOR register, so it is not
necessary to put non-init text at 0x200.
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>
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>
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>
* 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
commit 5b65ac9848f232b37ccf57b3cea3c8abd8788eb8
Merge: 4778e33167456e
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Jun 10 13:18:07 2015 +0100
Merge branch 'master' of https://github.com/toyowata/mbed into toyowata-master
commit 167456ebda
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date: Wed Jun 10 11:22:47 2015 +0900
Change target name not use low cases
Rev.101 mbed library support WIZnet platfrom. However, we got build
error as below by online compiler:
Target “WIZWIKI_W7500” is not recognized
This is because target name contained low cases (e.g. WIZwiki_W7500).
The target name should be all upper case.
commit b988a534a5
Merge: f74cbe0a140fc6
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date: Wed Jun 10 11:10:37 2015 +0900
Merge remote-tracking branch 'upstream/master'
commit f74cbe0d80
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date: Wed Jun 10 11:07:02 2015 +0900
Revert RTC test script change
As a result of discussion here:
https://github.com/mbedmicro/mbed/pull/1154
commit a4923ffaab
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date: Thu Jun 4 00:17:06 2015 +0900
[TEST] Add MCU list in RTC automated test
* Add "mcu" key with lists of RTC support targets (#define DEVICE_RTC 1
in device.h), now MBED_16 test is not executed by non-RTC targets
Moved target from ../targets/cmsis/TARGET_STM folder to
../targets/cmsis/TARGET_STM/TARGET_STM32L1 folder as discussed with
0xc0170 (github.com/mbedmicro/mbed/pull/928). Renamed target from
NZ32ST1L to NZ32SC151. Details for board at
www.modtronix.com/nz32-sc151.html