Commit Graph

948 Commits (ddea20a775c72c7a49c0d100bd960f25c42743f1)

Author SHA1 Message Date
adustm 0068bb55d2 [NUCLEO_F746ZG] cmsis toolchain files 2016-02-26 11:36:46 +00:00
adustm 809afe7802 [NUCLEO_F746ZG] cmsis files 2016-02-26 11:36:44 +00:00
Martin Kojtal 8577dc9680 Merge pull request #1558 from dbestm/dev_l476rg_rtc
l476rg rtc
2016-02-25 09:42:00 +00:00
bcostm a4cf478240 Set NVIC_RAM_VECTOR_ADDRESS to 0x10000000 2016-02-19 10:09:08 +01:00
modtronix-com b78542d10e Changed target name from NZ32SC151 to NZ32_SC151 2016-02-18 09:49:14 +00:00
Martin Kojtal b57f7d5684 Merge pull request #1545 from TomoYamanaka/master
Support of export function to the IAR.
2016-02-18 09:42:15 +00:00
dbestm 8b04249028 [NUCLEO_L476RG] RTC+LSE
make the RTC works properly with LSE and add the possibility to use the
LSI (internal clock)
2016-02-16 17:30:54 +01:00
tomoyuki yamanaka 27caef30a4 Support of export function to the IAR.
We modified the following to support the export function to the IAR.
- In tools files, add RZ_A1H to the target of IAR.
- In tools files, add the tmpl files.
2016-02-15 14:49:31 +09:00
Parthasarathy.S d578a72b93 Fix for compiler warnings 2016-02-14 21:33:31 +05:30
0xc0170 9dcb51ce87 Merge branch 'maclobdell-patch-1' 2016-02-12 08:46:36 +01:00
Mac Lobdell 8abc70e657 Fix SAML21J18A.sct
Remove extra new lines which caused comments to be exposed as code.
2016-02-12 08:45:55 +01:00
Martin Kojtal c301abb233 Merge pull request #1522 from dinau/disco-uvision4-exporter
Add uVision4 exporters for DISCO-{F051R8, F100RB, F303VC, F407VG}
2016-02-11 07:53:34 +01:00
0xc0170 b28b71e97e Merge branch 'master' of https://github.com/leibin2014/mbed into leibin2014-master
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c
2016-02-01 18:20:15 +00:00
dinau 6e45dafa0e Add uVision4 exporters for DISCO-{F051R8, F100RB, F303VC, F407VG}
(1) Add above exporters.
(2) Modified only comments in "cmsis_nvic.h" files.
2016-01-31 19:34:42 +09:00
anpilog 11d2f7e3da Fix HSI configuration for STM32F0x. If HSI is used then PF0 is locked by RCC. 2016-01-28 20:20:35 +08:00
leibin 4d66e2d0b1 The predivider should be 2 here. 2016-01-15 16:53:33 +08:00
Martin Kojtal 45dbe35006 Merge pull request #1490 from ytsuboi/add-TY51822r3
[TY51822r3] add platform
2016-01-15 07:47:49 +00:00
Steven Cooreman 9d35328001 Clean up failed merge 2016-01-13 09:57:38 +01:00
Steven Cooreman 037dd8c455 Add back the manual placement of the DMA section for GCC to optimize the RAM layout w.r.t. alignment. 2016-01-12 17:25:58 +01:00
Steven Cooreman a0ba4e6489 Pull up EFM32 linker and startup files to latest SDK version. 2016-01-12 17:25:55 +01:00
Aksel Skauge Mellbye 8634cf54d6 EFM32 Pearl Gecko IAR support. 2016-01-12 17:22:14 +01:00
Mikko Polojarvi 6bb98769b0 SiLabs: Update emlib to 4.2.0
Emlib and HW headers updated. ADC pinmap changed to match new
definitions. Pearl linker files updated.
2016-01-12 17:21:15 +01:00
Mikko Polojarvi f6b0c37982 SiLabs Pearl: Support for ARM compiler toolchain
Startup files and linker scripts added for standard and
micro variants of the ARM compiler toochain.
2016-01-12 17:17:14 +01:00
Mikko Polojarvi 6067de0428 SiLabs Pearl: Rename files and dirs to correct STK code
Pearl STK is offically known as SLSTK3401A, but we well go
with the same naming convention as with Happy so Pearl's
name in Mbed will be STK3401.

Renames all files and directories that previously had the
placeholder STKXXXX. Build, target and export scripts
modified accordingly.
2016-01-12 17:17:10 +01:00
Mikko Polojarvi a31071275a SiLabs: Fix interrupt amount configurations
Number of interrupt slots reported by different files before this commit:

            giant  happy  leopard  pearl  wonder  zero
spec        39     21     39       34     39      17
nvic        39     21     39       34     40      19
startup.s   39     21     40       34     40      19
gcc link    40     21     41       34     40      19
arm link    40     22     40       -      40      16
reserved    0      0      1        0      0       2

  spec - reference manual
  nvic.h - cmsis_nvic.h
  startup.s - assembler startup files
  gcc link - efm32*.ld linker script for GCC
  arm link - efm32*.sct linker script for ARM (RVCT)
  reserved - number of 'reserved' slots at the end of irq table in startup.s files

Fixed amounts to reflect those in the startup files, including reserved
slots:

Giant
    Reduce amount in GCC and ARM linker files to 39

Happy
    Fix comment in GCC linker file
    Reduce amount in ARM linker file to 21

Leopard
    Increase amount to 40 in cmsis_nvic.h
    Reduce amount to 40 in GCC linker file (this bug caused by
    emlib 4.1.0 port commit 1923e8b4)

Wonder
    No changes, but note that ref. manual does not list FPUEH
    interrupt that is included in startup files at index 39

Zero
    Increase amount to 19 in ARM linker file
2016-01-12 17:01:17 +01:00
Mikko Polojarvi 2cb2ada9b6 SiLabs Pearl: Mbed support for linker script
Mbed needs to have interrupt vectors in RAM so reserve space at
the beginning of memory, and export the relevant symbols.
2016-01-12 17:00:48 +01:00
Mikko Polojarvi 199f5fa402 SiLabs: Emlib 4.1.0 headers update for Zero Gecko 2016-01-12 17:00:33 +01:00
Mikko Polojarvi 0c066f5c1a SiLabs: Emlib 4.1.0 headers update for Wonder Gecko 2016-01-12 17:00:30 +01:00
Mikko Polojarvi 19a060791c SiLabs: Emlib 4.1.0 headers update for Leopard Gecko 2016-01-12 17:00:27 +01:00
Mikko Polojarvi 567afac8ea SiLabs: Emlib 4.1.0 headers update for Happy Gecko 2016-01-12 17:00:25 +01:00
Mikko Polojarvi 485a08db77 SiLabs: Emlib 4.1.0 headers update for Giant Gecko 2016-01-12 17:00:22 +01:00
Mikko Polojarvi e5e896b68d SiLabs Pearl: Initial commit
Leopard Gecko used as baseline.

TODO

 - Peripheral/GPIO pin mappings etc for Pearl are marked "Pearl ok",
   rest are wrong

 - Missing new (4.1.0+) emlib
2016-01-12 17:00:16 +01:00
ytsuboi 9b7d776d40 [TY51822r3] add description on comment, fixed years 2016-01-11 22:57:46 +09:00
adustm 4ac44bdea6 [STM_F0] clock the APB2ENR_SYSCFGEN in RCC so that SYSCFG->CFGR1 value can be taken into account in NVIC_SetVector 2016-01-11 09:31:50 +00:00
ytsuboi 9a9885e5fa [TY51822r3] add platform 2016-01-06 23:17:24 +09:00
adustm f4496bb5de Add cmsis files for this new platform 2016-01-06 13:44:36 +00:00
Martin Kojtal a63257b05f Merge pull request #1432 from adustm/DEV_FIX_1419_baudrateissue
[TARGET_STMF0] Fix #1419 baudrateissue
2016-01-04 12:14:34 +00:00
adustm c59167c196 [STM32F0_all] remove the global variable and use SYSCFG register instead 2015-12-14 11:39:39 +01:00
adustm 5784d29fd2 Merge remote-tracking branch 'refs/remotes/origin/master' into DEV_FIX_1419_baudrateissue 2015-12-14 10:42:52 +01:00
dinau 46955971ec [NUCLEO-F030R8] Fixed: The issue of LED blink too fast.
Refer to:
https://github.com/mbedmicro/mbed/issues/1329
https://developer.mbed.org/questions/61386/Is-there-system-clock-error-in-STM32F030/
2015-12-09 20:38:32 +09:00
Martin Kojtal a41d1d6c02 Merge pull request #1449 from dbestm/dev_xxxx_xxx
I2C fixes, timeout for startup ~100/200
2015-12-07 07:48:07 +00:00
Jeremy Brodt ad739ddd8b [MAXWSNENV] Added missing definitions. 2015-12-01 08:38:43 -06:00
adustm 390584a424 [NUCLEO_L476RG] add templates for iar tool 2015-11-23 14:00:11 +01:00
dbestm 035f3ece65 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_xxxx_xxx 2015-11-20 15:51:32 +01:00
dbestm feac60b519 ALL STM32 platform 2015-11-20 15:51:10 +01:00
Wojciech Gorniak c11d54e5b6 Merge https://github.com/mbedmicro/mbed
Conflicts:
	workspace_tools/export/iar.py
	workspace_tools/toolchains/gcc.py
2015-11-20 10:08:05 +01:00
adustm c15e382be1 [TARGET_STM32F0] allow DISCO_F051R8 compilation 2015-11-17 16:56:29 +01:00
adustm 7d23f0fd1e [TARGET_STMF0] change numerical value by its define 2015-11-17 16:55:56 +01:00
adustm 57650768c8 Fix #1419 : solve baud_rate issue
Issue was : stdio printf is ok, serial.printf is failing, in case it is
inialized as a global variable. It works on mbed version 107.
Fix: revert to version 107 for systemxxx.c, mbed_overrides.c +
cmsis_nvic.c.
Modify cmsis_nvic.c to use direct addressing instead of a pointer (this
pointer is not yet initialized when called in systemxx.c)
Call HAL_Init in mbed_overrides.c for every platforms.
2015-11-17 13:16:07 +01:00
WoGorniak 863898b29c changed file permissions 2015-11-16 11:09:16 +00:00