Skip to content

Commit ad5a50a

Browse files
committed
Mass rename boards
The new defines are: * ARDUINO_PORTENTA_C33 * ARDUINO_MINIMA * ARDUINO_UNOWIFIR4 Former-commit-id: 6105996
1 parent 381733c commit ad5a50a

File tree

596 files changed

+74
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

596 files changed

+74
-74
lines changed

boards.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ portenta_c33.build.core=arduino
55
portenta_c33.build.crossprefix=arm-none-eabi-
66
portenta_c33.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
77

8-
portenta_c33.build.variant=PORTENTA_H33
8+
portenta_c33.build.variant=PORTENTA_C33
99
portenta_c33.build.mcu=cortex-m33
1010
portenta_c33.build.architecture=cortex-m33
1111
portenta_c33.build.fpu=-mfpu=fpv5-sp-d16
1212
portenta_c33.build.float-abi=-mfloat-abi=hard
1313

14-
portenta_c33.build.board=PORTENTA_H33
14+
portenta_c33.build.board=PORTENTA_C33
1515
portenta_c33.build.defines=-DF_CPU=200000000
1616
portenta_c33.vid.0=0x2341
1717
portenta_c33.pid.0=0x0068
@@ -53,13 +53,13 @@ minima.build.core=arduino
5353
minima.build.crossprefix=arm-none-eabi-
5454
minima.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
5555

56-
minima.build.variant=SANTIAGO
56+
minima.build.variant=MINIMA
5757
minima.build.mcu=cortex-m4
5858
minima.build.architecture=cortex-m4
5959
minima.build.fpu=-mfpu=fpv4-sp-d16
6060
minima.build.float-abi=-mfloat-abi=hard
6161

62-
minima.build.board=SANTIAGO
62+
minima.build.board=MINIMA
6363
minima.build.defines=-DF_CPU=48000000
6464
minima.vid.0=0x2341
6565
minima.pid.0=0x0069
@@ -101,13 +101,13 @@ unor4wifi.build.core=arduino
101101
unor4wifi.build.crossprefix=arm-none-eabi-
102102
unor4wifi.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
103103

104-
unor4wifi.build.variant=SANTIAGO_COMPOSTA
104+
unor4wifi.build.variant=UNOWIFIR4
105105
unor4wifi.build.mcu=cortex-m4
106106
unor4wifi.build.architecture=cortex-m4
107107
unor4wifi.build.fpu=-mfpu=fpv4-sp-d16
108108
unor4wifi.build.float-abi=-mfloat-abi=hard
109109

110-
unor4wifi.build.board=SANTIAGO_COMPOSTA
110+
unor4wifi.build.board=UNOWIFIR4
111111
unor4wifi.build.defines=-DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT
112112
unor4wifi.vid.0=0x2341
113113
unor4wifi.pid.0=0x1002

extras/e2studioProjects/Santiago/fsp_to_arduino.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
CORE_PATH=$(pwd -P)/../../../
4-
TARGET=SANTIAGO_COMPOSTA
4+
TARGET=UNOWIFIR4
55

66
# this part changes the makefile generated by e2studio (removing ra_gen from the build)
77
# then it cleans the build and re-build all again

extras/e2studioProjects/portenta_h33/fsp_to_arduino.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
CORE_PATH=$(pwd -P)/../../../
4-
TARGET=PORTENTA_H33
4+
TARGET=PORTENTA_C33
55

66
# this part changes the makefile generated by e2studio (removing ra_gen from the build)
77
# then it cleans the build and re-build all again

extras/e2studioProjects/portenta_h33_lib/fsp_to_arduino.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
CORE_PATH=$(pwd -P)/../../../
4-
TARGET=PORTENTA_H33
4+
TARGET=PORTENTA_C33
55

66
# this part changes the makefile generated by e2studio (removing ra_gen from the build)
77
# then it cleans the build and re-build all again

libraries/Arduino_CAN/examples/CAN1Read/CAN1Read.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* COMPILE TIME CHECKS
33
**************************************************************************************/
44

5-
#ifndef ARDUINO_PORTENTA_H33
5+
#ifndef ARDUINO_PORTENTA_C33
66
# error "CAN1 is only available on Portenta C33."
7-
#endif /* ARDUINO_PORTENTA_H33 */
7+
#endif /* ARDUINO_PORTENTA_C33 */
88

99
/**************************************************************************************
1010
* INCLUDE

libraries/Arduino_CAN/examples/CAN1Write/CAN1Write.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* COMPILE TIME CHECKS
33
**************************************************************************************/
44

5-
#ifndef ARDUINO_PORTENTA_H33
5+
#ifndef ARDUINO_PORTENTA_C33
66
# error "CAN1 is only available on Portenta C33."
7-
#endif /* ARDUINO_PORTENTA_H33 */
7+
#endif /* ARDUINO_PORTENTA_C33 */
88

99
/**************************************************************************************
1010
* INCLUDE

libraries/Arduino_CAN/src/R7FA4M1_CAN.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "R7FA4M1_CAN.h"
1616

17-
#if defined(ARDUINO_SANTIAGO) || defined(ARDUINO_SANTIAGO_COMPOSTA)
17+
#if defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4)
1818

1919
#include <IRQManager.h>
2020

@@ -318,7 +318,7 @@ extern "C" void can_callback(can_callback_args_t * p_args)
318318
this_ptr->onCanCallback(p_args);
319319
}
320320

321-
#endif /* defined(ARDUINO_SANTIAGO) || defined(ARDUINO_SANTIAGO_COMPOSTA) */
321+
#endif /* defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4) */
322322

323323
/**************************************************************************************
324324
* OBJECT INSTANTIATION

libraries/Arduino_CAN/src/R7FA4M1_CAN.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <Arduino.h>
1919

20-
#if defined(ARDUINO_SANTIAGO) || defined(ARDUINO_SANTIAGO_COMPOSTA)
20+
#if defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4)
2121

2222
#include "api/HardwareCAN.h"
2323

@@ -96,7 +96,7 @@ class R7FA4M1_CAN final : public HardwareCAN
9696

9797
} /* arduino */
9898

99-
#endif /* defined(ARDUINO_SANTIAGO) || defined(ARDUINO_SANTIAGO_COMPOSTA) */
99+
#endif /* defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4) */
100100

101101
/**************************************************************************************
102102
* EXTERN DECLARATION

libraries/Arduino_CAN/src/R7FA6M5_CAN.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "R7FA6M5_CAN.h"
1616

17-
#ifdef ARDUINO_PORTENTA_H33
17+
#ifdef ARDUINO_PORTENTA_C33
1818

1919
#include <IRQManager.h>
2020

@@ -326,7 +326,7 @@ extern "C" void canfd_callback(can_callback_args_t * p_args)
326326
this_ptr->onCanFDCallback(p_args);
327327
}
328328

329-
#endif /* ARDUINO_PORTENTA_H33 */
329+
#endif /* ARDUINO_PORTENTA_C33 */
330330

331331
/**************************************************************************************
332332
* OBJECT INSTANTIATION

libraries/Arduino_CAN/src/R7FA6M5_CAN.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <Arduino.h>
1919

20-
#ifdef ARDUINO_PORTENTA_H33
20+
#ifdef ARDUINO_PORTENTA_C33
2121

2222
#include "api/HardwareCAN.h"
2323

@@ -96,7 +96,7 @@ class R7FA6M5_CAN final : public HardwareCAN
9696

9797
} /* arduino */
9898

99-
#endif /* ARDUINO_PORTENTA_H33 */
99+
#endif /* ARDUINO_PORTENTA_C33 */
100100

101101
/**************************************************************************************
102102
* EXTERN DECLARATION

0 commit comments

Comments
 (0)