mimxrt: Use -Og instead of -O0 for DEBUG builds.

Thanks for the hint, Damien. The DEBUG build got very large recently.
The major difference is, that inline function are now inlined and
not included as a function. That's good and maybe bad. The good thing is,
that the code speed si now close to the final code. It could be worse
in single step debugging. I'll see.

Setting this option caused a new warning and a formatting error
to pop up at different places. Fixed as well.
This commit is contained in:
robert-hh
2021-12-09 08:44:26 +01:00
parent 64aa0bcb88
commit c5dbbf71c0
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
#define PHY_PHYSTS_LINK_MASK 0x0001U /*!< The PHY link up mask. */
#define PHY_RMII_MODE 0x20
#define PHY_RMII_REV1_0 0x10
#define PHY_RMII_REV1_0 0x10
/*! @brief Defines the timeout macro. */
#define PHY_READID_TIMEOUT_COUNT 1000U