Commit Graph

14 Commits

Author SHA1 Message Date
Declan Snyder cf3754e7bf doc: Add documentation about entropy on LPC55S36
Add to the feature table for LPC55S36 board to indicate
that the CSS can be used for entropy generation

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2022-11-02 16:54:10 -05:00
Derek Snell 569ef4ce30 doc: boards: NXP serial port features documented
Updated docs for NXP boards using the nxp_lpc_usart, for supported
serial port features.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2022-09-29 10:11:51 +00:00
Mahesh Mahadevan 948b2ab089 boards: nxp: Fix various broken links
Fix the links on boards with SoC's from NXP

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-09-26 07:55:23 +00:00
Derek Snell f6cb8fe296 boards: doc: Update NXP boards docs with references to superset boards
Detail which NXP boards are superset boards.  Other boards will link to
their closest superset boards.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2022-09-19 11:05:55 -05:00
Emilio Benavente 0eec3ed633 boards: arm: lpcxpresso55s36: Added Docs for FlexPWM
Documented the FlexPWM pins and show support's enabled.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2022-09-19 10:10:32 +00:00
Emilio Benavente 6b4a36f503 boards: arm: lpcxpresso55s36: Added FlexPWM Support
Added the pinmux and pinctrl support for FlexPWM on the LPC55s36 board.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2022-09-19 10:10:32 +00:00
Kumar Gala 390464ce3b timers: remove defconfig setting of timer drivers
Now that timer drivers are enabled based on devicetree we can
remove any cases of them getting enabled by *_defconfig files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-09-09 09:58:48 +00:00
Gerard Marull-Paretas e81e92dbb9 boards: convert images to JPEG and reduce image size
The boards folder uses ~142.8 MB, being the largest in the repository.
This is due mostly to board images, which are in most cases not
optimized for web content. This patch tries to address this problem by
converting all pictures to JPEG (quality 75) and by adjusting its size
up to 750 px (the width of the documentation content). Images that
specified a fixed width in rst files are converted down to that value
instead.

With this patch, folder goes down to ~53.5 MB from 142.8 MB (-~63%).
Note that this patch introduces a new set of binary files to git
history, though (bad).

The process has been automated using this quickly crafted Python script:

```python
from pathlib import Path
import re
import subprocess

def process(doc, image, image_jpeg, size):
    subprocess.run(
        (
	     f"convert {image}"
	     "-background white -alpha remove -alpha off -quality 75"
	     f"-resize {size}\> {image_jpeg}"
	),
        shell=True,
        check=True,
        cwd=doc.parent,
    )
    if image != image_jpeg:
        (doc.parent / image).unlink()

for doc in Path(".").glob("boards/**/*.rst"):
    with open(doc) as f:
        content = ""
        image = None
        for line in f:
            m = re.match(r"^(\s*)\.\. (image|figure):: (.*)$", line)
            if m:
                if image:
                    process(doc, image, image_jpeg, size)

                image = Path(m.group(3))
                if image.suffix not in (".jpg", ".jpeg", ".png"):
                    content += line
                    image = None
                    continue

                image_jpeg = image.parent / (image.stem + ".jpg")
                size = 750
                content += (
                    f"{m.group(1)}.. {m.group(2)}:: {image_jpeg}\n"
                )
            elif image:
                m = re.match(r"\s*:height:\s*[0-9]+.*$", line)
                if m:
                    continue

                m = re.match(r"\s*:width:\s*([0-9]+).*$", line)
                if m:
                    size = min(int(m.group(1)), size)
                    continue

                content += line
                if line == "\n":
                    process(doc, image, image_jpeg, size)
                    image = None
            else:
                content += line

    with open(doc, "w") as f:
        f.write(content)
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-29 10:18:18 +02:00
Yves Vandervennet 9ecf1d3529 doc: lpcxpresso55s36 evk: documentation update
Added on-SoC flash to the list of supported features

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-08-25 10:24:41 -05:00
Yves Vandervennet 8d96cc42b6 nxp: lpcxpresso55s36 evk: enabling flash partitions.
Sample paritions added to the flash memory device node.

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-08-25 10:24:41 -05:00
Yves Vandervennet 6b66d7f266 flash: nxp: enabling lpc55s36's FMC
This commit enables the SoC's flash memory controller.

 - added lpc55s36 specific code in the NXP MCUX driver
   to take advantage of the SoC's check-before-read
   capability
 - enabled the FMC node in the SoC's dtsi (iap)
 - added the flash controller chosen node to the board's dts

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-08-25 10:24:41 -05:00
Yves Vandervennet 759abddfca doc: nxp: lpcxpresso documentation update for CAN
Addition to the table of features supported on Zephyr

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-08-15 13:37:38 -05:00
Yves Vandervennet 7a4bb3b27c can: nxp: enabling MCAN on NXP's lpcxpresso55s36
This commit introduces

 - changes on SoC Kconfig and dts files
 - board specific changes (CAN node status, pinctrl and Zephyr alias)

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-08-15 13:37:38 -05:00
Neil Chen 84fbdf1a23 board: arm: Add board support for lpcxpresso55s36
- Add pinctrl, dts, doc

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2022-08-04 10:47:16 -05:00