Skip to content

boards.txt board order #40

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

Closed
RickKimball opened this issue Jun 26, 2017 · 1 comment
Closed

boards.txt board order #40

RickKimball opened this issue Jun 26, 2017 · 1 comment

Comments

@RickKimball
Copy link
Contributor

When I did my quick hack to add the NUCLEO_F030R8 board to the boards.txt file I put it in the wrong order. Can we move the NUCLEO_F030R8 section to come before the R091RC so the list shows up sorted?

https://github.com/stm32duino/Arduino_Core_STM32/blob/master/boards.txt#L77

diff --git a/boards.txt b/boards.txt
index 230c139..2fa19f8 100644
--- a/boards.txt
+++ b/boards.txt
@@ -57,6 +57,21 @@ Nucleo_64.pid.0=0x5711
 Nucleo_64.build.core=arduino
 Nucleo_64.build.board=Nucleo_64
 
+# NUCLEO_F030R8 board
+
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8=Nucleo F030R8
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.upload.maximum_size=65536
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.upload.maximum_data_size=8192
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.mcu=cortex-m0
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.f_cpu=48000000L
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.board=NUCLEO_F030R8
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.series=STM32F0xx
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.variant=NUCLEO_F030R8
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.cmsis_lib_gcc=arm_cortexM0l_math
+#To enable Serial1 (USART1 on PA10, PA9) add -DENABLE_SERIAL1
+Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.extra_flags=-DSTM32F030x8
+
 # NUCLEO_F091RC board
 
 Nucleo_64.menu.Nucleo_64_board.NUCLEO_F091RC=Nucleo F091RC
@@ -74,21 +89,6 @@ Nucleo_64.menu.Nucleo_64_board.NUCLEO_F091RC.build.cmsis_lib_gcc=arm_cortexM0l_m
 #To enable HID (keyboard and mouse support) add also '-DUSBD_USE_HID_COMPOSITE'
 Nucleo_64.menu.Nucleo_64_board.NUCLEO_F091RC.build.extra_flags=-DSTM32F091xC {build.usb_flags}
 
-# NUCLEO_F030R8 board
-
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8=Nucleo F030R8
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.upload.maximum_size=65536
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.upload.maximum_data_size=8192
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.mcu=cortex-m0
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.f_cpu=48000000L
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.board=NUCLEO_F030R8
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.series=STM32F0xx
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.variant=NUCLEO_F030R8
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.cmsis_lib_gcc=arm_cortexM0l_math
-#To enable Serial1 (USART1 on PA10, PA9) add -DENABLE_SERIAL1
-Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.build.extra_flags=-DSTM32F030x8
-
 # NUCLEO_F303RE board
 
 Nucleo_64.menu.Nucleo_64_board.NUCLEO_F303RE=Nucleo F303RE
@fpistm
Copy link
Member

fpistm commented Jun 26, 2017

I do the same mistake :')
Of course, I will change before the next release.

@fpistm fpistm closed this as completed in 448f246 Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants