ssekar15 opened a new pull request, #21634:
URL: https://github.com/apache/nuttx/pull/21634

   ## Summary
   
   With the native traps, interrupts, system timer, clocks, watchdogs, UART
   and startup, no TriCore source calls or includes the Infineon iLLD any
   more. The build still downloads and patches the iLLD release, compiles
   the remaining iLLD sources (which the linker then discards) and adds their
   include paths and warning flags. This series removes what is left:
   
   - arch/tricore: Build TC3xx without the iLLD.
     Drop the download, the patches, the IfxCpu, IfxPms and IfxScu sources,
     the include paths and the iLLD warning flags, and
     arch/tricore/src/illd/tc3xx (Ifx_Cfg*.h, Ifx_Cfg_Ssw.c, patches).
   - arch/tricore: Build TC4xx without the iLLD.
     The same for TC4xx (IfxAp, IfxClock, IfxCpu, IfxDma, IfxSmm, IfxSmu,
     IfxVmt, IfxWtu) and arch/tricore/src/illd/tc4xx.
   - arch/tricore: Drop the iLLD interrupt mode define.
     IFX_USE_SW_MANAGED_INT only configured the iLLD headers. The TASKING
     cinit.o stays, for the native startup, which calls _c_init.
   - boards/tricore: Drop the iLLD startup sections from the linker scripts.
     The Ifx_Ssw_Tc0 to Ifx_Ssw_Tc5 and CompilerTasking Ifx_C_Init
     selectors of a2g-tc397-5v-tft and triboard_tc4x9_com.
   - tools/nxstyle: Drop the TriCore iLLD exceptions.
     The Ifx prefix, IfxAsclin_Asc.h and the Ifx_Cfg* files; all TriCore C
     files pass nxstyle without them.
   - Documentation/tricore: The port no longer uses the iLLD.
   
   ## Dependency
   
   Depends on #21545.
   
   ## Impact
   
   - TriCore builds (make and cmake) no longer download anything from
     github.com/Infineon and no longer apply patches to the source tree.
   - arch/tricore/src/illd is removed.
   - No change of the image: the text, data and bss sizes are the same as
     before on all four configurations (the iLLD objects were already
     discarded at link time). The GCC warnings of the iLLD sources are gone.
   - tools/nxstyle.c loses three TriCore only exceptions.
   - No Kconfig or board defconfig changes.
   
   ## Testing
   
   I confirm that changes are verified on local setup and works as intended:
   
   * Build Host(s): Linux x86_64, Debian GNU/Linux 12 (bookworm)
   * Toolchains: AURIX GCC 11.3.1 (tricore-elf-gcc), TASKING VX-toolset v6.4r1
     (TC3x), TASKING SmartCode v10.4r1 (TC4x)
   * Build systems: make, cmake (Ninja)
   * Target(s): a2g-tc397-5v-tft:nsh, triboard_tc4x9_com:nsh
   * Hardware: TriBoard TC397 V2.0; TriBoard TC4x7 COM V3.0 for the
     triboard_tc4x9_com image
   * Each commit passes tools/checkpatch.sh (with cmake-format). Each of the
     first two commits builds both boards with GCC.
   
   Build results (tip), with the text/data/bss sizes:
   
   | Board | Toolchain | before | after |
   |---|---|---|---|
   | a2g-tc397-5v-tft:nsh | GCC make | 226414 / 1724 / 54192 | 226414 / 1724 / 
54192 |
   | triboard_tc4x9_com:nsh | GCC make | 222526 / 1688 / 54644 | 222526 / 1688 
/ 54644 |
   | a2g-tc397-5v-tft:nsh | TASKING make | - | 220406 / 0 / 59852 |
   | triboard_tc4x9_com:nsh | TASKING make | - | 217196 / 0 / 59765 |
   | a2g-tc397-5v-tft:nsh | GCC cmake | - | pass |
   | triboard_tc4x9_com:nsh | TASKING cmake | - | pass |
   
   No iLLD download in the build logs and no Ifx symbol in System.map.
   
   Runtime, ostest (on 6b98fe5a700, the same tree as the tip before a commit
   message rewording):
   
   | Board | GCC | TASKING |
   |---|---|---|
   | TriBoard TC397 (a2g-tc397-5v-tft:nsh) | pass | pass |
   | TriBoard TC4x7 (triboard_tc4x9_com:nsh) | pass | pass |
   
   ```
   nsh> uname -a
   NuttX 10.4.0 6b98fe5a700 Nov  8 2026 14:22:36 tricore triboard_tc4x9_com
   nsh> ostest
   ...
   user_main: Exiting
   ostest_main: Exiting with status 0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to