Commit Graph

23 Commits

Author SHA1 Message Date
Rob Cornall
e40a11ec32 samples: drivers: spi_flash: Add MAX32655 support
Enable spi_flash sample for MAX32655FTHR and MAX32655EVKIT
which have an external Winbond W25Q128jv external flash.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Signed-off-by: Rob Cornall <Rob.Cornall@analog.com>
Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
2025-02-12 02:27:12 +01:00
Sadik Ozer
19b7eec08c boards: adi: Add erase command for max32xxx boards
This commit enable erase command for max32xxx/max78xxx boards.
Erase command shall be passed to west flash as below

west flash --erase

Console output will like:
......
[max32xxx.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x000001b4 msp: 0x20004000
max32xxx mass erase complete
wrote XXXX bytes from file YYYY
Enable debug to connect in low-power mode
shutdown command invoked

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2025-02-06 07:45:02 +01:00
Sadik Ozer
ed4069c387 boards: adi: Centralize openocd debugger configuration
Add a common openocd configuration files for MAX32 MCUs
to simplify maintanence of them.
After this update it will be easy to add/remove new command

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2025-02-06 07:45:02 +01:00
Tahsin Mutlugun
acd5d08c98 dts: arm: adi: max32655: Move include line for DMA bindings
To prevent duplication of include lines across tests, move DMA binding
include into max32655.dtsi.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-01-24 11:00:27 +01:00
Stephanos Ioannidis
fe87abe0b9 boards: Remove 'xtools' toolchain variant references
This commit removes all references to the `xtools` toolchain variant in the
board YAML files.

Note that the `xtools` toolchain variant has been deprecated since Zephyr
v3.3.0 and now removed.

The removal process was automated using the following command line:

  git grep -l xtools -- boards/*.{yml,yaml} | \
  xargs -n 1 -P $(nproc) \
  yq -i 'del(.toolchain[] | select(. == "xtools"))'

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-01-17 10:50:07 +01:00
Okan Sahin
0253a1054c boards: adi: max32: Enable counter RTC
This commit enables counter RTC for following boards

- MAX32662 EVKIT
- MAX32655 EVKIT
- MAX32655 FTHR
- MAX32666 FTHR
- MAX32666 EVKIT
- MAX32670 EVKIT
- MAX32672 FTHR
- MAX32672 EVKIT
- MAX32690 EVKIT

Co-authored-by: Sadik Ozer <sadik.ozer@analog.com>
Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Signed-off-by: Okan Sahin <okan.sahin@analog.com>
2024-11-16 15:08:43 -05:00
Benjamin Cabé
1b29273248 boards: adi: adopt new zephyr:board directive and role
This updates the documentation of all the Analog Devices boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Mert Vatansever
f58a1993bd boards: arm: adi: Add flash in MAX32xxx boards driver list
Add flash in 'index.rst' and '.yaml' file of MAX32xxx boards.

Signed-off-by: Mert Vatansever <mert.vatansever@analog.com>
2024-10-22 20:39:41 +02:00
Sadik Ozer
fd9b1332aa boards: adi: Add 1-Wire driver in MAX32655EVKIT driver list
1-Wire interface can be used with MAX32655EVKIT
It added in supported interface list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Benjamin Cabé
05d59f7207 boards: Set full_name for all boards
Full name was set based on the information available either in board
documentation or in Twister files.
Whenever applicable, vendor name was dropped from the full name so that
all boards have a consistent naming scheme.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-10 20:22:21 -04:00
Sadik Ozer
e781544c04 boards: arm: adi: Add pwm in MAX32655 board driver list
PWM added in MAX32655EVKIT and MAX32655FTHR boards file

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-09-23 18:12:00 -04:00
Sadik Ozer
300bb22026 boards: arm: Add counter in MAX32655 driver list
Update MAX32655 board documents to include counter driver too.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-09-11 20:18:33 -04:00
Furkan Akkiz
168c717afb boards: adi: Enable ADC driver for MAX32 boards
ADC enabled for MAX32655EVKIT, MAX32655FTHR, MAX32662EVKIT
MAX32666EVKIT, MAX32666FTHR, MAX32672EVKIT, MAX32672FTHR and
MAX32690EVKIT boards

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-09-04 21:28:08 +02:00
Sadik Ozer
d0d1a85e2d boards: adi: Define default SPI pins for MAX32 boards
Define SPI pins to simplify SPI usage

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-08-14 14:45:27 -04:00
Tahsin Mutlugun
33ee9cdd2b boards: arm: Include SPI in MAX32655 boards documentation
Add SPI to the list of supported peripherals for MAX32655FTHR and
MAX32655EVKIT boards.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2024-08-14 14:45:27 -04:00
Furkan Akkiz
e3ba874f77 boards: adi: Enable watchdog driver for MAX32655 boards
Watchdog enabled for MAX32655EVKIT and MAX32655FTHR boards

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Co-authored-by: Sadik Ozer <sadik.ozer@analog.com>
2024-08-11 19:18:56 -05:00
Jason Murphy
fb1fb2747c boards: arm: enable DMA on MAX32655 boards
Enable DMA peripheral support on MAX32655EVKIT and FHTR boards.

Co-Authored-By: Sadik Ozer <sadik.ozer@analog.com>
Signed-off-by: Jason Murphy <jason.murphy@analog.com>
2024-08-06 17:16:35 -04:00
Tahsin Mutlugun
771d8b51a3 boards: adi: Enable commonly used I2C nodes by default
Enable commonly-used I2C in ADI MAX32 boards by default to access I2C
functionality without having to create an additional overlay file.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2024-08-06 09:19:42 +01:00
Tahsin Mutlugun
ad38831565 boards: adi: max32655: Enable I2C in MAX32655 boards
Now that I2C support has been added, include it in documentation and
YAML metadata for MAX32655FTHR and MAX32655EVKIT boards.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2024-08-01 12:36:14 +02:00
Sadik Ozer
f3f2f214b2 boards: arm: Enable TRNG driver for MAX32655 boards
TRNG enabled for MAX32655EVKIT and MAX32655FTHR boards

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-07-28 07:30:20 +03:00
Maureen Helm
fe382e57d9 boards: adi: Improve twister vendor filter coverage
Some of the new max32 family boards were missing the vendor name in
their board yamls and not being tested by `twister --vendor adi`.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-06-21 08:44:04 -04:00
Maureen Helm
e1c51f9a72 boards: adi: Fix input subsys tests and samples for max32 boards
Input subystem tests and samples were failing to build on these max32
boards because the zephyr,code property was missing on gpio-keys child
nodes. The devicetree binding doesn't specify the property as required,
but the driver implements a build assert when the property isn't
defined.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-06-20 17:08:08 -04:00
Sadik Ozer
7bb48a7d45 boards: Add MAX32655EVKit board
Added MAX32655EVKit boards.
For more information about this board please check
https://www.analog.com/

Co-authored-by: Kevin Townsend <kevin.townsend@analog.com>
Co-authored-by: Maureen Helm <maureen.helm@analog.com>
Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-06-04 13:40:44 +02:00