Skip to content

Added new Nucleo target - F410RB #1424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 92 commits into from
Nov 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
274d769
Added build target for STM32F410RB.
RafalFabich Oct 27, 2015
2992294
Modified memory sizes in linker script
RafalFabich Oct 27, 2015
f157843
Renamed linker and startup files
RafalFabich Oct 27, 2015
af67241
Upgraded HAL drivers to 1.4.1.
R2F Oct 29, 2015
8ef60cd
Changes in pin mapping in order to build the STM32F410RB Nucelo target.
RafalFabich Oct 29, 2015
e856a30
Fixed and re-enabled PWMs
RafalFabich Oct 29, 2015
3d27c7d
Added FMPI2C1 controller as 3rd available I2C
RafalFabich Oct 29, 2015
eaa226b
added pwm mapping in peripherialPins
WoGorniak Oct 29, 2015
f135884
Fixed bug: missing clock enable for PWM_5 (TIM5)
RafalFabich Oct 29, 2015
0938cc0
Fixed FMPI2C1 defines in i2c_api.c
RafalFabich Oct 30, 2015
4394cf7
Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
RafalFabich Oct 30, 2015
326f23c
redefined rest of the peripherialPins
WoGorniak Oct 30, 2015
e0dd831
Updated files used by IAR compiler with those available from STM32Cub…
RafalFabich Oct 30, 2015
668ee09
Merge branch 'master' of https://github.com/RafalFabich/mbed
RafalFabich Oct 30, 2015
0b6e85e
removed PWR5
WoGorniak Oct 30, 2015
00a477d
Added STM32F410RB to the list of supported MCUs in the README.md file
RafalFabich Oct 30, 2015
05ee785
Removed broken hyperlink
RafalFabich Oct 30, 2015
c90cbb7
fixed bug with pwm5
WoGorniak Oct 30, 2015
bc1d936
added DAC support
WoGorniak Nov 3, 2015
75a5894
Updated I2C pin mapping
Nov 4, 2015
3f7afc5
Removed some duplicate I2C pins
Nov 5, 2015
3df37e2
added SetSysClock (merged with F411)
WoGorniak Nov 5, 2015
acf6082
Fixed FMPI2C ifdefs and macro names
mlaurila Nov 5, 2015
743c319
added target definition to RTOS-related files
WoGorniak Nov 5, 2015
104bd90
Merge branch 'master' of https://github.com/RafalFabich/mbed
WoGorniak Nov 5, 2015
647c1a6
Added TARGET_STM32F410RB to spi_frequency() in spi_api.c
mlaurila Nov 6, 2015
fb2776d
Changes to make all PWM output pins available
mlaurila Nov 6, 2015
98565bc
fixed FMPI2C1 typo
WoGorniak Nov 6, 2015
e46a3a4
Changed FMPI2C specific to F410RB
mlaurila Nov 6, 2015
b343fb7
Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLC…
mlaurila Nov 10, 2015
efbcd51
Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F4…
mlaurila Nov 10, 2015
4b48873
Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO a…
mlaurila Nov 10, 2015
c089c68
Revert "Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM…
mlaurila Nov 10, 2015
1e5d64d
Reverted to old version of cmsis_nvic.h
mlaurila Nov 10, 2015
49aef08
Fixed vector table size
mlaurila Nov 10, 2015
2d43e7c
Removed TIM5 from PWM mapping because it is used by the us_ticker
mlaurila Nov 11, 2015
86b9d75
Fixed F410RB IAR configuration file
mlaurila Nov 11, 2015
ee15f02
Fixed RTOS test cases
mlaurila Nov 11, 2015
be745d3
Added export templates for F410RB. Copied from F411, not tested.
mlaurila Nov 11, 2015
8ff7912
Corrected file names in IAR export templates for F410
mlaurila Nov 12, 2015
e857c10
Added TARGET_FF_ARDUINO to i2c_slave test
mlaurila Nov 12, 2015
63574f4
Added build target for STM32F410RB.
RafalFabich Oct 27, 2015
dc6fd00
Modified memory sizes in linker script
RafalFabich Oct 27, 2015
39908eb
Renamed linker and startup files
RafalFabich Oct 27, 2015
5061da0
Upgraded HAL drivers to 1.4.1.
R2F Oct 29, 2015
cc593f0
Changes in pin mapping in order to build the STM32F410RB Nucelo target.
RafalFabich Oct 29, 2015
d1e7f13
Fixed and re-enabled PWMs
RafalFabich Oct 29, 2015
e38b06d
Added FMPI2C1 controller as 3rd available I2C
RafalFabich Oct 29, 2015
d838d5b
added pwm mapping in peripherialPins
WoGorniak Oct 29, 2015
c374460
Fixed bug: missing clock enable for PWM_5 (TIM5)
RafalFabich Oct 29, 2015
927e72a
Fixed FMPI2C1 defines in i2c_api.c
RafalFabich Oct 30, 2015
b720476
Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
RafalFabich Oct 30, 2015
4db4df2
redefined rest of the peripherialPins
WoGorniak Oct 30, 2015
4999dd0
Updated files used by IAR compiler with those available from STM32Cub…
RafalFabich Oct 30, 2015
3f77d66
removed PWR5
WoGorniak Oct 30, 2015
42af2cc
Added STM32F410RB to the list of supported MCUs in the README.md file
RafalFabich Oct 30, 2015
0ecd64b
Removed broken hyperlink
RafalFabich Oct 30, 2015
09a627d
fixed bug with pwm5
WoGorniak Oct 30, 2015
5b36773
added DAC support
WoGorniak Nov 3, 2015
a0fc439
Updated I2C pin mapping
Nov 4, 2015
aaba921
Removed some duplicate I2C pins
Nov 5, 2015
7166549
added SetSysClock (merged with F411)
WoGorniak Nov 5, 2015
0ffb311
Fixed FMPI2C ifdefs and macro names
mlaurila Nov 5, 2015
fe7cff4
added target definition to RTOS-related files
WoGorniak Nov 5, 2015
90b2228
Added TARGET_STM32F410RB to spi_frequency() in spi_api.c
mlaurila Nov 6, 2015
d95dfe3
Changes to make all PWM output pins available
mlaurila Nov 6, 2015
355e2ea
fixed FMPI2C1 typo
WoGorniak Nov 6, 2015
3e7a7ce
Changed FMPI2C specific to F410RB
mlaurila Nov 6, 2015
e012303
Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLC…
mlaurila Nov 10, 2015
3f391d7
Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F4…
mlaurila Nov 10, 2015
44c5a79
Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO a…
mlaurila Nov 10, 2015
2647edf
Revert "Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM…
mlaurila Nov 10, 2015
8e54df9
Reverted to old version of cmsis_nvic.h
mlaurila Nov 10, 2015
9128ef4
Fixed vector table size
mlaurila Nov 10, 2015
a94946c
Removed TIM5 from PWM mapping because it is used by the us_ticker
mlaurila Nov 11, 2015
8ba3a08
Fixed F410RB IAR configuration file
mlaurila Nov 11, 2015
38b9006
Fixed RTOS test cases
mlaurila Nov 11, 2015
1d94de1
Added export templates for F410RB. Copied from F411, not tested.
mlaurila Nov 11, 2015
c5d6532
Corrected file names in IAR export templates for F410
mlaurila Nov 12, 2015
6eb721c
Added TARGET_FF_ARDUINO to i2c_slave test
mlaurila Nov 12, 2015
56dd556
added missing endif
WoGorniak Nov 12, 2015
52c0ccc
Merge branch 'master' of https://github.com/RafalFabich/mbed
WoGorniak Nov 12, 2015
8a12032
Disabled HAL ticker in WFI test case for STM32F4 devices
mlaurila Nov 12, 2015
4efbea4
Merge branch 'master' of https://github.com/RafalFabich/mbed
mlaurila Nov 12, 2015
21cfe15
corrected serial port definition of rx test
WoGorniak Nov 12, 2015
4857b44
Merge branch 'master' of https://github.com/RafalFabich/mbed
WoGorniak Nov 12, 2015
ce3ccb4
PB_11 removed
mlaurila Nov 13, 2015
4657518
STM32F410RB: Updated startup file for ARM_MICRO and exporter template…
mlaurila Nov 13, 2015
da07e27
Revert "corrected serial port definition of rx test"
WoGorniak Nov 13, 2015
28dd508
removed whitespace in wfi test
WoGorniak Nov 13, 2015
863898b
changed file permissions
WoGorniak Nov 16, 2015
c11d54e
Merge https://github.com/mbedmicro/mbed
WoGorniak Nov 20, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ STMicroelectronics:
* [Nucleo-F302R8](https://developer.mbed.org/platforms/ST-Nucleo-F302R8/) (Cortex-M4F)
* [Nucleo-F334R8](https://developer.mbed.org/platforms/ST-Nucleo-F334R8/) (Cortex-M4F)
* [Nucleo-F401RE](https://developer.mbed.org/platforms/ST-Nucleo-F401RE/) (Cortex-M4F)
* Nucleo-F410RB (Cortex-M4F)
* [Nucleo-F411RE](https://developer.mbed.org/platforms/ST-Nucleo-F411RE/) (Cortex-M4F)
* [Nucleo-L476RG](https://developer.mbed.org/platforms/ST-Nucleo-L476RG/) (Cortex-M4F)
* STM32F4XX (Cortex-M4F)
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
; Scatter-Loading Description File
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 2014, STMicroelectronics
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice,
; this list of conditions and the following disclaimer.
; 2. Redistributions in binary form must reproduce the above copyright notice,
; this list of conditions and the following disclaimer in the documentation
; and/or other materials provided with the distribution.
; 3. Neither the name of STMicroelectronics nor the names of its contributors
; may be used to endorse or promote products derived from this software
; without specific prior written permission.
;
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; STM32F410RB: 128 KB FLASH (0x20000) + 32 KB SRAM (0x8000)
LR_IROM1 0x08000000 0x20000 { ; load region size_region

ER_IROM1 0x08000000 0x20000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}

; Total: 112 vectors = 448 bytes (0x1C0) to be reserved in RAM
RW_IRAM1 (0x20000000+0x1C0) (0x8000-0x1C0) { ; RW data
.ANY (+RW +ZI)
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/* mbed Microcontroller Library - stackheap
* Setup a fixed single stack/heap memory model,
* between the top of the RW/ZI region and the stackpointer
*******************************************************************************
* Copyright (c) 2014, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************
*/

#ifdef __cplusplus
extern "C" {
#endif

#include <rt_misc.h>
#include <stdint.h>

extern char Image$$RW_IRAM1$$ZI$$Limit[];

extern __value_in_regs struct __initial_stackheap __user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) {
uint32_t zi_limit = (uint32_t)Image$$RW_IRAM1$$ZI$$Limit;
uint32_t sp_limit = __current_sp();

zi_limit = (zi_limit + 7) & ~0x7; // ensure zi_limit is 8-byte aligned

struct __initial_stackheap r;
r.heap_base = zi_limit;
r.heap_limit = sp_limit;
return r;
}

#ifdef __cplusplus
}
#endif
Loading