This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:software:compilation:compilation [2016/09/06 20:56] – [Compiling the EZ-USB FX2 firmware] stefan | en:software:compilation:compilation [2022/08/06 16:53] – [The line numbers of sdcc errors looks strange] 190.128.107.217 | ||
---|---|---|---|
Line 162: | Line 162: | ||
The standard rules for building the firmware using '' | The standard rules for building the firmware using '' | ||
the [[# | the [[# | ||
- | |||
- | ===== Compiling the EZ-USB FX3 firmware ===== | ||
- | The ZTEX SDK uses the Cypress EZ-USB FX3 SDK for compiling FX3 Firmware. Building process is the same. It is even possible to build the ZTEX firmware using the IDE delivered with the Cypress SDK (also see the [[en: | ||
===== Common pitfalls ===== | ===== Common pitfalls ===== | ||
- | ==== A binary (e.g. javac) cannot be found ==== | ||
- | **Solution: | ||
- | Make sure that configuration variables are set up correctly, see the [[en: | ||
- | |||
- | |||
- | ==== The line numbers of sdcc errors looks strange === | ||
- | |||
- | The macro processor [[bmp|bmp]] assembles the source files into one single temporary source file with '' | ||
- | |||
- | Usually this happens when there is a "''< | ||
- | |||
- | **Solution: | ||
- | The line informations can be suppressed by setting the '' | ||
- | |||
- | export LINEINFO=no | ||
- | | ||
- | before calling make or bmpsdcc.sh, respectively. The error then can be located in the '' | ||
- | Execute | ||
- | export LINEINFO="" | ||
- | | ||
- | in order to switch | ||
- | {{indexmenu_n> |