Luchian,

I'm trying to turn on more debug info(looking at format specifiers), and when configre for nucleo-stm32h743zi2:jumbo and then enable STM32H7_ETHMAC_REGDEBUG, I get the following compilation warning (and nuttx fails to link):

chip/stm32_mdio.c:34:17: warning: 'stm32_getreg' used but never defined
   34 | static uint32_t stm32_getreg(uint32_t addr);
      |                 ^~~~~~~~~~~~
chip/stm32_mdio.c:35:13: warning: 'stm32_putreg' used but never defined
   35 | static void stm32_putreg(uint32_t val, uint32_t addr);
      |             ^~~~~~~~~~~~
chip/stm32_mdio.c:36:13: warning: 'stm32_checksetup' declared 'static' but 
never defined [-Wunused-function]
   36 | static void stm32_checksetup(void);
      |             ^~~~~~~~~~~~~~~~

In stm32_mdio.c the above functions are declared static but not defined.  Where can I find their definitions?

Is there a way to turn on as much Kconfig options for a particular board/arch as possible that I can use as a sanity test?

Thanks in advance!

--
Peter Barada
[email protected]

Reply via email to