Blog Archives

HEW GNURX14.01 stdint.h 使う方法

HEW GNURX14.01 において stdint.h を使う方法 #include <stdint.h> を追加 void main(void) { int8_t  b = 0; } これでコンパイルすると結果は、20: fatal error: stdint.h: No such file or directory コンパイル出来ませんでした。 stdint.h を 使う方法を教えてください。

Project linker error R5F10268 in CC-RL

When I try to build a project using CC-RL compiler with the specific device it always gives this error the error message as shown below. But when i change the device to R5F1026A or to anyother device. It compiles properly

UART not working.

I am new to Renesas and infact this is my first time hands-on. I really liked the Peripheral pin code generator. But I need help with respect to UART. I tested in simulator it was not working in that and

IO port bit access problem

Compiler does not use “bset/bclr” to access BIT.B7 . It causes read-modify-write problem. Compiler version: rx-elf-gcc.exe (GCC_Build_20170913) 4.8.4.201703-GNURX 1                                     .file    “test.cpp” 2                                     .section P,”ax” 3                                 .Ltext0: 4                                     .global    __Z4testv 6                                 __Z4testv: 7                           

Issue of Float and Double Precision variable in R5F521A6BDFP in RX21A Series on E2Studio V5.4.0.023 using Tool Chain KPIT GNURX-ELF ToolChain v 14.03

Dear All, We are using R5F521A6BDFP in RX21A Series on E2Studio V5.4.0.023 using Tool Chain KPIT GNURX-ELF ToolChain v 14.03,   Initially we have used codes with variable Double assuming it will be 8 Byte with Double Precision, But Some how

Stack initialization assembly code

The Renesas CC-RL compiler provides some stack initialization code in the startup assembly. Is there such code available for the GCC compiler? I need to initialize the stack as I need it in my hardware init code before reaching main().

Optimeze issue about fpeephole2

Hello, I found a issue when compiling this code with GCC for Renesas v4.8.4.201701-GNURX . extern void f(int a, int b, int *p); typedef struct { int* p; } R; extern R* r; void test(void) { f(1, 1, r->p); }

build GCC fails on Debian x64 platform.

My platform is Debian x64, the posted tools are for x86 hense I follow the procedure to build myself the toolchain for x64. Everything goes well and I can complete build gdb and binutils, when building gcc the “make all-gcc”

alter E1 connection speed for debugging

I have an E1 connected to the end product board and in some cases I cannot debug but can program. I have narrowed this down to connection speed needing to be lower to successfully work on some units. How can

GCC for Renesas RL78: how to fix ‘undefined reference to memcpy’

i have the following build errors: ‘undefined reference to memcpy’, ‘undefined reference to malloc; and ‘undefined reference to free’. How do I resolve these?

Support