Skip to content

Commit

Permalink
Merge branch 'release/v1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Sep 29, 2023
2 parents 9d3d996 + 88df390 commit 9294e25
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion boards/portenta_c33.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"variant": "PORTENTA_C33"
},
"debug": {
"jlink_device": "RA6M5",
"jlink_device": "R7FA6M5",
"svd_path": "R7FA6M5BH.svd"
},
"frameworks": [
Expand Down
1 change: 1 addition & 0 deletions boards/uno_r4_minima.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"extra_flags": [
"-DARDUINO_MINIMA",
"-DARDUINO_UNOR4_MINIMA",
"-DARDUINO_ARCH_RENESAS_UNO",
"-DCFG_TUSB_MCU=OPT_MCU_RAXXX"
],
"core": "arduino",
Expand Down
1 change: 1 addition & 0 deletions boards/uno_r4_wifi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"extra_flags": [
"-DARDUINO_UNOWIFIR4",
"-DARDUINO_ARCH_RENESAS_UNO",
"-DARDUINO_UNOR4_WIFI",
"-DNO_USB",
"-DBACKTRACE_SUPPORT",
Expand Down
8 changes: 2 additions & 6 deletions builder/frameworks/arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def load_flags(filename):
("ARDUINO", 10810),
"ARDUINO_ARCH_RENESAS",
"ARDUINO_FSP",
"_XOPEN_SOURCE",
("_XOPEN_SOURCE", 700),
("F_CPU", "$BOARD_F_CPU")
],

Expand All @@ -142,14 +142,10 @@ def load_flags(filename):
# Add FPU flags
#

fpv_version = "4-sp"
if board.id == "portenta_c33":
fpv_version = "5"

env.Append(
LINKFLAGS=[
"-mfloat-abi=hard",
"-mfpu=fpv%s-d16" % fpv_version
"-mfpu=fpv%s-sp-d16" % ("5" if board.id == "portenta_c33" else "4"),
]
)

Expand Down
6 changes: 3 additions & 3 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "git",
"url": "https://github.com/platformio/platform-renesas-ra.git"
},
"version": "1.1.0",
"version": "1.2.0",
"frameworks": {
"arduino": {
"package": "framework-arduinorenesas-uno",
Expand All @@ -46,13 +46,13 @@
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~1.0.2"
"version": "~1.0.4"
},
"framework-arduinorenesas-portenta": {
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~1.0.2"
"version": "~1.0.4"
},
"framework-renesas-fsp": {
"type": "framework",
Expand Down

0 comments on commit 9294e25

Please sign in to comment.