Those are sources of generic information passed to the drivers. Not intrinsic data of the SoC (like its memory map).
-----Original Message----- From: Grr [mailto:gebbe...@gmail.com] Sent: Saturday, February 06, 2021 7:12 AM To: dev@nuttx.apache.org Subject: Re: Proper handling of arch header files > It is very non-modular if it exposes internal data. Tha must be > strictly avoided and prohibited in all cases. > So you mean exposing STM32_BOARD_XTAL and STM32_SYSCLK_FREQUENCY is OK but exposing board IO port address violates modularity That logic escapes me