Skip to content

Commit

Permalink
variants(f4): add support for Nucleo-F439ZI
Browse files Browse the repository at this point in the history
Signed-off-by: pmantoine <[email protected]>
Co-authored-by: Frederic Pillon <[email protected]>
  • Loading branch information
pmantoine and fpistm committed Apr 24, 2024
1 parent 3d6e84b commit d5ee712
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32F412ZG | [Nucleo F412ZG](http://www.st.com/en/evaluation-tools/nucleo-f412zg.html) | *2.6.0* | |
| :green_heart: | STM32F413ZH | [Nucleo F413ZH](http://www.st.com/en/evaluation-tools/nucleo-f413zh.html) | *2.4.0* | |
| :green_heart: | STM32F429ZI | [Nucleo F429ZI](http://www.st.com/en/evaluation-tools/nucleo-f429zi.html) | *0.1.0* | |
| :yellow_heart: | STM32F439ZI | [Nucleo F439ZI](http://www.st.com/en/evaluation-tools/nucleo-f439zi.html) | **2.8.0** | |
| :green_heart: | STM32F446ZE | [Nucleo F446ZE](http://www.st.com/en/evaluation-tools/nucleo-f446ze.html) | *2.7.0* | |
| :green_heart: | STM32F722ZE | [Nucleo F722ZE](http://www.st.com/en/evaluation-tools/nucleo-f722ze.html) | *2.4.0* | |
| :green_heart: | STM32F767ZI | [Nucleo F767ZI](http://www.st.com/en/evaluation-tools/nucleo-f767zi.html) | *1.4.0* | |
Expand Down
15 changes: 15 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,21 @@ Nucleo_144.menu.pnum.NUCLEO_F429ZI.build.board=NUCLEO_F429ZI
Nucleo_144.menu.pnum.NUCLEO_F429ZI.build.series=STM32F4xx
Nucleo_144.menu.pnum.NUCLEO_F429ZI.build.product_line=STM32F429xx
Nucleo_144.menu.pnum.NUCLEO_F429ZI.build.variant=STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)
Nucleo_144.menu.pnum.NUCLEO_F429ZI.build.variant_h=variant_NUCLEO_F4x9ZI.h

# NUCLEO_F439ZI board
Nucleo_144.menu.pnum.NUCLEO_F439ZI=Nucleo F439ZI
Nucleo_144.menu.pnum.NUCLEO_F439ZI.node=NODE_F439ZI
Nucleo_144.menu.pnum.NUCLEO_F439ZI.upload.maximum_size=2097152
Nucleo_144.menu.pnum.NUCLEO_F439ZI.upload.maximum_data_size=196608
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.mcu=cortex-m4
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.fpu=-mfpu=fpv4-sp-d16
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.float-abi=-mfloat-abi=hard
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.board=NUCLEO_F439ZI
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.series=STM32F4xx
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.product_line=STM32F439xx
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.variant=STM32F4xx/F427Z(G-I)T_F429ZET_F429Z(G-I)(T-Y)_F437Z(G-I)T_F439Z(G-I)(T-Y)
Nucleo_144.menu.pnum.NUCLEO_F439ZI.build.variant_h=variant_NUCLEO_F4x9ZI.h

# NUCLEO_F446RE board
Nucleo_144.menu.pnum.NUCLEO_F446ZE=Nucleo F446ZE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
******************************************************************************
* @file LinkerScript.ld
* @author Auto-generated by STM32CubeIDE
* @brief Linker script for STM32F429ZITx Device from STM32F4 series
* @brief Linker script for STM32F429ZITx/STM32F439ZITx Device from STM32F4 series
* 2048Kbytes FLASH
* 64Kbytes CCMRAM
* 192Kbytes RAM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
*
*******************************************************************************
*/
#if defined(ARDUINO_NUCLEO_F429ZI)
#if defined(ARDUINO_NUCLEO_F429ZI) || defined(ARDUINO_NUCLEO_F439ZI)
#include "pins_arduino.h"

// Pin number
// Match Table 17. NUCLEO-F429ZI pin assignments
// Match Table 17. NUCLEO-F429ZI and NUCLEO-F439ZI pin assignments
// from UM1974 STM32 Nucleo-144 board
const PinName digitalPin[] = {
PG_9, //D0
Expand Down Expand Up @@ -234,4 +234,4 @@ WEAK void SystemClock_Config(void)
}
#endif

#endif /* ARDUINO_NUCLEO_F429ZI */
#endif /* ARDUINO_NUCLEO_F429ZI || ARDUINO_NUCLEO_F439ZI */

0 comments on commit d5ee712

Please sign in to comment.