tkuyucu
f0994c710b
SoftDevice is now enabled by the startup code by calling EnableSoftDevice (defined in system_nRF51822).
2013-12-19 15:09:09 +01:00
bcostm
28120ffb19
[NUCLEO_F103RB] Change license text in ALL target files
2013-12-19 11:44:15 +01:00
0xc0170
988894e837
Merge branch 'master' into K20D50
2013-12-17 16:13:27 +01:00
bcostm
9702a131d4
Merge branch 'master' of https://github.com/mbedmicro/mbed
2013-12-17 11:10:12 +01:00
bcostm
c84b8f9193
[NUCLEO_F103RB] Use HSI/LSI instead of HSE/LSE
...
Due to Nucleo board revision C requirements.
2013-12-17 11:04:28 +01:00
0xc0170
5747a4502d
One section for vectors and flash protection bits. The unused space is filled with 0xff
2013-12-15 23:30:03 +01:00
0xc0170
f7cee14193
KL05Z GCC support, exporters for arm_gcc, uvision
2013-12-15 11:54:44 +01:00
Bogdan Marinescu
bd51e4eb73
Merge pull request #123 from bcostm/master
...
[NUCLEO_F103RB] Add I2C master, code cleanup, ...
2013-12-12 02:34:48 -08:00
Anders Lindvall
0c774294fb
LPC4088 target fixes
...
- changed scatter file to keep all the code in the internal flash
- added tests for SPIFI memory usage
2013-12-12 12:29:00 +02:00
bcostm
5ebce384b5
[NUCLEO_F103RB] Align startup files with other targets
2013-12-10 11:14:56 +01:00
Bogdan Marinescu
3f82e7fa6f
Use correct scatter file for LPC4088
2013-12-03 11:04:37 +02:00
Bogdan Marinescu
49df530ae7
Merge pull request #118 from bcostm/master
...
Add STMicroelectronics NUCLEO_F103RB target
2013-12-02 03:15:58 -08:00
0xc0170
d8d526f656
Merge branch 'master' into K20D50
2013-11-28 17:24:57 +01:00
tkuyucu
820e0473f6
Bogdan's startup fix added.
2013-11-28 13:21:21 +01:00
tkuyucu
511e24ecc9
nRF51822 mbed SDK with working GPIO, RawSerial, and timer
2013-11-27 13:16:11 +01:00
0xc0170
3dc97b20c0
startup ARM - stack pointer, serial functional
...
- stack pointer correction
- startup for ARM - clean up
- GCC ARM linker - RAM size correction
- NVIC - RAM address
2013-11-22 21:21:01 +01:00
bcostm
c47bc1780a
Add UseMicroLIB option for exported project
2013-11-22 11:41:07 +01:00
Bogdan Marinescu
f6c9c8db5e
Fixed initial SP value
2013-11-21 19:07:52 +02:00
hototogi
03b79b5920
support GCC_ARM for LPC4330_M4
...
- Linker script is based on LPC1768
number of NVIC is 16 (CORE) + 53 (M4 in LPC43xx) = 69,
therefor, reserve at the top of RAM0 (address:0x10000000)
to relocate NVIC vector table
- startup file is based on startup_ARMCM4.S in CMSIS V3.20
change NVIC name for cortex-M4 of LPC43xx
- add GCC_ARM for LPC4330_M4 in python scripts
- add some descriptions for GCC_ARM
2013-11-20 17:03:59 +09:00
0xc0170
4e09b52a71
K20 uVision files, ld NVIC offset
...
- K20 KEIL files
- clock set to 1 (48MHz)
- offset in GCC ld for vectors in RAM
- us ticker - PIT timer interrupt implementation
2013-11-19 20:06:26 +01:00
bcostm
415ac34b56
Add analogin, serial and spi support for NUCLEO_F103RB
2013-11-19 09:11:31 +01:00
0xc0170
8ca8014c00
Merge branch 'master' into K20D50
2013-11-18 20:34:45 +01:00
bcostm
70dd0d891e
Add STM32F10x standard periph driver
2013-11-14 11:33:29 +01:00
bcostm
beb779b3d6
Rename target
2013-11-13 09:29:29 +01:00
Bogdan Marinescu
5b6faea448
Removed redundant label TARGET_LPC81X_COMMON
2013-11-11 13:28:18 +02:00
bcostm
96a96f2cb6
Add STM32F10X cmsis files
2013-11-07 14:16:01 +01:00
0xc0170
f4591dbbab
Merge branch 'upstream_master' into dev_kl46z
2013-11-05 22:08:07 +01:00
Andreas Rebert
09cf4ef128
Support for exporting to GCC_ARM
2013-10-31 13:28:05 +01:00
Emilio Monti
317a1f66d2
Merge pull request #91 from jorisa/master
...
Add CAN api filter support and LPC11CXX CAN implementation
2013-10-25 06:58:05 -07:00
Joe Turner
0ef4905728
Fix relocation of vector on STM32.
2013-10-25 13:09:06 +01:00
Joris Aerts
08c1483eb3
Add bitfields definition to LPC11XX target
...
Generated from UM10398
2013-10-22 11:00:17 -07:00
0xc0170
d9ed7aba77
CMSIS KL46 files (were KL25 renamed)
2013-10-17 19:32:40 +02:00
0xc0170
122f24b83f
Update: Merge branch 'master' into freedomKL46Z
...
Conflicts:
workspace_tools/targets.py
2013-10-06 18:55:32 +02:00
0xc0170
8df14cadc9
scatter file - 32kb RAM, startup - removed heap, stack init
...
- clock set to 1 (external crystal)
2013-09-29 22:36:50 +02:00
0xc0170
5dcd8ea10e
ARM (KEIL) files for KL46Z
2013-09-29 20:40:06 +02:00
0xc0170
2ca3195b17
NVIC offset and address in RAM correction
2013-09-29 18:53:57 +02:00
Bogdan Marinescu
f580c008b1
Merge pull request #78 from mconners/master
...
Added KL46Z support
2013-09-25 03:18:49 -07:00
Bogdan Marinescu
8f57c1e847
Merge remote-tracking branch 'github/master'
2013-09-25 10:27:17 +01:00
Bogdan Marinescu
1e224c5152
Fix RAM size for LPC11C24 in ARM/uARM linker command files
2013-09-25 10:18:43 +01:00
Bogdan Marinescu
30907d7772
Refactor LPC1114 and LPC11C24 code
...
Since most of the code for LPC1114 and LPC11C24 is similar, refactor the
code structure to avoid duplication of the common code.
2013-09-25 10:17:19 +01:00
Michael Conners
5bd25ac046
Added K20D5M support
2013-09-24 10:36:04 -04:00
Michael Conners
afcc79ad27
Added KL46Z support
2013-09-24 10:01:06 -04:00
Andreas Rebert
bb35d16521
Merged bugfixes and improvments for LPC1768 target to LPC4088 target
2013-09-23 11:39:52 +02:00
Joris Aerts
a4badc7dd2
Keep LPC11CXX in sync with LPC11XX
...
Only differences in CMSIS now are:
* Top of RAM (0x10001000 vs 0x10002000)
* Clock configuration (IRC/System PLL vs System Oscillator/IRC)
2013-09-18 18:54:53 -07:00
dinau
43acaa4166
LPC2368 [GCC_ARM]: Fixed: Compilation and link errors in case "SD" example.
2013-09-13 22:01:19 +09:00
Bogdan Marinescu
cfa6a1d912
Merge pull request #61 from ytsuboi/master
...
Fixed problem in PWMOUT mapping table
2013-09-09 08:22:11 -07:00
Toyomasa Watarai
d0d2df3ce5
Fixed problem in PWMOUT mapping table
...
Fixed problem in PWMOUT output issue.
Startup code cean-up (correced exception names).
Corrected test cases.
2013-09-09 18:15:51 +09:00
Bogdan Marinescu
423f1abd63
Fix startup files for various versions of LPC11Uxx
...
LPC11U24/LPC11U24_301/LPC11U35_401 shared the same startup file for ARM
and uARM toolchains, which is wrong, because the initial SP value is
different for LPC11U24_301. This commit fixes this issue by giving each
target its own startup file.
2013-09-06 11:50:52 +03:00
Bogdan Marinescu
95f6826196
Refactor code for LPC810/LPC812
...
There were lots of overlaps in the code for LPC810 and LPC812, including
duplicated source files. This commit adds a TARGET_LPC81X_COMMON folder in
both HAL and CMSIS, this folder keeps common code for the targets.
2013-09-05 19:00:19 +03:00
ytsuboi
0718c7671a
Merge remote-tracking branch 'upstream/master'
2013-09-03 19:38:34 +09:00
dinau
8503ccb7a3
LPC2368 [GCC_ARM, GCC_CR]:
...
1. Added: GCC_CR toolchain ID for LPC2368. (targets.py)
2. Modified: Startup codes for GCC_ARM and GCC_CR toolchain.
3. Verified: "ticker" and "basic" test program work well, so far.
(Fixed typo.)
2013-08-31 16:00:40 +09:00
dinau
7bcdf0b980
LPC2368 [GCC_ARM, GCC_CR]:
...
1. Added: GCC_CR toolchain ID for LPC2368. (targets.py)
2. Modified: Startup codes for GCC_ARM and GCC_CR toolchain.
3. Verified: "ticker" and "basic" test program works well, so far.
2013-08-31 13:33:34 +09:00
Bogdan Marinescu
1798920cf4
Merge remote-tracking branch 'github/master'
2013-08-30 12:26:37 +03:00
Bogdan Marinescu
e870a90ff2
Added toolchain hooks and support for LPC4088_EA binary generation
...
A new hooks mechanism (hooks.py) allows various targets to customize
part(s) of the build process. This was implemented to allow generation of
custom binary images for the EA LPC4088 target, but it should be generic
enough to allow other such customizations in the future. For now, only the
'binary' step is hooked in toolchains/arm.py.
2013-08-30 12:19:08 +03:00
dinau
841ce1d719
Fixed: The issue of interrupt vector remapping for GCC_ARM LPC1114
2013-08-29 21:40:57 +09:00
dinau
97d92789ec
Fixed: The issue of interrupt vector remapping for GCC_ARM LPC1114
2013-08-28 23:29:16 +09:00
Bogdan Marinescu
2cdd41d9b1
Added support for LPC11U24/_301 and LPC11U35_401 in uARM
2013-08-27 15:31:47 +03:00
Bogdan Marinescu
9a270999d0
Added support for LPC11U35_401 in ARM and GCC_ARM
2013-08-27 15:19:01 +03:00
Bogdan Marinescu
1c23d68281
Added support for LPC11U24_301/401 compilation with ARM toolchain
2013-08-27 14:52:39 +03:00
ytsuboi
2e549668a8
[LPC810] fixed scatter file
2013-08-24 16:02:03 +09:00
ytsuboi
8dd6bdb701
[LPC810] add LPC810 support
2013-08-24 15:49:16 +09:00
ytsuboi
4c0b5ab404
[LPC1114] fixed to use IRC and System PLL clock
2013-08-21 20:44:31 +09:00
Adam Green
28a3466d11
Fixups to network code after recent merges.
...
Peter's and my changes to LPC1768.ld ended up adding the same AHBSRAM0
and AHBSRAM1 section clauses to the script twice. I removed one copy.
I also pulled Peter's define of the ETHMEM_SECTION macro up into the
previous nested #if so that the preprocessor wouldn't spit out a
redefined macro warning.
I verified that building the code clean before and after these changes
still results in the same .bin file but now without warnings and/or
duplicate code.
2013-08-15 04:40:53 -07:00
Bogdan Marinescu
370b270848
Merge pull request #30 from pbrier/master
...
Experimental fix for issue #29
2013-08-15 03:24:36 -07:00
Adam Green
aa7a55b6dd
Update LPC1768.ld linker script to work with net stack.
...
The original script assigned memory ranges to USB_RAM and ETH_RAM but
it never placed any section data in those regions. I added clauses
towards the bottom of the script to place data that the programmer
has marked for the AHBSRAM0 and AHBSRAM1 sections into these regions
of RAM. Previously the data destined for these sections was being
placed in the lower 32K RAM bank and overflowing it at link time.
I also added a few Image$$ linker symbols to mimic those used by the
online compiler. I have had samples in the past which took advantage
of these to display static memory statistics for each SRAM region.
I also changed LENGTH=0x7F38 to LENGTH=(32K - 0xC8) to make it more
consistent with the sizing of the other regions in this script which
use human readable K sizing information. The 0xC8 subtraction reflects
the starting offset of 0xC8 for this region.
2013-08-14 20:17:53 -07:00
pbrier
9011a5453a
Compile network and RTOS with GCC_ARM
2013-08-14 22:45:55 +02:00
pbrier
c0fdbede02
Compile network and RTOS with GCC_ARM
2013-08-14 22:34:33 +02:00
Emilio Monti
0843613136
Add LPC11U24/301 TARGET
2013-08-09 17:21:03 +01: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
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
Toyomasa Watarai
0c0b51f663
Fixed pwm_api bug
...
Corrected pwm_timer_map table for LPC1114
2013-08-07 16:24:58 +09:00
Matthew Else
4401516f14
Removed unnecessary core_cm* files, as they are now shared in cmsis
2013-08-06 15:06:28 +01:00
Matthew Else
f7a2be4bed
Merge remote-tracking branch 'upstream/master'
2013-08-06 09:42:09 +01:00
Matthew Else
ef28879863
Merged remote tracking branch 'upstream/master'
2013-08-05 17:22:01 +01:00
0xc0170
e993e94886
Update kl25z_gcc_arm branch to latest master
2013-08-04 19:21:04 +02:00
0xc0170
08beebcd83
RAM region shifted by 0xC0 for vectors
2013-08-02 22:32:41 +02:00
0xc0170
0d6bec9d8c
LD - space reserved for vectors in RAM
2013-08-02 21:08:29 +02:00
0xc0170
48ee225d1f
vectors and flash protection area are separated
2013-08-02 18:01:49 +02:00
Emilio Monti
54893092c3
Merge pull request #17 from matthewelse/forpullrequest
...
LPC1114 Port Pull Request
2013-08-02 08:56:44 -07:00
0xc0170
afab75fd01
only one flash memory (FLASH)
2013-08-02 07:14:36 +02:00
Matthew Else
789f81b1ea
Removed extra core_* files that are no longer needed. Makes Emilio more happy.
2013-08-01 22:54:52 +01:00
0xc0170
33c096c9d0
Initial version of a ld and a startup for KL25Z ARM GCC
2013-07-31 10:19:18 +02:00
Matthew Else
07cddbf038
Merge remote-tracking branch 'upstream/master'
2013-07-30 12:01:49 +01:00
Bogdan Marinescu
48d41016cd
Added armcc support for STM32F407
2013-07-29 18:15:04 +03:00
Bogdan Marinescu
5655d2fc2a
Fix for the previous "change vector table relocation check" commit.
2013-07-29 18:13:38 +03:00
Bogdan Marinescu
14409cd7fd
Change the check for vector table relocation
...
Allows the user to specify his own VTOR location.
Fixes PRMBED-1065.
2013-07-29 18:13:37 +03:00
Matthew Else
200b263dcd
Added basic stuff necessary to compile for LPC11C24 target.
2013-07-27 18:12:35 +01:00
ytsuboi
a9f0d9a3f7
[LPC1114]: uARM fixed
...
Tested with only "[ 32] MBED_11: Ticker"
2013-07-27 02:06:12 +09:00
Toyomasa Watarai
1781d58249
Merge branch 'master' of https://github.com/matthewelse/mbed
2013-07-22 15:13:13 +09:00
Toyomasa Watarai
b172cd866c
More fix for uARM build to avoid link error
2013-07-22 15:12:42 +09:00
ytsuboi
ca31bda530
Removed printf debug lines
2013-07-22 14:55:19 +09:00
Toyomasa Watarai
b4de4503a8
Fixed uARM build
...
Added EXPORT directive for stack/heap.
2013-07-22 10:29:20 +09:00
Matthew Else
84a76cd8d8
Added a load of debug lines
...
Basically this outputs a load of stuff to the serial port. I'm just
using this to get an idea of where the error lies within the code...
2013-07-19 16:56:49 +01:00
Matthew Else
9097bf7f55
A bit more debugging
...
Also removed a random shortcut link that didn't need to be there
2013-07-19 15:32:29 +01:00
Matthew Else
a9bb4aa5cb
Lots of changes, fixing build bugs and renaming
...
Files renamed to fit with the new style folder structure
2013-07-19 13:59:50 +01:00
Matthew Else
18c291b7ce
Added ytsuboi's modifications for using the 1114
2013-07-19 11:24:51 +01:00
Bogdan Marinescu
dd70336886
[LPC11U24] Take advantage of the full 8K of RAM
...
The linker command scripts/startup files used only 4K of RAM on this target.
2013-07-17 15:29:40 +03:00
Bogdan Marinescu
7d5e9dac70
[LPC1347] Added support for the ARM toolchain.
2013-07-17 15:25:18 +03:00
samuel.mokrani@arm.com
6b7f4b998e
[LPC1347]: first implementation of PWMOut (not tested)
2013-07-17 15:17:09 +03:00
Bogdan Marinescu
721082257c
Preliminary support for LPC13XX
...
Works only with GCC_ARM for now.
2013-07-17 14:57:02 +03:00
0xc0170
43ace93009
removed KL05Z hw tests + mv KL05Z to TARGET_Freescale
2013-07-04 17:57:52 +02:00
0xc0170
551f06b66b
Merge branch 'master' into freedomKL05
...
Conflicts:
workspace_tools/toolchains/arm.py
2013-07-04 17:40:46 +02:00
Emilio Monti
597c62e06a
Add the vendor name as a proper target label
2013-07-03 17:14:43 +01:00
0xc0170
90bb8521aa
ADC, code indentation
...
- ADC resolution - 12bit, all pins definition
- code indentation
2013-07-02 19:34:11 +02:00
0xc0170
ed200183d0
RTC OSC32, systemUpdate v0.1
...
- RTC clock init from crystal, tested
- system update function
- startup - handler PORTB correction
2013-07-01 21:32:22 +02:00
0xc0170
7d3864f27b
Update KL05 to mbed new structure
2013-06-29 09:08:28 +02:00
Emilio Monti
265c5b405d
Move common CMSIS headers
...
Remove obsolete CMSIS "*.c" files
2013-06-28 16:12:45 +01:00
Joe Turner
3e40b905f0
Merge branch 'master' of git://github.com/mbedmicro/mbed into STM32F4
...
Conflicts:
workspace_tools/targets.py
2013-06-26 13:34:34 +01:00
jesusalvarez
ecd051c7a1
LPC43xx port from Micromint
2013-06-25 02:20:08 -04:00
Emilio Monti
984ba4b113
Refactor the build system:
...
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00