Studentenversion des ESY6/A Praktikums "signal_processing".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

summary.html 71KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140
  1. <html xmlns:gen="http://www.altera.com/embeddedsw/bsp/schema">
  2. <title>Altera Nios II BSP Summary</title>
  3. <body>
  4. <h3>BSP Description</h3>
  5. <table border="1" bgcolor="#FFFFCC" width="90%">
  6. <tr mode="wrap">
  7. <td width="20%" bgcolor="#77BBFF">BSP Type:</td><td>hal</td>
  8. </tr>
  9. <tr mode="wrap">
  10. <td width="20%" bgcolor="#77BBFF">SOPC Design File:</td><td>../../niosII.sopcinfo</td>
  11. </tr>
  12. <tr mode="wrap">
  13. <td width="20%" bgcolor="#77BBFF">Quartus JDI File:</td><td>default</td>
  14. </tr>
  15. <tr mode="wrap">
  16. <td width="20%" bgcolor="#77BBFF">CPU:</td><td>core</td>
  17. </tr>
  18. <tr mode="wrap">
  19. <td width="20%" bgcolor="#77BBFF">BSP Settings File:</td><td>software/signal_processing_bsp/settings.bsp</td>
  20. </tr>
  21. <tr mode="wrap">
  22. <td width="20%" bgcolor="#77BBFF">BSP Version:</td><td>default</td>
  23. </tr>
  24. <tr mode="wrap">
  25. <td width="20%" bgcolor="#77BBFF">BSP Generated On:</td><td>13.11.2024 08:29:52</td>
  26. </tr>
  27. <tr mode="wrap">
  28. <td width="20%" bgcolor="#77BBFF">BSP Generated Timestamp:</td><td>1731482992257</td>
  29. </tr>
  30. <tr mode="wrap">
  31. <td width="20%" bgcolor="#77BBFF">BSP Generated Location:</td><td>./</td>
  32. </tr>
  33. </table>
  34. <br>
  35. <h3>Nios II Memory Map</h3>
  36. <table border="1" bgcolor="#FFFFCC" width="90%">
  37. <tr bgcolor="#77BBFF" mode="wrap">
  38. <th align="left" width="20%">Slave Descriptor</th><th align="left" width="40%">Address Range</th><th align="left" width="20%">Size</th><th align="left" width="20%">Attributes</th>
  39. </tr>
  40. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  41. <td>jtag_uart</td><td>0x000613E8 - 0x000613EF</td><td>8</td><td class="listing">printable</td>
  42. </tr>
  43. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  44. <td>sysid</td><td>0x000613E0 - 0x000613E7</td><td>8</td><td class="listing">&nbsp;</td>
  45. </tr>
  46. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  47. <td>key_start</td><td>0x000613D0 - 0x000613DF</td><td>16</td><td class="listing">&nbsp;</td>
  48. </tr>
  49. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  50. <td>leds</td><td>0x000613C0 - 0x000613CF</td><td>16</td><td class="listing">&nbsp;</td>
  51. </tr>
  52. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  53. <td>hardware_timestamp</td><td>0x00061380 - 0x000613BF</td><td>64</td><td class="listing">&nbsp;</td>
  54. </tr>
  55. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  56. <td>hardware_task_1</td><td>0x00061340 - 0x0006137F</td><td>64</td><td class="listing">&nbsp;</td>
  57. </tr>
  58. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  59. <td>hardware_task_2</td><td>0x00061300 - 0x0006133F</td><td>64</td><td class="listing">&nbsp;</td>
  60. </tr>
  61. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  62. <td>hardware_task_3</td><td>0x000612C0 - 0x000612FF</td><td>64</td><td class="listing">&nbsp;</td>
  63. </tr>
  64. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  65. <td>hardware_task_4</td><td>0x00061280 - 0x000612BF</td><td>64</td><td class="listing">&nbsp;</td>
  66. </tr>
  67. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  68. <td>hardware_task_5</td><td>0x00061240 - 0x0006127F</td><td>64</td><td class="listing">&nbsp;</td>
  69. </tr>
  70. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  71. <td>hardware_task_6</td><td>0x00061200 - 0x0006123F</td><td>64</td><td class="listing">&nbsp;</td>
  72. </tr>
  73. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  74. <td>data_channel_0</td><td>0x000611C0 - 0x000611FF</td><td>64</td><td class="listing">&nbsp;</td>
  75. </tr>
  76. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  77. <td>data_channel_1</td><td>0x00061180 - 0x000611BF</td><td>64</td><td class="listing">&nbsp;</td>
  78. </tr>
  79. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  80. <td>data_channel_2</td><td>0x00061140 - 0x0006117F</td><td>64</td><td class="listing">&nbsp;</td>
  81. </tr>
  82. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  83. <td>data_channel_3</td><td>0x00061100 - 0x0006113F</td><td>64</td><td class="listing">&nbsp;</td>
  84. </tr>
  85. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  86. <td>data_channel_4</td><td>0x000610C0 - 0x000610FF</td><td>64</td><td class="listing">&nbsp;</td>
  87. </tr>
  88. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  89. <td>data_channel_5</td><td>0x00061080 - 0x000610BF</td><td>64</td><td class="listing">&nbsp;</td>
  90. </tr>
  91. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  92. <td>data_channel_6</td><td>0x00061040 - 0x0006107F</td><td>64</td><td class="listing">&nbsp;</td>
  93. </tr>
  94. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  95. <td>hardware_task_0</td><td>0x00061000 - 0x0006103F</td><td>64</td><td class="listing">&nbsp;</td>
  96. </tr>
  97. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  98. <td>rom</td><td>0x00040000 - 0x0005FFFF</td><td>131072</td><td class="listing">memory, non-volatile</td>
  99. </tr>
  100. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  101. <td>ram</td><td>0x00020000 - 0x0003FFFF</td><td>131072</td><td class="listing">memory</td>
  102. </tr>
  103. </table>
  104. <br>
  105. <br>
  106. <h3>Linker Regions</h3>
  107. <table border="1" bgcolor="#FFFFCC" width="90%">
  108. <tr bgcolor="#77BBFF" mode="wrap">
  109. <th align="left" width="15%">Region</th><th align="left" width="40%">Address Range</th><th align="left" width="15%">Size</th><th align="left" width="15%">Memory</th><th align="left" width="15%">Offset</th>
  110. </tr>
  111. </table>
  112. <br>
  113. <br>
  114. <h3>Linker Section Mappings</h3>
  115. <table border="1" bgcolor="#FFFFCC" width="50%">
  116. <tr bgcolor="#77BBFF" mode="wrap">
  117. <th align="left" width="50%">Section</th><th align="left" width="50%">Region</th>
  118. </tr>
  119. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  120. <td>.text</td><td>rom</td>
  121. </tr>
  122. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  123. <td>.rodata</td><td>ram</td>
  124. </tr>
  125. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  126. <td>.rwdata</td><td>ram</td>
  127. </tr>
  128. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  129. <td>.bss</td><td>ram</td>
  130. </tr>
  131. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  132. <td>.heap</td><td>ram</td>
  133. </tr>
  134. <tr mode="wrap" STYLE="display: 'block'; font-family: 'courier'; color: '#000000'; font-weight: '500'; font-size: '14'; margin-top: '10pt'; text-align: 'left'">
  135. <td>.stack</td><td>ram</td>
  136. </tr>
  137. </table>
  138. <h3>Settings</h3>
  139. <table border="1" bgcolor="#FFFFCC" width="60%">
  140. <tr bgcolor="#77BBFF">
  141. <td align="left" width="15%">Setting Name:</td><td align="left">altera_avalon_jtag_uart_driver.enable_jtag_uart_ignore_fifo_full_error</td>
  142. </tr>
  143. <tr>
  144. <td width="20%">Identifier:</td><td>ALTERA_AVALON_JTAG_UART_IGNORE_FIFO_FULL_ERROR</td>
  145. </tr>
  146. <tr>
  147. <td width="20%">Default Value:</td><td>false</td>
  148. </tr>
  149. <tr>
  150. <td width="20%">Value:</td><td>false</td>
  151. </tr>
  152. <tr>
  153. <td width="20%">Type:</td><td>BooleanDefineOnly</td>
  154. </tr>
  155. <tr mode="wrap">
  156. <td width="20%">Destination:</td><td>public_mk_define</td>
  157. </tr>
  158. <tr mode="wrap">
  159. <td width="20%">Description:</td><td>Enable JTAG UART driver to recover when host is inactive causing buffer to full without returning error. Printf will not fail with this recovery.</td>
  160. </tr>
  161. <tr mode="wrap">
  162. <td width="20%">Restrictions:</td><td>none</td>
  163. </tr>
  164. </table>
  165. <br>
  166. <table border="1" bgcolor="#FFFFCC" width="60%">
  167. <tr bgcolor="#77BBFF">
  168. <td align="left" width="15%">Setting Name:</td><td align="left">altera_avalon_jtag_uart_driver.enable_small_driver</td>
  169. </tr>
  170. <tr>
  171. <td width="20%">Identifier:</td><td>ALTERA_AVALON_JTAG_UART_SMALL</td>
  172. </tr>
  173. <tr>
  174. <td width="20%">Default Value:</td><td>false</td>
  175. </tr>
  176. <tr>
  177. <td width="20%">Value:</td><td>false</td>
  178. </tr>
  179. <tr>
  180. <td width="20%">Type:</td><td>BooleanDefineOnly</td>
  181. </tr>
  182. <tr mode="wrap">
  183. <td width="20%">Destination:</td><td>public_mk_define</td>
  184. </tr>
  185. <tr mode="wrap">
  186. <td width="20%">Description:</td><td>Small-footprint (polled mode) driver</td>
  187. </tr>
  188. <tr mode="wrap">
  189. <td width="20%">Restrictions:</td><td>none</td>
  190. </tr>
  191. </table>
  192. <br>
  193. <table border="1" bgcolor="#FFFFCC" width="60%">
  194. <tr bgcolor="#77BBFF">
  195. <td align="left" width="15%">Setting Name:</td><td align="left">hal.custom_newlib_flags</td>
  196. </tr>
  197. <tr>
  198. <td width="20%">Identifier:</td><td>CUSTOM_NEWLIB_FLAGS</td>
  199. </tr>
  200. <tr>
  201. <td width="20%">Default Value:</td><td>none</td>
  202. </tr>
  203. <tr>
  204. <td width="20%">Value:</td><td>none</td>
  205. </tr>
  206. <tr>
  207. <td width="20%">Type:</td><td>UnquotedString</td>
  208. </tr>
  209. <tr mode="wrap">
  210. <td width="20%">Destination:</td><td>public_mk_define</td>
  211. </tr>
  212. <tr mode="wrap">
  213. <td width="20%">Description:</td><td>Build a custom version of newlib with the specified space-separated compiler flags.</td>
  214. </tr>
  215. <tr mode="wrap">
  216. <td width="20%">Restrictions:</td><td>The custom newlib build will be placed in the &lt;bsp root&gt;/newlib directory, and will be used only for applications that utilize this BSP.</td>
  217. </tr>
  218. </table>
  219. <br>
  220. <table border="1" bgcolor="#FFFFCC" width="60%">
  221. <tr bgcolor="#77BBFF">
  222. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_c_plus_plus</td>
  223. </tr>
  224. <tr>
  225. <td width="20%">Identifier:</td><td>ALT_NO_C_PLUS_PLUS</td>
  226. </tr>
  227. <tr>
  228. <td width="20%">Default Value:</td><td>1</td>
  229. </tr>
  230. <tr>
  231. <td width="20%">Value:</td><td>1</td>
  232. </tr>
  233. <tr>
  234. <td width="20%">Type:</td><td>Boolean</td>
  235. </tr>
  236. <tr mode="wrap">
  237. <td width="20%">Destination:</td><td>public_mk_define</td>
  238. </tr>
  239. <tr mode="wrap">
  240. <td width="20%">Description:</td><td>Enable support for a subset of the C++ language. This option increases code footprint by adding support for C++ constructors. Certain features, such as multiple inheritance and exceptions are not supported. If false, adds -DALT_NO_C_PLUS_PLUS to ALT_CPPFLAGS in public.mk, and reduces code footprint.</td>
  241. </tr>
  242. <tr mode="wrap">
  243. <td width="20%">Restrictions:</td><td>none</td>
  244. </tr>
  245. </table>
  246. <br>
  247. <table border="1" bgcolor="#FFFFCC" width="60%">
  248. <tr bgcolor="#77BBFF">
  249. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_clean_exit</td>
  250. </tr>
  251. <tr>
  252. <td width="20%">Identifier:</td><td>ALT_NO_CLEAN_EXIT</td>
  253. </tr>
  254. <tr>
  255. <td width="20%">Default Value:</td><td>1</td>
  256. </tr>
  257. <tr>
  258. <td width="20%">Value:</td><td>1</td>
  259. </tr>
  260. <tr>
  261. <td width="20%">Type:</td><td>Boolean</td>
  262. </tr>
  263. <tr mode="wrap">
  264. <td width="20%">Destination:</td><td>public_mk_define</td>
  265. </tr>
  266. <tr mode="wrap">
  267. <td width="20%">Description:</td><td>When your application exits, close file descriptors, call C++ destructors, etc. Code footprint can be reduced by disabling clean exit. If disabled, adds -DALT_NO_CLEAN_EXIT to ALT_CPPFLAGS -D'exit(a)=_exit(a)' in public.mk.</td>
  268. </tr>
  269. <tr mode="wrap">
  270. <td width="20%">Restrictions:</td><td>none</td>
  271. </tr>
  272. </table>
  273. <br>
  274. <table border="1" bgcolor="#FFFFCC" width="60%">
  275. <tr bgcolor="#77BBFF">
  276. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_exit</td>
  277. </tr>
  278. <tr>
  279. <td width="20%">Identifier:</td><td>ALT_NO_EXIT</td>
  280. </tr>
  281. <tr>
  282. <td width="20%">Default Value:</td><td>1</td>
  283. </tr>
  284. <tr>
  285. <td width="20%">Value:</td><td>1</td>
  286. </tr>
  287. <tr>
  288. <td width="20%">Type:</td><td>Boolean</td>
  289. </tr>
  290. <tr mode="wrap">
  291. <td width="20%">Destination:</td><td>public_mk_define</td>
  292. </tr>
  293. <tr mode="wrap">
  294. <td width="20%">Description:</td><td>Add exit() support. This option increases code footprint if your "main()" routine does "return" or call "exit()". If false, adds -DALT_NO_EXIT to ALT_CPPFLAGS in public.mk, and reduces footprint</td>
  295. </tr>
  296. <tr mode="wrap">
  297. <td width="20%">Restrictions:</td><td>none</td>
  298. </tr>
  299. </table>
  300. <br>
  301. <table border="1" bgcolor="#FFFFCC" width="60%">
  302. <tr bgcolor="#77BBFF">
  303. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_gprof</td>
  304. </tr>
  305. <tr>
  306. <td width="20%">Identifier:</td><td>ALT_PROVIDE_GMON</td>
  307. </tr>
  308. <tr>
  309. <td width="20%">Default Value:</td><td>0</td>
  310. </tr>
  311. <tr>
  312. <td width="20%">Value:</td><td>0</td>
  313. </tr>
  314. <tr>
  315. <td width="20%">Type:</td><td>Boolean</td>
  316. </tr>
  317. <tr mode="wrap">
  318. <td width="20%">Destination:</td><td>public_mk_define</td>
  319. </tr>
  320. <tr mode="wrap">
  321. <td width="20%">Description:</td><td>Causes code to be compiled with gprof profiling enabled and the application ELF to be linked with the GPROF library. If true, adds -DALT_PROVIDE_GMON to ALT_CPPFLAGS and -pg to ALT_CFLAGS in public.mk.</td>
  322. </tr>
  323. <tr mode="wrap">
  324. <td width="20%">Restrictions:</td><td>none</td>
  325. </tr>
  326. </table>
  327. <br>
  328. <table border="1" bgcolor="#FFFFCC" width="60%">
  329. <tr bgcolor="#77BBFF">
  330. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_instruction_related_exceptions_api</td>
  331. </tr>
  332. <tr>
  333. <td width="20%">Identifier:</td><td>ALT_INCLUDE_INSTRUCTION_RELATED_EXCEPTION_API</td>
  334. </tr>
  335. <tr>
  336. <td width="20%">Default Value:</td><td>false</td>
  337. </tr>
  338. <tr>
  339. <td width="20%">Value:</td><td>true</td>
  340. </tr>
  341. <tr>
  342. <td width="20%">Type:</td><td>BooleanDefineOnly</td>
  343. </tr>
  344. <tr mode="wrap">
  345. <td width="20%">Destination:</td><td>system_h_define</td>
  346. </tr>
  347. <tr mode="wrap">
  348. <td width="20%">Description:</td><td>Enables API for registering handlers to service instruction-related exceptions. Enabling this setting increases the size of the exception entry code.</td>
  349. </tr>
  350. <tr mode="wrap">
  351. <td width="20%">Restrictions:</td><td>These exception types can be generated if various processor options are enabled, such as the MMU, MPU, or other advanced exception types.</td>
  352. </tr>
  353. </table>
  354. <br>
  355. <table border="1" bgcolor="#FFFFCC" width="60%">
  356. <tr bgcolor="#77BBFF">
  357. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_lightweight_device_driver_api</td>
  358. </tr>
  359. <tr>
  360. <td width="20%">Identifier:</td><td>ALT_USE_DIRECT_DRIVERS</td>
  361. </tr>
  362. <tr>
  363. <td width="20%">Default Value:</td><td>0</td>
  364. </tr>
  365. <tr>
  366. <td width="20%">Value:</td><td>0</td>
  367. </tr>
  368. <tr>
  369. <td width="20%">Type:</td><td>Boolean</td>
  370. </tr>
  371. <tr mode="wrap">
  372. <td width="20%">Destination:</td><td>public_mk_define</td>
  373. </tr>
  374. <tr mode="wrap">
  375. <td width="20%">Description:</td><td>Enables lightweight device driver API. This reduces code and data footprint by removing the HAL layer that maps device names (e.g. /dev/uart0) to file descriptors. Instead, driver routines are called directly. The open(), close(), and lseek() routines will always fail if called. The read(), write(), fstat(), ioctl(), and isatty() routines only work for the stdio devices. If true, adds -DALT_USE_DIRECT_DRIVERS to ALT_CPPFLAGS in public.mk.</td>
  376. </tr>
  377. <tr mode="wrap">
  378. <td width="20%">Restrictions:</td><td>The Altera Host and read-only ZIP file systems can't be used if hal.enable_lightweight_device_driver_api is true.</td>
  379. </tr>
  380. </table>
  381. <br>
  382. <table border="1" bgcolor="#FFFFCC" width="60%">
  383. <tr bgcolor="#77BBFF">
  384. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_mul_div_emulation</td>
  385. </tr>
  386. <tr>
  387. <td width="20%">Identifier:</td><td>ALT_NO_INSTRUCTION_EMULATION</td>
  388. </tr>
  389. <tr>
  390. <td width="20%">Default Value:</td><td>0</td>
  391. </tr>
  392. <tr>
  393. <td width="20%">Value:</td><td>0</td>
  394. </tr>
  395. <tr>
  396. <td width="20%">Type:</td><td>Boolean</td>
  397. </tr>
  398. <tr mode="wrap">
  399. <td width="20%">Destination:</td><td>public_mk_define</td>
  400. </tr>
  401. <tr mode="wrap">
  402. <td width="20%">Description:</td><td>Adds code to emulate multiply and divide instructions in case they are executed but aren't present in the CPU. Normally this isn't required because the compiler won't use multiply and divide instructions that aren't present in the CPU. If false, adds -DALT_NO_INSTRUCTION_EMULATION to ALT_CPPFLAGS in public.mk.</td>
  403. </tr>
  404. <tr mode="wrap">
  405. <td width="20%">Restrictions:</td><td>none</td>
  406. </tr>
  407. </table>
  408. <br>
  409. <table border="1" bgcolor="#FFFFCC" width="60%">
  410. <tr bgcolor="#77BBFF">
  411. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_reduced_device_drivers</td>
  412. </tr>
  413. <tr>
  414. <td width="20%">Identifier:</td><td>ALT_USE_SMALL_DRIVERS</td>
  415. </tr>
  416. <tr>
  417. <td width="20%">Default Value:</td><td>0</td>
  418. </tr>
  419. <tr>
  420. <td width="20%">Value:</td><td>0</td>
  421. </tr>
  422. <tr>
  423. <td width="20%">Type:</td><td>Boolean</td>
  424. </tr>
  425. <tr mode="wrap">
  426. <td width="20%">Destination:</td><td>public_mk_define</td>
  427. </tr>
  428. <tr mode="wrap">
  429. <td width="20%">Description:</td><td>Certain drivers are compiled with reduced functionality to reduce code footprint. Not all drivers observe this setting. The altera_avalon_uart and altera_avalon_jtag_uart drivers switch from interrupt-driven to polled operation. CAUTION: Several device drivers are disabled entirely. These include the altera_avalon_cfi_flash, altera_avalon_epcs_flash_controller, and altera_avalon_lcd_16207 drivers. This can result in certain API (HAL flash access routines) to fail. You can define a symbol provided by each driver to prevent it from being removed. If true, adds -DALT_USE_SMALL_DRIVERS to ALT_CPPFLAGS in public.mk.</td>
  430. </tr>
  431. <tr mode="wrap">
  432. <td width="20%">Restrictions:</td><td>none</td>
  433. </tr>
  434. </table>
  435. <br>
  436. <table border="1" bgcolor="#FFFFCC" width="60%">
  437. <tr bgcolor="#77BBFF">
  438. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_runtime_stack_checking</td>
  439. </tr>
  440. <tr>
  441. <td width="20%">Identifier:</td><td>ALT_STACK_CHECK</td>
  442. </tr>
  443. <tr>
  444. <td width="20%">Default Value:</td><td>0</td>
  445. </tr>
  446. <tr>
  447. <td width="20%">Value:</td><td>0</td>
  448. </tr>
  449. <tr>
  450. <td width="20%">Type:</td><td>Boolean</td>
  451. </tr>
  452. <tr mode="wrap">
  453. <td width="20%">Destination:</td><td>public_mk_define</td>
  454. </tr>
  455. <tr mode="wrap">
  456. <td width="20%">Description:</td><td>Turns on HAL runtime stack checking feature. Enabling this setting causes additional code to be placed into each subroutine call to generate an exception if a stack collision occurs with the heap or statically allocated data. If true, adds -DALT_STACK_CHECK and -fstack-limit-register=et to ALT_CPPFLAGS in public.mk.</td>
  457. </tr>
  458. <tr mode="wrap">
  459. <td width="20%">Restrictions:</td><td>none</td>
  460. </tr>
  461. </table>
  462. <br>
  463. <table border="1" bgcolor="#FFFFCC" width="60%">
  464. <tr bgcolor="#77BBFF">
  465. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_sim_optimize</td>
  466. </tr>
  467. <tr>
  468. <td width="20%">Identifier:</td><td>ALT_SIM_OPTIMIZE</td>
  469. </tr>
  470. <tr>
  471. <td width="20%">Default Value:</td><td>0</td>
  472. </tr>
  473. <tr>
  474. <td width="20%">Value:</td><td>0</td>
  475. </tr>
  476. <tr>
  477. <td width="20%">Type:</td><td>Boolean</td>
  478. </tr>
  479. <tr mode="wrap">
  480. <td width="20%">Destination:</td><td>public_mk_define</td>
  481. </tr>
  482. <tr mode="wrap">
  483. <td width="20%">Description:</td><td>The BSP is compiled with optimizations to speedup HDL simulation such as initializing the cache, clearing the .bss section, and skipping long delay loops. If true, adds -DALT_SIM_OPTIMIZE to ALT_CPPFLAGS in public.mk.</td>
  484. </tr>
  485. <tr mode="wrap">
  486. <td width="20%">Restrictions:</td><td>When this setting is true, the BSP shouldn't be used to build applications that are expected to run real hardware.</td>
  487. </tr>
  488. </table>
  489. <br>
  490. <table border="1" bgcolor="#FFFFCC" width="60%">
  491. <tr bgcolor="#77BBFF">
  492. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_small_c_library</td>
  493. </tr>
  494. <tr>
  495. <td width="20%">Identifier:</td><td>none</td>
  496. </tr>
  497. <tr>
  498. <td width="20%">Default Value:</td><td>0</td>
  499. </tr>
  500. <tr>
  501. <td width="20%">Value:</td><td>0</td>
  502. </tr>
  503. <tr>
  504. <td width="20%">Type:</td><td>Boolean</td>
  505. </tr>
  506. <tr mode="wrap">
  507. <td width="20%">Destination:</td><td>public_mk_define</td>
  508. </tr>
  509. <tr mode="wrap">
  510. <td width="20%">Description:</td><td>Causes the small newlib (C library) to be used. This reduces code and data footprint at the expense of reduced functionality. Several newlib features are removed such as floating-point support in printf(), stdin input routines, and buffered I/O. The small C library is not compatible with Micrium MicroC/OS-II. If true, adds -msmallc to ALT_LDFLAGS in public.mk.</td>
  511. </tr>
  512. <tr mode="wrap">
  513. <td width="20%">Restrictions:</td><td>none</td>
  514. </tr>
  515. </table>
  516. <br>
  517. <table border="1" bgcolor="#FFFFCC" width="60%">
  518. <tr bgcolor="#77BBFF">
  519. <td align="left" width="15%">Setting Name:</td><td align="left">hal.enable_sopc_sysid_check</td>
  520. </tr>
  521. <tr>
  522. <td width="20%">Identifier:</td><td>none</td>
  523. </tr>
  524. <tr>
  525. <td width="20%">Default Value:</td><td>1</td>
  526. </tr>
  527. <tr>
  528. <td width="20%">Value:</td><td>1</td>
  529. </tr>
  530. <tr>
  531. <td width="20%">Type:</td><td>Boolean</td>
  532. </tr>
  533. <tr mode="wrap">
  534. <td width="20%">Destination:</td><td>public_mk_define</td>
  535. </tr>
  536. <tr mode="wrap">
  537. <td width="20%">Description:</td><td>Enable SOPC Builder System ID. If a System ID SOPC Builder component is connected to the CPU associated with this BSP, it will be enabled in the creation of command-line arguments to download an ELF to the target. Otherwise, system ID and timestamp values are left out of public.mk for application Makefile "download-elf" target definition. With the system ID check disabled, the Nios II EDS tools will not automatically ensure that the application .elf file (and BSP it is linked against) corresponds to the hardware design on the target. If false, adds --accept-bad-sysid to SOPC_SYSID_FLAG in public.mk.</td>
  538. </tr>
  539. <tr mode="wrap">
  540. <td width="20%">Restrictions:</td><td>none</td>
  541. </tr>
  542. </table>
  543. <br>
  544. <table border="1" bgcolor="#FFFFCC" width="60%">
  545. <tr bgcolor="#77BBFF">
  546. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.allow_code_at_reset</td>
  547. </tr>
  548. <tr>
  549. <td width="20%">Identifier:</td><td>ALT_ALLOW_CODE_AT_RESET</td>
  550. </tr>
  551. <tr>
  552. <td width="20%">Default Value:</td><td>0</td>
  553. </tr>
  554. <tr>
  555. <td width="20%">Value:</td><td>1</td>
  556. </tr>
  557. <tr>
  558. <td width="20%">Type:</td><td>Boolean</td>
  559. </tr>
  560. <tr mode="wrap">
  561. <td width="20%">Destination:</td><td>none</td>
  562. </tr>
  563. <tr mode="wrap">
  564. <td width="20%">Description:</td><td>Indicates if initialization code is allowed at the reset address. If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h.</td>
  565. </tr>
  566. <tr mode="wrap">
  567. <td width="20%">Restrictions:</td><td>If true, defines the macro ALT_ALLOW_CODE_AT_RESET in linker.h. This setting is typically false if an external bootloader (e.g. flash bootloader) is present.</td>
  568. </tr>
  569. </table>
  570. <br>
  571. <table border="1" bgcolor="#FFFFCC" width="60%">
  572. <tr bgcolor="#77BBFF">
  573. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load</td>
  574. </tr>
  575. <tr>
  576. <td width="20%">Identifier:</td><td>none</td>
  577. </tr>
  578. <tr>
  579. <td width="20%">Default Value:</td><td>0</td>
  580. </tr>
  581. <tr>
  582. <td width="20%">Value:</td><td>1</td>
  583. </tr>
  584. <tr>
  585. <td width="20%">Type:</td><td>Boolean</td>
  586. </tr>
  587. <tr mode="wrap">
  588. <td width="20%">Destination:</td><td>none</td>
  589. </tr>
  590. <tr mode="wrap">
  591. <td width="20%">Description:</td><td>Enables the alt_load() facility. The alt_load() facility copies data sections (.rodata, .rwdata, or .exceptions) from boot memory to RAM. If true, this setting sets up the VMA/LMA of sections in linker.x to allow them to be loaded into the .text memory.</td>
  592. </tr>
  593. <tr mode="wrap">
  594. <td width="20%">Restrictions:</td><td>This setting is typically false if an external bootloader (e.g. flash bootloader) is present.</td>
  595. </tr>
  596. </table>
  597. <br>
  598. <table border="1" bgcolor="#FFFFCC" width="60%">
  599. <tr bgcolor="#77BBFF">
  600. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_exceptions</td>
  601. </tr>
  602. <tr>
  603. <td width="20%">Identifier:</td><td>none</td>
  604. </tr>
  605. <tr>
  606. <td width="20%">Default Value:</td><td>0</td>
  607. </tr>
  608. <tr>
  609. <td width="20%">Value:</td><td>0</td>
  610. </tr>
  611. <tr>
  612. <td width="20%">Type:</td><td>Boolean</td>
  613. </tr>
  614. <tr mode="wrap">
  615. <td width="20%">Destination:</td><td>none</td>
  616. </tr>
  617. <tr mode="wrap">
  618. <td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .exceptions section. If true, this setting defines the macro ALT_LOAD_COPY_EXCEPTIONS in linker.h.</td>
  619. </tr>
  620. <tr mode="wrap">
  621. <td width="20%">Restrictions:</td><td>none</td>
  622. </tr>
  623. </table>
  624. <br>
  625. <table border="1" bgcolor="#FFFFCC" width="60%">
  626. <tr bgcolor="#77BBFF">
  627. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_rodata</td>
  628. </tr>
  629. <tr>
  630. <td width="20%">Identifier:</td><td>none</td>
  631. </tr>
  632. <tr>
  633. <td width="20%">Default Value:</td><td>0</td>
  634. </tr>
  635. <tr>
  636. <td width="20%">Value:</td><td>1</td>
  637. </tr>
  638. <tr>
  639. <td width="20%">Type:</td><td>Boolean</td>
  640. </tr>
  641. <tr mode="wrap">
  642. <td width="20%">Destination:</td><td>none</td>
  643. </tr>
  644. <tr mode="wrap">
  645. <td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .rodata section. If true, this setting defines the macro ALT_LOAD_COPY_RODATA in linker.h.</td>
  646. </tr>
  647. <tr mode="wrap">
  648. <td width="20%">Restrictions:</td><td>none</td>
  649. </tr>
  650. </table>
  651. <br>
  652. <table border="1" bgcolor="#FFFFCC" width="60%">
  653. <tr bgcolor="#77BBFF">
  654. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_alt_load_copy_rwdata</td>
  655. </tr>
  656. <tr>
  657. <td width="20%">Identifier:</td><td>none</td>
  658. </tr>
  659. <tr>
  660. <td width="20%">Default Value:</td><td>0</td>
  661. </tr>
  662. <tr>
  663. <td width="20%">Value:</td><td>1</td>
  664. </tr>
  665. <tr>
  666. <td width="20%">Type:</td><td>Boolean</td>
  667. </tr>
  668. <tr mode="wrap">
  669. <td width="20%">Destination:</td><td>none</td>
  670. </tr>
  671. <tr mode="wrap">
  672. <td width="20%">Description:</td><td>Causes the alt_load() facility to copy the .rwdata section. If true, this setting defines the macro ALT_LOAD_COPY_RWDATA in linker.h.</td>
  673. </tr>
  674. <tr mode="wrap">
  675. <td width="20%">Restrictions:</td><td>none</td>
  676. </tr>
  677. </table>
  678. <br>
  679. <table border="1" bgcolor="#FFFFCC" width="60%">
  680. <tr bgcolor="#77BBFF">
  681. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_exception_stack</td>
  682. </tr>
  683. <tr>
  684. <td width="20%">Identifier:</td><td>none</td>
  685. </tr>
  686. <tr>
  687. <td width="20%">Default Value:</td><td>0</td>
  688. </tr>
  689. <tr>
  690. <td width="20%">Value:</td><td>0</td>
  691. </tr>
  692. <tr>
  693. <td width="20%">Type:</td><td>Boolean</td>
  694. </tr>
  695. <tr mode="wrap">
  696. <td width="20%">Destination:</td><td>none</td>
  697. </tr>
  698. <tr mode="wrap">
  699. <td width="20%">Description:</td><td>Enables use of a separate exception stack. If true, defines the macro ALT_EXCEPTION_STACK in linker.h, adds a memory region called exception_stack to linker.x, and provides the symbols __alt_exception_stack_pointer and __alt_exception_stack_limit in linker.x.</td>
  700. </tr>
  701. <tr mode="wrap">
  702. <td width="20%">Restrictions:</td><td>The hal.linker.exception_stack_size and hal.linker.exception_stack_memory_region_name settings must also be valid. This setting must be false for MicroC/OS-II BSPs. The exception stack can be used to improve interrupt and other exception performance if the EIC is *not* used.</td>
  703. </tr>
  704. </table>
  705. <br>
  706. <table border="1" bgcolor="#FFFFCC" width="60%">
  707. <tr bgcolor="#77BBFF">
  708. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.enable_interrupt_stack</td>
  709. </tr>
  710. <tr>
  711. <td width="20%">Identifier:</td><td>none</td>
  712. </tr>
  713. <tr>
  714. <td width="20%">Default Value:</td><td>0</td>
  715. </tr>
  716. <tr>
  717. <td width="20%">Value:</td><td>0</td>
  718. </tr>
  719. <tr>
  720. <td width="20%">Type:</td><td>Boolean</td>
  721. </tr>
  722. <tr mode="wrap">
  723. <td width="20%">Destination:</td><td>none</td>
  724. </tr>
  725. <tr mode="wrap">
  726. <td width="20%">Description:</td><td>Enables use of a separate interrupt stack. If true, defines the macro ALT_INTERRUPT_STACK in linker.h, adds a memory region called interrupt_stack to linker.x, and provides the symbols __alt_interrupt_stack_pointer and __alt_interrupt_stack_limit in linker.x.</td>
  727. </tr>
  728. <tr mode="wrap">
  729. <td width="20%">Restrictions:</td><td>The hal.linker.interrupt_stack_size and hal.linker.interrupt_stack_memory_region_name settings must also be valid. This setting must be false for MicroC/OS-II BSPs. Only enable if the EIC is used exclusively. The exception stack can be used to improve interrupt and other exception performance if the EIC is *not* used.</td>
  730. </tr>
  731. </table>
  732. <br>
  733. <table border="1" bgcolor="#FFFFCC" width="60%">
  734. <tr bgcolor="#77BBFF">
  735. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.exception_stack_memory_region_name</td>
  736. </tr>
  737. <tr>
  738. <td width="20%">Identifier:</td><td>none</td>
  739. </tr>
  740. <tr>
  741. <td width="20%">Default Value:</td><td>none</td>
  742. </tr>
  743. <tr>
  744. <td width="20%">Value:</td><td>ram</td>
  745. </tr>
  746. <tr>
  747. <td width="20%">Type:</td><td>UnquotedString</td>
  748. </tr>
  749. <tr mode="wrap">
  750. <td width="20%">Destination:</td><td>none</td>
  751. </tr>
  752. <tr mode="wrap">
  753. <td width="20%">Description:</td><td>Name of the existing memory region that will be divided up to create the 'exception_stack' memory region. The selected region name will be adjusted automatically when the BSP is generated to create the 'exception_stack' memory region.</td>
  754. </tr>
  755. <tr mode="wrap">
  756. <td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_exception_stack is true.</td>
  757. </tr>
  758. </table>
  759. <br>
  760. <table border="1" bgcolor="#FFFFCC" width="60%">
  761. <tr bgcolor="#77BBFF">
  762. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.exception_stack_size</td>
  763. </tr>
  764. <tr>
  765. <td width="20%">Identifier:</td><td>none</td>
  766. </tr>
  767. <tr>
  768. <td width="20%">Default Value:</td><td>1024</td>
  769. </tr>
  770. <tr>
  771. <td width="20%">Value:</td><td>1024</td>
  772. </tr>
  773. <tr>
  774. <td width="20%">Type:</td><td>DecimalNumber</td>
  775. </tr>
  776. <tr mode="wrap">
  777. <td width="20%">Destination:</td><td>none</td>
  778. </tr>
  779. <tr mode="wrap">
  780. <td width="20%">Description:</td><td>Size of the exception stack in bytes.</td>
  781. </tr>
  782. <tr mode="wrap">
  783. <td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_exception_stack is true.</td>
  784. </tr>
  785. </table>
  786. <br>
  787. <table border="1" bgcolor="#FFFFCC" width="60%">
  788. <tr bgcolor="#77BBFF">
  789. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.interrupt_stack_memory_region_name</td>
  790. </tr>
  791. <tr>
  792. <td width="20%">Identifier:</td><td>none</td>
  793. </tr>
  794. <tr>
  795. <td width="20%">Default Value:</td><td>none</td>
  796. </tr>
  797. <tr>
  798. <td width="20%">Value:</td><td>ram</td>
  799. </tr>
  800. <tr>
  801. <td width="20%">Type:</td><td>UnquotedString</td>
  802. </tr>
  803. <tr mode="wrap">
  804. <td width="20%">Destination:</td><td>none</td>
  805. </tr>
  806. <tr mode="wrap">
  807. <td width="20%">Description:</td><td>Name of the existing memory region that will be divided up to create the 'interrupt_stack' memory region. The selected region name will be adjusted automatically when the BSP is generated to create the 'interrupt_stack' memory region.</td>
  808. </tr>
  809. <tr mode="wrap">
  810. <td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_interrupt_stack is true.</td>
  811. </tr>
  812. </table>
  813. <br>
  814. <table border="1" bgcolor="#FFFFCC" width="60%">
  815. <tr bgcolor="#77BBFF">
  816. <td align="left" width="15%">Setting Name:</td><td align="left">hal.linker.interrupt_stack_size</td>
  817. </tr>
  818. <tr>
  819. <td width="20%">Identifier:</td><td>none</td>
  820. </tr>
  821. <tr>
  822. <td width="20%">Default Value:</td><td>1024</td>
  823. </tr>
  824. <tr>
  825. <td width="20%">Value:</td><td>1024</td>
  826. </tr>
  827. <tr>
  828. <td width="20%">Type:</td><td>DecimalNumber</td>
  829. </tr>
  830. <tr mode="wrap">
  831. <td width="20%">Destination:</td><td>none</td>
  832. </tr>
  833. <tr mode="wrap">
  834. <td width="20%">Description:</td><td>Size of the interrupt stack in bytes.</td>
  835. </tr>
  836. <tr mode="wrap">
  837. <td width="20%">Restrictions:</td><td>Only used if hal.linker.enable_interrupt_stack is true.</td>
  838. </tr>
  839. </table>
  840. <br>
  841. <table border="1" bgcolor="#FFFFCC" width="60%">
  842. <tr bgcolor="#77BBFF">
  843. <td align="left" width="15%">Setting Name:</td><td align="left">hal.log_flags</td>
  844. </tr>
  845. <tr>
  846. <td width="20%">Identifier:</td><td>ALT_LOG_FLAGS</td>
  847. </tr>
  848. <tr>
  849. <td width="20%">Default Value:</td><td>0</td>
  850. </tr>
  851. <tr>
  852. <td width="20%">Value:</td><td>0</td>
  853. </tr>
  854. <tr>
  855. <td width="20%">Type:</td><td>DecimalNumber</td>
  856. </tr>
  857. <tr mode="wrap">
  858. <td width="20%">Destination:</td><td>public_mk_define</td>
  859. </tr>
  860. <tr mode="wrap">
  861. <td width="20%">Description:</td><td>The value is assigned to ALT_LOG_FLAGS in the generated public.mk. See hal.log_port setting description. Values can be -1 through 3.</td>
  862. </tr>
  863. <tr mode="wrap">
  864. <td width="20%">Restrictions:</td><td>hal.log_port must be set for this to be used.</td>
  865. </tr>
  866. </table>
  867. <br>
  868. <table border="1" bgcolor="#FFFFCC" width="60%">
  869. <tr bgcolor="#77BBFF">
  870. <td align="left" width="15%">Setting Name:</td><td align="left">hal.log_port</td>
  871. </tr>
  872. <tr>
  873. <td width="20%">Identifier:</td><td>none</td>
  874. </tr>
  875. <tr>
  876. <td width="20%">Default Value:</td><td>none</td>
  877. </tr>
  878. <tr>
  879. <td width="20%">Value:</td><td>none</td>
  880. </tr>
  881. <tr>
  882. <td width="20%">Type:</td><td>UnquotedString</td>
  883. </tr>
  884. <tr mode="wrap">
  885. <td width="20%">Destination:</td><td>public_mk_define</td>
  886. </tr>
  887. <tr mode="wrap">
  888. <td width="20%">Description:</td><td>Slave descriptor of debug logging character-mode device. If defined, it enables extra debug messages in the HAL source. This setting is used by the ALT_LOG_PORT family of defines in system.h.</td>
  889. </tr>
  890. <tr mode="wrap">
  891. <td width="20%">Restrictions:</td><td>none</td>
  892. </tr>
  893. </table>
  894. <br>
  895. <table border="1" bgcolor="#FFFFCC" width="60%">
  896. <tr bgcolor="#77BBFF">
  897. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar</td>
  898. </tr>
  899. <tr>
  900. <td width="20%">Identifier:</td><td>AR</td>
  901. </tr>
  902. <tr>
  903. <td width="20%">Default Value:</td><td>nios2-elf-ar</td>
  904. </tr>
  905. <tr>
  906. <td width="20%">Value:</td><td>nios2-elf-ar</td>
  907. </tr>
  908. <tr>
  909. <td width="20%">Type:</td><td>UnquotedString</td>
  910. </tr>
  911. <tr mode="wrap">
  912. <td width="20%">Destination:</td><td>makefile_variable</td>
  913. </tr>
  914. <tr mode="wrap">
  915. <td width="20%">Description:</td><td>Archiver command. Creates library files.</td>
  916. </tr>
  917. <tr mode="wrap">
  918. <td width="20%">Restrictions:</td><td>none</td>
  919. </tr>
  920. </table>
  921. <br>
  922. <table border="1" bgcolor="#FFFFCC" width="60%">
  923. <tr bgcolor="#77BBFF">
  924. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar_post_process</td>
  925. </tr>
  926. <tr>
  927. <td width="20%">Identifier:</td><td>AR_POST_PROCESS</td>
  928. </tr>
  929. <tr>
  930. <td width="20%">Default Value:</td><td>none</td>
  931. </tr>
  932. <tr>
  933. <td width="20%">Value:</td><td>none</td>
  934. </tr>
  935. <tr>
  936. <td width="20%">Type:</td><td>UnquotedString</td>
  937. </tr>
  938. <tr mode="wrap">
  939. <td width="20%">Destination:</td><td>makefile_variable</td>
  940. </tr>
  941. <tr mode="wrap">
  942. <td width="20%">Description:</td><td>Command executed after archiver execution.</td>
  943. </tr>
  944. <tr mode="wrap">
  945. <td width="20%">Restrictions:</td><td>none</td>
  946. </tr>
  947. </table>
  948. <br>
  949. <table border="1" bgcolor="#FFFFCC" width="60%">
  950. <tr bgcolor="#77BBFF">
  951. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ar_pre_process</td>
  952. </tr>
  953. <tr>
  954. <td width="20%">Identifier:</td><td>AR_PRE_PROCESS</td>
  955. </tr>
  956. <tr>
  957. <td width="20%">Default Value:</td><td>none</td>
  958. </tr>
  959. <tr>
  960. <td width="20%">Value:</td><td>none</td>
  961. </tr>
  962. <tr>
  963. <td width="20%">Type:</td><td>UnquotedString</td>
  964. </tr>
  965. <tr mode="wrap">
  966. <td width="20%">Destination:</td><td>makefile_variable</td>
  967. </tr>
  968. <tr mode="wrap">
  969. <td width="20%">Description:</td><td>Command executed before archiver execution.</td>
  970. </tr>
  971. <tr mode="wrap">
  972. <td width="20%">Restrictions:</td><td>none</td>
  973. </tr>
  974. </table>
  975. <br>
  976. <table border="1" bgcolor="#FFFFCC" width="60%">
  977. <tr bgcolor="#77BBFF">
  978. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as</td>
  979. </tr>
  980. <tr>
  981. <td width="20%">Identifier:</td><td>AS</td>
  982. </tr>
  983. <tr>
  984. <td width="20%">Default Value:</td><td>nios2-elf-gcc</td>
  985. </tr>
  986. <tr>
  987. <td width="20%">Value:</td><td>nios2-elf-gcc</td>
  988. </tr>
  989. <tr>
  990. <td width="20%">Type:</td><td>UnquotedString</td>
  991. </tr>
  992. <tr mode="wrap">
  993. <td width="20%">Destination:</td><td>makefile_variable</td>
  994. </tr>
  995. <tr mode="wrap">
  996. <td width="20%">Description:</td><td>Assembler command. Note that CC is used for .S files.</td>
  997. </tr>
  998. <tr mode="wrap">
  999. <td width="20%">Restrictions:</td><td>none</td>
  1000. </tr>
  1001. </table>
  1002. <br>
  1003. <table border="1" bgcolor="#FFFFCC" width="60%">
  1004. <tr bgcolor="#77BBFF">
  1005. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as_post_process</td>
  1006. </tr>
  1007. <tr>
  1008. <td width="20%">Identifier:</td><td>AS_POST_PROCESS</td>
  1009. </tr>
  1010. <tr>
  1011. <td width="20%">Default Value:</td><td>none</td>
  1012. </tr>
  1013. <tr>
  1014. <td width="20%">Value:</td><td>none</td>
  1015. </tr>
  1016. <tr>
  1017. <td width="20%">Type:</td><td>UnquotedString</td>
  1018. </tr>
  1019. <tr mode="wrap">
  1020. <td width="20%">Destination:</td><td>makefile_variable</td>
  1021. </tr>
  1022. <tr mode="wrap">
  1023. <td width="20%">Description:</td><td>Command executed after each assembly file is compiled.</td>
  1024. </tr>
  1025. <tr mode="wrap">
  1026. <td width="20%">Restrictions:</td><td>none</td>
  1027. </tr>
  1028. </table>
  1029. <br>
  1030. <table border="1" bgcolor="#FFFFCC" width="60%">
  1031. <tr bgcolor="#77BBFF">
  1032. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.as_pre_process</td>
  1033. </tr>
  1034. <tr>
  1035. <td width="20%">Identifier:</td><td>AS_PRE_PROCESS</td>
  1036. </tr>
  1037. <tr>
  1038. <td width="20%">Default Value:</td><td>none</td>
  1039. </tr>
  1040. <tr>
  1041. <td width="20%">Value:</td><td>none</td>
  1042. </tr>
  1043. <tr>
  1044. <td width="20%">Type:</td><td>UnquotedString</td>
  1045. </tr>
  1046. <tr mode="wrap">
  1047. <td width="20%">Destination:</td><td>makefile_variable</td>
  1048. </tr>
  1049. <tr mode="wrap">
  1050. <td width="20%">Description:</td><td>Command executed before each assembly file is compiled.</td>
  1051. </tr>
  1052. <tr mode="wrap">
  1053. <td width="20%">Restrictions:</td><td>none</td>
  1054. </tr>
  1055. </table>
  1056. <br>
  1057. <table border="1" bgcolor="#FFFFCC" width="60%">
  1058. <tr bgcolor="#77BBFF">
  1059. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_arflags</td>
  1060. </tr>
  1061. <tr>
  1062. <td width="20%">Identifier:</td><td>BSP_ARFLAGS</td>
  1063. </tr>
  1064. <tr>
  1065. <td width="20%">Default Value:</td><td>-src</td>
  1066. </tr>
  1067. <tr>
  1068. <td width="20%">Value:</td><td>-src</td>
  1069. </tr>
  1070. <tr>
  1071. <td width="20%">Type:</td><td>UnquotedString</td>
  1072. </tr>
  1073. <tr mode="wrap">
  1074. <td width="20%">Destination:</td><td>makefile_variable</td>
  1075. </tr>
  1076. <tr mode="wrap">
  1077. <td width="20%">Description:</td><td>Custom flags only passed to the archiver. This content of this variable is directly passed to the archiver rather than the more standard "ARFLAGS". The reason for this is that GNU Make assumes some default content in ARFLAGS. This setting defines the value of BSP_ARFLAGS in Makefile.</td>
  1078. </tr>
  1079. <tr mode="wrap">
  1080. <td width="20%">Restrictions:</td><td>none</td>
  1081. </tr>
  1082. </table>
  1083. <br>
  1084. <table border="1" bgcolor="#FFFFCC" width="60%">
  1085. <tr bgcolor="#77BBFF">
  1086. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_asflags</td>
  1087. </tr>
  1088. <tr>
  1089. <td width="20%">Identifier:</td><td>BSP_ASFLAGS</td>
  1090. </tr>
  1091. <tr>
  1092. <td width="20%">Default Value:</td><td>-Wa,-gdwarf2</td>
  1093. </tr>
  1094. <tr>
  1095. <td width="20%">Value:</td><td>-Wa,-gdwarf2</td>
  1096. </tr>
  1097. <tr>
  1098. <td width="20%">Type:</td><td>UnquotedString</td>
  1099. </tr>
  1100. <tr mode="wrap">
  1101. <td width="20%">Destination:</td><td>makefile_variable</td>
  1102. </tr>
  1103. <tr mode="wrap">
  1104. <td width="20%">Description:</td><td>Custom flags only passed to the assembler. This setting defines the value of BSP_ASFLAGS in Makefile.</td>
  1105. </tr>
  1106. <tr mode="wrap">
  1107. <td width="20%">Restrictions:</td><td>none</td>
  1108. </tr>
  1109. </table>
  1110. <br>
  1111. <table border="1" bgcolor="#FFFFCC" width="60%">
  1112. <tr bgcolor="#77BBFF">
  1113. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_debug</td>
  1114. </tr>
  1115. <tr>
  1116. <td width="20%">Identifier:</td><td>BSP_CFLAGS_DEBUG</td>
  1117. </tr>
  1118. <tr>
  1119. <td width="20%">Default Value:</td><td>-g</td>
  1120. </tr>
  1121. <tr>
  1122. <td width="20%">Value:</td><td>-g</td>
  1123. </tr>
  1124. <tr>
  1125. <td width="20%">Type:</td><td>UnquotedString</td>
  1126. </tr>
  1127. <tr mode="wrap">
  1128. <td width="20%">Destination:</td><td>makefile_variable</td>
  1129. </tr>
  1130. <tr mode="wrap">
  1131. <td width="20%">Description:</td><td>C/C++ compiler debug level. '-g' provides the default set of debug symbols typically required to debug a typical application. Omitting '-g' removes debug symbols from the ELF. This setting defines the value of BSP_CFLAGS_DEBUG in Makefile.</td>
  1132. </tr>
  1133. <tr mode="wrap">
  1134. <td width="20%">Restrictions:</td><td>none</td>
  1135. </tr>
  1136. </table>
  1137. <br>
  1138. <table border="1" bgcolor="#FFFFCC" width="60%">
  1139. <tr bgcolor="#77BBFF">
  1140. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_defined_symbols</td>
  1141. </tr>
  1142. <tr>
  1143. <td width="20%">Identifier:</td><td>BSP_CFLAGS_DEFINED_SYMBOLS</td>
  1144. </tr>
  1145. <tr>
  1146. <td width="20%">Default Value:</td><td>none</td>
  1147. </tr>
  1148. <tr>
  1149. <td width="20%">Value:</td><td>none</td>
  1150. </tr>
  1151. <tr>
  1152. <td width="20%">Type:</td><td>UnquotedString</td>
  1153. </tr>
  1154. <tr mode="wrap">
  1155. <td width="20%">Destination:</td><td>makefile_variable</td>
  1156. </tr>
  1157. <tr mode="wrap">
  1158. <td width="20%">Description:</td><td>Preprocessor macros to define. A macro definition in this setting has the same effect as a "#define" in source code. Adding "-DALT_DEBUG" to this setting has the same effect as "#define ALT_DEBUG" in a souce file. Adding "-DFOO=1" to this setting is equivalent to the macro "#define FOO 1" in a source file. Macros defined with this setting are applied to all .S, .c, and C++ files in the BSP. This setting defines the value of BSP_CFLAGS_DEFINED_SYMBOLS in the BSP Makefile.</td>
  1159. </tr>
  1160. <tr mode="wrap">
  1161. <td width="20%">Restrictions:</td><td>none</td>
  1162. </tr>
  1163. </table>
  1164. <br>
  1165. <table border="1" bgcolor="#FFFFCC" width="60%">
  1166. <tr bgcolor="#77BBFF">
  1167. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_optimization</td>
  1168. </tr>
  1169. <tr>
  1170. <td width="20%">Identifier:</td><td>BSP_CFLAGS_OPTIMIZATION</td>
  1171. </tr>
  1172. <tr>
  1173. <td width="20%">Default Value:</td><td>-O0</td>
  1174. </tr>
  1175. <tr>
  1176. <td width="20%">Value:</td><td>-O0</td>
  1177. </tr>
  1178. <tr>
  1179. <td width="20%">Type:</td><td>UnquotedString</td>
  1180. </tr>
  1181. <tr mode="wrap">
  1182. <td width="20%">Destination:</td><td>makefile_variable</td>
  1183. </tr>
  1184. <tr mode="wrap">
  1185. <td width="20%">Description:</td><td>C/C++ compiler optimization level. "-O0" = no optimization,"-O2" = "normal" optimization, etc. "-O0" is recommended for code that you want to debug since compiler optimization can remove variables and produce non-sequential execution of code while debugging. This setting defines the value of BSP_CFLAGS_OPTIMIZATION in Makefile.</td>
  1186. </tr>
  1187. <tr mode="wrap">
  1188. <td width="20%">Restrictions:</td><td>none</td>
  1189. </tr>
  1190. </table>
  1191. <br>
  1192. <table border="1" bgcolor="#FFFFCC" width="60%">
  1193. <tr bgcolor="#77BBFF">
  1194. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_undefined_symbols</td>
  1195. </tr>
  1196. <tr>
  1197. <td width="20%">Identifier:</td><td>BSP_CFLAGS_UNDEFINED_SYMBOLS</td>
  1198. </tr>
  1199. <tr>
  1200. <td width="20%">Default Value:</td><td>none</td>
  1201. </tr>
  1202. <tr>
  1203. <td width="20%">Value:</td><td>none</td>
  1204. </tr>
  1205. <tr>
  1206. <td width="20%">Type:</td><td>UnquotedString</td>
  1207. </tr>
  1208. <tr mode="wrap">
  1209. <td width="20%">Destination:</td><td>makefile_variable</td>
  1210. </tr>
  1211. <tr mode="wrap">
  1212. <td width="20%">Description:</td><td>Preprocessor macros to undefine. Undefined macros are similar to defined macros, but replicate the "#undef" directive in source code. To undefine the macro FOO use the syntax "-u FOO" in this setting. This is equivalent to "#undef FOO" in a source file. Note: the syntax differs from macro definition (there is a space, i.e. "-u FOO" versus "-DFOO"). Macros defined with this setting are applied to all .S, .c, and C++ files in the BSP. This setting defines the value of BSP_CFLAGS_UNDEFINED_SYMBOLS in the BSP Makefile.</td>
  1213. </tr>
  1214. <tr mode="wrap">
  1215. <td width="20%">Restrictions:</td><td>none</td>
  1216. </tr>
  1217. </table>
  1218. <br>
  1219. <table border="1" bgcolor="#FFFFCC" width="60%">
  1220. <tr bgcolor="#77BBFF">
  1221. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_user_flags</td>
  1222. </tr>
  1223. <tr>
  1224. <td width="20%">Identifier:</td><td>BSP_CFLAGS_USER_FLAGS</td>
  1225. </tr>
  1226. <tr>
  1227. <td width="20%">Default Value:</td><td>none</td>
  1228. </tr>
  1229. <tr>
  1230. <td width="20%">Value:</td><td>none</td>
  1231. </tr>
  1232. <tr>
  1233. <td width="20%">Type:</td><td>UnquotedString</td>
  1234. </tr>
  1235. <tr mode="wrap">
  1236. <td width="20%">Destination:</td><td>makefile_variable</td>
  1237. </tr>
  1238. <tr mode="wrap">
  1239. <td width="20%">Description:</td><td>Custom flags passed to the compiler when compiling C, C++, and .S files. This setting defines the value of BSP_CFLAGS_USER_FLAGS in Makefile.</td>
  1240. </tr>
  1241. <tr mode="wrap">
  1242. <td width="20%">Restrictions:</td><td>none</td>
  1243. </tr>
  1244. </table>
  1245. <br>
  1246. <table border="1" bgcolor="#FFFFCC" width="60%">
  1247. <tr bgcolor="#77BBFF">
  1248. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cflags_warnings</td>
  1249. </tr>
  1250. <tr>
  1251. <td width="20%">Identifier:</td><td>BSP_CFLAGS_WARNINGS</td>
  1252. </tr>
  1253. <tr>
  1254. <td width="20%">Default Value:</td><td>-Wall</td>
  1255. </tr>
  1256. <tr>
  1257. <td width="20%">Value:</td><td>-Wall</td>
  1258. </tr>
  1259. <tr>
  1260. <td width="20%">Type:</td><td>UnquotedString</td>
  1261. </tr>
  1262. <tr mode="wrap">
  1263. <td width="20%">Destination:</td><td>makefile_variable</td>
  1264. </tr>
  1265. <tr mode="wrap">
  1266. <td width="20%">Description:</td><td>C/C++ compiler warning level. "-Wall" is commonly used.This setting defines the value of BSP_CFLAGS_WARNINGS in Makefile.</td>
  1267. </tr>
  1268. <tr mode="wrap">
  1269. <td width="20%">Restrictions:</td><td>none</td>
  1270. </tr>
  1271. </table>
  1272. <br>
  1273. <table border="1" bgcolor="#FFFFCC" width="60%">
  1274. <tr bgcolor="#77BBFF">
  1275. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_cxx_flags</td>
  1276. </tr>
  1277. <tr>
  1278. <td width="20%">Identifier:</td><td>BSP_CXXFLAGS</td>
  1279. </tr>
  1280. <tr>
  1281. <td width="20%">Default Value:</td><td>none</td>
  1282. </tr>
  1283. <tr>
  1284. <td width="20%">Value:</td><td>none</td>
  1285. </tr>
  1286. <tr>
  1287. <td width="20%">Type:</td><td>UnquotedString</td>
  1288. </tr>
  1289. <tr mode="wrap">
  1290. <td width="20%">Destination:</td><td>makefile_variable</td>
  1291. </tr>
  1292. <tr mode="wrap">
  1293. <td width="20%">Description:</td><td>Custom flags only passed to the C++ compiler. This setting defines the value of BSP_CXXFLAGS in Makefile.</td>
  1294. </tr>
  1295. <tr mode="wrap">
  1296. <td width="20%">Restrictions:</td><td>none</td>
  1297. </tr>
  1298. </table>
  1299. <br>
  1300. <table border="1" bgcolor="#FFFFCC" width="60%">
  1301. <tr bgcolor="#77BBFF">
  1302. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.bsp_inc_dirs</td>
  1303. </tr>
  1304. <tr>
  1305. <td width="20%">Identifier:</td><td>BSP_INC_DIRS</td>
  1306. </tr>
  1307. <tr>
  1308. <td width="20%">Default Value:</td><td>none</td>
  1309. </tr>
  1310. <tr>
  1311. <td width="20%">Value:</td><td>none</td>
  1312. </tr>
  1313. <tr>
  1314. <td width="20%">Type:</td><td>UnquotedString</td>
  1315. </tr>
  1316. <tr mode="wrap">
  1317. <td width="20%">Destination:</td><td>makefile_variable</td>
  1318. </tr>
  1319. <tr mode="wrap">
  1320. <td width="20%">Description:</td><td>Space separated list of extra include directories to scan for header files. Directories are relative to the top-level BSP directory. The -I prefix's added by the makefile so don't add it here. This setting defines the value of BSP_INC_DIRS in Makefile.</td>
  1321. </tr>
  1322. <tr mode="wrap">
  1323. <td width="20%">Restrictions:</td><td>none</td>
  1324. </tr>
  1325. </table>
  1326. <br>
  1327. <table border="1" bgcolor="#FFFFCC" width="60%">
  1328. <tr bgcolor="#77BBFF">
  1329. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.build_post_process</td>
  1330. </tr>
  1331. <tr>
  1332. <td width="20%">Identifier:</td><td>BUILD_POST_PROCESS</td>
  1333. </tr>
  1334. <tr>
  1335. <td width="20%">Default Value:</td><td>none</td>
  1336. </tr>
  1337. <tr>
  1338. <td width="20%">Value:</td><td>none</td>
  1339. </tr>
  1340. <tr>
  1341. <td width="20%">Type:</td><td>UnquotedString</td>
  1342. </tr>
  1343. <tr mode="wrap">
  1344. <td width="20%">Destination:</td><td>makefile_variable</td>
  1345. </tr>
  1346. <tr mode="wrap">
  1347. <td width="20%">Description:</td><td>Command executed after BSP built.</td>
  1348. </tr>
  1349. <tr mode="wrap">
  1350. <td width="20%">Restrictions:</td><td>none</td>
  1351. </tr>
  1352. </table>
  1353. <br>
  1354. <table border="1" bgcolor="#FFFFCC" width="60%">
  1355. <tr bgcolor="#77BBFF">
  1356. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.build_pre_process</td>
  1357. </tr>
  1358. <tr>
  1359. <td width="20%">Identifier:</td><td>BUILD_PRE_PROCESS</td>
  1360. </tr>
  1361. <tr>
  1362. <td width="20%">Default Value:</td><td>none</td>
  1363. </tr>
  1364. <tr>
  1365. <td width="20%">Value:</td><td>none</td>
  1366. </tr>
  1367. <tr>
  1368. <td width="20%">Type:</td><td>UnquotedString</td>
  1369. </tr>
  1370. <tr mode="wrap">
  1371. <td width="20%">Destination:</td><td>makefile_variable</td>
  1372. </tr>
  1373. <tr mode="wrap">
  1374. <td width="20%">Description:</td><td>Command executed before BSP built.</td>
  1375. </tr>
  1376. <tr mode="wrap">
  1377. <td width="20%">Restrictions:</td><td>none</td>
  1378. </tr>
  1379. </table>
  1380. <br>
  1381. <table border="1" bgcolor="#FFFFCC" width="60%">
  1382. <tr bgcolor="#77BBFF">
  1383. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc</td>
  1384. </tr>
  1385. <tr>
  1386. <td width="20%">Identifier:</td><td>CC</td>
  1387. </tr>
  1388. <tr>
  1389. <td width="20%">Default Value:</td><td>nios2-elf-gcc -xc</td>
  1390. </tr>
  1391. <tr>
  1392. <td width="20%">Value:</td><td>nios2-elf-gcc -xc</td>
  1393. </tr>
  1394. <tr>
  1395. <td width="20%">Type:</td><td>UnquotedString</td>
  1396. </tr>
  1397. <tr mode="wrap">
  1398. <td width="20%">Destination:</td><td>makefile_variable</td>
  1399. </tr>
  1400. <tr mode="wrap">
  1401. <td width="20%">Description:</td><td>C compiler command.</td>
  1402. </tr>
  1403. <tr mode="wrap">
  1404. <td width="20%">Restrictions:</td><td>none</td>
  1405. </tr>
  1406. </table>
  1407. <br>
  1408. <table border="1" bgcolor="#FFFFCC" width="60%">
  1409. <tr bgcolor="#77BBFF">
  1410. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc_post_process</td>
  1411. </tr>
  1412. <tr>
  1413. <td width="20%">Identifier:</td><td>CC_POST_PROCESS</td>
  1414. </tr>
  1415. <tr>
  1416. <td width="20%">Default Value:</td><td>none</td>
  1417. </tr>
  1418. <tr>
  1419. <td width="20%">Value:</td><td>none</td>
  1420. </tr>
  1421. <tr>
  1422. <td width="20%">Type:</td><td>UnquotedString</td>
  1423. </tr>
  1424. <tr mode="wrap">
  1425. <td width="20%">Destination:</td><td>makefile_variable</td>
  1426. </tr>
  1427. <tr mode="wrap">
  1428. <td width="20%">Description:</td><td>Command executed after each .c/.S file is compiled.</td>
  1429. </tr>
  1430. <tr mode="wrap">
  1431. <td width="20%">Restrictions:</td><td>none</td>
  1432. </tr>
  1433. </table>
  1434. <br>
  1435. <table border="1" bgcolor="#FFFFCC" width="60%">
  1436. <tr bgcolor="#77BBFF">
  1437. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cc_pre_process</td>
  1438. </tr>
  1439. <tr>
  1440. <td width="20%">Identifier:</td><td>CC_PRE_PROCESS</td>
  1441. </tr>
  1442. <tr>
  1443. <td width="20%">Default Value:</td><td>none</td>
  1444. </tr>
  1445. <tr>
  1446. <td width="20%">Value:</td><td>none</td>
  1447. </tr>
  1448. <tr>
  1449. <td width="20%">Type:</td><td>UnquotedString</td>
  1450. </tr>
  1451. <tr mode="wrap">
  1452. <td width="20%">Destination:</td><td>makefile_variable</td>
  1453. </tr>
  1454. <tr mode="wrap">
  1455. <td width="20%">Description:</td><td>Command executed before each .c/.S file is compiled.</td>
  1456. </tr>
  1457. <tr mode="wrap">
  1458. <td width="20%">Restrictions:</td><td>none</td>
  1459. </tr>
  1460. </table>
  1461. <br>
  1462. <table border="1" bgcolor="#FFFFCC" width="60%">
  1463. <tr bgcolor="#77BBFF">
  1464. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cflags_mgpopt</td>
  1465. </tr>
  1466. <tr>
  1467. <td width="20%">Identifier:</td><td>CFLAGS_MGPOPT</td>
  1468. </tr>
  1469. <tr>
  1470. <td width="20%">Default Value:</td><td>-mgpopt=global</td>
  1471. </tr>
  1472. <tr>
  1473. <td width="20%">Value:</td><td>-mgpopt=global</td>
  1474. </tr>
  1475. <tr>
  1476. <td width="20%">Type:</td><td>UnquotedString</td>
  1477. </tr>
  1478. <tr mode="wrap">
  1479. <td width="20%">Destination:</td><td>public_mk_define</td>
  1480. </tr>
  1481. <tr mode="wrap">
  1482. <td width="20%">Description:</td><td>C/C++ compiler to generate (do not generate) GP-relative accesses. 'none' tells the compilter not to generate GP-relative accesses. 'local' will generate GP-relative accesses for small data objects that are not external, weak, or uninitialized common symbols. Also use GP-relative addressing for objects that have been explicitly placed in a small data section via a section attribute. provides the default set of debug symbols typically required to debug a typical application. 'global' is same as 'local' but also generate GP-relative accesses for small data objects that are external, weak, or common.</td>
  1483. </tr>
  1484. <tr mode="wrap">
  1485. <td width="20%">Restrictions:</td><td>none</td>
  1486. </tr>
  1487. </table>
  1488. <br>
  1489. <table border="1" bgcolor="#FFFFCC" width="60%">
  1490. <tr bgcolor="#77BBFF">
  1491. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx</td>
  1492. </tr>
  1493. <tr>
  1494. <td width="20%">Identifier:</td><td>CXX</td>
  1495. </tr>
  1496. <tr>
  1497. <td width="20%">Default Value:</td><td>nios2-elf-gcc -xc++</td>
  1498. </tr>
  1499. <tr>
  1500. <td width="20%">Value:</td><td>nios2-elf-gcc -xc++</td>
  1501. </tr>
  1502. <tr>
  1503. <td width="20%">Type:</td><td>UnquotedString</td>
  1504. </tr>
  1505. <tr mode="wrap">
  1506. <td width="20%">Destination:</td><td>makefile_variable</td>
  1507. </tr>
  1508. <tr mode="wrap">
  1509. <td width="20%">Description:</td><td>C++ compiler command.</td>
  1510. </tr>
  1511. <tr mode="wrap">
  1512. <td width="20%">Restrictions:</td><td>none</td>
  1513. </tr>
  1514. </table>
  1515. <br>
  1516. <table border="1" bgcolor="#FFFFCC" width="60%">
  1517. <tr bgcolor="#77BBFF">
  1518. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx_post_process</td>
  1519. </tr>
  1520. <tr>
  1521. <td width="20%">Identifier:</td><td>CXX_POST_PROCESS</td>
  1522. </tr>
  1523. <tr>
  1524. <td width="20%">Default Value:</td><td>none</td>
  1525. </tr>
  1526. <tr>
  1527. <td width="20%">Value:</td><td>none</td>
  1528. </tr>
  1529. <tr>
  1530. <td width="20%">Type:</td><td>UnquotedString</td>
  1531. </tr>
  1532. <tr mode="wrap">
  1533. <td width="20%">Destination:</td><td>makefile_variable</td>
  1534. </tr>
  1535. <tr mode="wrap">
  1536. <td width="20%">Description:</td><td>Command executed before each C++ file is compiled.</td>
  1537. </tr>
  1538. <tr mode="wrap">
  1539. <td width="20%">Restrictions:</td><td>none</td>
  1540. </tr>
  1541. </table>
  1542. <br>
  1543. <table border="1" bgcolor="#FFFFCC" width="60%">
  1544. <tr bgcolor="#77BBFF">
  1545. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.cxx_pre_process</td>
  1546. </tr>
  1547. <tr>
  1548. <td width="20%">Identifier:</td><td>CXX_PRE_PROCESS</td>
  1549. </tr>
  1550. <tr>
  1551. <td width="20%">Default Value:</td><td>none</td>
  1552. </tr>
  1553. <tr>
  1554. <td width="20%">Value:</td><td>none</td>
  1555. </tr>
  1556. <tr>
  1557. <td width="20%">Type:</td><td>UnquotedString</td>
  1558. </tr>
  1559. <tr mode="wrap">
  1560. <td width="20%">Destination:</td><td>makefile_variable</td>
  1561. </tr>
  1562. <tr mode="wrap">
  1563. <td width="20%">Description:</td><td>Command executed before each C++ file is compiled.</td>
  1564. </tr>
  1565. <tr mode="wrap">
  1566. <td width="20%">Restrictions:</td><td>none</td>
  1567. </tr>
  1568. </table>
  1569. <br>
  1570. <table border="1" bgcolor="#FFFFCC" width="60%">
  1571. <tr bgcolor="#77BBFF">
  1572. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.big_endian</td>
  1573. </tr>
  1574. <tr>
  1575. <td width="20%">Identifier:</td><td>none</td>
  1576. </tr>
  1577. <tr>
  1578. <td width="20%">Default Value:</td><td>0</td>
  1579. </tr>
  1580. <tr>
  1581. <td width="20%">Value:</td><td>0</td>
  1582. </tr>
  1583. <tr>
  1584. <td width="20%">Type:</td><td>Boolean</td>
  1585. </tr>
  1586. <tr mode="wrap">
  1587. <td width="20%">Destination:</td><td>public_mk_define</td>
  1588. </tr>
  1589. <tr mode="wrap">
  1590. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system is big endian. If true ignores export of 'ALT_CFLAGS += -meb' to public.mk if big endian system.</td>
  1591. </tr>
  1592. <tr mode="wrap">
  1593. <td width="20%">Restrictions:</td><td>none</td>
  1594. </tr>
  1595. </table>
  1596. <br>
  1597. <table border="1" bgcolor="#FFFFCC" width="60%">
  1598. <tr bgcolor="#77BBFF">
  1599. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.bmx_present</td>
  1600. </tr>
  1601. <tr>
  1602. <td width="20%">Identifier:</td><td>none</td>
  1603. </tr>
  1604. <tr>
  1605. <td width="20%">Default Value:</td><td>0</td>
  1606. </tr>
  1607. <tr>
  1608. <td width="20%">Value:</td><td>0</td>
  1609. </tr>
  1610. <tr>
  1611. <td width="20%">Type:</td><td>Boolean</td>
  1612. </tr>
  1613. <tr mode="wrap">
  1614. <td width="20%">Destination:</td><td>public_mk_define</td>
  1615. </tr>
  1616. <tr mode="wrap">
  1617. <td width="20%">Description:</td><td>If true, prevents GCC from using BMX instructions. If false, GCC uses BMX instructions if present in the CPU.</td>
  1618. </tr>
  1619. <tr mode="wrap">
  1620. <td width="20%">Restrictions:</td><td>none</td>
  1621. </tr>
  1622. </table>
  1623. <br>
  1624. <table border="1" bgcolor="#FFFFCC" width="60%">
  1625. <tr bgcolor="#77BBFF">
  1626. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.cdx_present</td>
  1627. </tr>
  1628. <tr>
  1629. <td width="20%">Identifier:</td><td>none</td>
  1630. </tr>
  1631. <tr>
  1632. <td width="20%">Default Value:</td><td>0</td>
  1633. </tr>
  1634. <tr>
  1635. <td width="20%">Value:</td><td>0</td>
  1636. </tr>
  1637. <tr>
  1638. <td width="20%">Type:</td><td>Boolean</td>
  1639. </tr>
  1640. <tr mode="wrap">
  1641. <td width="20%">Destination:</td><td>public_mk_define</td>
  1642. </tr>
  1643. <tr mode="wrap">
  1644. <td width="20%">Description:</td><td>If true, prevents GCC from using CDX instructions. If false, GCC uses CDX instructions if present in the CPU.</td>
  1645. </tr>
  1646. <tr mode="wrap">
  1647. <td width="20%">Restrictions:</td><td>none</td>
  1648. </tr>
  1649. </table>
  1650. <br>
  1651. <table border="1" bgcolor="#FFFFCC" width="60%">
  1652. <tr bgcolor="#77BBFF">
  1653. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.debug_core_present</td>
  1654. </tr>
  1655. <tr>
  1656. <td width="20%">Identifier:</td><td>none</td>
  1657. </tr>
  1658. <tr>
  1659. <td width="20%">Default Value:</td><td>0</td>
  1660. </tr>
  1661. <tr>
  1662. <td width="20%">Value:</td><td>0</td>
  1663. </tr>
  1664. <tr>
  1665. <td width="20%">Type:</td><td>Boolean</td>
  1666. </tr>
  1667. <tr mode="wrap">
  1668. <td width="20%">Destination:</td><td>public_mk_define</td>
  1669. </tr>
  1670. <tr mode="wrap">
  1671. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has a debug core present. If true ignores export of 'CPU_HAS_DEBUG_CORE = 1' to public.mk if a debug core is found in the system. If true ignores export of 'CPU_HAS_DEBUG_CORE = 0' if no debug core is found in the system.</td>
  1672. </tr>
  1673. <tr mode="wrap">
  1674. <td width="20%">Restrictions:</td><td>none</td>
  1675. </tr>
  1676. </table>
  1677. <br>
  1678. <table border="1" bgcolor="#FFFFCC" width="60%">
  1679. <tr bgcolor="#77BBFF">
  1680. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.fpu_present</td>
  1681. </tr>
  1682. <tr>
  1683. <td width="20%">Identifier:</td><td>none</td>
  1684. </tr>
  1685. <tr>
  1686. <td width="20%">Default Value:</td><td>0</td>
  1687. </tr>
  1688. <tr>
  1689. <td width="20%">Value:</td><td>0</td>
  1690. </tr>
  1691. <tr>
  1692. <td width="20%">Type:</td><td>Boolean</td>
  1693. </tr>
  1694. <tr mode="wrap">
  1695. <td width="20%">Destination:</td><td>public_mk_define</td>
  1696. </tr>
  1697. <tr mode="wrap">
  1698. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has FPU present. If true ignores export of 'ALT_CFLAGS += -mhard-float' to public.mk if FPU is found in the system. If true ignores export of 'ALT_CFLAGS += -mhard-soft' if FPU is not found in the system.</td>
  1699. </tr>
  1700. <tr mode="wrap">
  1701. <td width="20%">Restrictions:</td><td>none</td>
  1702. </tr>
  1703. </table>
  1704. <br>
  1705. <table border="1" bgcolor="#FFFFCC" width="60%">
  1706. <tr bgcolor="#77BBFF">
  1707. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_divide_present</td>
  1708. </tr>
  1709. <tr>
  1710. <td width="20%">Identifier:</td><td>none</td>
  1711. </tr>
  1712. <tr>
  1713. <td width="20%">Default Value:</td><td>0</td>
  1714. </tr>
  1715. <tr>
  1716. <td width="20%">Value:</td><td>0</td>
  1717. </tr>
  1718. <tr>
  1719. <td width="20%">Type:</td><td>Boolean</td>
  1720. </tr>
  1721. <tr mode="wrap">
  1722. <td width="20%">Destination:</td><td>public_mk_define</td>
  1723. </tr>
  1724. <tr mode="wrap">
  1725. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has hardware divide present. If true ignores export of 'ALT_CFLAGS += -mno-hw-div' to public.mk if no division is found in system. If true ignores export of 'ALT_CFLAGS += -mhw-div' if division is found in the system.</td>
  1726. </tr>
  1727. <tr mode="wrap">
  1728. <td width="20%">Restrictions:</td><td>none</td>
  1729. </tr>
  1730. </table>
  1731. <br>
  1732. <table border="1" bgcolor="#FFFFCC" width="60%">
  1733. <tr bgcolor="#77BBFF">
  1734. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_fp_cust_inst_divider_present</td>
  1735. </tr>
  1736. <tr>
  1737. <td width="20%">Identifier:</td><td>none</td>
  1738. </tr>
  1739. <tr>
  1740. <td width="20%">Default Value:</td><td>0</td>
  1741. </tr>
  1742. <tr>
  1743. <td width="20%">Value:</td><td>0</td>
  1744. </tr>
  1745. <tr>
  1746. <td width="20%">Type:</td><td>Boolean</td>
  1747. </tr>
  1748. <tr mode="wrap">
  1749. <td width="20%">Destination:</td><td>public_mk_define</td>
  1750. </tr>
  1751. <tr mode="wrap">
  1752. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system floating point custom instruction with a divider is present. If true ignores export of 'ALT_CFLAGS += -mcustom-fpu-cfg=60-2' and 'ALT_LDFLAGS += -mcustom-fpu-cfg=60-2' to public.mk if the custom instruction is found in the system.</td>
  1753. </tr>
  1754. <tr mode="wrap">
  1755. <td width="20%">Restrictions:</td><td>none</td>
  1756. </tr>
  1757. </table>
  1758. <br>
  1759. <table border="1" bgcolor="#FFFFCC" width="60%">
  1760. <tr bgcolor="#77BBFF">
  1761. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_fp_cust_inst_no_divider_present</td>
  1762. </tr>
  1763. <tr>
  1764. <td width="20%">Identifier:</td><td>none</td>
  1765. </tr>
  1766. <tr>
  1767. <td width="20%">Default Value:</td><td>0</td>
  1768. </tr>
  1769. <tr>
  1770. <td width="20%">Value:</td><td>0</td>
  1771. </tr>
  1772. <tr>
  1773. <td width="20%">Type:</td><td>Boolean</td>
  1774. </tr>
  1775. <tr mode="wrap">
  1776. <td width="20%">Destination:</td><td>public_mk_define</td>
  1777. </tr>
  1778. <tr mode="wrap">
  1779. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system floating point custom instruction without a divider is present. If true ignores export of 'ALT_CFLAGS += -mcustom-fpu-cfg=60-1' and 'ALT_LDFLAGS += -mcustom-fpu-cfg=60-1' to public.mk if the custom instruction is found in the system.</td>
  1780. </tr>
  1781. <tr mode="wrap">
  1782. <td width="20%">Restrictions:</td><td>none</td>
  1783. </tr>
  1784. </table>
  1785. <br>
  1786. <table border="1" bgcolor="#FFFFCC" width="60%">
  1787. <tr bgcolor="#77BBFF">
  1788. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_multiplier_present</td>
  1789. </tr>
  1790. <tr>
  1791. <td width="20%">Identifier:</td><td>none</td>
  1792. </tr>
  1793. <tr>
  1794. <td width="20%">Default Value:</td><td>0</td>
  1795. </tr>
  1796. <tr>
  1797. <td width="20%">Value:</td><td>0</td>
  1798. </tr>
  1799. <tr>
  1800. <td width="20%">Type:</td><td>Boolean</td>
  1801. </tr>
  1802. <tr mode="wrap">
  1803. <td width="20%">Destination:</td><td>public_mk_define</td>
  1804. </tr>
  1805. <tr mode="wrap">
  1806. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has multiplier present. If true ignores export of 'ALT_CFLAGS += -mno-hw-mul' to public.mk if no multiplier is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mul' if multiplier is found in the system.</td>
  1807. </tr>
  1808. <tr mode="wrap">
  1809. <td width="20%">Restrictions:</td><td>none</td>
  1810. </tr>
  1811. </table>
  1812. <br>
  1813. <table border="1" bgcolor="#FFFFCC" width="60%">
  1814. <tr bgcolor="#77BBFF">
  1815. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.hardware_mulx_present</td>
  1816. </tr>
  1817. <tr>
  1818. <td width="20%">Identifier:</td><td>none</td>
  1819. </tr>
  1820. <tr>
  1821. <td width="20%">Default Value:</td><td>0</td>
  1822. </tr>
  1823. <tr>
  1824. <td width="20%">Value:</td><td>0</td>
  1825. </tr>
  1826. <tr>
  1827. <td width="20%">Type:</td><td>Boolean</td>
  1828. </tr>
  1829. <tr mode="wrap">
  1830. <td width="20%">Destination:</td><td>public_mk_define</td>
  1831. </tr>
  1832. <tr mode="wrap">
  1833. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has hardware mulx present. If true ignores export of 'ALT_CFLAGS += -mno-hw-mulx' to public.mk if no mulx is found in the system. If true ignores export of 'ALT_CFLAGS += -mhw-mulx' if mulx is found in the system.</td>
  1834. </tr>
  1835. <tr mode="wrap">
  1836. <td width="20%">Restrictions:</td><td>none</td>
  1837. </tr>
  1838. </table>
  1839. <br>
  1840. <table border="1" bgcolor="#FFFFCC" width="60%">
  1841. <tr bgcolor="#77BBFF">
  1842. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_simulation_enabled</td>
  1843. </tr>
  1844. <tr>
  1845. <td width="20%">Identifier:</td><td>none</td>
  1846. </tr>
  1847. <tr>
  1848. <td width="20%">Default Value:</td><td>0</td>
  1849. </tr>
  1850. <tr>
  1851. <td width="20%">Value:</td><td>0</td>
  1852. </tr>
  1853. <tr>
  1854. <td width="20%">Type:</td><td>Boolean</td>
  1855. </tr>
  1856. <tr mode="wrap">
  1857. <td width="20%">Destination:</td><td>public_mk_define</td>
  1858. </tr>
  1859. <tr mode="wrap">
  1860. <td width="20%">Description:</td><td>Enable BSP generation to query if SOPC system has simulation enabled. If true ignores export of 'ELF_PATCH_FLAG += --simulation_enabled' to public.mk.</td>
  1861. </tr>
  1862. <tr mode="wrap">
  1863. <td width="20%">Restrictions:</td><td>none</td>
  1864. </tr>
  1865. </table>
  1866. <br>
  1867. <table border="1" bgcolor="#FFFFCC" width="60%">
  1868. <tr bgcolor="#77BBFF">
  1869. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_base_address</td>
  1870. </tr>
  1871. <tr>
  1872. <td width="20%">Identifier:</td><td>none</td>
  1873. </tr>
  1874. <tr>
  1875. <td width="20%">Default Value:</td><td>0</td>
  1876. </tr>
  1877. <tr>
  1878. <td width="20%">Value:</td><td>0</td>
  1879. </tr>
  1880. <tr>
  1881. <td width="20%">Type:</td><td>Boolean</td>
  1882. </tr>
  1883. <tr mode="wrap">
  1884. <td width="20%">Destination:</td><td>public_mk_define</td>
  1885. </tr>
  1886. <tr mode="wrap">
  1887. <td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system ID base address. If true ignores export of 'SOPC_SYSID_FLAG += --sidp=&lt;address&gt;' and 'ELF_PATCH_FLAG += --sidp=&lt;address&gt;' to public.mk.</td>
  1888. </tr>
  1889. <tr mode="wrap">
  1890. <td width="20%">Restrictions:</td><td>none</td>
  1891. </tr>
  1892. </table>
  1893. <br>
  1894. <table border="1" bgcolor="#FFFFCC" width="60%">
  1895. <tr bgcolor="#77BBFF">
  1896. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_id</td>
  1897. </tr>
  1898. <tr>
  1899. <td width="20%">Identifier:</td><td>none</td>
  1900. </tr>
  1901. <tr>
  1902. <td width="20%">Default Value:</td><td>0</td>
  1903. </tr>
  1904. <tr>
  1905. <td width="20%">Value:</td><td>0</td>
  1906. </tr>
  1907. <tr>
  1908. <td width="20%">Type:</td><td>Boolean</td>
  1909. </tr>
  1910. <tr mode="wrap">
  1911. <td width="20%">Destination:</td><td>public_mk_define</td>
  1912. </tr>
  1913. <tr mode="wrap">
  1914. <td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system ID. If true ignores export of 'SOPC_SYSID_FLAG += --id=&lt;sysid&gt;' and 'ELF_PATCH_FLAG += --id=&lt;sysid&gt;' to public.mk.</td>
  1915. </tr>
  1916. <tr mode="wrap">
  1917. <td width="20%">Restrictions:</td><td>none</td>
  1918. </tr>
  1919. </table>
  1920. <br>
  1921. <table border="1" bgcolor="#FFFFCC" width="60%">
  1922. <tr bgcolor="#77BBFF">
  1923. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.ignore_system_derived.sopc_system_timestamp</td>
  1924. </tr>
  1925. <tr>
  1926. <td width="20%">Identifier:</td><td>none</td>
  1927. </tr>
  1928. <tr>
  1929. <td width="20%">Default Value:</td><td>0</td>
  1930. </tr>
  1931. <tr>
  1932. <td width="20%">Value:</td><td>0</td>
  1933. </tr>
  1934. <tr>
  1935. <td width="20%">Type:</td><td>Boolean</td>
  1936. </tr>
  1937. <tr mode="wrap">
  1938. <td width="20%">Destination:</td><td>public_mk_define</td>
  1939. </tr>
  1940. <tr mode="wrap">
  1941. <td width="20%">Description:</td><td>Enable BSP generation to query SOPC system for system timestamp. If true ignores export of 'SOPC_SYSID_FLAG += --timestamp=&lt;timestamp&gt;' and 'ELF_PATCH_FLAG += --timestamp=&lt;timestamp&gt;' to public.mk.</td>
  1942. </tr>
  1943. <tr mode="wrap">
  1944. <td width="20%">Restrictions:</td><td>none</td>
  1945. </tr>
  1946. </table>
  1947. <br>
  1948. <table border="1" bgcolor="#FFFFCC" width="60%">
  1949. <tr bgcolor="#77BBFF">
  1950. <td align="left" width="15%">Setting Name:</td><td align="left">hal.make.rm</td>
  1951. </tr>
  1952. <tr>
  1953. <td width="20%">Identifier:</td><td>RM</td>
  1954. </tr>
  1955. <tr>
  1956. <td width="20%">Default Value:</td><td>rm -f</td>
  1957. </tr>
  1958. <tr>
  1959. <td width="20%">Value:</td><td>rm -f</td>
  1960. </tr>
  1961. <tr>
  1962. <td width="20%">Type:</td><td>UnquotedString</td>
  1963. </tr>
  1964. <tr mode="wrap">
  1965. <td width="20%">Destination:</td><td>makefile_variable</td>
  1966. </tr>
  1967. <tr mode="wrap">
  1968. <td width="20%">Description:</td><td>Command used to remove files during 'clean' target.</td>
  1969. </tr>
  1970. <tr mode="wrap">
  1971. <td width="20%">Restrictions:</td><td>none</td>
  1972. </tr>
  1973. </table>
  1974. <br>
  1975. <table border="1" bgcolor="#FFFFCC" width="60%">
  1976. <tr bgcolor="#77BBFF">
  1977. <td align="left" width="15%">Setting Name:</td><td align="left">hal.max_file_descriptors</td>
  1978. </tr>
  1979. <tr>
  1980. <td width="20%">Identifier:</td><td>ALT_MAX_FD</td>
  1981. </tr>
  1982. <tr>
  1983. <td width="20%">Default Value:</td><td>32</td>
  1984. </tr>
  1985. <tr>
  1986. <td width="20%">Value:</td><td>32</td>
  1987. </tr>
  1988. <tr>
  1989. <td width="20%">Type:</td><td>DecimalNumber</td>
  1990. </tr>
  1991. <tr mode="wrap">
  1992. <td width="20%">Destination:</td><td>system_h_define</td>
  1993. </tr>
  1994. <tr mode="wrap">
  1995. <td width="20%">Description:</td><td>Determines the number of file descriptors statically allocated. This setting defines the value of ALT_MAX_FD in system.h.</td>
  1996. </tr>
  1997. <tr mode="wrap">
  1998. <td width="20%">Restrictions:</td><td>If hal.enable_lightweight_device_driver_api is true, there are no file descriptors so this setting is ignored. If hal.enable_lightweight_device_driver_api is false, this setting must be at least 4 because HAL needs a file descriptor for /dev/null, /dev/stdin, /dev/stdout, and /dev/stderr.</td>
  1999. </tr>
  2000. </table>
  2001. <br>
  2002. <table border="1" bgcolor="#FFFFCC" width="60%">
  2003. <tr bgcolor="#77BBFF">
  2004. <td align="left" width="15%">Setting Name:</td><td align="left">hal.stderr</td>
  2005. </tr>
  2006. <tr>
  2007. <td width="20%">Identifier:</td><td>none</td>
  2008. </tr>
  2009. <tr>
  2010. <td width="20%">Default Value:</td><td>none</td>
  2011. </tr>
  2012. <tr>
  2013. <td width="20%">Value:</td><td>jtag_uart</td>
  2014. </tr>
  2015. <tr>
  2016. <td width="20%">Type:</td><td>UnquotedString</td>
  2017. </tr>
  2018. <tr mode="wrap">
  2019. <td width="20%">Destination:</td><td>system_h_define</td>
  2020. </tr>
  2021. <tr mode="wrap">
  2022. <td width="20%">Description:</td><td>Slave descriptor of STDERR character-mode device. This setting is used by the ALT_STDERR family of defines in system.h.</td>
  2023. </tr>
  2024. <tr mode="wrap">
  2025. <td width="20%">Restrictions:</td><td>none</td>
  2026. </tr>
  2027. </table>
  2028. <br>
  2029. <table border="1" bgcolor="#FFFFCC" width="60%">
  2030. <tr bgcolor="#77BBFF">
  2031. <td align="left" width="15%">Setting Name:</td><td align="left">hal.stdin</td>
  2032. </tr>
  2033. <tr>
  2034. <td width="20%">Identifier:</td><td>none</td>
  2035. </tr>
  2036. <tr>
  2037. <td width="20%">Default Value:</td><td>none</td>
  2038. </tr>
  2039. <tr>
  2040. <td width="20%">Value:</td><td>jtag_uart</td>
  2041. </tr>
  2042. <tr>
  2043. <td width="20%">Type:</td><td>UnquotedString</td>
  2044. </tr>
  2045. <tr mode="wrap">
  2046. <td width="20%">Destination:</td><td>system_h_define</td>
  2047. </tr>
  2048. <tr mode="wrap">
  2049. <td width="20%">Description:</td><td>Slave descriptor of STDIN character-mode device. This setting is used by the ALT_STDIN family of defines in system.h.</td>
  2050. </tr>
  2051. <tr mode="wrap">
  2052. <td width="20%">Restrictions:</td><td>none</td>
  2053. </tr>
  2054. </table>
  2055. <br>
  2056. <table border="1" bgcolor="#FFFFCC" width="60%">
  2057. <tr bgcolor="#77BBFF">
  2058. <td align="left" width="15%">Setting Name:</td><td align="left">hal.stdout</td>
  2059. </tr>
  2060. <tr>
  2061. <td width="20%">Identifier:</td><td>none</td>
  2062. </tr>
  2063. <tr>
  2064. <td width="20%">Default Value:</td><td>none</td>
  2065. </tr>
  2066. <tr>
  2067. <td width="20%">Value:</td><td>jtag_uart</td>
  2068. </tr>
  2069. <tr>
  2070. <td width="20%">Type:</td><td>UnquotedString</td>
  2071. </tr>
  2072. <tr mode="wrap">
  2073. <td width="20%">Destination:</td><td>system_h_define</td>
  2074. </tr>
  2075. <tr mode="wrap">
  2076. <td width="20%">Description:</td><td>Slave descriptor of STDOUT character-mode device. This setting is used by the ALT_STDOUT family of defines in system.h.</td>
  2077. </tr>
  2078. <tr mode="wrap">
  2079. <td width="20%">Restrictions:</td><td>none</td>
  2080. </tr>
  2081. </table>
  2082. <br>
  2083. <table border="1" bgcolor="#FFFFCC" width="60%">
  2084. <tr bgcolor="#77BBFF">
  2085. <td align="left" width="15%">Setting Name:</td><td align="left">hal.sys_clk_timer</td>
  2086. </tr>
  2087. <tr>
  2088. <td width="20%">Identifier:</td><td>ALT_SYS_CLK</td>
  2089. </tr>
  2090. <tr>
  2091. <td width="20%">Default Value:</td><td>none</td>
  2092. </tr>
  2093. <tr>
  2094. <td width="20%">Value:</td><td>none</td>
  2095. </tr>
  2096. <tr>
  2097. <td width="20%">Type:</td><td>UnquotedString</td>
  2098. </tr>
  2099. <tr mode="wrap">
  2100. <td width="20%">Destination:</td><td>system_h_define</td>
  2101. </tr>
  2102. <tr mode="wrap">
  2103. <td width="20%">Description:</td><td>Slave descriptor of the system clock timer device. This device provides a periodic interrupt ("tick") and is typically required for RTOS use. This setting defines the value of ALT_SYS_CLK in system.h.</td>
  2104. </tr>
  2105. <tr mode="wrap">
  2106. <td width="20%">Restrictions:</td><td>none</td>
  2107. </tr>
  2108. </table>
  2109. <br>
  2110. <table border="1" bgcolor="#FFFFCC" width="60%">
  2111. <tr bgcolor="#77BBFF">
  2112. <td align="left" width="15%">Setting Name:</td><td align="left">hal.timestamp_timer</td>
  2113. </tr>
  2114. <tr>
  2115. <td width="20%">Identifier:</td><td>ALT_TIMESTAMP_CLK</td>
  2116. </tr>
  2117. <tr>
  2118. <td width="20%">Default Value:</td><td>none</td>
  2119. </tr>
  2120. <tr>
  2121. <td width="20%">Value:</td><td>none</td>
  2122. </tr>
  2123. <tr>
  2124. <td width="20%">Type:</td><td>UnquotedString</td>
  2125. </tr>
  2126. <tr mode="wrap">
  2127. <td width="20%">Destination:</td><td>system_h_define</td>
  2128. </tr>
  2129. <tr mode="wrap">
  2130. <td width="20%">Description:</td><td>Slave descriptor of timestamp timer device. This device is used by Altera HAL timestamp drivers for high-resolution time measurement. This setting defines the value of ALT_TIMESTAMP_CLK in system.h.</td>
  2131. </tr>
  2132. <tr mode="wrap">
  2133. <td width="20%">Restrictions:</td><td>none</td>
  2134. </tr>
  2135. </table>
  2136. <br>
  2137. <br>
  2138. <br>
  2139. </body>
  2140. </html>