Skip to content

renesas/iot-reference-rl78

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeRTOS RL78 Family IoT Reference

Introduction

This product provides the reference of IoT solution with using RL78 family, AWS, and FreeRTOS. The RL78 family is a kind of MCUs provided by Renesas. You can easily try to run AWS IoT demos using RL78 family while working with our various other products. Refer to the Getting Started Guide for step by step instructions on setting up your development environment and running demos.

Product Specifications

This reference is consist of demo applications, FreeRTOS kernel, middleware provided by AWS and 3rd party, middleware and drivers for RL78 family provided as the Software Integration System by Renesas, files to collaborate Renesas tools such as the IDE e2 studio, and etc. Summary of specifications explains in the following chapters.

Using AWS Services

Demos

This reference consits the following demo projects:

  • Demo project (PubSub)
    • Perform simple data upload via MQTT communication.

Supported Boards

This reference supports the following boards:

User Documents

The documents for this reference are followings:

Open Source Software (OSS) Components

The following table indicates name and version of OSS which are used in this reference. The column LTS Until indicates the support period as LTS. The column Use indicates whether the OSS is performed in demo projects or not.

Library Version LTS Until LTS Repo URL Use
FreeRTOS Cellular Interface 1.4.0 06/30/2026 https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface No
FreeRTOS Kernel 11.1.0 06/30/2026 https://github.com/FreeRTOS/FreeRTOS-Kernel Yes
FreeRTOS-Plus-TCP 4.2.2 06/30/2026 https://github.com/FreeRTOS/FreeRTOS-Kernel No
backoffAlgorithm 1.4.1 06/30/2026 https://github.com/FreeRTOS/backoffAlgorithm Yes
coreHTTP Client 3.1.1 06/30/2026 https://github.com/FreeRTOS/coreHTTP No
coreJSON 3.3.0 06/30/2026 https://github.com/FreeRTOS/coreJSON No
coreMQTT Client 2.3.1 06/30/2026 https://github.com/FreeRTOS/coreMQTT Yes
coreMQTT Agent 1.3.1 06/30/2026 https://github.com/FreeRTOS/coreMQTT-Agent Yes
corePKCS11 3.6.1 06/30/2026 https://github.com/FreeRTOS/corePKCS11 No
coreSNTP 1.3.1 06/30/2026 https://github.com/FreeRTOS/coreSNTP No
AWS IoT Device Defender 1.4.0 06/30/2026 https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk No
AWS IoT Device Shadow 1.4.1 06/30/2026 https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk No
AWS IoT Fleet Provisioning 1.2.1 06/30/2026 https://github.com/aws/Fleet-Provisioning-for-AWS-IoT-embedded-sdk No
AWS IoT Jobs 1.5.1 06/30/2026 https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk No
AWS SigV4 1.3.0 06/30/2026 https://github.com/aws/SigV4-for-AWS-IoT-embedded-sdk No
AWS IoT MQTT File Streams 1.1.0 06/30/2026 https://github.com/aws/ota-for-aws-iot-embedded-sdk No
tinycbor 0.5.2 -- https://github.com/intel/tinycbor No
FreeRTOS-Plus network_transport -- -- https://www.freertos.org/network-interface.html Yes
Logging Interface 1.1.3 -- https://github.com/aws/amazon-freertos/tree/main/libraries/logging Yes
tinycrypt 0.2.8 -- https://github.com/intel/tinycrypt No

Renesas Driver Components

The following table indicates drivers provided by Renesas, that are Software Integration System (SIS), Firmware Integration Technology (FIT) , and CG (Code Generation) Modules.

Component Revision Component Type URL
r_bsp 1.90 SIS module Board Support Package Module Using Software Integration System
r_byteq 2.10 FIT module BYTEQ Module Using Firmware Integration Technology
Config_UART 1.9.0 CG module -
Config_PORT 1.7.0 CG module -

Configuration values changed from the default in the SIS and FIT Modules

  • The configuration values of the SIS and FIT modules that have been changed from the default values are listed in the table below.
  • However, each projects is evaluated only with preset values, including configuration values that have not been changed from the default values.
  • If changed, the program may not work properly.

RL78/G23-128p FPB Wi-Fi - DA16600 Projects

Component Config name Default Value Project value Reason for change
r_bsp BSP_CFG_MCU_PART_ROM_SIZE 0x3 0x6 This value is set according to the RL78/G23-128p product.
BSP_CFG_CONFIGURATOR_SELECT 0 1 Because enable initialization of peripheral functions by Code Generator/Smart Configurator.
BSP_CFG_SOFTWARE_DELAY_API_FUNCTIONS_DISABLE 1 0 To reduce using ROM/RAM.
BSP_CFG_HISYSCLK_SOURCE 1 0 Clock setting.
BSP_CFG_HISYSCLK_OPERATION 0 1 Clock setting.
BSP_CFG_MOCO_SOURCE 1 0 Clock setting.
BSP_CFG_ALLOW_FSUB_IN_STOPHALT 1 0 Clock setting.
BSP_CFG_RTC_OUT_CLK_SOURCE 1 0 Clock setting.
BSP_CFG_WAKEUP_MODE 1 0 Clock setting.
BSP_CFG_RTOS_USED 0 1 Because using FreeRTOS.
r_byteq BYTEQ_CFG_PARAM_CHECKING_ENABLE BSP_CFG_PARAM_CHECKING_ENABLE 0 To reduce using ROM/RAM.
BYTEQ_CFG_MAX_CTRL_BLKS 32 8 To reduce using RAM.
r_fwup FWUP_CFG_FUNCTION_MODE 0 1 This project is user program.
FWUP_CFG_MAIN_AREA_ADDR_L 0xFFFC0000U 0x01000U This value is set according to the RL78/G23-128p product.
FWUP_CFG_BUF_AREA_ADDR_L 0xFFF80000U 0x59000U This value is set according to the RL78/G23-128p product.
FWUP_CFG_AREA_SIZE 0x34000U 0x58000U This value is set according to the RL78/G23-128p product.
FWUP_CFG_CF_BLK_SIZE 0x4000U 2048U This value is set according to the RL78/G23-128p product.
FWUP_CFG_DF_ADDR_L 0x00100000 0xF1000U This value is set according to the RL78/G23-128p product.
FWUP_CFG_DF_BLK_SIZE 64U 256U This value is set according to the RL78/G23-128p product.
FWUP_CFG_DF_NUM_BLKS 256U 32U This value is set according to the RL78/G23-128p product.

RL78/G23-128p FPB Bootloader Projects

Component Config name Default Value Project value Reason for change
r_bsp BSP_CFG_MCU_PART_ROM_SIZE 0x3 0x6 This value is set according to the RL78/G23-128p product.
BSP_CFG_CONFIGURATOR_SELECT 0 1 Because enable initialization of peripheral functions by Code Generator/Smart Configurator.
BSP_CFG_HISYSCLK_SOURCE 1 0 Clock setting.
BSP_CFG_HISYSCLK_OPERATION 0 1 Clock setting.
BSP_CFG_MOCO_SOURCE 1 0 Clock setting.
BSP_CFG_ALLOW_FSUB_IN_STOPHALT 1 0 Clock setting.
BSP_CFG_RTC_OUT_CLK_SOURCE 1 0 Clock setting.
BSP_CFG_WAKEUP_MODE 1 0 Clock setting.

Limitation

  • Notes on bootloader to application transition.
    When transitioning from the bootloader sample program to the application, the settings of the bootloader's peripheral functions are taken over by the application.
    For more information, check chapter 7 of the following document.
    RL78/G22, RL78/G23, RL78/G24, RL78/L23 Firmware Update Module

Contribution

See CONTRIBUTING for more information.

License

  • Source code located in the Projects, Common, Middleware/AWS, and Middleware/FreeRTOS directories are available under the terms of the MIT License. See the LICENSE file for more details.
  • Other libraries located in the Middleware directories are available under the terms specified in each source file.
  • Each Renesas SIS, FIT, and other modules located in the Projects/xxx/projects/xxx/src/smc_gen and Projects/xxx/modules are available under the disclaimer written in source or header files.

Support

Visit the following official webpage if having any technical questions.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •