Blog Archives

How do i get GCC to compile my register structure?

Hi I have installed and tried to compile the following using eclipse and Mingw, and it has no problems doing so. enum ports {  port_0, port_1, Port_2 }; static const struct port_reg_addr_map { uint8_t *pdr; uint8_t *podr; } port_map[]={ [port_0]={reinterpret_cast<uint8_t

How to fix Linker Errors?

Hello everyone, I’m currently working on porting an IO-Link Device Stack of the company iq2 development into the Renesas IO-Link Starter Kit. I’m using e2-Studio (V 5.4.0.015) and the „Renesas GCC for RL78“ Toolchain. After creating a c Project and

Example E2 Studio Project for GCC RX

How are you.   If you have any sample project for GCC RX in E2 Studio, it would facilitate starting coding with such template. Currently If new project is created with the Toolchain selection of “Renesas GCC for RX” in

rx-elf-ld fails with undefined reference to `__errno’

In Renesas e2-Studio with KPIT Toolchain I cannot get rx-elf-gcc to work with errno.h. Consider tho following code: #include <errno.h> int main(void) { errno = 0; while (1) {} return 0; } compiles ok, but gives ‘Invoking: Linker’ ‘Building target:’

GCC for Renesas RX Setup can not auth. code validate thru HTTP proxy — Installation canceled

Hi, Installation of GCC for Renesas RX was canceled but Setup can not validate authentication code. OS Windows 7 64-bit, http proxy parameters checked up in Control panel. What’s wrong? Thanks, Vlad.

Documentation for libraries used with RL78

There is a g14 folder with various libraries for inclusion in linking.  Where can I find information on these. The link process is still looking for __umulsi3_highpart etc.

include files for SFR definitions

Hello, I’m new to the rl78-elf-gcc toolchain so maybe what I’m asking can be obvious for everyone else but I’m lost. I wanted to program something on a device with a R5F104JGAFA processor. I downloaded and compiled the rl78-elf-gcc toolchain

GNUARM-NONEv16.01-EABI link warning for wchar_t with use of fabsl and modfl maths library functions

Hi,     What setting do I have wrong to cause the following link warning:   arm-none-eabi-ld: warning: C:\PROGRA~2\KPIT\GNUARM~2.01-\ARM-NO~1\ARM-NO~1/lib/gcc/arm-none-eabi/5.2-GNUARM-NONE_v16.01/armv7-ar/thumb/fpu\libgcc.a(_fixunsdfdi.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail   when

(GNUARM-NONE) How to prepare heap memory

Let me verify if the following code does everything before calling a malloc() of stdlib (optlib). ————- #include <stdlib.h> /* initialization, allocation of heap memory in .bss */ #define HEAP_SIZE 2000 static char heap_storage[HEAP_SIZE]; extern char *_heap_of_memory; extern char *_last_heap_object; extern

(GNUARM-NONE) How to allocate heap memory

Does the following code everything before calling a malloc() of stdlib (optlib)? ————- #include /* initialization, allocation of heap memory in .bss */ #define HEAP_SIZE 2000 static char heap_storage[HEAP_SIZE]; extern char *_heap_of_memory; extern char *_last_heap_object; extern char *_top_of_heap; void init_heap(

Support