Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MAX78002 SoC and MAX78002EVKIT board #80247

Merged

Conversation

hfakkiz
Copy link
Contributor

@hfakkiz hfakkiz commented Oct 22, 2024

The MAX78002 microcontroller (MCU) is an advanced system-on-chip (SoC) featuring an Arm® Cortex®-M4F and RISC-V CPU, large Flash and SRAM memories, and ultra-low-power deep neural network accelerator.

This PR adds MAX78002 and its EvKit board.

doc page in CI: https://builds.zephyrproject.io/zephyr/pr/80247/docs/boards/adi/max78002evkit/doc/index.html

Tested with:
tests/drivers/uart/uart_basic_api
uart_basic_api_test_ss

tests/drivers/gpio/gpio_basic_api
gpio_basic_api_test_ss

tests/drivers/entropy/api
trng_entropy_test_ss

tests/drivers/watchdog/wdt_basic_api
wdt_basic_api_test_ss

tests/drivers/dma/chan_blen_transfer
dma_chan_blen_transfer_test_ss

tests/drivers/dma/loop_transfer
dma_loop_transfer_test_ss

tests/drivers/flash/common
flash_common_test_ss

tests/drivers/pwm/pwm_api
pwm_api_test_ss

tests/drivers/adc/adc_api
adc_api_test_ss

tests/drivers/spi/spi_loopback
spi_loopback_test_ss

tests/drivers/i2c/i2c_target_api
i2c_target_api_test_ss

tests/drivers/w1/w1_api
w1_api_test_ss

tests/drivers/counter/counter_basic_api
counter_basic_api_test_sss

samples/drivers/counter/alarm
counter_alarm_sample_ss

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 22, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_adi zephyrproject-rtos/hal_adi@a3eecfd zephyrproject-rtos/hal_adi@b1a1023 (main) zephyrproject-rtos/hal_adi@a3eecfde..b1a10239

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_adi DNM This PR should not be merged (Do Not Merge) labels Oct 22, 2024
@MaureenHelm MaureenHelm added this to the v4.0.0 milestone Oct 22, 2024
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from fd3bd03 to 575b43c Compare October 23, 2024 00:11
boards/adi/max78002evkit/doc/img/max78002evkit_img1.jpg Outdated Show resolved Hide resolved
boards/adi/max78002evkit/doc/index.rst Outdated Show resolved Hide resolved
boards/adi/max78002evkit/max78002evkit_max78002_m4.dts Outdated Show resolved Hide resolved
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from 575b43c to a761aec Compare October 23, 2024 07:46
@hfakkiz hfakkiz requested a review from nordicjm October 23, 2024 08:04
boards/adi/max78002evkit/Kconfig.max78002evkit Outdated Show resolved Hide resolved
boards/adi/max78002evkit/max78002evkit_max78002_m4.yaml Outdated Show resolved Hide resolved
dts/arm/adi/max32/max78002.dtsi Outdated Show resolved Hide resolved
boards/adi/max78002evkit/doc/index.rst Outdated Show resolved Hide resolved
boards/adi/max78002evkit/board.yml Show resolved Hide resolved
boards/adi/max78002evkit/doc/index.rst Outdated Show resolved Hide resolved
boards/adi/max78002evkit/doc/img/max78002evkit_img1.webp Outdated Show resolved Hide resolved
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from a761aec to 8ffa155 Compare October 23, 2024 09:11
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from 8ffa155 to d560366 Compare October 23, 2024 09:46
@hfakkiz hfakkiz dismissed stale reviews from ttmut and kartben via 5f31087 October 23, 2024 16:40
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from 3938f0c to 5f31087 Compare October 23, 2024 16:40
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Oct 23, 2024
MaureenHelm
MaureenHelm previously approved these changes Oct 23, 2024
kartben
kartben previously approved these changes Oct 23, 2024
ttmut
ttmut previously approved these changes Oct 24, 2024
Added MAX78002 SoCs' files to the hal_adi repository. This commit
fetches it.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
MAX78002 SoC has IPLL and EBO clocks. Added these clocks for MAX78002.
Updated ERFO clock with '_OR' option because MAX78002 doesn't have it.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Added MAX78002 Kconfig and dts files.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Add MAX78002 binding file for DMA slots.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Add MAX78002EVKIT board.
For more information about this board please check
https://www.analog.com/

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Enable following tests for MAX78002EVKIT:
 - tests/drivers/adc/adc_api
 - tests/drivers/counter/counter_basic_api
 - tests/drivers/dma/chan_blen_transfer
 - tests/drivers/dma/loop_transfer
 - tests/drivers/flash/common
 - tests/drivers/gpio/gpio_basic_api
 - tests/drivers/i2c/i2c_target_api
 - tests/drivers/pwm/pwm_api
 - tests/drivers/spi/spi_loopback
 - tests/drivers/w1/w1_api

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Enable counter/alarm sample for MAX780002EVKIT.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
@hfakkiz hfakkiz dismissed stale reviews from ttmut, kartben, and MaureenHelm via 0d86245 October 25, 2024 09:40
@hfakkiz hfakkiz force-pushed the add-MAX78002EVKIT-board branch from 5f31087 to 0d86245 Compare October 25, 2024 09:40
@hfakkiz hfakkiz requested a review from nordicjm October 25, 2024 09:42
@MaureenHelm MaureenHelm added the platform: ADI Analog Devices, Inc. label Oct 25, 2024
@MaureenHelm MaureenHelm assigned MaureenHelm and unassigned teburd Oct 25, 2024
@MaureenHelm MaureenHelm modified the milestones: v4.0.0, v4.1.0 Oct 29, 2024
@nashif nashif merged commit 9bb46e6 into zephyrproject-rtos:main Nov 16, 2024
29 checks passed
@hfakkiz hfakkiz deleted the add-MAX78002EVKIT-board branch December 25, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants