Commit Graph

38093 Commits

Author SHA1 Message Date
Matias N
2168e60df6 nrf52_ppi.c: fix incorrect implementation of group channel enable 2020-08-25 07:22:24 +02:00
Matias N
c51e383e08 nrf52: add PPI peripheral support 2020-08-25 07:22:24 +02:00
Matias N
0b6cca920b nrf52_rtc: unify irq and evt enums 2020-08-25 07:17:23 +02:00
Matias N
f5f07da7e7 nxstyle fixes 2020-08-25 07:17:23 +02:00
Matias N
fa6bb5411d nrf52 RTC: add event handling support 2020-08-25 07:17:23 +02:00
Matias N
407667480a doc: fix typo on contribution workflow 2020-08-24 10:29:55 -07:00
Matias N
1f53dd0e0e documentation: add license headers to various files 2020-08-24 10:29:55 -07:00
Matias N
896ba15f01 support specifying top alignment for tables 2020-08-24 10:29:55 -07:00
Matias N
911cc3f0ea fix wrong "todo" placement 2020-08-24 10:29:55 -07:00
Adam Feuer
8e56cf8d92 added hyperlinks to supported platforms page
- and fixed formatting in detailed support to
  enable hyperlinks to section headers

Squashed commit of the following:

commit 59e31d2ac13255f35f21d49c407494af23f16f6e
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 19:01:58 2020 -0700

    removed formatting |br|s, will use css

    - to line up columns

commit bcee59a14180bad6823e82990be52bc626e85911
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 18:55:57 2020 -0700

    remove migration not complete message

commit bc23b19ef65bdc13f3df04aae1693c61aa4abe04
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 18:16:07 2020 -0700

    table formatting adjustments

commit c6fdc907825a31218d2bdcbe1c1079e197779f02
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 16:03:07 2020 -0700

    fixing table formatting

commit c84d5e41a553e7a108b23d610e71f41ff6f5b751
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 15:35:16 2020 -0700

    trying to fix table formatting

commit 0d036dd2f309ad93f31a43c7f668befb6032c458
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 15:28:02 2020 -0700

    hyperlinks for supported boards for TI

commit e30840123f6ec2e7edb8335a165f9527919fefcc
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 15:13:40 2020 -0700

    links for supported boards by manufacturer - STM32

commit 7b5faf61901fc0fc3b945dbda4697a2d3f266126
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 14:13:18 2020 -0700

    supported boards by manufacturer hyperlinks nxp

    - nxp/freescale

commit 34c5c9b15908ffea7f8467c709fd0a5379e950ae
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sun Aug 16 13:52:18 2020 -0700

    hyperlinks for supported boards by manufacturer

    - up to atmel

commit 351718d5edbb7b736067cfcb74270992fcc55102
Author: Adam Feuer <adam@adamfeuer.com>
Date:   Sat Aug 15 20:57:38 2020 -0700

    add hyperlinks for supported platforms by cpu core
2020-08-24 10:29:55 -07:00
Matias N
d9be1dffab add basic support for multiple versions 2020-08-24 10:29:55 -07:00
Matias N
3f723a247d add basic documentation contributing guidelines 2020-08-24 10:29:55 -07:00
Matias N
76637cbf32 complete improving presentation of sections 2020-08-24 10:29:55 -07:00
Matias N
b3a269b957 fix link 2020-08-24 10:29:55 -07:00
Matias N
4a38a15332 convert TODOs to actual TODO banner and improve general presentation of different sections 2020-08-24 10:29:55 -07:00
Matias N
2fb9910b01 backport SocketCAN documentation to new docs (PR #1533) 2020-08-24 10:29:55 -07:00
Matias N
6bcbbc3b28 backport watchdog API changes to new documentation (PRs: #1534 #1545 and #1565) 2020-08-24 10:29:55 -07:00
Matias N
4276d6254a rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00
Matias N
6d89ae8fc7 move last content from old docs to new docs; remove old docs 2020-08-24 10:29:55 -07:00
Matias N
71021575fc convert acronyms.txt to glossary.rst 2020-08-24 10:29:55 -07:00
Matias N
04d31a1724 finished NX document migration 2020-08-24 10:29:55 -07:00
Matias N
5e1dab36c6 sphinx doc 2020-08-24 10:29:55 -07:00
Matias N
0c59b3f451 nrf52832_sparkfun: recreate files from proper Apache sources 2020-08-24 14:36:43 +01:00
Matias N
1d62a3fc76 nrf52832 sparkfun: normalize defconfig 2020-08-24 14:36:43 +01:00
Matias N
be57e262b5 nxstyle fixes 2020-08-24 14:36:43 +01:00
Matias N
06a223976c initial support for nrf52832-sparkfun board 2020-08-24 14:36:43 +01:00
Xiang Xiao
1e21c97744 arch/sim: Remove the redundant Kconfig variable dependence check
because Kconfig system already guarantee the invariance

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-24 21:18:31 +09:00
Masayuki Ishikawa
52286f6dec arch: cxd56xx: Introduce CONFIG_CXD56_SPI_DMATHRESHOLD
Summary:
- This commit improves SPI performance.
- For small data, it does not use DMA.

Impact:
- All use cases which use SPI with DMA

Testing:
- Tested with spresense:wifi and spresense:example_lcd

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-24 12:37:38 +02:00
Xiang Xiao
3ea8d574fe mm: Implement malloc_usable_size
defined here:
https://man7.org/linux/man-pages/man3/malloc_usable_size.3.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I5988bb28375626188312bd0a0ba3fc12db66f644
2020-08-24 03:36:44 -07:00
Alan C. Assis
7a1342f503 Fix coding style and other small issues 2020-08-23 08:26:10 -06:00
Alan C. Assis
52d7d0cb98 ESP32: Add board config to RNG driver 2020-08-23 08:26:10 -06:00
Alan C. Assis
4ded03a673 ESP32: Add support to RNG HW Driver 2020-08-23 08:26:10 -06:00
Johannes Schock
9bf9bb2db6 Changed comments. Proposed structure. 2020-08-23 08:23:54 -06:00
Johannes Schock
01715e4566 arm_xxxxstack.c: small style fixes, changed calculation of stack start for checkstack. 2020-08-23 08:23:54 -06:00
Johannes Schock
87614e2efd arm_createstack.c: Save tcb->adj_stack_size without tls overhead. 2020-08-23 08:23:54 -06:00
Xiang Xiao
b5f429c88b Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-22 17:37:21 -06:00
Xiang Xiao
ae356001cf Change all files come from Xiaomi/Pinecone to Apache License 2.0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-22 17:37:21 -06:00
Gregory Nutt
df23fb3713 Fix PIC32MX/MZ typos
The pic32mx_usbpullup() and pic32mz_usbpullup() callbacks were referred to with various incorrect names in comments:  pic32mx_pullup(), pic32mz_pullup(), stm32_pullup().
2020-08-22 18:44:58 +01:00
Alan C. Assis
4c31ada2ce Fix a small typo - reported by Greg Nutt 2020-08-22 09:54:16 -07:00
Gregory Nutt
e880bc9a71 Remove unused, non-modular procfs reference
fs/procfs/fs_procfs.c contained an unused reference to an STM32 procfs structure.  This is wrong in two ways:  (1) There should be not STM32 references outside of arch/arm and boards/arm and (2) the declare STM32 structure is not used anyway.
2020-08-22 16:22:18 +01:00
Ouss4
f2af90d1bd tools/configure: Align the .c and the .sh versions. 2020-08-21 21:23:13 -05:00
Ouss4
1c295aff19 tools/configure.sh: Don't distclean if no config was already in place. 2020-08-21 21:23:13 -05:00
Xiang Xiao
6670bc2b27 libc/time: Implement tm::tm_gmtoff field
defined by BSD and GNU library extension:
https://www.gnu.org/software/libc/manual/html_node/Broken_002ddown-Time.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I33113bc322f038a3602880db4fb9cf93001947ac
2020-08-21 07:48:52 -03:00
Xiang Xiao
8617cd94b2 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-21 18:09:19 +08:00
Xiang Xiao
8ce0ff5ce4 arch/sim: Make up_internal.h includable in host environment
to avoid the declaration repetition

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-21 18:09:19 +08:00
Masayuki Ishikawa
3543950766 arch: cxd56xx: Use spinlock API in cxd56_serial.c
Summary:
- This commit improves cxd56_serial performance in SMP mode.

Impact:
- This commit affects SMP mode only.

Testing:
- Tested with spresense:smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-21 12:06:46 +02:00
Dong Heng
39539be149 xtensa/esp32: Improve SPI transmission
Master:
  1. add DMA RX/TX support
  2. add software chip selection
  3. add user defined chip selection
  4. add IOMUX check and IO map

Slave:
  1. add DMA RX/TX support
  2. add IOMUX check and IO map
  3. use full 256 bit SPI TX/RX cache in non-DMA mode
2020-08-21 10:04:27 +01:00
Xiang Xiao
b3e01168db sched/signal: Add sighandler_t typedef
improve the compatibility for glibc

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I925e8cbea18848dfc75c97aa72a12b91810aa9e8
2020-08-21 09:59:46 +01:00
Xiang Xiao
297c294c0f libc: Change ctype macro to normal function
to avoid the argument evaluation more than once

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib59c9bc8d259731bc6e7ff542379b74ba22d6e33
2020-08-21 16:56:00 +08:00
Masayuki Ishikawa
0d971d4673 arch: cxd56xx: Fix IRQ control in cxd56_dmac.c
Summary:
- This commit fixes IRQ control for the following use case
- The gs2200m Wi-Fi driver requests SPI-DMA to receive a packet.
- cxd56_dma.c enables IRQ for the SPI-DMA and start transfer.
- Then LCD driver requests SPI-DMA to display an image.
- These SPI-DMAs use different DMA channels but share the DMA controller.
- Also, they share the same IRQ.
- When the first SPI-DMA finishes the transfer, it disables the IRQ.
- And if the second SPI-DMA finishes the transfer just after the IRQ disabled.
- The second SPI-DMA will be in a deadlock condition.
- To resolve this issue, do not control IRQ during DMA transfer.
- Instead, up_enable_irq() is called in up_dma_initialize()

Impact:
- All use cases which use DMA

Testing:
- Tested with spresense:wifi with LCD

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-21 10:38:47 +02:00