Skip to content

Commit

Permalink
Renesas using Central update (#191)
Browse files Browse the repository at this point in the history
* spelling mistakes
* update azure_config.h
* update cmake in toolchain installer
* remove old iot explorer images
* Update Renesas readme.md
  • Loading branch information
ryanwinter authored Feb 5, 2021
1 parent f8e610a commit ff128ee
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 246 deletions.
2 changes: 1 addition & 1 deletion NXP/MIMXRT1060-EVK/app/azure_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
// ----------------------------------------------------------------------------
#define IOT_DEVICE_SAS_KEY ""

#endif // _AZURE_CONFIG_H
#endif // _AZURE_CONFIG_H
34 changes: 17 additions & 17 deletions Renesas/RSK_RX65N_2MB/app/azure_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@
#define _AZURE_CONFIG_H

// ----------------------------------------------------------------------------
// Azure IoT Hub Connection Transport
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
// Azure IoT Dynamic Provisioning Service
// Define this to use the DPS service, otherwise direct IoT Hub
// ----------------------------------------------------------------------------
//#define ENABLE_LEGACY_MQTT
#define ENABLE_DPS

// ----------------------------------------------------------------------------
// Azure IoT Dynamic Provisioning Service
// Define this to use the DPS service, otherwise direct IoT Hub
// Azure IoT DPS connection config
// IOT_DPS_ID_SCOPE: The DPS ID Scope
// IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
// ----------------------------------------------------------------------------
#define IOT_DPS_ID_SCOPE ""
#define IOT_DPS_REGISTRATION_ID ""

// ----------------------------------------------------------------------------
// Azure IoT Hub Connection Transport
// Define to use the legacy MQTT connection, else Azure RTOS SDK for Azure IoT
// ----------------------------------------------------------------------------
//#define ENABLE_DPS
//#define ENABLE_LEGACY_MQTT

// ----------------------------------------------------------------------------
// Azure IoT DPS Self-Signed X509Certificate
Expand All @@ -27,16 +35,8 @@
// IOT_HUB_HOSTNAME: The Azure IoT Hub hostname
// IOT_HUB_DEVICE_ID: The Azure IoT Hub device id
// ----------------------------------------------------------------------------
#define IOT_HUB_HOSTNAME ""
#define IOT_HUB_DEVICE_ID ""

// ----------------------------------------------------------------------------
// Azure IoT DPS connection config
// IOT_DPS_ID_SCOPE: The DPS ID Scope
// IOT_DPS_REGISTRATION_ID: The DPS device Registration Id
// ----------------------------------------------------------------------------
#define IOT_DPS_ID_SCOPE ""
#define IOT_DPS_REGISTRATION_ID ""
//#define IOT_HUB_HOSTNAME ""
//#define IOT_HUB_DEVICE_ID ""

// ----------------------------------------------------------------------------
// Azure IoT device SAS key
Expand All @@ -45,4 +45,4 @@
// ----------------------------------------------------------------------------
#define IOT_DEVICE_SAS_KEY ""

#endif // _AZURE_CONFIG_H
#endif // _AZURE_CONFIG_H
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 85 additions & 187 deletions Renesas/RSK_RX65N_2MB/readme.md

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
51 changes: 10 additions & 41 deletions tools/get-toolchain-rx.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,81 +10,50 @@ $gccrx_file = 'gcc-8.3.0.202004-GNURX-ELF.exe'
$gccrx_name = 'GCC-RX 8.3.0.20204'
$gccrx_hash = 'C3340B4915208361A33885505CFB89B69E1607A07F89FBF2A79096182D293978'

$cmake_path = 'https://github.com/Kitware/CMake/releases/download/v3.19.2'
$cmake_file = 'cmake-3.19.2-win32-x86.msi'
$cmake_name = 'CMake v3.19.2'
$cmake_hash = '7ABFEA6278B7BF3F6EB1D3B13F9DF79FD675D274AC88A680831B81DF26C92611'
$cmake_path = 'https://github.com/Kitware/CMake/releases/download/v3.19.4'
$cmake_file = 'cmake-3.19.4-win32-x86.msi'
$cmake_name = 'CMake v3.19.4'
$cmake_hash = '2DCE32E37C161441A899735C3398EA21AFF2745E2F3DB516CEB0085817A657ED'

$termite_path = 'https://www.compuphase.com/software'
$termite_file = 'termite-3.4.exe'
$termite_name = 'Termite v3.4'
$termite_hash = 'CA440B6C7F6EAA812BA5F8BF42AED86E02022CA50A1C72585168C9B671D0FE19'

$azure_cli_path = 'https://azurecliprod.blob.core.windows.net/msi'
$azure_cli_file = 'azure-cli-2.17.1.msi'
$azure_cli_name = 'Azure CLI v2.17.1'
$azure_cli_hash = '414B5DC8030A6E1755650CA4966417735E42D1FCC89FE9D2E41C5720BC88AEA3'

$iot_explorer_path = 'https://github.com/Azure/azure-iot-explorer/releases/download/v0.13.2'
$iot_explorer_file = 'Azure.IoT.Explorer.preview.0.13.2.msi'
$iot_explorer_name = 'Azure IoT Explorer v0.13.2'
$iot_explorer_hash = '6B3931F96EFA7622DB8E123E91FFA395584C75E6AC28D08A37492AE30E212F6F'

echo "`nDownloading packages..."

$wc = New-Object System.Net.WebClient
$wc.Headers['User-Agent'] = "Mozilla/4.0"

echo "(1/5) $gccrx_name"
echo "(1/3) $gccrx_name"
if ( -not (Test-Path "$env:TEMP\$gccrx_file") -Or ((Get-FileHash "$env:TEMP\$gccrx_file").Hash -ne $gccrx_hash))
{
$wc.DownloadFile("$gccrx_path/$gccrx_file", "$env:TEMP\$gccrx_file")
}

echo "(2/5) $cmake_name"
echo "(2/3) $cmake_name"
if ( -not (Test-Path "$env:TEMP\$cmake_file") -Or ((Get-FileHash "$env:TEMP\$cmake_file").Hash -ne $cmake_hash))
{
$wc.DownloadFile("$cmake_path/$cmake_file", "$env:TEMP\$cmake_file")
}

echo "(3/5) $termite_name"
echo "(3/3) $termite_name"
if ( -not (Test-Path "$env:TEMP\$termite_file") -Or ((Get-FileHash "$env:TEMP\$termite_file").Hash -ne $termite_hash))
{
$wc.DownloadFile("$termite_path/$termite_file", "$env:TEMP\$termite_file")
}

echo "(4/5) $azure_cli_name"
if ( -not (Test-Path "$env:TEMP\$azure_cli_file") -Or ((Get-FileHash "$env:TEMP\$azure_cli_file").Hash -ne $azure_cli_hash))
{
$wc.DownloadFile("$azure_cli_path/$azure_cli_file", "$env:TEMP\$azure_cli_file")
}

echo "(5/5) $iot_explorer_name"
if ( -not (Test-Path "$env:TEMP\$iot_explorer_file") -Or ((Get-FileHash "$env:TEMP\$iot_explorer_file").Hash -ne $iot_explorer_hash))
{
$wc.DownloadFile("$iot_explorer_path/$iot_explorer_file", "$env:TEMP\$iot_explorer_file")
}


echo "`nInstalling packages..."

echo "(1/5) $gccrx_name"
echo "(1/3) $gccrx_name"
Start-Process -FilePath "$env:TEMP\$gccrx_file" -ArgumentList "/SILENT" -Wait

echo "(2/5) $cmake_name"
echo "(2/3) $cmake_name"
Start-Process -FilePath "$env:TEMP\$cmake_file" -ArgumentList "ADD_CMAKE_TO_PATH=System /passive" -Wait

echo "(3/5) $termite_name"
echo "(3/3) $termite_name"
Start-Process -FilePath "$env:TEMP\$termite_file" -ArgumentList "/S" -Wait

echo "(4/5) $azure_cli_name"
Start-Process -FilePath "$env:TEMP\$azure_cli_file" -ArgumentList "/passive" -Wait
$env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine")
Start-Process -FilePath "az" -ArgumentList "extension add --name azure-iot" -Wait

echo "(5/5) $iot_explorer_name"
Start-Process -FilePath "$env:TEMP\$iot_explorer_file" -ArgumentList "/passive" -Wait

echo "`nInstallation complete!"

echo "`nPress any key to continue..."
Expand Down

0 comments on commit ff128ee

Please sign in to comment.