Skip to content

Commit

Permalink
kernel/timeout: Make CONFIG_SYS_TIMEOUT_LEGACY_API default
Browse files Browse the repository at this point in the history
There is desire that the legacy mode of the timeout API be the default
configuration, so change that value and swap the variable in all the
existing tests.  Note that no test configuration is changing in this
commit, just the default sense of the variable.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
  • Loading branch information
Andy Ross committed Oct 1, 2019
1 parent d725cc2 commit 573bfba
Show file tree
Hide file tree
Showing 486 changed files with 387 additions and 277 deletions.
1 change: 1 addition & 0 deletions kernel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ config SYS_TIMEOUT_64BIT

config SYS_TIMEOUT_LEGACY_API
bool "Enable old millisecond timeout API"
default y
depends on !SYS_TIMEOUT_64BIT
help
When enabled, k_timeout_t values passed to kernel APIs are
Expand Down
2 changes: 2 additions & 0 deletions samples/application_development/code_relocation/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_CODE_DATA_RELOCATION=y
CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
CONFIG_CUSTOM_LINKER_SCRIPT="linker_arm_sram2.ld"
CONFIG_COVERAGE=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 1 addition & 0 deletions samples/application_development/external_lib/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CONFIG_STDOUT_CONSOLE=y
CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/blinky/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_GPIO=y
CONFIG_SERIAL=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/button/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_GPIO=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/disco/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_GPIO=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/arm.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_ARM_MPU=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ CONFIG_EARLY_CONSOLE=n

# Build
CONFIG_SIZE_OPTIMIZATIONS=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/mt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_ERRNO=n
CONFIG_SCHED_DUMB=y
CONFIG_WAITQ_DUMB=y


CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/no-mt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Single-threaded, no timer support in the kernel

CONFIG_MULTITHREADING=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/no-preempt.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_NUM_PREEMPT_PRIORITIES=0

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/no-timers.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# No timer support in the kernel
CONFIG_SYS_CLOCK_EXISTS=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/basic/minimal/x86.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_X86_MMU=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/basic/threads/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_PRINTK=y
CONFIG_HEAP_MEM_POOL_SIZE=256
CONFIG_ASSERT=y
CONFIG_GPIO=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/beacon/prj.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_DEVICE_NAME="Test beacon"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/central/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/eddystone/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="Zephyr Eddystone"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/handsfree/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ CONFIG_BT_RFCOMM=y
CONFIG_BT_HFP_HF=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="test-Handsfree"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ CONFIG_FLASH_MAP=y
CONFIG_FCB=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_FCB=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_csc/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ CONFIG_BT_GATT_DIS_PNP=n
CONFIG_BT_GATT_BAS=y
CONFIG_BT_DEVICE_NAME="CSC peripheral"
CONFIG_BT_DEVICE_APPEARANCE=1157
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_dis/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ CONFIG_BT_SETTINGS=y

CONFIG_BT_GATT_DIS_SETTINGS=y
CONFIG_BT_GATT_DIS_STR_MAX=21
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_esp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ CONFIG_BT_GATT_DIS=y
CONFIG_BT_GATT_DIS_PNP=n
CONFIG_BT_GATT_BAS=y
CONFIG_BT_DEVICE_APPEARANCE=768
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_hids/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ CONFIG_FLASH_MAP=y
CONFIG_FCB=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_FCB=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_hr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_BT_GATT_BAS=y
CONFIG_BT_GATT_HRS=y
CONFIG_BT_DEVICE_NAME="Zephyr Heartrate Sensor"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_ht/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_BT_GATT_BAS=y
CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer"
CONFIG_BT_DEVICE_APPEARANCE=768
CONFIG_BT_ATT_ENFORCE_FLOW=n
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_sc_only/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ CONFIG_BT_SMP_SC_ONLY=y
CONFIG_BT_TINYCRYPT_ECC=y
CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_DEVICE_NAME="SC only peripheral"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/bluetooth/scan_adv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_BT=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_OBSERVER=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/boards/96b_argonkey/microphone/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ CONFIG_AUDIO_MPXXDTYY=y

CONFIG_DMA=y
CONFIG_DMA_0_IRQ_PRI=0
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/boards/96b_argonkey/sensors/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ CONFIG_LPS22HB=y
CONFIG_VL53L0X=y
CONFIG_LSM6DSL=y
CONFIG_LP3943=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/boards/altera_max10/pio/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_GPIO=y
CONFIG_GPIO_ALTERA_NIOS2=y
CONFIG_GPIO_ALTERA_NIOS2_OUTPUT=y
CONFIG_GPIO_ALTERA_NIOS2_OUTPUT_DEV_NAME="PIO_OUTPUT"

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/boards/arc_secure_services/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/boards/bbc_microbit/display/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
CONFIG_GPIO=y
CONFIG_DISPLAY=y
CONFIG_MICROBIT_DISPLAY=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/boards/bbc_microbit/line_follower_robot/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_GPIO=y
CONFIG_I2C=y
CONFIG_PRINTK=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/boards/bbc_microbit/sound/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ CONFIG_DISPLAY=y
CONFIG_MICROBIT_DISPLAY=y
CONFIG_PWM=y
CONFIG_PWM_NRF5_SW=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/boards/nrf52/power_mgr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_SYS_PM_STATE_LOCK=y
CONFIG_SYS_PM_MIN_RESIDENCY_SLEEP_1=5000
CONFIG_SYS_PM_MIN_RESIDENCY_SLEEP_2=15000
CONFIG_GPIO=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/boards/nrf52/power_mgr/prj_tickless.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ CONFIG_PM_CONTROL_STATE_LOCK=y
CONFIG_PM_LPS_1_MIN_RES=5
CONFIG_PM_LPS_2_MIN_RES=15
CONFIG_GPIO=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/boards/olimex_stm32_e407/ccm/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ CONFIG_PRINTK=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_EARLY_CONSOLE=y
CONFIG_LOG=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/boards/sensortile_box/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
CONFIG_UART_CONSOLE_ON_DEV_NAME="CDC_ACM_0"
CONFIG_USB_UART_DTR_WAIT=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/boards/up_squared/gpio_counter/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CONFIG_GPIO=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/cpp_synchronization/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CONFIG_CPLUSPLUS=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/display/cfb/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_LOG=y

CONFIG_CFB_LOG_LEVEL_DBG=y
CONFIG_CHARACTER_FRAMEBUFFER=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/display/cfb_custom_font/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_DISPLAY=y

CONFIG_CHARACTER_FRAMEBUFFER=y
CONFIG_CHARACTER_FRAMEBUFFER_USE_DEFAULT_FONTS=n

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/display/cfb_shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_DISPLAY=y
CONFIG_CHARACTER_FRAMEBUFFER=y
CONFIG_SHELL=y
CONFIG_CHARACTER_FRAMEBUFFER_SHELL=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/display/grove_display/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_I2C=y

CONFIG_DISPLAY=y
CONFIG_GROVE_LCD_RGB=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/display/ili9340/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ CONFIG_DISPLAY_LOG_LEVEL_DBG=y

CONFIG_LOG=y


CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/display/st7789v/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CONFIG_ST7789V_RGB565=y
CONFIG_DISPLAY_LOG_LEVEL_DBG=y

CONFIG_LOG=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/drivers/CAN/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_CAN_MAX_FILTER=5
CONFIG_SHELL=y
CONFIG_CAN_SHELL=y
CONFIG_DEVICE_SHELL=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/counter/alarm/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CONFIG_PRINTK=y
CONFIG_COUNTER=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 1 addition & 0 deletions samples/drivers/crypto/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ CONFIG_CRYPTO=y
CONFIG_CRYPTO_TINYCRYPT_SHIM=y
CONFIG_CRYPTO_LOG_LEVEL_DBG=y
CONFIG_LOG=y
CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 1 addition & 0 deletions samples/drivers/crypto/prj_mtls_shim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CONFIG_MAIN_STACK_SIZE=4096
CONFIG_CRYPTO=y
CONFIG_CRYPTO_MBEDTLS_SHIM=y
CONFIG_CRYPTO_LOG_LEVEL_DBG=y
CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/current_sensing/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_I2C=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 1 addition & 0 deletions samples/drivers/entropy/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_ENTROPY_GENERATOR=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/drivers/flash_shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_FLASH=y
# it here.
# CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/gpio/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CONFIG_GPIO=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/ht16k33/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ CONFIG_GPIO=y
CONFIG_LED=y
CONFIG_HT16K33=y
CONFIG_HT16K33_KEYSCAN=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/drivers/i2c_fujitsu_fram/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y

CONFIG_I2C=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/i2c_scanner/overlay-nrf52.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_I2C_NRFX=y
CONFIG_I2C_0=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/i2c_scanner/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_PRINTK=y
CONFIG_I2C=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/lcd_hd44780/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CONFIG_GPIO=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/drivers/led_apa102/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

CONFIG_LOG=y
CONFIG_LED_STRIP=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/led_lp3943/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_LOG=y
CONFIG_I2C=y
CONFIG_LED=y
CONFIG_LP3943=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/led_lp5562/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_LOG=y
CONFIG_I2C=y
CONFIG_LED=y
CONFIG_LP5562=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/led_lpd8806/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_SPI=y

CONFIG_LED_STRIP=y
CONFIG_LPD880X_STRIP=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/led_pca9633/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ CONFIG_I2C=y

CONFIG_LED=y
CONFIG_PCA9633=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/drivers/led_ws2812/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

CONFIG_LOG=y
CONFIG_LED_STRIP=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
2 changes: 2 additions & 0 deletions samples/drivers/soc_flash_nrf/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/spi_fujitsu_fram/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ CONFIG_PRINTK=y

CONFIG_SPI=y
CONFIG_GPIO=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/watchdog/nucleo_l496zg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ CONFIG_CLOCK_STM32_MSI_RANGE=5
CONFIG_CLOCK_STM32_AHB_PRESCALER=1
CONFIG_CLOCK_STM32_APB1_PRESCALER=1
CONFIG_CLOCK_STM32_APB2_PRESCALER=1

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/drivers/watchdog/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_LOG=y
CONFIG_WDT_LOG_LEVEL_DBG=y
CONFIG_WATCHDOG=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/gui/lvgl/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ CONFIG_LOG=y

CONFIG_LVGL=y
CONFIG_LVGL_OBJ_LABEL=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 1 addition & 0 deletions samples/hello_world/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# nothing here
CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/mpu/mpu_test/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CONFIG_LOG=y
### These can be uncommented to enable the flash device on the
### STM32F4X devices.
# CONFIG_SOC_FLASH_STM32=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
2 changes: 2 additions & 0 deletions samples/mpu/mpu_test/prj_single.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_MULTITHREADING=n
CONFIG_SHELL=y
CONFIG_LOG=y

CONFIG_SYS_TIMEOUT_LEGACY_API=n
1 change: 0 additions & 1 deletion samples/net/dhcpv4_client/overlay-e1000.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ CONFIG_ETH_E1000=y
CONFIG_PCIE=y

#CONFIG_ETHERNET_LOG_LEVEL_DBG=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/net/dhcpv4_client/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ CONFIG_LOG=y

CONFIG_SLIP_STATISTICS=n
CONFIG_NET_SHELL=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/net/dns_resolve/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"

CONFIG_MAIN_STACK_SIZE=1504
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/net/eth_native_posix/net_setup_host.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ IPV6_ROUTE_1="2001:db8::/64"

IPV4_ADDR_1="192.0.2.2"
IPV4_ROUTE_1="192.0.2.0/24"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/net/eth_native_posix/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ CONFIG_NET_L2_ETHERNET=y
CONFIG_ETH_NATIVE_POSIX=y
CONFIG_ETH_NATIVE_POSIX_RANDOM_MAC=y
#CONFIG_ETH_NATIVE_POSIX_MAC_ADDR="00:00:5e:00:53:2a"
CONFIG_SYS_TIMEOUT_LEGACY_API=y
1 change: 0 additions & 1 deletion samples/net/gptp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@ CONFIG_NET_TC_RX_COUNT=4

# Enable priority support in net_context
CONFIG_NET_CONTEXT_PRIORITY=y
CONFIG_SYS_TIMEOUT_LEGACY_API=y
Loading

0 comments on commit 573bfba

Please sign in to comment.