
R5F10NMLDFB
Select Renesas R5F10NMLDFB (renesas-r5f10nmldfb) for the RL78/I1C device. This export is a source integration package for a native RL78 board project. The current generator supplies no verified RL78 startup, linker script, option-byte configuration or complete board build.
1. Prepare the native project
Choose a compiler and board project supporting the exact R5F10NMLDFB device and its memory model. Renesas CC-RL is a vendor compiler for RL78; use its documentation and the board's BSP to establish startup, clocks, interrupts, linker settings and option bytes. Compiler and ABI compatibility of the generated sources must be checked in that native project.
In MeterStudio, select the UART, TX/RX routing and optional RS-485 enable pin. Validate and extract the generated ZIP. The selected pins are recorded in generated/mcu_pin_config.c; the board application applies them to the MCU.
2. Add the generated sources
- Import all C files listed in
generated/sources.txtinto the native RL78 project. Refresh this list after a MeterStudio project update. - Add
dlms/include,generatedandapplicationto the compiler's include paths. - Configure the compiler's forced/pre-included header option for
generated/cosem_objects.hin every participating C compilation unit. This keeps the application and Gurux source feature configuration consistent. - Implement the operations declared in
application/meter_board.h, including the selected UART, monotonic timer, optional RS-485 enable, storage and required password provisioning. - Call
meter_board_start(&ops)during application initialization andmeter_board_poll()regularly from one foreground context. Keep interrupt-driven receive buffering in the board layer. - Build and link with the RL78 compiler, inspect its final RAM/stack/code usage and program the resulting board firmware using that project's device-specific procedure.
The generated build.ps1 deliberately reports the native-integration requirement. It does not invoke an Arm or ESP32 compiler and does not produce an RL78 firmware image. The shared Arm Docker image is for the Arm targets; an RL78 container workflow requires the same appropriate RL78 compiler, BSP and native build project as a local build.
3. Reserve persistent storage
The settings adapter requires two logical 8 KiB banks: 16 KiB in total, supplied by reserved code flash or suitable external nonvolatile memory. This device's 2 KiB dataflash cannot hold that reservation by itself.
Provide durable read/write/erase/sync operations using the board memory's real programming and erase geometry, and keep the settings region outside firmware load sections. Native pointer/integer ABI, code banking, startup, option bytes and power-loss behavior are part of the board integration and require verification with the selected toolchain and hardware.
Return to Build.