Skip to content

Commit

Permalink
RA4M1: build with recent Arduino Core 1.1.0 for Renesas targets
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Feb 29, 2024
1 parent 1550c7d commit eeea008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ jobs:
fi
if [[ "$BOARD" =~ "arduino:renesas_uno:" ]]; then
arduino --pref "boardsmanager.additional.urls=https://downloads.arduino.cc/packages/package_index.json" --save-prefs ;
arduino --install-boards arduino:renesas_uno:1.0.5 ;
arduino --install-boards arduino:renesas_uno:1.1.0 ;
arduino --board $BOARD --save-prefs ;
wget https://github.com/arduino-libraries/ArduinoBLE/archive/refs/tags/${ARDUINO_BLE_VERSION}.tar.gz ;
tar xzf ${ARDUINO_BLE_VERSION}.tar.gz ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ static void RA4M1_Bluetooth_setup()
case BLUETOOTH_A2DP_SOURCE:
break;
case BLUETOOTH_NONE:
case BLUETOOTH_SPP:
default:
break;
}
Expand Down Expand Up @@ -249,6 +250,7 @@ static int RA4M1_Bluetooth_available()
rval = BLE_FIFO_RX.available();
break;
case BLUETOOTH_NONE:
case BLUETOOTH_SPP:
case BLUETOOTH_A2DP_SOURCE:
default:
break;
Expand All @@ -267,6 +269,7 @@ static int RA4M1_Bluetooth_read()
rval = BLE_FIFO_RX.read_char();
break;
case BLUETOOTH_NONE:
case BLUETOOTH_SPP:
case BLUETOOTH_A2DP_SOURCE:
default:
break;
Expand All @@ -293,6 +296,7 @@ static size_t RA4M1_Bluetooth_write(const uint8_t *buffer, size_t size)
}
break;
case BLUETOOTH_NONE:
case BLUETOOTH_SPP:
case BLUETOOTH_A2DP_SOURCE:
default:
break;
Expand Down

0 comments on commit eeea008

Please sign in to comment.