Paul Staron
94c6bdb6c7
Update system_MKL05Z4.c
...
Added MCU internal oscillator 12pF loading capacitors, found not to be fitted to the FRDM board.
2015-03-04 10:24:41 +00:00
Martin Kojtal
088b5c41a7
Merge pull request #937 from GustavWi/iar_mbed
...
IAR support: Fixed stack and heap sizes for MTS DRAGONFLY and MTS MDOT F...
2015-02-28 08:06:03 +01:00
GustavWi
d8df2f25d3
Set most of the targets to a fixed heap and stack ratio relative to ram. 1/4 of ram to heap and 1/8 of ram to stack. There are some exception where the ram is small and the target support an rtos, then the heap requires more than 1/4 of RAM
2015-02-27 12:57:45 +01:00
GustavWi
35258ff16b
IAR support: Fixed stack and heap sizes for MTS DRAGONFLY and MTS MDOT F411RE
2015-02-26 16:46:42 +01:00
Masao Hamanaka
0365977217
Modify and add a file to support GCC. (mbed common codes)
2015-02-26 16:35:45 +09:00
Masao Hamanaka
f6f45026f6
Modify to support GCC. (mbed CMSIS HAL)
2015-02-26 16:35:12 +09: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
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
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
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
Wim
7bd12f26f7
Update LPC8xx.h
...
Updated LPC_MRT_TypeDef for new us_ticker implementation on LPC812.
2015-02-11 22:37:15 +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
89de5390fb
Merge remote-tracking branch 'upstream/master'
2015-02-11 16:49:54 +08:00
Martin Kojtal
cef6954740
Merge pull request #881 from Willem23/master
...
I2CSlave support for lpc812
2015-02-11 08:22:09 +00:00
Marcomissyou
4aca0d439f
Merge remote-tracking branch 'upstream/master'
2015-02-10 10:45:11 +08:00
0xc0170
d5e43ff5b5
Targets - K22 - fix issue #758 - vectors number + allocation
2015-02-09 08:23:42 +00: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
Martin Kojtal
9f80c90477
Merge pull request #866 from Marcomissyou/master
...
Add a new target DELTA_DFCM_NNN40
2015-02-02 07:25:54 +00:00
mazgch
c11f753afc
comment fixed
2015-02-01 16:49:39 +01:00
mazgch
f7b083a0b9
added new C029 target with STM32F439ZI
2015-02-01 16:38:06 +01:00
Marcomissyou
64465b68ad
extend year and add toolchain system_nrf51822.c, PinNames.h,device.h,mbed_overrides.c,targets.py
2015-01-30 15:05:03 +08:00
Wim
898b4ab772
Update system_LPC8xx.h
...
Fix and enable the PLL for the LPC812. Removed unnecessary comments
2015-01-29 20:32:08 +01:00
Wim
b2cc8227f1
Update system_LPC8xx.c
...
Fix and enable the PLL for the LPC812. Removed unnecessary comments
2015-01-29 20:30:43 +01:00
Marcomissyou
232821bb99
add SWIO setting in mbed_overrides.c to substitute SWIO setting in system_nrf51822.c
2015-01-29 16:00:36 +08:00
Marcomissyou
04937dc38b
remove json, delete toolchain list in target.py because NNN40 is inherit from NRF51822, add SWIO default setting in system_nrf51822.c and SWIO,VERF pin in PinName.h
2015-01-29 13:46:58 +08:00
Wim
6fefefa3bb
Update system_LPC8xx.c
...
LPC812 was running at 12MHz on IRC. Added and fixed PLL activation to change the clockspeed into the expected 30MHz. Clock source is still the IRC. Selecting the 12 MHz XTAL clocksource should also work with the PLL.
Added MainClock to fix wrong setting of SystemCoreClock and allow the serial_api to use the correct clock.
2015-01-27 21:00:01 +01:00
Wim
74cd948470
Update system_LPC8xx.h
...
Added extern MainClock to allow the use of the PLL and correct the wrong clock source for serial_api.c
2015-01-27 20:48:51 +01:00
Marcomissyou
4a52c80ef5
solve conflict targets.py and i2c_api.c
...
Merge remote-tracking branch 'upstream/master'
Conflicts:
libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c
workspace_tools/targets.py
2015-01-27 14:16:17 +08:00
Marcomissyou
66a5f716e3
modify i2c_api, analog_api, system_brf51822.c, targets/py and add device.h, PinNames
2015-01-23 16:40:26 +08:00
bcostm
cb36f2c472
[NUCLEO_F303RE] Update SetSysClock function
2015-01-22 11:10:09 +01:00
bcostm
8fe645ecd1
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-01-20 13:14:59 +01:00
bcostm
5e57cd3d29
[NUCLEO_F303RE] Add GCC_ARM toolchain
2015-01-20 13:10:22 +01:00
Martin Kojtal
0ab8d2e6b3
Merge pull request #844 from masaohamanaka/master
...
RZ_A1H - Implement some USB functions and fix some bugs about USBHost common codes.
2015-01-19 14:25:26 +00:00
Martin Kojtal
5c5232c36a
Merge pull request #850 from NitinBhaskar/master
...
Initial support for LPC11U37H_401
2015-01-19 12:52:04 +00:00
nitin.bhaskar.27.09@gmail.com
f38d985cc8
Initial support for LPC11U37H_401
2015-01-17 13:29:17 +05:30
Adam Green
c1307163b3
Fixes to get LPC4330 GCC based builds to run
...
I was getting Hard Faults in even the simplest of samples before I made
these fixes.
* WaitUs() did nothing on optimized builds. I added the volatile
qualifier to the cyc variable to make sure that the delay loop
doesn't get optimized out.
* I removed the #ifdef which skipped the fpuInit() call when building
with GCC.
2015-01-16 15:58:55 -08:00
Paul Staron
e21c65041d
New platform - Teensy 3.1
2015-01-15 19:18:01 +00:00
Masao Hamanaka
7726496957
Implement some USB functions to RZ-A1H
...
Implemented functions as below.
- USB Host
- USB Device(Full speed)
2015-01-15 14:00:42 +09:00
Masao Hamanaka
0ed93c1953
Update scatter file to increase usable RAM area.
...
Remove a usable RAM area limit of RW and ZI area.
2015-01-07 13:04:49 +09:00
ohagendorf
f5c3b18d75
[NUCLEO_F091RC] adding exporter (gcc_arm, coide), enable rtos
...
- Adding exporter for CoIDE and GCC_ARM
- Adding target to RTOS lib
2015-01-05 22:55:18 +01:00
ohagendorf
5ebdb92e78
[NUCLEO_F072RB] adding target to rtos lib
...
Every test (DTCT_1, EXAMPLE_1, MBED_xx, RTOS_x) is OK.
2015-01-05 22:43:52 +01:00
Martin Kojtal
914dd37b11
Merge pull request #818 from ohagendorf/stm32l053_rtos
...
DISCO/NUCLEO_L053xx - adding to RTOS, corrections for all tests, [DISCO_L053] exporter to µVision
2015-01-05 08:08:00 +01:00
Martin Kojtal
e1309e658a
Merge pull request #811 from albert361/master
...
Add IAR toolchain support for DISCO_F429ZI
2015-01-05 07:57:36 +01:00
Martin Kojtal
3aef1389d5
Merge pull request #829 from Kazu-zamasu/LPC824-GCC_CR
...
Tools: LPC824 - GCC_CR support
2015-01-05 07:55:21 +01:00
kazu-zamasu
b066ebff90
Add to GCC_CR
...
New create GCC_CR LPCXPresso export.
2015-01-04 12:02:01 +09:00
ohagendorf
43e6502f00
[DISCO_F401VC] new target incl. exporter to gcc_arm and coide
2015-01-02 19:09:41 +01:00
ohagendorf
0ac123d488
[DISCO/NUCLEO_L053xx] adding to RTOS
2015-01-02 12:13:44 +01:00
Martin Kojtal
77d645476d
Merge pull request #810 from ohagendorf/STM32F3xx_rtos
...
DISCO/NUCLEO_F3xx - solving RTOS problem
2015-01-02 07:48:54 +01:00
0xc0170
9af828a11f
Merge branch 'master' of https://github.com/mfiore02/mbed into mfiore02-master
...
Conflicts:
workspace_tools/build_travis.py
2015-01-02 07:12:11 +01:00
albert361
020faf70e6
Fix icf settings for head and stack size
2014-12-30 22:55:11 +08:00
albert361
21b2445fad
Fix typo.
...
1AB -> 1AF
2014-12-24 11:18:35 +08:00
albert361
3fdeca703c
Fix NVIC memory region and rtos verified
...
1. Add NVIC region in icf file.
2. Increase STACK and HEAP size.
3. mBed rtos is verified.
2014-12-24 11:16:26 +08:00
Adam Green
a1653f2708
Fix KL05Z GCC_ARM linker script
...
Issue originally reported on mbed site here:
https://developer.mbed.org/questions/5695/FRDM-KL05z-hardfault-when-compiled-with-/
The RAM base address was incorrectly set to the beginning of RAM
instead of at a 0xC0 byte offset to reserve room for the interrupt
vectors. Without this fix, the global variables and the interrupt
vectors were occupying the same space in RAM once the user enabled the
timer interrupt.
The user who originally reported the issue on the mbed site has tested
this fix and verified that it corrected the hard fault issue that they
were encountering.
2014-12-23 19:03:09 -08:00
albert361
282c31f57e
Add IAR toolchain support for DISCO_F429ZI
2014-12-23 14:41:20 +08:00
bcostm
4dd46fd82a
Merge branch 'master' of https://github.com/mbedmicro/mbed
2014-12-22 08:40:08 +01:00
bcostm
03f49ea8ef
[NUCLEO_F0] Align registers and system files with latest CMSIS files
...
Same as in new NUCLEO_F070RB target
2014-12-19 14:13:54 +01:00
Martin Kojtal
79ec104b3c
Merge pull request #801 from bcostm/master
...
Add new target - NUCLEO_F070RB
2014-12-19 09:48:14 +00:00
mazgch
992afded5c
fix HAL_NULL, add more GPIO_CLK macros
2014-12-18 16:11:40 +01:00
bcostm
796482d826
[NUCLEO_F070RB] Add new target - part 1 cmsis
2014-12-18 09:28:22 +01:00
bcostm
97089befb4
[STM32F0] Update STM32Cube driver to support new devices
2014-12-18 09:26:02 +01:00
ohagendorf
2ef2204380
solving RTOS problem
...
Changing original STM Cube Driver to call _start instead of main to
initialise the rtos when using it. Without using rtos the behavior is
the same as before.
2014-12-17 01:18:56 +01:00
Martin Kojtal
a67faf521f
Merge pull request #797 from ohagendorf/DISCO_F429_clockcycle
...
Targets: DISCO_F429ZI - clock frequency additions
2014-12-16 08:01:54 +00:00
ohagendorf
7eb385ec41
[DISCO_F429ZI] changed clock settings
...
Correction of wrong comments.
2014-12-15 22:37:37 +01:00
Martin Kojtal
6172cbea1a
Merge pull request #785 from rosterloh/disco_l053_hal_updates
...
Targets: DISCO_L053C8 - update from nucleo latest changes
2014-12-15 09:15:42 +00:00
Martin Kojtal
1fb5426bf6
Merge pull request #793 from ohagendorf/STMF4xxx_rtos
...
DISCO_F4xx, NUCLEO_F4xx, MDOT_F4 - fix RTOS problem (init seq)
2014-12-15 09:01:35 +00:00
Martin Kojtal
fb526c9205
Merge pull request #784 from masaohamanaka/master
...
Targets: RZ_A1H - Add the timer value wraparound processing to us_ticker
2014-12-15 08:55:35 +00:00
Martin Kojtal
5aafaa0d63
Merge pull request #780 from GustavWi/iar_mbed
...
IAR: skip dynamic initialization, new common IAR startup file
2014-12-15 08:52:35 +00:00
ohagendorf
2002b797ad
[DISCO_F429ZI] changed clock settings
...
Original STM32Cube F4 driver sets SYSCLK for STM32F429 to 16MHz. This
adds a 168MHz and 180MHz configuration to system_stm32f4xx.c generated
by STM32CubeMX code generator. The rtos clock configuration is changed
too. In singletest.py run everything is OK.
2014-12-15 07:32:53 +01:00
ohagendorf
6f8f626bd6
[DISCO_F4xx][NUCLEO_F4xx][MDOT_F4] solving RTOS problem
...
- Changing original STM Cube Driver to call _start instead of main to
initialise the rtos when using it. Without using rtos the behavior is
the same as before.
- Adding DISCO_F429 to rtos
- Adding targets to RTOS_xx tests.
- All tests are OK. Tested with Nucleo and Disco boards. Not tested with
MDOT_F4 but that uses the same hal like nucleo_f411.
2014-12-13 22:50:02 +01:00
Masao Hamanaka
3212848c31
Fix a bug that coding mistakes of L2 cache
...
Coding mistakes as below.
while(PL310->INV_WAY && ((1 << assoc) - 1)); ->
while(PL310->INV_WAY & ((1 << assoc) - 1));
PL310->INTERRUPT_CLEAR = 0; ->
PL310->INTERRUPT_CLEAR = 0x000001FFuL;
2014-12-12 14:27:01 +09:00
Mike Fiore
ff0b8fce30
[cmsis][MTS_DRAGONFLY_F411RE] set USE_PLL_HSE_EXTC to 0, causing problems with IAR export and we have no external clock option
2014-12-11 13:20:45 -06:00
Mike Fiore
4b1ac52d91
[mbed][MTS_DRAGONFLY_F411RE] change wrong PLL members to correct values from ST Cube code
2014-12-11 13:20:45 -06:00
vincent rabbit
546005a72c
[mbed][MTS_DRAGONFLY_F411RE] added platform support files and dirs built gcc executable NOT working
2014-12-11 13:20:45 -06:00
Richard Osterloh
77c3fe2358
updated latest changes from nucleo
2014-12-11 14:55:45 +00:00
Masao Hamanaka
c08208fe4f
Update upstream pushed files
2014-12-11 19:26:03 +09:00
bcostm
54999646a1
[NUCLEO_L053R8] Removed call to Systick (mbed RTOS compliancy)
2014-12-11 11:16:02 +01:00
Martin Kojtal
b75dadac6c
Merge pull request #779 from ndelisi/master
...
Y5Design LPC11U35 and NRF51822 - Add New targets
2014-12-11 08:28:29 +00:00
GustavWi
c3393b80b1
Merge remote-tracking branch 'upstream/master' into iar_mbed
2014-12-10 13:41:46 +01:00
GustavWi
3062999e97
Separated the c data initialization and c++ to call mbed_sdk_init before c++ data. So that the c variables are updated before the c++ objects are initialized. Had to rename the cmain override in RTX_CM_lib.h to __iar_program_start because there can not be two __cmain overrides in the project. The ewps had to be updated to add the linker command --skip_dynamic_initialization which stalls the c++ data init until __iar_dynamic_initialization which is called right after mbed_sdk_init.
2014-12-10 13:40:17 +01:00
Martin Kojtal
2e1ba4df65
Merge pull request #777 from GustavWi/iar_mbed
...
Targets: CMSIS - Fixed linker files for IAR (Ram size on one) and for the rest increased the heap...
2014-12-10 08:49:10 +00:00
sg-
91a77d74cf
With the old logic if Serial::writeable() was called before and/or used to block calls to Serial::putc() it would never write due to EVENT_TXDRDY trailing a write to TXD. Add a dummy write to TXD before pins are connected to the peripheral. This primes the EVENT_TXDRDY to lead future writes rather than trail. Since STOPTX isn't used this seems safe.
2014-12-09 17:48:10 -06:00
Nick DeLisi
f382af4aed
Porting of new target: Added new target to target.py, added header files for PinNames.h and device.h. Added linker library.
...
Y5 Design LLC Interface Board
LPC11u35 from NXP
Low Power, ARM(r) Cortex-M0 suitable for a wide range of applications
On-Chip Bootloader - In-System programming (ISP) and in-application programming (IAP)
ROM-based USB drivers - Flash updates via USB supported
SPI, GPIO, i2C, UART, ADC
3x LEDs, Reset Button
3.3V powered via USB or external
USB interface - shipped with USB-A, male connector, pads for Micro female
2014-12-09 13:01:20 -06:00
GustavWi
490dd0ddfe
Fixed linker files (Ram size on one) and for the rest increased the heap and stack size
2014-12-09 18:37:01 +01:00
Martin Kojtal
a96ad0576f
Merge pull request #760 from bcostm/master
...
Targets: NUCLEO_F072RB/F091RC - Remove the call to Systick
2014-12-09 14:31:45 +00:00
Michael Brudevold
2f5cbcb1c6
Add support for mDot with STM32F411RE processor
2014-12-08 10:58:25 -06:00
Martin Kojtal
a17c1dd8f7
Merge pull request #767 from ohagendorf/nucleo_disco_coide
...
STM32xxx: CoIDE/gcc_arm exporter and startup_stm32xx update
2014-12-08 07:24:22 +00:00
ohagendorf
967046e1d6
[STM32xxx] gcc_arm startup files
...
Updates startup files to actual versions of STM32 Cube drivers without
any changes of STs drivers:
- DISCO_F303VC
- DISCO_F334
- NUCLEO_F030
- NUCLEO_F072
- NUCLEO_F302
- NUCLEO_F334
2014-12-07 20:52:49 +01:00
ohagendorf
883b2bc0ce
[STM32xxx] CoIDE exporter and gcc_arm
...
- CoIDE options: wrap main and linker option DiscradUnusedSection=1 was
missing in some targets
- CoIDE options: corrected flash loader config for Nucleo_F030 and
Nucleo_F072
- CoIDE options: corrected memory layout (not used per default but now
it is the same as in linker script)
- gcc linker script: changed the memory size from hex number e.g. 0x2000
to decimal 8K
2014-12-07 20:07:56 +01:00