Raul Buibas

Raul Buibas
45 ポイント. 4 回答 0 質問 0 フォロワー 0 フォロー

統計

  • 4 answers, 0 selected
  • 0 questions, 0 solved
  • 7 年, 9 ヶ月, 27 日 のメンバー
  • 40624 プロフィール閲覧
  • Last seen 9月 19, 2017

ポイント

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
2月 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
9月 22, 2016 Answered rl78 far pointer option

投票数

0 投票獲得 0/100 0up 0down
1 票獲得 100/100 1up 0down

Top 回答

新しい質問

まだ質問がありません
サポート