Update the files which contain no license information with the
'Apache-2.0' SPDX license identifier. Many source files in the tree are
missing licensing information, which makes it harder for compliance
tools to determine the correct license.
By default all files without license information are under the default
license of Zephyr, which is Apache version 2.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This patch enables the GPIO driver by default on all boards equipped
with an nRF SoC (all boards having `CONFIG_SOC_FAMILY_NRF=y` in their
`_defconfig` file).
In vast majority of cases the driver is needed, so it is more
convenient to enable it at board level than in particular
applications.
And if the driver is undesired for some reason, it can be still
disabled in the application config.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
The options selecting nRF drivers are now enabled by default when
an nRF SoC is selected as the build target.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Including Bluetooth to every project unnecessary increase size of the
project, for example hello world sizes:
Memory region Used Size Region Size %age Used
FLASH: 48492 B 1 MB 4.62%
SRAM: 11236 B 256 KB 4.29%
IDT_LIST: 136 B 2 KB 6.64%
after the patch:
Memory region Used Size Region Size %age Used
FLASH: 13344 B 1 MB 1.27%
SRAM: 4004 B 256 KB 1.53%
IDT_LIST: 72 B 2 KB 3.52%
3+ times difference.
PS: It also crashes when 802.15.4 enabled.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
The ARM_MPU_NRF52X option is just selecting ARM_MPU option,
which could be also controlled through menuconfig.
This commit removes the ARM_MPU_NRF52X option and replaces
its usage by ARM_MPU option.
Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
When I2C and SPI are not used (such as when building a simple
bootloader for this target), the current Kconfig is generating a fair
bit of warning spew. Clean it up by moving some explicit _defconfig
settings into defaults.
Signed-off-by: Marti Bolivar <marti@foundries.io>