Commit Graph

4095 Commits

Author SHA1 Message Date
Robson Sopran
db5c12aecc Fix ID bits 18-20 of mcp2515 can driver 2021-03-28 23:40:05 -05:00
Brennan Ashton
0a3b20e546 syslog: Drop extra carriage return from syslog calls 2021-03-28 21:24:00 -05:00
Alin Jerpelea
e699b6f85f misc: : Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Several files were missed in the past

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-28 13:34:50 -07:00
Petteri Aimonen
dccd436a58 USBDEV RNDIS: Fix unaligned access caused by 4f66624
Previous fix to RNDIS response queueing caused unaligned access
to response buffer in some configurations. On ARM Cortex-M, this
would cause hardfault if optimizer used strd instruction.

Fix by allocating the buffer as uint32_t. RNDIS messages are always
a multiple of 4 bytes in size, so this ensures alignment.
2021-03-26 21:31:43 +09:00
Petteri Aimonen
d0c6104efb USBDEV RNDIS: Fix style and printf issues 2021-03-24 14:44:23 -03:00
Petteri Aimonen
94480305a7 USBDEV RNDIS: Improve error recovery
Gracefully handle output queue full conditions. This shouldn't happen
in practice as the host is supposed to limit the number of commands
simultaneously in execution.

Reset the response queue on RNDIS_RESET_MSG. This way communication
can recover even if host and device get out of sync.
2021-03-24 14:44:23 -03:00
Petteri Aimonen
4f66624ea3 USBDEV RNDIS: Fix occasional disconnections due to race condition
Sometimes Windows would send RNDIS_KEEPALIVE_MSG and RNDIS_QUERY_MSG close
to each other. This would cause the latter command to overwrite the reply for
the prior command. This in turn will cause Windows to drop the connection after
a 20 second timeout.

Easy way to reproduce the issue is to open the Windows "Adapter Status" dialog that
shows the realtime TX/RX byte counts. This causes multiple RNDIS_QUERY_MSGs per
second, and the connection will drop in less than an hour.

This commit fixes this issue, and other potential race conditions (such as USB
descriptor read in middle on RNDIS query) by using a separate queue for the reply
packets.
2021-03-24 14:44:23 -03:00
Fotis Panagiotopoulos
f13adbe4bb Added support for multiple syslog channels. 2021-03-23 21:35:22 -07:00
Roberto Bucher
9a2cb311a3 File for the integration of pysimCoder with NUTTX 2021-03-23 20:37:56 -03:00
Alin Jerpelea
da7dfd06b3 drivers: Author David Sidrane: update licenses to Apache
David Sidrane has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
8dd660ecd4 nuttx: Author David S. Alessio: update licenses to Apache
David S. Alessio has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Alin Jerpelea
0abc1017ab drivers: nxstyle fixes
nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Alin Jerpelea
c798076084 drivers: Author Sebastien Lorquet: update licenses to Apache
Sebastien Lorquet has submitted the ICL and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-20 19:22:58 -07:00
Nathan Hartman
9eca886f26 drivers/sensors/qencoder.c - Remove bad sninfo() format string
drivers/sensors/qencoder.c:

    * qe_close(): Call to sninfo() contained extraneous "%d"
      format specifier. Removing it, as it appears there was
      never a matching argument.
2021-03-19 23:00:37 -07:00
Jaroslav Beran
7c96a25ec1 can: prevent integer overflow in can_write
Because buflen is size_t (unsigned) and nsent is ssize_t (signed)
of the same size, (buflen - nsent) results in unsigned and
overflows if nsent > buflen.

This happens when sending CAN FD frame with DLC > 8 and a user
gets the buflen parameter as a result of CAN_MSGLEN(len)
where `len' is the size of data which is less then a size
for some extended DLC  (e.g. 26 bytes is sent in a message with
DLC 0xD, which has 32 bytes of data).

The correct buflen value should be rather
  CAN_MSGLEN(can_dlc2bytes(can_bytes2dlc(len)))

Signed-off-by: Jaroslav Beran <jara.beran@gmail.com>
2021-03-19 23:00:07 -07:00
Jiuzhu Dong
59eb4fa8d6 fs: delete NFILE_DESCRIPTORS for allocating dynamically
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
YAMAMOTO Takashi
ed305ccc64 drivers/bch/bchlib_cache.c: Fix build with CONFIG_BCH_ENCRYPTION
It seems no one has built this since 2014.

I only build-tested this with esp32-devkitc:wapi +
CONFIG_BCH_ENCRYPTION + CONFIG_ESP32_AES_ACCELERATOR.
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
39b3998149 bch: Enable with CONFIG_BCH, instead of !CONFIG_DISABLE_MOUNTPOINT
BCH can be used without mount points.
Mount points can be used without BCH.
They are independent each other.
2021-03-17 01:25:16 -07:00
Yuichi Nakamura
aa718dcbac lcd/st7789: X/Y offset and screen orientation support 2021-03-16 06:35:04 -03:00
Alan C. Assis
a06aa8e512 lcd/backpack: Enable backlight if CONFIG_SLCD_CONSOLE 2021-03-14 20:14:40 -07:00
Alan C. Assis
ffc43c2d31 lcd/st7789: Make X/Y Resolution configurable 2021-03-14 20:05:33 -07:00
Alin Jerpelea
d66d881b87 nxstyle fixes
nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
Alin Jerpelea
5e6d58dd03 drivers: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis has submitted the SGA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
David Sidrane
0c57351f78 mmcsd:Stuck in 1-bit mode, Removed CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
mmcsd:Remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32h7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32f7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32f7:sdmmc WRITE COMPLETE prevent false triggers
   stm32h7:sdmmc WRITE COMPLETE prevent false triggers

   While testing PR #2989 on the H7 I noticed that the cards
   were staying in 1-bit mode. The root cause was that the
   scr read path was using DMA without an invlidate.

   This was caused by CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT,
   but the sdmmc driver, did not use the delayed invalidate
   nor would it work on 8 bytes.

   The driver fully supported dcache mgt on runt buffers, but
   the #ifdef CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT blocked it.

   Reviewing the PR that added CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   it may have been valid at the time. But after the dcache operations
   we fixed. It is not necessary and offers no benefit.
2021-03-12 16:42:16 -03:00
Matias N
cf8521e6de syslog: add option to prefix process name 2021-03-11 19:40:48 -03:00
buyuer
097df2669c drivers/sensor: fakesensor support batch.
Signed-off-by: buyuer <dingddding@163.com>
2021-03-10 14:16:38 +08:00
Gustavo Henrique Nihei
330eff36d7 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f makefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
ligd
24cc83e46f serial/serial_dma.c: fix warnnings
serial/serial_dma.c: In function ‘uart_recvchars_done’:
serial/serial_dma.c:407:7: warning: implicit declaration of function ‘nxsig_kill’ [-Wimplicit-function-declaration]
  407 |       nxsig_kill(dev->pid, signo);
      |       ^~~~~~~~~~

Change-Id: I9e1c0341ecce3033889d11fff9ec2b9e3dfe303b
2021-03-07 01:45:51 -08:00
ligd
64708ddc7a drivers/serial/Kconfig: fix configure warnning
user should select the default action by self:
warning: (TTY_SIGINT) selects SIG_SIGKILL_ACTION which has unmet direct dependencies (SIG_DEFAULT)

Change-Id: Ied9899d18156742ce4998b40d53a481262dcd84a
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-07 01:45:51 -08:00
Alin Jerpelea
ccff570e6f drivers: nxstyle fixes
nxstyle fixes to pass the CI.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-04 18:32:27 -08:00
Alin Jerpelea
e5b6305f4a drivers: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-04 18:32:27 -08:00
Jiuzhu Dong
48493dac5b telnet: fix crash about telnet client connect
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-05 06:55:17 +09:00
ligd
0d24582fe0 syslog_rpmsg: fix system crash when open CONFIG_SCHED_HAVE_PARENT
Reason:
nx_start use syslog at every early time event the idle thread not
full setup, then syslog_rpmsg -> work_queue -> work_signal ->
nxsig_kill -> rtcb is NULL -> crash

Fix:
sched work_queue after is_rpmsg_ept_ready() is true

Change-Id: I225469ff2526e4b810bf3e23473b55d57e64a1ff
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-03-03 19:08:15 -08:00
Jiuzhu Dong
4d5a964f29 net: unify socket into file descriptor
Change-Id: I9bcd21564e6c97d3edbb38aed1748c114160ea36
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-03 19:01:41 -08:00
Xiang Xiao
c8d4a4c76a mtd/progmem: Add up_progmem_read callback guarded by ARCH_HAVE_PROGMEM_READ
since sometime platform code need do some special action during memcpy

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id108ef4232376feab3e37e9b3aee9a7927a03bd4
2021-03-03 13:47:59 -08:00
Xiang Xiao
0aa78ccc81 mtd/progmem: Let MTD_PROGMEM depend on ARCH_HAVE_PROGMEM
and remove the reference of CONFIG_ARCH_HAVE_PROGMEM from code

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I89a73f138d54718ee8bc9345958675d7a2a34ba8
2021-03-03 13:47:59 -08:00
Xiang Xiao
151cf49562 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Xiang Xiao
9473434587 Ensure the kernel component don't call userspace API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Gustavo Henrique Nihei
c76e201ebd drivers/i2s: Fix nxstyle issues 2021-02-25 18:57:18 -08:00
Gustavo Henrique Nihei
55d66f60a3 drivers: Fix typos reported by codespell 2021-02-25 18:57:18 -08:00
Jiuzhu Dong
936ce77d21 driver/sensor: gets the capacity of the hardware fifo
to hold the number of events

Change-Id: I58a9ad07913c7b189e1fd229ab22e91e220e01f6
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-24 15:26:15 -03:00
Jiuzhu Dong
46ea549630 driver/sensor: Fetch(with O_NONBLOCK) will directly return.
when sensor is disable.

Change-Id: I02c02aa447ee0b0d681082b4209ecd36e10f2547
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-24 15:26:15 -03:00
Jiuzhu Dong
54ea96da6b driver/sensor: replace lower->buffer_size with lower->buffer_number
more efficient

Change-Id: I0823b10248caf75e4dd6a5086ad230ba4a7298f6
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-02-24 15:26:15 -03:00
Alin Jerpelea
26e1f1f249 tools: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-19 08:07:47 -08:00
Byron Ellacott
9a1b726bae fs: change geometry types from size_t to blkcnt_t and blksize_t
This change reflects that the geometry isn't related to the largest
allocatable unit on the platform.

Calls to read and write block devices are also affected and have
been updated.
2021-02-18 20:38:22 -08:00
Masayuki Ishikawa
1dc77c2ec5 drivers: audio: Introduce a driver-specific spinlock to cxd56.c
Summary:
- This commit introduces a driver-specific spinlock to cxd56.c
  to improve performance in SMP mode.

Impact:
- cxd56.c in SMP mode only

Testing:
- Tested with nxplayer and nxrecorder with the following configs
- spresense:wifi, spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-15 01:54:44 -08:00
buyuer
a2c79bed20 Add fakesensor driver.
This driver can read sensor data from csv file.

Signed-off-by: buyuer <dingddding@163.com>
2021-02-11 09:28:55 -08:00
Masayuki Ishikawa
d87f350831 arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
  g_irq_spin for backword compatibility (In this case, NULL must be specified)

Impact:
- None

Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
Alexander Vasiljev
dbec1cf694 drivers:mtd:smart.c: entryname is declared and should be under ifdef 2021-02-04 10:05:59 -08:00
Alexander Vasiljev
9146878dad drivers:mtd:w25qxxxjv.c: use different protect bits and address lengths for different chips 2021-02-04 10:05:59 -08:00
Masayuki Ishikawa
0c68ddb760 drivers: wireless: Change retry condition in gs2200m_hal_write()
Summary:
- During Wi-Fi stress test, I noticed that ASSERT() happened
  in gs2200m_hal_write(). Actually, this happens in 20-40 hours.
- In this case, resp[1] was always 0x0 which is not defined
  in the spec.
- In the previous implementation, retry was only done in case of
  WR_RESP_NOK. (0x13)
- This commit changes this condition and it reties in case of
  0x0 as well

Impact:
- gs2200m driver

Testing:
- Tested with spresense:wifi_smp and stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-03 10:29:05 +01:00
Jukka Laitinen
b8dc64ffed drivers/net/encx24j600.c: Correct setting of ifstate
The ifstate is already set in
  enc_ifup -> enc_reset -> enc_linkstatus

The ifstate after this call is either ENCSTATE_RUNNING or ENCSTATE_UP

If ifstate is ENCSTATE_RUNNING, it would be wrong to set it to ENCSTATE_UP;
this would lead to enc_txavail never invoking the driver callback, causing
very long latencies in sending.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-01-29 09:52:04 -08:00
Alexander Vasiljev
96cbd1d8a1 drivers: mtd: w25qxxxjv.c : W25Q256's sector count is 8192 2021-01-29 06:47:03 -08:00
Alin Jerpelea
6d786bedb5 drivers: mtd: mx35.c: mix case identifier fix
nxstyle fix for mix case identifier.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alin Jerpelea
2d8b193df4 drivers: mtd: fix nxstyle errors
Fix nxstyle errors to pass the CI errors.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alin Jerpelea
95adb15824 drivers: mtd: nxstyle errors fix
Fixed to pass the nxstyle CI erros

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alin Jerpelea
822fbe5c10 drivers: mtd: mtd_nandscheme: mix case identifier fix
nxstyle fix for mix case identifier.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-27 18:40:00 -08:00
Alan C. Assis
f63e1e277f Add generic support to LWL Console 2021-01-26 18:21:28 -08:00
Alin Jerpelea
cb5d8b53cb drivers: video: altair: nxstyle fixes
Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Alin Jerpelea
bdb4b344a8 drivers: sensors: bmi160.c: nxstyle fixes
Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Alin Jerpelea
baac749d4f drivers: modem: altair: altmdm_spi.h: nxstyle fixes
Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Alin Jerpelea
f22683a0a6 drivers: replace licenses with Apache 2.0
This change is a license change to Apache 2.0 license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-26 05:11:58 -08:00
Masayuki Ishikawa
c6ed7dd760 drivers: wireless: Fix _read_data() in gs2200m.c
Summary:
- During reviewing the GS2200M document, I noticed that
   _read_data() implementation is incorrect.
- Actually, we do not use "SPI Byte Stuffing for SPI-NO-DMA"
  but use "SPI Command Response (SPI-DMA)", so the sequence
  should use SPI_RECVBLOCK().

Impact:
- gs2200m.c only

Testing:
- Tested with stm32f4discovery:wifi and spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-25 19:13:17 -08:00
Masayuki Ishikawa
8a72ab1a50 drivers: wireless: Print error massages with wlerr() in gs2200m.c
Summary:
- I noticed that some error messages are printed with wlinfo()
- This commit prints such error messages with wlerr()

Impact:
- No impact

Testing:
- Tested with spresense:wifi
- NOTE: CONFIG_DEBUG_WIRELESS_ERROR must be enabled

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-24 20:03:53 -08:00
Matias N
0fa34a0b64 drivers: add generic i2c bitbang driver 2021-01-24 19:03:56 -08:00
Matias N
76cc5c36e4 bmp280: convert to common sensor interface 2021-01-18 21:08:34 -03:00
Matias N
42b6c665da sensor: change set_interval to use a value, not a pointer to value 2021-01-18 21:08:34 -03:00
Matias N
1b8e9312dc bmp280: minor fixes
Fixed a minor typo, a missing break in switch (gave error while
actually did the right thing) and added settable I2C frequency
2021-01-18 17:36:10 -03:00
Fotis Panagiotopoulos
eabb2fbf38 Re-arranged syslog fields. 2021-01-18 05:37:55 -08:00
Masayuki Ishikawa
11a842333f drivers: wireless: Fix ASSERT() in _read_data_len() in gs2200m.c
Summary:
- During stress test with spresense:wifi (non-SMP), I noticed
  sometimes ASSERT() happened in _read_data_len()
- Actually, up_udelay(50) has been added to avoid the ASSERT
- However, I finally noticed that it should be moved before
  calling dready()
- Also, I cofirmed that we can reduced the time from 50 to 30
- NOTE: we need at least 15us in my experience

Impact:
- gs2200m.c only

Testing:
- Tested with following configurations
- spresense:wifi, spresense:wifi_smp, stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-17 21:43:23 -08:00
Xiang Xiao
7df322c6be bluetooth: Move the lower half null check to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-17 20:49:19 -08:00
Xiang Xiao
9103184722 bluetooth: Rename *bt_uart_shim_getdevice to btuart_shim_getdevice
follow other bluetooth driver convention(e.g. btuart_register)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-17 20:49:19 -08:00
chao.an
efe236ba84 drivers/syslog: Prepend Process ID to syslog message
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-16 18:38:18 -08:00
Fotis Panagiotopoulos
cb78dadc4b Added color output to syslog. 2021-01-16 16:17:16 -08:00
chao.an
c8a6f31a33 wireless/bluetooth: move H4_* definition to external
Reference the define from board or arch driver

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-16 11:18:26 -08:00
chao.an
f308ac1583 wireless/bluetooth: add more hci event definitions
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-16 11:18:26 -08:00
chao.an
605cd77a23 wireless/bluetooth: remove the host dependency
HCI driver should not depend on the bluetooth host

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-01-16 11:18:26 -08:00
Fotis Panagiotopoulos
946443e190 Added printing of log priority in syslog. 2021-01-16 08:56:24 -08:00
Alan C. Assis
154949403c Add generic efuse driver for NuttX
Squashed commits:

    Fix small typos on efuse driver
    Fix nxstyle issues
    Fix aligment and missing FAR
    Improvements to efuse driver
    Fix: don't free 'lower' on efuse_unregister
    Describe the efuse_param
    Remove upper pointer from lowerhalt
    Fix blank line at end of function

Co-authored-by: saramonteiro <saramonteirosouza44@gmail.com>
Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-15 10:34:12 -06:00
Fotis Panagiotopoulos
c11413a258 Added formatted timestamps in syslog. 2021-01-14 07:55:22 -06:00
Xiang Xiao
0dc6990166 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Xiang Xiao
0536953ded Kernel module should prefer functions with nx/kmm prefix
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Matthew Trescott
301ba3a5cd can: fix RTR ioctl and support timeout 2021-01-12 11:57:22 -06:00
Xiang Xiao
fe96250c40 fs: Make nx_vxxx and file_vxxx as internal functions
these functions are the implementation detail and then
don't need expose to external

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ief832391d5b42d1f1645907eb465631650490234
2021-01-12 17:08:22 +01:00
Xiang Xiao
1aa69f4c73 fs: Remove the special hack for pty in nx_vopen
let's replace the content of file in place instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I538910d55815c7aec656c05dba4eab2fa1d6d964
2021-01-08 11:04:24 +08:00
Xiang Xiao
a24ff44ae6 fs: Add file_pipe function
so pty don't need call nx_pipe and then file_detach

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibb8d108abd76bafe53897e5fca35babcf3e1bae9
2021-01-08 11:03:19 +08:00
Xiang Xiao
4d4cba41f6 Move the declaration of nx_mkfifo/nx_pipe to nuttx/fs/fs.h
the new location is better than nuttx/drivers/drivers.h
since they are part of the file system api.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-08 11:03:19 +08:00
ligd
f63db66382 mqueue: add file_mq_xx for kernel use
Change-Id: Ida12f5938388cca2f233a4cde90277a218033645
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-01-05 02:40:43 -06:00
Xiang Xiao
40516a3df9 drivers/pipes: Fix a typo error
"event & POLLOUT"(not "event | POLLOUT") should be used to check POLLOUT is set

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I09af7669a1c8ee46118b904d2c5946ecb99e6215
2021-01-02 02:01:52 +01:00
Xiang Xiao
c647faa117 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Xiang Xiao
0defe43282 OS internal function should indicate the error by return negative value
instead to change errno value by calling set_errno

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 09:37:29 +01:00
Xiang Xiao
d9b1cb3d27 bluetooth: BLUETOOTH_BCM4343X shouldn't select BLUETOOTH_UART_SHIM
since bcm4343x bluetooth driver doesn't depend on uart shim driver

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-29 18:11:21 -08:00
Xiang Xiao
753cb6c22b bluetooth: Remove BLUETOOTH_UART_BT860 from Kconfig
it isn't difference from BLUETOOTH_UART_OTHER, so let's use the later instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-29 18:11:21 -08:00
ligd
6ad1181923 serial: should include <signal.h> explicitly
Change-Id: I20260ad3bcceb30207c9c12041dd95de41e13777
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-12-29 04:21:42 -08:00
Xiang Xiao
c612c068e1 bt_uart_shim: Setup pollfd with file* correctly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
c258fe0f85 bt_uart_shim: Make CONFIG_SERIAL_TERMIOS optional
since the caller don't always need to use setbaud callback

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
9f463fd3da bt_uart_shim: Remove g_lowerstatic static variable
let's initialize the callback directly to save the memory

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
8ce2d376cc bt_uart_shim: Don't hardcode the thread stack size
so let's change 1024 to CONFIG_DEFAULT_TASKSIZE

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
c0cd125bf3 bt_uart_shim: Support the multiple instances
by removing the global variables(g_n)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
aec3220fae bt_uart_shim: Correct the prototype of bt_uart_shim_getdevice
1.Add const to the path argument
2.Return the explicit type(struct btuart_lowerhalf_s *)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:42 +01:00
Xiang Xiao
d85cf99a65 bt_uart: Retry the lower half operation if -EINTR is returned
to handle the partial write and read gracefully

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:03 +01:00
Xiang Xiao
1d8397a36d bt_uart: Don't call rxdrain in the successful path
because the physical uart bus may receive the next packet asynchronously

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:03 +01:00
Xiang Xiao
ca5d8d8660 bt_uart: Fix the minor typo in bt_uart driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:03 +01:00
Xiang Xiao
6a30d7ad6b bt_uart: Remove static variables in btuart_rxwork
to support mulitple bluetooth controllers

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 10:38:03 +01:00
Xiang Xiao
f992ff37c3 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 08:50:16 +01:00
Xiang Xiao
3dfb897ed1 bluetooth: Remove the unnecessary forward reference
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-28 08:50:16 +01:00
Masayuki Ishikawa
b67f200636 drivers: wireless: Replace license header with Apache License 2.0
Summary:
- This commit replaces SHES related headers in gs2200m.c

Impact:
- No impact

Testing:
- Build check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
zhongan
d5d6690ebc drivers/serial/uart_16550.c: fix complie warning and writing style.
change argue type from 'uint32_t' to 'unsigned int' in fucntion
'u16550_receive'.

Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-12-24 10:51:46 -06:00
Michal Lenc
b11bfefff5 drivers/lcd: Added support for ST7789 controller based on ST7735
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
Sara Souza
881121444c Changes in the watchdog auto-monitor menu 2020-12-21 11:22:30 -03:00
chao.an
84daee1f76 drivers/netdev: try tcp timer in every txavail call
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-18 14:16:11 +09:00
Juha Niskanen
93991670af drivers/mtd/w25.c: fix finfo format warning
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-13 08:52:29 -06:00
Juha Niskanen
66bdec6754 drivers/mtd/gd25.c: fix finfo format warning
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-13 08:52:29 -06:00
chao.an
859e1ce63a crypto/arc4random: rename getrandom to arc4random_buf
Change-Id: I5c9f0c9acf5af71f01beceaf06ebe0a2c87676bc
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-12-13 08:49:51 -06:00
Diego Herranz
d9d649105d drivers/leds/ws2812: optimize reset bytes
It's not necessary to send a reset pulse after sending the RGB data
since the first thing that a new transmission does is sending the long
reset pulse. I have left 1 reset byte after the RGB data to keep some
padding given that the bits inside the byte are shifted by 1 bit although
I think it wouldn't be necessary either. But just in case.

This reduces the memory usage (you can easily save 60 bytes) and increases
the maximum refresh rate.
2020-12-10 20:39:08 -06:00
Diego Herranz
d838ea596f boards/arm/stm32/common: devpath not long enough for apa102 and veml6070
Also header path updated in drivers/leds/apa102.c
2020-12-09 09:22:03 +01:00
Juha Niskanen
6626699ec7 drivers/power/bq769x0.c: fully parenthesize MIN and MAX macros
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-08 12:58:40 -06:00
Diego Herranz
3edb3a47b2 drivers/leds/ws2812: fix code style
As reported by the CI checks.
2020-12-07 21:15:35 -08:00
Diego Herranz
441180b08c drivers/leds/ws2812: make frequency selection more flexible
Previously only 4 MHz and 8 MHz were allowed. Given the tolerance
allowed in the WS2812 timing spec, frequency ranges around those
two can be used too which is useful for boards in which it is
difficult to generate those specific frequencies.
2020-12-07 21:15:35 -08:00
Juha Niskanen
b2110fc09a drivers/power/bq2425x.c: fix build error with baterr()
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-07 15:19:18 +01:00
YAMAMOTO Takashi
8c748f2d23 drivers/video/ov2640.c: Avoid assuming debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
6c269e8360 drivers/mtd/mtd_onfi.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
2d78501e9a drivers/audio/audio_null.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
00bc0ff6ba drivers/mtd/sst25.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
012a34aef7 drivers/mtd/sst25.c: Appease nxstyle 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
fb93437380 drivers/video/ov2640.c: Appease nxstyle
The following nxstyle errors are left because i'm not sure
how they should be fixed.

These are initializers like:

  {0xff, 0x00},  {0x2c, 0xff},  {0x2e, 0xdf},  {0xff, 0x01},  {0x3c, 0x32},
  {0x11, 0x00},  {0x09, 0x02},  {0x04, 0x28},  {0x13, 0xe5},  {0x14, 0x48},
  {0x2c, 0x0c},  {0x33, 0x78},  {0x3a, 0x33},  {0x3b, 0xfb},  {0x3e, 0x00},
  {0x43, 0x11},  {0x16, 0x10},  {0x39, 0x02},  {0x35, 0x88},  {0x22, 0x0a},

drivers/video/ov2640.c:309:16: error: Left bracket not on separate line
drivers/video/ov2640.c:318:17: error: Left bracket not on separate line
drivers/video/ov2640.c:318:32: error: Left bracket not on separate line
drivers/video/ov2640.c:318:47: error: Left bracket not on separate line
drivers/video/ov2640.c:318:62: error: Left bracket not on separate line
drivers/video/ov2640.c:319:17: error: Left bracket not on separate line
drivers/video/ov2640.c:319:32: error: Left bracket not on separate line
drivers/video/ov2640.c:319:47: error: Left bracket not on separate line
drivers/video/ov2640.c:319:62: error: Left bracket not on separate line
drivers/video/ov2640.c:320:17: error: Left bracket not on separate line
drivers/video/ov2640.c:320:32: error: Left bracket not on separate line
drivers/video/ov2640.c:320:47: error: Left bracket not on separate line
drivers/video/ov2640.c:320:62: error: Left bracket not on separate line
drivers/video/ov2640.c:321:17: error: Left bracket not on separate line
drivers/video/ov2640.c:321:32: error: Left bracket not on separate line
drivers/video/ov2640.c:321:47: error: Left bracket not on separate line
drivers/video/ov2640.c:321:62: error: Left bracket not on separate line
drivers/video/ov2640.c:322:17: error: Left bracket not on separate line
drivers/video/ov2640.c:322:32: error: Left bracket not on separate line
drivers/video/ov2640.c:322:47: error: Left bracket not on separate line
drivers/video/ov2640.c:322:62: error: Left bracket not on separate line
drivers/video/ov2640.c:323:17: error: Left bracket not on separate line
drivers/video/ov2640.c:323:32: error: Left bracket not on separate line
drivers/video/ov2640.c:323:47: error: Left bracket not on separate line
drivers/video/ov2640.c:323:62: error: Left bracket not on separate line
drivers/video/ov2640.c:324:17: error: Left bracket not on separate line
drivers/video/ov2640.c:324:32: error: Left bracket not on separate line
drivers/video/ov2640.c:324:47: error: Left bracket not on separate line
drivers/video/ov2640.c:324:62: error: Left bracket not on separate line
drivers/video/ov2640.c:325:17: error: Left bracket not on separate line
drivers/video/ov2640.c:325:32: error: Left bracket not on separate line
drivers/video/ov2640.c:325:47: error: Left bracket not on separate line
drivers/video/ov2640.c:325:62: error: Left bracket not on separate line
drivers/video/ov2640.c:326:17: error: Left bracket not on separate line
drivers/video/ov2640.c:326:32: error: Left bracket not on separate line
drivers/video/ov2640.c:326:47: error: Left bracket not on separate line
drivers/video/ov2640.c:326:62: error: Left bracket not on separate line
drivers/video/ov2640.c:327:17: error: Left bracket not on separate line
drivers/video/ov2640.c:327:32: error: Left bracket not on separate line
drivers/video/ov2640.c:327:47: error: Left bracket not on separate line
drivers/video/ov2640.c:327:62: error: Left bracket not on separate line
drivers/video/ov2640.c:328:17: error: Left bracket not on separate line
drivers/video/ov2640.c:328:32: error: Left bracket not on separate line
drivers/video/ov2640.c:328:47: error: Left bracket not on separate line
drivers/video/ov2640.c:328:62: error: Left bracket not on separate line
drivers/video/ov2640.c:329:17: error: Left bracket not on separate line
drivers/video/ov2640.c:329:32: error: Left bracket not on separate line
drivers/video/ov2640.c:329:47: error: Left bracket not on separate line
drivers/video/ov2640.c:329:62: error: Left bracket not on separate line
drivers/video/ov2640.c:330:17: error: Left bracket not on separate line
drivers/video/ov2640.c:330:32: error: Left bracket not on separate line
drivers/video/ov2640.c:330:47: error: Left bracket not on separate line
drivers/video/ov2640.c:330:62: error: Left bracket not on separate line
drivers/video/ov2640.c:331:17: error: Left bracket not on separate line
drivers/video/ov2640.c:331:32: error: Left bracket not on separate line
drivers/video/ov2640.c:331:47: error: Left bracket not on separate line
drivers/video/ov2640.c:331:62: error: Left bracket not on separate line
drivers/video/ov2640.c:332:17: error: Left bracket not on separate line
drivers/video/ov2640.c:332:32: error: Left bracket not on separate line
drivers/video/ov2640.c:332:47: error: Left bracket not on separate line
drivers/video/ov2640.c:332:62: error: Left bracket not on separate line
drivers/video/ov2640.c:333:17: error: Left bracket not on separate line
drivers/video/ov2640.c:333:32: error: Left bracket not on separate line
drivers/video/ov2640.c:333:47: error: Left bracket not on separate line
drivers/video/ov2640.c:333:62: error: Left bracket not on separate line
drivers/video/ov2640.c:334:17: error: Left bracket not on separate line
drivers/video/ov2640.c:334:32: error: Left bracket not on separate line
drivers/video/ov2640.c:334:47: error: Left bracket not on separate line
drivers/video/ov2640.c:334:62: error: Left bracket not on separate line
drivers/video/ov2640.c:335:17: error: Left bracket not on separate line
drivers/video/ov2640.c:335:32: error: Left bracket not on separate line
drivers/video/ov2640.c:335:47: error: Left bracket not on separate line
drivers/video/ov2640.c:335:62: error: Left bracket not on separate line
drivers/video/ov2640.c:336:17: error: Left bracket not on separate line
drivers/video/ov2640.c:336:32: error: Left bracket not on separate line
drivers/video/ov2640.c:336:47: error: Left bracket not on separate line
drivers/video/ov2640.c:336:62: error: Left bracket not on separate line
drivers/video/ov2640.c:337:17: error: Left bracket not on separate line
drivers/video/ov2640.c:337:32: error: Left bracket not on separate line
drivers/video/ov2640.c:337:47: error: Left bracket not on separate line
drivers/video/ov2640.c:337:62: error: Left bracket not on separate line
drivers/video/ov2640.c:338:17: error: Left bracket not on separate line
drivers/video/ov2640.c:338:32: error: Left bracket not on separate line
drivers/video/ov2640.c:338:47: error: Left bracket not on separate line
drivers/video/ov2640.c:338:62: error: Left bracket not on separate line
drivers/video/ov2640.c:339:17: error: Left bracket not on separate line
drivers/video/ov2640.c:339:32: error: Left bracket not on separate line
drivers/video/ov2640.c:339:47: error: Left bracket not on separate line
drivers/video/ov2640.c:339:62: error: Left bracket not on separate line
drivers/video/ov2640.c:340:17: error: Left bracket not on separate line
drivers/video/ov2640.c:340:32: error: Left bracket not on separate line
drivers/video/ov2640.c:340:47: error: Left bracket not on separate line
drivers/video/ov2640.c:340:62: error: Left bracket not on separate line
drivers/video/ov2640.c:341:17: error: Left bracket not on separate line
drivers/video/ov2640.c:341:32: error: Left bracket not on separate line
drivers/video/ov2640.c:341:47: error: Left bracket not on separate line
drivers/video/ov2640.c:341:62: error: Left bracket not on separate line
drivers/video/ov2640.c:342:17: error: Left bracket not on separate line
drivers/video/ov2640.c:342:32: error: Left bracket not on separate line
drivers/video/ov2640.c:342:47: error: Left bracket not on separate line
drivers/video/ov2640.c:342:62: error: Left bracket not on separate line
drivers/video/ov2640.c:343:17: error: Left bracket not on separate line
drivers/video/ov2640.c:343:32: error: Left bracket not on separate line
drivers/video/ov2640.c:343:47: error: Left bracket not on separate line
drivers/video/ov2640.c:343:62: error: Left bracket not on separate line
drivers/video/ov2640.c:344:17: error: Left bracket not on separate line
drivers/video/ov2640.c:344:32: error: Left bracket not on separate line
drivers/video/ov2640.c:344:47: error: Left bracket not on separate line
drivers/video/ov2640.c:344:62: error: Left bracket not on separate line
drivers/video/ov2640.c:345:17: error: Left bracket not on separate line
drivers/video/ov2640.c:345:32: error: Left bracket not on separate line
drivers/video/ov2640.c:345:47: error: Left bracket not on separate line
drivers/video/ov2640.c:345:62: error: Left bracket not on separate line
drivers/video/ov2640.c:346:17: error: Left bracket not on separate line
drivers/video/ov2640.c:346:32: error: Left bracket not on separate line
drivers/video/ov2640.c:346:47: error: Left bracket not on separate line
drivers/video/ov2640.c:346:62: error: Left bracket not on separate line
drivers/video/ov2640.c:347:17: error: Left bracket not on separate line
drivers/video/ov2640.c:347:32: error: Left bracket not on separate line
drivers/video/ov2640.c:347:47: error: Left bracket not on separate line
drivers/video/ov2640.c:347:62: error: Left bracket not on separate line
drivers/video/ov2640.c:348:17: error: Left bracket not on separate line
drivers/video/ov2640.c:348:32: error: Left bracket not on separate line
drivers/video/ov2640.c:348:47: error: Left bracket not on separate line
drivers/video/ov2640.c:348:62: error: Left bracket not on separate line
drivers/video/ov2640.c:349:17: error: Left bracket not on separate line
drivers/video/ov2640.c:349:32: error: Left bracket not on separate line
drivers/video/ov2640.c:349:47: error: Left bracket not on separate line
drivers/video/ov2640.c:349:62: error: Left bracket not on separate line
drivers/video/ov2640.c:350:17: error: Left bracket not on separate line
drivers/video/ov2640.c:350:32: error: Left bracket not on separate line
drivers/video/ov2640.c:350:47: error: Left bracket not on separate line
drivers/video/ov2640.c:350:62: error: Left bracket not on separate line
drivers/video/ov2640.c:351:17: error: Left bracket not on separate line
drivers/video/ov2640.c:351:32: error: Left bracket not on separate line
drivers/video/ov2640.c:351:47: error: Left bracket not on separate line
drivers/video/ov2640.c:351:62: error: Left bracket not on separate line
drivers/video/ov2640.c:359:17: error: Left bracket not on separate line
drivers/video/ov2640.c:359:32: error: Left bracket not on separate line
drivers/video/ov2640.c:359:47: error: Left bracket not on separate line
drivers/video/ov2640.c:359:62: error: Left bracket not on separate line
drivers/video/ov2640.c:360:17: error: Left bracket not on separate line
drivers/video/ov2640.c:360:32: error: Left bracket not on separate line
drivers/video/ov2640.c:360:47: error: Left bracket not on separate line
drivers/video/ov2640.c:360:62: error: Left bracket not on separate line
drivers/video/ov2640.c:368:17: error: Left bracket not on separate line
drivers/video/ov2640.c:368:32: error: Left bracket not on separate line
drivers/video/ov2640.c:368:47: error: Left bracket not on separate line
drivers/video/ov2640.c:368:62: error: Left bracket not on separate line
drivers/video/ov2640.c:376:17: error: Left bracket not on separate line
drivers/video/ov2640.c:376:32: error: Left bracket not on separate line
drivers/video/ov2640.c:376:47: error: Left bracket not on separate line
drivers/video/ov2640.c:376:62: error: Left bracket not on separate line
drivers/video/ov2640.c:384:17: error: Left bracket not on separate line
drivers/video/ov2640.c:384:32: error: Left bracket not on separate line
drivers/video/ov2640.c:384:47: error: Left bracket not on separate line
drivers/video/ov2640.c:384:62: error: Left bracket not on separate line
drivers/video/ov2640.c:392:17: error: Left bracket not on separate line
drivers/video/ov2640.c:392:32: error: Left bracket not on separate line
drivers/video/ov2640.c:392:47: error: Left bracket not on separate line
drivers/video/ov2640.c:392:62: error: Left bracket not on separate line
drivers/video/ov2640.c:400:17: error: Left bracket not on separate line
drivers/video/ov2640.c:400:32: error: Left bracket not on separate line
drivers/video/ov2640.c:400:47: error: Left bracket not on separate line
drivers/video/ov2640.c:400:62: error: Left bracket not on separate line
drivers/video/ov2640.c:408:17: error: Left bracket not on separate line
drivers/video/ov2640.c:408:32: error: Left bracket not on separate line
drivers/video/ov2640.c:408:47: error: Left bracket not on separate line
drivers/video/ov2640.c:408:62: error: Left bracket not on separate line
drivers/video/ov2640.c:409:17: error: Left bracket not on separate line
drivers/video/ov2640.c:416:17: error: Left bracket not on separate line
drivers/video/ov2640.c:416:32: error: Left bracket not on separate line
drivers/video/ov2640.c:416:47: error: Left bracket not on separate line
drivers/video/ov2640.c:416:62: error: Left bracket not on separate line
drivers/video/ov2640.c:417:17: error: Left bracket not on separate line
drivers/video/ov2640.c:417:32: error: Left bracket not on separate line
drivers/video/ov2640.c:424:17: error: Left bracket not on separate line
drivers/video/ov2640.c:424:32: error: Left bracket not on separate line
drivers/video/ov2640.c:424:47: error: Left bracket not on separate line
drivers/video/ov2640.c:424:62: error: Left bracket not on separate line
drivers/video/ov2640.c:425:17: error: Left bracket not on separate line
drivers/video/ov2640.c:425:32: error: Left bracket not on separate line
drivers/video/ov2640.c:437:17: error: Left bracket not on separate line
drivers/video/ov2640.c:444:17: error: Left bracket not on separate line
drivers/video/ov2640.c:444:32: error: Left bracket not on separate line
drivers/video/ov2640.c:444:47: error: Left bracket not on separate line
drivers/video/ov2640.c:444:62: error: Left bracket not on separate line
drivers/video/ov2640.c:452:17: error: Left bracket not on separate line
drivers/video/ov2640.c:452:32: error: Left bracket not on separate line
drivers/video/ov2640.c:452:47: error: Left bracket not on separate line
drivers/video/ov2640.c:464:17: error: Left bracket not on separate line
drivers/video/ov2640.c:464:32: error: Left bracket not on separate line
drivers/video/ov2640.c:464:47: error: Left bracket not on separate line
drivers/video/ov2640.c:464:62: error: Left bracket not on separate line
drivers/video/ov2640.c:465:17: error: Left bracket not on separate line
drivers/video/ov2640.c:465:32: error: Left bracket not on separate line
drivers/video/ov2640.c:465:47: error: Left bracket not on separate line
drivers/video/ov2640.c:465:62: error: Left bracket not on separate line
drivers/video/ov2640.c:466:17: error: Left bracket not on separate line
drivers/video/ov2640.c:466:32: error: Left bracket not on separate line
drivers/video/ov2640.c:466:47: error: Left bracket not on separate line
drivers/video/ov2640.c:466:62: error: Left bracket not on separate line
drivers/video/ov2640.c:467:17: error: Left bracket not on separate line
drivers/video/ov2640.c:467:32: error: Left bracket not on separate line
drivers/video/ov2640.c:467:47: error: Left bracket not on separate line
drivers/video/ov2640.c:467:62: error: Left bracket not on separate line
drivers/video/ov2640.c:468:17: error: Left bracket not on separate line
drivers/video/ov2640.c:468:32: error: Left bracket not on separate line
drivers/video/ov2640.c:468:47: error: Left bracket not on separate line
drivers/video/ov2640.c:468:62: error: Left bracket not on separate line
drivers/video/ov2640.c:469:17: error: Left bracket not on separate line
drivers/video/ov2640.c:469:32: error: Left bracket not on separate line
drivers/video/ov2640.c:469:47: error: Left bracket not on separate line
drivers/video/ov2640.c:469:62: error: Left bracket not on separate line
drivers/video/ov2640.c:470:17: error: Left bracket not on separate line
drivers/video/ov2640.c:470:32: error: Left bracket not on separate line
drivers/video/ov2640.c:470:47: error: Left bracket not on separate line
drivers/video/ov2640.c:470:62: error: Left bracket not on separate line
drivers/video/ov2640.c:471:17: error: Left bracket not on separate line
drivers/video/ov2640.c:471:32: error: Left bracket not on separate line
drivers/video/ov2640.c:471:47: error: Left bracket not on separate line
drivers/video/ov2640.c:471:62: error: Left bracket not on separate line
drivers/video/ov2640.c:472:17: error: Left bracket not on separate line
drivers/video/ov2640.c:472:32: error: Left bracket not on separate line
drivers/video/ov2640.c:472:47: error: Left bracket not on separate line
drivers/video/ov2640.c:472:62: error: Left bracket not on separate line
drivers/video/ov2640.c:473:17: error: Left bracket not on separate line
drivers/video/ov2640.c:473:32: error: Left bracket not on separate line
drivers/video/ov2640.c:473:47: error: Left bracket not on separate line
drivers/video/ov2640.c:473:62: error: Left bracket not on separate line
drivers/video/ov2640.c:474:17: error: Left bracket not on separate line
drivers/video/ov2640.c:474:32: error: Left bracket not on separate line
drivers/video/ov2640.c:474:47: error: Left bracket not on separate line
drivers/video/ov2640.c:474:62: error: Left bracket not on separate line
drivers/video/ov2640.c:475:17: error: Left bracket not on separate line
drivers/video/ov2640.c:475:32: error: Left bracket not on separate line
drivers/video/ov2640.c:475:47: error: Left bracket not on separate line
drivers/video/ov2640.c:475:62: error: Left bracket not on separate line
drivers/video/ov2640.c:476:17: error: Left bracket not on separate line
drivers/video/ov2640.c:476:32: error: Left bracket not on separate line
drivers/video/ov2640.c:476:47: error: Left bracket not on separate line
drivers/video/ov2640.c:476:62: error: Left bracket not on separate line
drivers/video/ov2640.c:477:17: error: Left bracket not on separate line
drivers/video/ov2640.c:477:32: error: Left bracket not on separate line
drivers/video/ov2640.c:477:47: error: Left bracket not on separate line
drivers/video/ov2640.c:477:62: error: Left bracket not on separate line
drivers/video/ov2640.c:478:17: error: Left bracket not on separate line
drivers/video/ov2640.c:478:32: error: Left bracket not on separate line
drivers/video/ov2640.c:478:47: error: Left bracket not on separate line
drivers/video/ov2640.c:478:62: error: Left bracket not on separate line
drivers/video/ov2640.c:479:17: error: Left bracket not on separate line
drivers/video/ov2640.c:479:32: error: Left bracket not on separate line
drivers/video/ov2640.c:479:47: error: Left bracket not on separate line
drivers/video/ov2640.c:479:62: error: Left bracket not on separate line
drivers/video/ov2640.c:480:17: error: Left bracket not on separate line
drivers/video/ov2640.c:480:32: error: Left bracket not on separate line
drivers/video/ov2640.c:480:47: error: Left bracket not on separate line
drivers/video/ov2640.c:480:62: error: Left bracket not on separate line
drivers/video/ov2640.c:481:17: error: Left bracket not on separate line
drivers/video/ov2640.c:481:32: error: Left bracket not on separate line
drivers/video/ov2640.c:481:47: error: Left bracket not on separate line
drivers/video/ov2640.c:481:62: error: Left bracket not on separate line
drivers/video/ov2640.c:482:17: error: Left bracket not on separate line
drivers/video/ov2640.c:482:32: error: Left bracket not on separate line
drivers/video/ov2640.c:482:47: error: Left bracket not on separate line
drivers/video/ov2640.c:482:62: error: Left bracket not on separate line
drivers/video/ov2640.c:483:17: error: Left bracket not on separate line
drivers/video/ov2640.c:483:32: error: Left bracket not on separate line
drivers/video/ov2640.c:483:47: error: Left bracket not on separate line
drivers/video/ov2640.c:483:62: error: Left bracket not on separate line
drivers/video/ov2640.c:484:17: error: Left bracket not on separate line
drivers/video/ov2640.c:484:32: error: Left bracket not on separate line
drivers/video/ov2640.c:484:47: error: Left bracket not on separate line
drivers/video/ov2640.c:484:62: error: Left bracket not on separate line
drivers/video/ov2640.c:485:17: error: Left bracket not on separate line
drivers/video/ov2640.c:485:32: error: Left bracket not on separate line
drivers/video/ov2640.c:485:47: error: Left bracket not on separate line
drivers/video/ov2640.c:485:62: error: Left bracket not on separate line
drivers/video/ov2640.c:486:17: error: Left bracket not on separate line
drivers/video/ov2640.c:486:32: error: Left bracket not on separate line
drivers/video/ov2640.c:486:47: error: Left bracket not on separate line
drivers/video/ov2640.c:486:62: error: Left bracket not on separate line
drivers/video/ov2640.c:487:17: error: Left bracket not on separate line
drivers/video/ov2640.c:487:32: error: Left bracket not on separate line
drivers/video/ov2640.c:487:47: error: Left bracket not on separate line
drivers/video/ov2640.c:487:62: error: Left bracket not on separate line
drivers/video/ov2640.c:488:17: error: Left bracket not on separate line
drivers/video/ov2640.c:488:32: error: Left bracket not on separate line
drivers/video/ov2640.c:488:47: error: Left bracket not on separate line
drivers/video/ov2640.c:488:62: error: Left bracket not on separate line
drivers/video/ov2640.c:489:17: error: Left bracket not on separate line
drivers/video/ov2640.c:489:32: error: Left bracket not on separate line
drivers/video/ov2640.c:489:47: error: Left bracket not on separate line
drivers/video/ov2640.c:489:62: error: Left bracket not on separate line
drivers/video/ov2640.c:490:17: error: Left bracket not on separate line
drivers/video/ov2640.c:490:32: error: Left bracket not on separate line
drivers/video/ov2640.c:490:47: error: Left bracket not on separate line
drivers/video/ov2640.c:490:62: error: Left bracket not on separate line
drivers/video/ov2640.c:491:17: error: Left bracket not on separate line
drivers/video/ov2640.c:491:32: error: Left bracket not on separate line
drivers/video/ov2640.c:491:47: error: Left bracket not on separate line
drivers/video/ov2640.c:491:62: error: Left bracket not on separate line
drivers/video/ov2640.c:492:17: error: Left bracket not on separate line
drivers/video/ov2640.c:492:32: error: Left bracket not on separate line
drivers/video/ov2640.c:492:47: error: Left bracket not on separate line
drivers/video/ov2640.c:492:62: error: Left bracket not on separate line
drivers/video/ov2640.c:493:17: error: Left bracket not on separate line
drivers/video/ov2640.c:493:32: error: Left bracket not on separate line
drivers/video/ov2640.c:493:47: error: Left bracket not on separate line
drivers/video/ov2640.c:493:62: error: Left bracket not on separate line
drivers/video/ov2640.c:494:17: error: Left bracket not on separate line
drivers/video/ov2640.c:494:32: error: Left bracket not on separate line
drivers/video/ov2640.c:494:47: error: Left bracket not on separate line
drivers/video/ov2640.c:494:62: error: Left bracket not on separate line
drivers/video/ov2640.c:495:17: error: Left bracket not on separate line
drivers/video/ov2640.c:495:32: error: Left bracket not on separate line
drivers/video/ov2640.c:495:47: error: Left bracket not on separate line
drivers/video/ov2640.c:495:62: error: Left bracket not on separate line
drivers/video/ov2640.c:496:17: error: Left bracket not on separate line
drivers/video/ov2640.c:496:32: error: Left bracket not on separate line
drivers/video/ov2640.c:496:47: error: Left bracket not on separate line
drivers/video/ov2640.c:496:62: error: Left bracket not on separate line
drivers/video/ov2640.c:497:17: error: Left bracket not on separate line
drivers/video/ov2640.c:497:32: error: Left bracket not on separate line
drivers/video/ov2640.c:497:47: error: Left bracket not on separate line
drivers/video/ov2640.c:497:62: error: Left bracket not on separate line
drivers/video/ov2640.c:498:17: error: Left bracket not on separate line
drivers/video/ov2640.c:498:32: error: Left bracket not on separate line
drivers/video/ov2640.c:498:47: error: Left bracket not on separate line
drivers/video/ov2640.c:498:62: error: Left bracket not on separate line
drivers/video/ov2640.c:499:17: error: Left bracket not on separate line
drivers/video/ov2640.c:499:32: error: Left bracket not on separate line
drivers/video/ov2640.c:499:47: error: Left bracket not on separate line
drivers/video/ov2640.c:499:62: error: Left bracket not on separate line
drivers/video/ov2640.c:500:17: error: Left bracket not on separate line
drivers/video/ov2640.c:500:32: error: Left bracket not on separate line
drivers/video/ov2640.c:500:47: error: Left bracket not on separate line
drivers/video/ov2640.c:500:62: error: Left bracket not on separate line
drivers/video/ov2640.c:501:17: error: Left bracket not on separate line
drivers/video/ov2640.c:501:32: error: Left bracket not on separate line
drivers/video/ov2640.c:501:47: error: Left bracket not on separate line
drivers/video/ov2640.c:501:62: error: Left bracket not on separate line
drivers/video/ov2640.c:510:17: error: Left bracket not on separate line
drivers/video/ov2640.c:510:32: error: Left bracket not on separate line
drivers/video/ov2640.c:510:47: error: Left bracket not on separate line
drivers/video/ov2640.c:510:62: error: Left bracket not on separate line
drivers/video/ov2640.c:511:17: error: Left bracket not on separate line
drivers/video/ov2640.c:511:32: error: Left bracket not on separate line
drivers/video/ov2640.c:511:47: error: Left bracket not on separate line
drivers/video/ov2640.c:520:17: error: Left bracket not on separate line
drivers/video/ov2640.c:520:32: error: Left bracket not on separate line
drivers/video/ov2640.c:520:47: error: Left bracket not on separate line
drivers/video/ov2640.c:520:62: error: Left bracket not on separate line
drivers/video/ov2640.c:521:17: error: Left bracket not on separate line
drivers/video/ov2640.c:521:32: error: Left bracket not on separate line
drivers/video/ov2640.c:532:17: error: Left bracket not on separate line
drivers/video/ov2640.c:532:32: error: Left bracket not on separate line
drivers/video/ov2640.c:532:47: error: Left bracket not on separate line
drivers/video/ov2640.c:532:62: error: Left bracket not on separate line
drivers/video/ov2640.c:533:17: error: Left bracket not on separate line
drivers/video/ov2640.c:533:32: error: Left bracket not on separate line
drivers/video/ov2640.c:533:47: error: Left bracket not on separate line
drivers/video/ov2640.c:533:62: error: Left bracket not on separate line
drivers/video/ov2640.c:534:17: error: Left bracket not on separate line
drivers/video/ov2640.c:534:32: error: Left bracket not on separate line
drivers/video/ov2640.c:534:47: error: Left bracket not on separate line
drivers/video/ov2640.c:534:62: error: Left bracket not on separate line
drivers/video/ov2640.c:535:17: error: Left bracket not on separate line
drivers/video/ov2640.c:535:32: error: Left bracket not on separate line
drivers/video/ov2640.c:535:47: error: Left bracket not on separate line
drivers/video/ov2640.c:535:62: error: Left bracket not on separate line
drivers/video/ov2640.c:536:17: error: Left bracket not on separate line
drivers/video/ov2640.c:536:32: error: Left bracket not on separate line
drivers/video/ov2640.c:536:47: error: Left bracket not on separate line
drivers/video/ov2640.c:536:62: error: Left bracket not on separate line
drivers/video/ov2640.c:537:17: error: Left bracket not on separate line
drivers/video/ov2640.c:537:32: error: Left bracket not on separate line
drivers/video/ov2640.c:537:47: error: Left bracket not on separate line
drivers/video/ov2640.c:537:62: error: Left bracket not on separate line
drivers/video/ov2640.c:538:17: error: Left bracket not on separate line
drivers/video/ov2640.c:538:32: error: Left bracket not on separate line
drivers/video/ov2640.c:538:47: error: Left bracket not on separate line
drivers/video/ov2640.c:538:62: error: Left bracket not on separate line
drivers/video/ov2640.c:539:17: error: Left bracket not on separate line
drivers/video/ov2640.c:539:32: error: Left bracket not on separate line
drivers/video/ov2640.c:539:47: error: Left bracket not on separate line
drivers/video/ov2640.c:550:17: error: Left bracket not on separate line
drivers/video/ov2640.c:550:32: error: Left bracket not on separate line
drivers/video/ov2640.c:550:47: error: Left bracket not on separate line
drivers/video/ov2640.c:550:62: error: Left bracket not on separate line
drivers/video/ov2640.c:551:17: error: Left bracket not on separate line
drivers/video/ov2640.c:551:32: error: Left bracket not on separate line
drivers/video/ov2640.c:551:47: error: Left bracket not on separate line
drivers/video/ov2640.c:551:62: error: Left bracket not on separate line
drivers/video/ov2640.c:552:17: error: Left bracket not on separate line
drivers/video/ov2640.c:552:32: error: Left bracket not on separate line
drivers/video/ov2640.c:552:47: error: Left bracket not on separate line
drivers/video/ov2640.c:552:62: error: Left bracket not on separate line
drivers/video/ov2640.c:553:17: error: Left bracket not on separate line
drivers/video/ov2640.c:553:32: error: Left bracket not on separate line
drivers/video/ov2640.c:553:47: error: Left bracket not on separate line
drivers/video/ov2640.c:553:62: error: Left bracket not on separate line
drivers/video/ov2640.c:554:17: error: Left bracket not on separate line
drivers/video/ov2640.c:554:32: error: Left bracket not on separate line
drivers/video/ov2640.c:554:47: error: Left bracket not on separate line
drivers/video/ov2640.c:554:62: error: Left bracket not on separate line
drivers/video/ov2640.c:555:17: error: Left bracket not on separate line
drivers/video/ov2640.c:555:32: error: Left bracket not on separate line
drivers/video/ov2640.c:555:47: error: Left bracket not on separate line
drivers/video/ov2640.c:555:62: error: Left bracket not on separate line
drivers/video/ov2640.c:556:17: error: Left bracket not on separate line
drivers/video/ov2640.c:556:32: error: Left bracket not on separate line
drivers/video/ov2640.c:556:47: error: Left bracket not on separate line
drivers/video/ov2640.c:556:62: error: Left bracket not on separate line
drivers/video/ov2640.c:557:17: error: Left bracket not on separate line
drivers/video/ov2640.c:557:32: error: Left bracket not on separate line
drivers/video/ov2640.c:557:47: error: Left bracket not on separate line
drivers/video/ov2640.c:568:17: error: Left bracket not on separate line
drivers/video/ov2640.c:568:32: error: Left bracket not on separate line
drivers/video/ov2640.c:568:47: error: Left bracket not on separate line
drivers/video/ov2640.c:568:62: error: Left bracket not on separate line
drivers/video/ov2640.c:569:17: error: Left bracket not on separate line
drivers/video/ov2640.c:569:32: error: Left bracket not on separate line
drivers/video/ov2640.c:569:47: error: Left bracket not on separate line
drivers/video/ov2640.c:569:62: error: Left bracket not on separate line
drivers/video/ov2640.c:570:17: error: Left bracket not on separate line
drivers/video/ov2640.c:570:32: error: Left bracket not on separate line
drivers/video/ov2640.c:570:47: error: Left bracket not on separate line
drivers/video/ov2640.c:570:62: error: Left bracket not on separate line
drivers/video/ov2640.c:571:17: error: Left bracket not on separate line
drivers/video/ov2640.c:571:32: error: Left bracket not on separate line
drivers/video/ov2640.c:571:47: error: Left bracket not on separate line
drivers/video/ov2640.c:571:62: error: Left bracket not on separate line
drivers/video/ov2640.c:572:17: error: Left bracket not on separate line
drivers/video/ov2640.c:572:32: error: Left bracket not on separate line
drivers/video/ov2640.c:572:47: error: Left bracket not on separate line
drivers/video/ov2640.c:572:62: error: Left bracket not on separate line
drivers/video/ov2640.c:573:17: error: Left bracket not on separate line
drivers/video/ov2640.c:573:32: error: Left bracket not on separate line
drivers/video/ov2640.c:573:47: error: Left bracket not on separate line
drivers/video/ov2640.c:573:62: error: Left bracket not on separate line
drivers/video/ov2640.c:574:17: error: Left bracket not on separate line
drivers/video/ov2640.c:574:32: error: Left bracket not on separate line
drivers/video/ov2640.c:574:47: error: Left bracket not on separate line
drivers/video/ov2640.c:574:62: error: Left bracket not on separate line
drivers/video/ov2640.c:575:17: error: Left bracket not on separate line
drivers/video/ov2640.c:575:32: error: Left bracket not on separate line
drivers/video/ov2640.c:575:47: error: Left bracket not on separate line
drivers/video/ov2640.c:586:17: error: Left bracket not on separate line
drivers/video/ov2640.c:586:32: error: Left bracket not on separate line
drivers/video/ov2640.c:586:47: error: Left bracket not on separate line
drivers/video/ov2640.c:586:62: error: Left bracket not on separate line
drivers/video/ov2640.c:587:17: error: Left bracket not on separate line
drivers/video/ov2640.c:587:32: error: Left bracket not on separate line
drivers/video/ov2640.c:587:47: error: Left bracket not on separate line
drivers/video/ov2640.c:587:62: error: Left bracket not on separate line
drivers/video/ov2640.c:588:17: error: Left bracket not on separate line
drivers/video/ov2640.c:588:32: error: Left bracket not on separate line
drivers/video/ov2640.c:588:47: error: Left bracket not on separate line
drivers/video/ov2640.c:588:62: error: Left bracket not on separate line
drivers/video/ov2640.c:589:17: error: Left bracket not on separate line
drivers/video/ov2640.c:589:32: error: Left bracket not on separate line
drivers/video/ov2640.c:589:47: error: Left bracket not on separate line
drivers/video/ov2640.c:589:62: error: Left bracket not on separate line
drivers/video/ov2640.c:590:17: error: Left bracket not on separate line
drivers/video/ov2640.c:590:32: error: Left bracket not on separate line
drivers/video/ov2640.c:590:47: error: Left bracket not on separate line
drivers/video/ov2640.c:590:62: error: Left bracket not on separate line
drivers/video/ov2640.c:591:17: error: Left bracket not on separate line
drivers/video/ov2640.c:591:32: error: Left bracket not on separate line
drivers/video/ov2640.c:591:47: error: Left bracket not on separate line
drivers/video/ov2640.c:591:62: error: Left bracket not on separate line
drivers/video/ov2640.c:592:17: error: Left bracket not on separate line
drivers/video/ov2640.c:592:32: error: Left bracket not on separate line
drivers/video/ov2640.c:592:47: error: Left bracket not on separate line
drivers/video/ov2640.c:592:62: error: Left bracket not on separate line
drivers/video/ov2640.c:593:17: error: Left bracket not on separate line
drivers/video/ov2640.c:593:32: error: Left bracket not on separate line
drivers/video/ov2640.c:593:47: error: Left bracket not on separate line
drivers/video/ov2640.c:593:62: error: Left bracket not on separate line
drivers/video/ov2640.c:604:17: error: Left bracket not on separate line
drivers/video/ov2640.c:604:32: error: Left bracket not on separate line
drivers/video/ov2640.c:604:47: error: Left bracket not on separate line
drivers/video/ov2640.c:604:62: error: Left bracket not on separate line
drivers/video/ov2640.c:605:17: error: Left bracket not on separate line
drivers/video/ov2640.c:605:32: error: Left bracket not on separate line
drivers/video/ov2640.c:605:47: error: Left bracket not on separate line
drivers/video/ov2640.c:605:62: error: Left bracket not on separate line
drivers/video/ov2640.c:606:17: error: Left bracket not on separate line
drivers/video/ov2640.c:606:32: error: Left bracket not on separate line
drivers/video/ov2640.c:606:47: error: Left bracket not on separate line
drivers/video/ov2640.c:606:62: error: Left bracket not on separate line
drivers/video/ov2640.c:607:17: error: Left bracket not on separate line
drivers/video/ov2640.c:607:32: error: Left bracket not on separate line
drivers/video/ov2640.c:607:47: error: Left bracket not on separate line
drivers/video/ov2640.c:607:62: error: Left bracket not on separate line
drivers/video/ov2640.c:608:17: error: Left bracket not on separate line
drivers/video/ov2640.c:608:32: error: Left bracket not on separate line
drivers/video/ov2640.c:608:47: error: Left bracket not on separate line
drivers/video/ov2640.c:608:62: error: Left bracket not on separate line
drivers/video/ov2640.c:609:17: error: Left bracket not on separate line
drivers/video/ov2640.c:609:32: error: Left bracket not on separate line
drivers/video/ov2640.c:609:47: error: Left bracket not on separate line
drivers/video/ov2640.c:609:62: error: Left bracket not on separate line
drivers/video/ov2640.c:610:17: error: Left bracket not on separate line
drivers/video/ov2640.c:610:32: error: Left bracket not on separate line
drivers/video/ov2640.c:610:47: error: Left bracket not on separate line
drivers/video/ov2640.c:610:62: error: Left bracket not on separate line
drivers/video/ov2640.c:611:17: error: Left bracket not on separate line
drivers/video/ov2640.c:611:32: error: Left bracket not on separate line
drivers/video/ov2640.c:611:47: error: Left bracket not on separate line
drivers/video/ov2640.c:611:62: error: Left bracket not on separate line
drivers/video/ov2640.c:622:17: error: Left bracket not on separate line
drivers/video/ov2640.c:622:32: error: Left bracket not on separate line
drivers/video/ov2640.c:622:47: error: Left bracket not on separate line
drivers/video/ov2640.c:622:62: error: Left bracket not on separate line
drivers/video/ov2640.c:623:17: error: Left bracket not on separate line
drivers/video/ov2640.c:623:32: error: Left bracket not on separate line
drivers/video/ov2640.c:623:47: error: Left bracket not on separate line
drivers/video/ov2640.c:623:62: error: Left bracket not on separate line
drivers/video/ov2640.c:624:17: error: Left bracket not on separate line
drivers/video/ov2640.c:624:32: error: Left bracket not on separate line
drivers/video/ov2640.c:624:47: error: Left bracket not on separate line
drivers/video/ov2640.c:624:62: error: Left bracket not on separate line
drivers/video/ov2640.c:625:17: error: Left bracket not on separate line
drivers/video/ov2640.c:625:32: error: Left bracket not on separate line
drivers/video/ov2640.c:625:47: error: Left bracket not on separate line
drivers/video/ov2640.c:625:62: error: Left bracket not on separate line
drivers/video/ov2640.c:626:17: error: Left bracket not on separate line
drivers/video/ov2640.c:626:32: error: Left bracket not on separate line
drivers/video/ov2640.c:626:47: error: Left bracket not on separate line
drivers/video/ov2640.c:626:62: error: Left bracket not on separate line
drivers/video/ov2640.c:627:17: error: Left bracket not on separate line
drivers/video/ov2640.c:627:32: error: Left bracket not on separate line
drivers/video/ov2640.c:627:47: error: Left bracket not on separate line
drivers/video/ov2640.c:627:62: error: Left bracket not on separate line
drivers/video/ov2640.c:628:17: error: Left bracket not on separate line
drivers/video/ov2640.c:628:32: error: Left bracket not on separate line
drivers/video/ov2640.c:628:47: error: Left bracket not on separate line
drivers/video/ov2640.c:628:62: error: Left bracket not on separate line
drivers/video/ov2640.c:629:17: error: Left bracket not on separate line
drivers/video/ov2640.c:629:32: error: Left bracket not on separate line
drivers/video/ov2640.c:640:17: error: Left bracket not on separate line
drivers/video/ov2640.c:640:32: error: Left bracket not on separate line
drivers/video/ov2640.c:640:47: error: Left bracket not on separate line
drivers/video/ov2640.c:640:62: error: Left bracket not on separate line
drivers/video/ov2640.c:641:17: error: Left bracket not on separate line
drivers/video/ov2640.c:641:32: error: Left bracket not on separate line
drivers/video/ov2640.c:641:47: error: Left bracket not on separate line
drivers/video/ov2640.c:641:62: error: Left bracket not on separate line
drivers/video/ov2640.c:642:17: error: Left bracket not on separate line
drivers/video/ov2640.c:642:32: error: Left bracket not on separate line
drivers/video/ov2640.c:642:47: error: Left bracket not on separate line
drivers/video/ov2640.c:642:62: error: Left bracket not on separate line
drivers/video/ov2640.c:643:17: error: Left bracket not on separate line
drivers/video/ov2640.c:643:32: error: Left bracket not on separate line
drivers/video/ov2640.c:643:47: error: Left bracket not on separate line
drivers/video/ov2640.c:643:62: error: Left bracket not on separate line
drivers/video/ov2640.c:644:17: error: Left bracket not on separate line
drivers/video/ov2640.c:644:32: error: Left bracket not on separate line
drivers/video/ov2640.c:644:47: error: Left bracket not on separate line
drivers/video/ov2640.c:644:62: error: Left bracket not on separate line
drivers/video/ov2640.c:645:17: error: Left bracket not on separate line
drivers/video/ov2640.c:645:32: error: Left bracket not on separate line
drivers/video/ov2640.c:645:47: error: Left bracket not on separate line
drivers/video/ov2640.c:645:62: error: Left bracket not on separate line
drivers/video/ov2640.c:646:17: error: Left bracket not on separate line
drivers/video/ov2640.c:646:32: error: Left bracket not on separate line
drivers/video/ov2640.c:646:47: error: Left bracket not on separate line
drivers/video/ov2640.c:646:62: error: Left bracket not on separate line
drivers/video/ov2640.c:647:17: error: Left bracket not on separate line
drivers/video/ov2640.c:647:32: error: Left bracket not on separate line
drivers/video/ov2640.c:647:47: error: Left bracket not on separate line
drivers/video/ov2640.c:647:62: error: Left bracket not on separate line
drivers/video/ov2640.c:658:17: error: Left bracket not on separate line
drivers/video/ov2640.c:658:32: error: Left bracket not on separate line
drivers/video/ov2640.c:658:47: error: Left bracket not on separate line
drivers/video/ov2640.c:658:62: error: Left bracket not on separate line
drivers/video/ov2640.c:659:17: error: Left bracket not on separate line
drivers/video/ov2640.c:659:32: error: Left bracket not on separate line
drivers/video/ov2640.c:659:47: error: Left bracket not on separate line
drivers/video/ov2640.c:659:62: error: Left bracket not on separate line
drivers/video/ov2640.c:660:17: error: Left bracket not on separate line
drivers/video/ov2640.c:660:32: error: Left bracket not on separate line
drivers/video/ov2640.c:660:47: error: Left bracket not on separate line
drivers/video/ov2640.c:660:62: error: Left bracket not on separate line
drivers/video/ov2640.c:661:17: error: Left bracket not on separate line
drivers/video/ov2640.c:661:32: error: Left bracket not on separate line
drivers/video/ov2640.c:661:47: error: Left bracket not on separate line
drivers/video/ov2640.c:661:62: error: Left bracket not on separate line
drivers/video/ov2640.c:662:17: error: Left bracket not on separate line
drivers/video/ov2640.c:662:32: error: Left bracket not on separate line
drivers/video/ov2640.c:662:47: error: Left bracket not on separate line
drivers/video/ov2640.c:662:62: error: Left bracket not on separate line
drivers/video/ov2640.c:663:17: error: Left bracket not on separate line
drivers/video/ov2640.c:663:32: error: Left bracket not on separate line
drivers/video/ov2640.c:663:47: error: Left bracket not on separate line
drivers/video/ov2640.c:663:62: error: Left bracket not on separate line
drivers/video/ov2640.c:664:17: error: Left bracket not on separate line
drivers/video/ov2640.c:664:32: error: Left bracket not on separate line
drivers/video/ov2640.c:664:47: error: Left bracket not on separate line
drivers/video/ov2640.c:664:62: error: Left bracket not on separate line
drivers/video/ov2640.c:665:17: error: Left bracket not on separate line
drivers/video/ov2640.c:665:32: error: Left bracket not on separate line
drivers/video/ov2640.c:665:47: error: Left bracket not on separate line
drivers/video/ov2640.c:665:62: error: Left bracket not on separate line
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e5592b615d drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
abb10784d9 drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c: Appease nxstyle 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
4fea157642 drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
5a57f10b9c drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2874f613a6 drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
b7358e9542 drivers/wireless/ieee80211/bcm43xxx/bcmf_bdc.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7d5259c767 drivers/wireless/ieee80211/bcm43xxx/bcmf_cdc.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2d892343d9 drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c: Fix syslog formats
The following nxstyle errors are not trivial to fix because
they are parts of the ioctl api.

drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c:1083:34: error: Mixed case identifier found
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c:1445:7: error: Mixed case identifier found
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d9b569b4d3 drivers/usbdev/adb.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
a0c7a14fed drivers/sensors/bmp180.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
5c871c6f47 drivers/sensors/bmp180.c: Appease nxstyle 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e3617dd8fb drivers/sensors/ina219.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
41f22bdba0 drivers/sensors/ina219.c: Appease nxstyle 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d1b5ab99ec drivers/mtd/sector512.c: Fix syslog formats 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cb52176615 drivers/mtd/sector512.c: Appease nxstyle 2020-12-05 08:13:32 -06:00
yjdwbj
6aba444359 Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.
Fixed: SDIO Interface hanging after inserted SD Card.

Disabled the CONFIG_SYSTEMTICK_EXTCLK, using nxsig_usleep instead of usleep
2020-12-04 22:41:46 -08:00
Diego Herranz
117947b5a1 drivers/led/ws2812: fix comments
Complete or improve some explanations and fix some typos
2020-12-02 21:22:12 -08:00
YAMAMOTO Takashi
720e90a7ce drivers/wireless/ieee802154/xbee/xbee.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
e5b63cddce drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
fc05f89c78 drivers/net/enc28j60.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
3086ceb28a drivers/net/enc28j60.c: Replace non ascii character (0xB5, "micro") 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f71b44e266 drivers/mtd/n25qxxx.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
55590318a4 drivers/mtd/n25qxxx.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
0b1c2322c4 drivers/input/djoystick.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
874101aede drivers/input/djoystick.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
5749599b0b drivers/mtd/mx25rxx.c: Fix syslog formats 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f97f6a6a36 drivers/mtd/mx25rxx.c: Appease nxstyle 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
8bfd344600 drivers/net/tun.c: Fix a syslog format 2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f5a5ec2d81 drivers/sensors/lm75.c: Fix syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
a9ae7edb95 drivers/sensors/lm75.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
57f45a07c4 drivers/mtd/at25.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
cac4f384e5 drivers/mtd/at25.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
819e13888c drivers/mtd/at24xx.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
99f545f5c3 drivers/mtd/at24xx.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
aa294546f4 drivers/sensors/xen1210.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
52d539d201 drivers/sensors/xen1210.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
bdabaa87c6 drivers/audio/cs43l22.c: Fix a syslog format 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
c1ba3e8ba0 drivers/lcd/st7565.c: Fix syslog formats 2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
f347edd0fd drivers/lcd/st7565.c: Appease nxstyle 2020-11-30 05:28:17 -06:00
Huang Qi
f0e8d10d1a drivers/audio: Make audio_null play at real speed
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I69a52ee2b03836006f613c4dc41837b6123ad2d5
2020-11-30 03:30:30 -06:00
YAMAMOTO Takashi
bd1a586838 drivers/can/mcp2515.c: Fix a syslog format 2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
917c88017f drivers/can/mcp2515.c: Appease nxstyle
The following nxstyle error is intentionally left.
It's a URL.

drivers/can/mcp2515.c:1561:93: error: Long line found
2020-11-28 23:14:05 -06:00
Chaochao Cui
fbb3cd660b add simple wm8994 codec driver 2020-11-28 10:23:40 -03:00
chao.an
049c991d28 style/Kconfig: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
chao.an
c56785bd0d style/Makefile: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
YAMAMOTO Takashi
53a3d652b5 drivers/sensors/max31855.c: Fix a syslog format 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
6a9a3d05d8 drivers/sensors/max31855.c: Appease nxstyle 2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
afe3c2cdb5 drivers/usbdev/rndis.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
e2ec8e974c drivers/lcd/ft80x_spi.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
d6a562e3e1 drivers/wireless/gs2200m.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
b3d39176bc drivers/audio/cxd56.c: Fix syslog formats 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
56dcad1540 drivers/lcd/st7567.c: Remove references to non existent st7567_powerstring 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
7b897ac186 drivers/lcd/st7567.c: Appease nxstyle 2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
89183fec00 drivers/timers/pwm.c: Fix a syslog format 2020-11-27 05:18:57 -06:00
Augusto Fraga Giachero
ffcedfd971 Remove copyright from headers 2020-11-25 05:13:46 -08:00
Augusto Fraga Giachero
6a43daa67e Update licenses to Apache 2.0 2020-11-25 05:13:46 -08:00
YAMAMOTO Takashi
aad25bc4c8 drivers/usbdev/cdcecm.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
4b740fa13a drivers/usbdev/cdcecm.c: Fix an undefined variable in a syslog call 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
723f590345 drivers/mtd/m25px.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
ab7ae96a1e drivers/mtd/m25px.c: Appease nxstyle 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
75484f95b8 drivers/can/can.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
510e72567f drivers/net/dm90x0.c: Fix a syslog format 2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
597675bd7f drivers/mmcsd/mmcsd_sdio.c: Fix a syslog format 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
5706e3851d drivers/wireless/lpwan/sx127x/sx127x.c: Fix syslog formats 2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
f8da954e7c drivers/sensors/sensor.c: Fix a syslog format 2020-11-24 22:31:33 -08:00
ligd
09778c38b1 rptun: fix rptun rpmsg_unregister_callback fault
N/A

Change-Id: I6447e2ec71a4020533336f35e2aa97a860742e63
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-24 21:52:29 -08:00
dongjiuzhu
148afd9548 driver/sensors: support custom type of sensor.
For examples, the custom sensor could define:
struct custem_event_s
{
  uint64_t timestamp;
  int16_t adc[8];
};
struct sensor_lowerhalf_s g_lower =
{
 .buffer_size = 1024,
};
sensor_custom_register(lower, "/dev/sensor/custom0", sizeof(struct custem_event_s));

Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-24 13:23:15 -03:00
YAMAMOTO Takashi
86c16667f8 drivers/net/loopback.c: Fix a syslog format 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
5c5fc00fc4 drivers/net/telnet.c: Fix syslog formats 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
8e73a3ed4c drivers/rwbuffer.c: Fix syslog formats 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
7f32cfa720 drivers/mtd/mtd_rwbuffer.c: Fix a syslog format 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
5b25cf8e47 drivers/mtd/mtd_rwbuffer.c: Appease nxstyle 2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
c1f8e270eb drivers/rc/dummy.c: Fix a syslog format 2020-11-23 05:00:10 -08:00