Raul Buibas

Raul Buibas
45 Rep. 4 Answers 0 Questions 0 Followers 0 Following

Stats

  • 4 answers, 0 selected
  • 0 questions, 0 solved
  • Member for 7 years, 10 months, 25 days
  • 41035 profile views
  • Last seen September 19, 2017

Reputation

Total 45
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+1
February 21, 2017 Commented Hello, The most elegant solution to your problem would be the use e2studio IDE. Unfortunately e2studio installation is not supported on Linux and older Windows operating systems. If, however, you have access to an e2studio installation directory you can do the following: The .h files you're interested in can be found in the e2studio installation directory at the following location (for RL78): \internal\projectgen\rl78\Generate\iodefine\ We recommend copying the dedicated .h files from Windows to Linux, as a solution to the problem you are experiencing. Note: each .h file corresponds to an appropriate RL78 device. Regarding the "-mcpu" option - there are only three types (G10, G13, G14) of GNURL78 cores, so it is all right to set the processor using one of these three options. Furthermore, when creating a sample project, e2studio will generate an appropriate linker script, which will define the correct memory regions for the device of your choice. Otherwise, you will have to provide your own linker script. Here is an example of memory region mappings from an e2studio generated linker script file for the R5F104JGAFA device type: MEMORY { VEC : ORIGIN = 0x0, LENGTH = 4 IVEC : ORIGIN = 0x4, LENGTH = 188 OPT : ORIGIN = 0xC0, LENGTH = 4 SEC_ID : ORIGIN = 0xC4, LENGTH = 10 OCDSTAD : ORIGIN = 0xCE, LENGTH = 10 OCDROM : ORIGIN = 0x1FE00, LENGTH = 512 ROM : ORIGIN = 0xD8, LENGTH = 130344 MIRROR : ORIGIN = 0xF3000, LENGTH = 36607 RAM : ORIGIN = 0xFBF00, LENGTH = 16383 } We could provide you with a sample iodefine.h file and a linker script, if that would help you get started. Unfortunately, we cannot attach files to our forum replies. If you wish to receive the sample files, please open a ticket at: https://gcc-renesas.com/my-support-requests/ Please keep in mind that you have to login first. Regards, GNU Tools Team
+10
September 22, 2016 Answered rl78 far pointer option

Votes

0 votes received 0/100 0up 0down
1 votes casted 100/100 1up 0down

Top Answers

0 September 22, 2016
0 September 13, 2016
0 September 14, 2016

New questions

No question asked yet!
Support