Olivier Martin
1e630baa02
subsys: dfu: Migrate to new logging subsys
...
Migrate from `SYS_LOG` to `LOG` logging mechanism.
Signed-off-by: Olivier Martin <olivier.martin@proglove.de>
2018-10-08 17:49:12 -04:00
Anas Nashif
c2551ea57b
gpio: log: rename level variable
...
Rename log level variable:
CONFIG_LOG_GPIO_LEVEL to CONFIG_GPIO_LOG_LEVEL
Use template for log levels.
Register modules in drivers using logging.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
ab3f56577f
gpio_sch: fix log message
...
log message missing a parameter for the pin.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Olivier Martin
9339d65e6e
drivers: gpio: Migrate to new logging subsys
...
Migrate from `SYS_LOG` to `LOG` logging mechanism.
Signed-off-by: Olivier Martin <olivier.martin@proglove.de>
2018-10-08 17:49:12 -04:00
Anas Nashif
3c7e60ee74
nvs: fix style
...
Fix code style after moving to new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
12984c6d1f
subsys: nvs: move to new logger
...
Move to new logger and update all related samples and configs.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
fbbb3da192
tests: logging: disable default log modules
...
log modules of kernel are creating noise, set them to off to have this
test work as expected.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
24a8351aab
samples: display: set log level correctly
...
Use boolean kconfig for setting log level.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
68958b35a1
drivers: display: define DISPLAY log level
...
Use a common log level for display drivers.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
f4fb215148
drivers: spi_dw: remove debug message
...
Remove debug message using undefined functions.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
95d710ca41
arch: nxp_mpu: fix types in log macro
...
Fix format type in log message.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
37d5c90619
tests: crypto: use printk instead of logging
...
Remove single use of logger in favor of printk.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
88aa2ca49f
driver: spi: use new logger
...
move SPI drivers to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
27eec649bf
samples: led: fix default log level kconfig
...
Use correct Kconfig for default log level.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
c60aa42da7
samples: flash_shell: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
a37274b8f4
samples: led_lpd8806: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
6038070704
samples: led_pca9633: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
567f818d44
samples: led_ws2812: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
7d9d0451fb
samples: led_lp3943: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
b5c795d909
samples: led_lp5562: move to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
ff9c20826c
driver: pwm: use new logger
...
move PWM driver to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
f7009d3a95
samples: move crypto sample to new logger
...
move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
c4d1324ce4
samples: crypto: move to new logger
...
Move sample to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
88587b34c8
samples: fix prj.conf to use new logger
...
Configure samples to use new logger.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Olivier Martin
049a4f8688
drivers: watchdog: Migrate to new logging subsys
...
Migrate from `SYS_LOG` to `LOG` logging mechanism.
Signed-off-by: Olivier Martin <olivier.martin@proglove.de>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
07ff2d580b
drivers: dma: move to new logger
...
Move to new logger and adapt samples.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
f7dac85d15
drivers: i2c: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
3da714193f
drivers: crypto: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
4faa6993f1
drivers: clock_control: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
c141df09e3
drivers: can: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
31a089412f
drivers: audio: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
9a8567fa4a
drivers: adc: move to new logger
...
Move to new logger subsystem.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
d77e6cc5cf
drivers: entropy: remove unused logger kconfig
...
This is not being used by any drivers, so removing until we need it.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
f8d439d36e
kernel: move malloc handling to new logger
...
Make this part of the kernel log domain, it is used by the kernel.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
071c9dc0f3
soc: logging: move soc tree to new logger
...
Use the new logger framework for soc related code.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
8e38670af3
arch: setup logging using new logger
...
Use the new logger framework for architecture code.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
0a0c8c831f
kernel: move to new logger
...
Use the new logger framework for kernel.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 17:49:12 -04:00
Anas Nashif
eb29978a57
userspace: move KOBJECT/PRIVILEGED_STACK_TEXT_AREA to Kconfig
...
Instead of hardcoding in linker script, use a Kconfig and deal with
dependencies in Kconfig instead of directly in the linker file.
This patch moves both:
PRIVILEGED_STACK_TEXT_AREA
and
KOBJECT_TEXT_AREA
to arch/Kconfig.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-08 14:18:26 -04:00
Dhananjay Gundapu Jayakrishnan
24bfa40964
kernel: k_queue: extend k_queue API to append unique element
...
k_queue has k_queue_append API which does not check if the element's
address already exists. This creates a problem if the same element
address is appended to queue. This forms circular list showing
unintended behaviour for the application using queue. The proposed
API k_queue_find_and_append takes care of checking if element exists
already before appending. This API is complimentary to k_queue_remove
which checks if the queue element is present before removing.
Signed-off-by: Dhananjay Gundapu Jayakrishnan <dhananjay.jayakrishnan@proglove.de>
2018-10-08 12:59:12 -04:00
Manivannan Sadhasivam
887c74a365
boards: 96b_nitrogen: adapt to the board configuration guidelines
...
As per default board configuration guidelines, this commit updates
96Boards Nitrogen board.
Following changes are done:
- Enable I2C0 and SPI0 in board dts
- Add exposed peripherals in board Kconfig
- Update board yaml
- Remove config option to select board
- Update documentation for UART, I2C and SPI
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2018-10-08 12:57:43 -04:00
Manivannan Sadhasivam
5c2d2a812c
boards: 96b_neonkey: adapt to the board configuration guidelines
...
As per default board configuration guidelines, this commit updates
96Boards Neonkey board.
Following changes are done:
- Enable I2C2 in board dts
- Add exposed peripherals in board Kconfig
- Update board yaml
- Remove config option to select board
- Update documentation for SPI
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2018-10-08 12:57:43 -04:00
Manivannan Sadhasivam
154b68d3e5
boards: 96b_carbon_nrf51: adapt to the board configuration guidelines
...
As per default board configuration guidelines, this commit updates
96Boards Carbon nRF51 board.
Following changes are done:
- Enable I2C0 in board dts
- Update board yaml
- Remove config option to select board
- Update documentation for SPI
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2018-10-08 12:57:43 -04:00
Manivannan Sadhasivam
82cddbbf43
boards: 96b_carbon: adapt to the board configuration guidelines
...
As per default board configuration guidelines, this commit updates
96Boards Carbon board.
Following changes are done:
- Enable exposed I2C2 in dts
- Only enable basic peripherals in board defconfig
- Add exposed peripherals in board Kconfig
- Update documentation for SPI
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2018-10-08 12:57:43 -04:00
Manivannan Sadhasivam
11f3ddfc28
boards: 96b_argonkey: adapt to the board configuration guidelines
...
As per default board configuration guidelines, this commit updates
96Boards Argonkey board.
Following changes are done:
- Enable exposed SPI1
- Update yaml file
- Only enable basic peripherals in board defconfig
- Add exposed peripherals in board Kconfig
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2018-10-08 12:57:43 -04:00
Christian Taedcke
9a71c837ab
boards: efm32wg_stk3800: Fix wrong doc for button pins
...
Buttons are on PB9 and PB10.
Also add credit for the board image.
Signed-off-by: Christian Taedcke <hacking@taedcke.com>
2018-10-08 12:55:34 -04:00
Yannis Damigos
d1a655a624
subsys/usb: Move to new logger subsystem
...
Move to new logger subsystem.
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2018-10-08 12:54:57 -04:00
Yannis Damigos
452c3d6a87
include/usb/usb_device: Add USB_* log macros
...
Add USB_DBG, USB_WRN, USB_ERR, USB_INF macros
in usb_device header file and remove them
from usb device drivers.
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2018-10-08 12:54:57 -04:00
Andrei Emeltchenko
c7567fe025
samples: zperf: Fix sanity check with NET, USB and logs
...
Decrease number of buffer for sanity check, in real sample logs
consuming a lot of memory might be traded for buffers. The sample was
failing for quark_se_c1000_devboard.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2018-10-08 12:54:57 -04:00
Yannis Damigos
1674d061b6
drivers: usb: device: Migrate to new logger
...
Move to new logger subsystem.
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2018-10-08 12:54:57 -04:00
Vinayak Kariappa Chettimada
71fff7648d
Bluetooth: controller: Refactor adv random delay resolution fix
...
Refactored the fix in the commit 685da02354
("Bluetooth:
controller: Fix advertising random delay resolution calc")
to apply modulo in tick units before adding a tick.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2018-10-08 12:53:50 -04:00