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

boards/adafruit-metro-m4-express: initial port #20912

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

maribu
Copy link
Member

@maribu maribu commented Oct 15, 2024

Contribution description

This adds the board specification of the Adafruit Metro M4 Express 1. The significance of this board is that it is compatible with both classical SPI Arduino Shields using the ISP header for SPI (such as shield_w5100) and more recent shields using D11/D12/D13 as SPI (such as shield_llcc68).

Testing procedure

USEMODULE=shield_w5100 make -C examples/gnrc_networking BOARD=adafruit-metro-m4-express flash term MOST_RECENT_PORT=0
[...]
2024-10-15 20:44:18,578 # ifconfig
2024-10-15 20:44:18,579 # Iface  6  HWaddr: A6:99:B8:23:96:3C 
2024-10-15 20:44:18,579 #           L2-PDU:1500  MTU:1500  HL:64  RTR  
2024-10-15 20:44:18,579 #           RTR_ADV  
2024-10-15 20:44:18,580 #           Source address length: 6
2024-10-15 20:44:18,580 #           Link type: wired
2024-10-15 20:44:18,580 #           inet6 addr: fe80::a499:b8ff:fe23:963c  scope: link  VAL
2024-10-15 20:44:18,580 #           inet6 group: ff02::2
2024-10-15 20:44:18,580 #           inet6 group: ff02::1
2024-10-15 20:44:18,581 #           inet6 group: ff02::1:ff23:963c
2024-10-15 20:44:18,581 #           inet6 group: ff02::1a
2024-10-15 20:44:18,581 #           
2024-10-15 20:44:18,581 #           Statistics for Layer 2
2024-10-15 20:44:18,581 #             RX packets 0  bytes 0
2024-10-15 20:44:18,582 #             TX packets 1 (Multicast: 1)  bytes 78
2024-10-15 20:44:18,582 #             TX succeeded 0 errors 0
2024-10-15 20:44:18,582 #           Statistics for IPv6
2024-10-15 20:44:18,582 #             RX packets 0  bytes 0
2024-10-15 20:44:18,582 #             TX packets 1 (Multicast: 1)  bytes 64
2024-10-15 20:44:18,583 #             TX succeeded 1 errors 0
USEMODULE=shield_llcc68 make -C examples/gnrc_networking BOARD=adafruit-metro-m4-express flash term MOST_RECENT_PORT=0
[...]
2024-10-15 20:46:18,178 # ifconfig
2024-10-15 20:46:18,179 # Iface  6  Frequency: 868300000Hz  RSSI: -128  BW: 125kHz  SF: 7  CR: 4/5 
2024-10-15 20:46:18,179 #            State: STANDBY 
2024-10-15 20:46:18,180 #           MTU:65535  HL:64  RTR  
2024-10-15 20:46:18,180 #           RTR_ADV  
2024-10-15 20:46:18,180 #           Link type: wireless
2024-10-15 20:46:18,180 #           inet6 group: ff02::2
2024-10-15 20:46:18,180 #           inet6 group: ff02::1
2024-10-15 20:46:18,180 #           inet6 group: ff02::1a
2024-10-15 20:46:18,181 #           
2024-10-15 20:46:18,181 #           Statistics for Layer 2
2024-10-15 20:46:18,181 #             RX packets 0  bytes 0
2024-10-15 20:46:18,181 #             TX packets 0 (Multicast: 0)  bytes 0
2024-10-15 20:46:18,181 #             TX succeeded 0 errors 0
2024-10-15 20:46:18,181 #           Statistics for IPv6
2024-10-15 20:46:18,182 #             RX packets 0  bytes 0
2024-10-15 20:46:18,182 #             TX packets 0 (Multicast: 0)  bytes 0
2024-10-15 20:46:18,182 #             TX succeeded 0 errors 0

Issues/PRs references

@maribu maribu added Type: new feature The issue requests / The PR implemements a new feature for RIOT CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 15, 2024
@maribu maribu requested a review from benpicco October 15, 2024 18:54
@github-actions github-actions bot added Area: doc Area: Documentation Area: boards Area: Board ports Area: Kconfig Area: Kconfig integration labels Oct 15, 2024
@riot-ci
Copy link

riot-ci commented Oct 15, 2024

Murdock results

✔️ PASSED

d9863c6 boards/adafruit-metro-m4-express: initial port

Success Failures Total Runtime
561 0 561 02m:14s

Artifacts

Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

boards/adafruit-metro-m4-express/board.c Outdated Show resolved Hide resolved
boards/adafruit-metro-m4-express/include/periph_conf.h Outdated Show resolved Hide resolved
@maribu maribu force-pushed the boards/adafruit-metro-m4-express branch from 6e7f058 to 4136a1f Compare October 22, 2024 12:15
This adds the board specification of the Adafruit Metro M4 Express [1].
The significance of this board is that it is compatible with both
classical SPI Arduino Shields using the ISP header for SPI
(such as `shield_w5100`) and more recent shields using D11/D12/D13 as
SPI (such as `shield_llcc68`).

[1]: https://learn.adafruit.com/adafruit-metro-m4-express-featuring-atsamd51/overview
@maribu maribu enabled auto-merge October 22, 2024 13:55
@maribu maribu force-pushed the boards/adafruit-metro-m4-express branch from 4136a1f to d9863c6 Compare October 22, 2024 13:55
@maribu maribu added this pull request to the merge queue Oct 22, 2024
Merged via the queue into RIOT-OS:master with commit 75a5f0f Oct 22, 2024
25 checks passed
@maribu
Copy link
Member Author

maribu commented Oct 22, 2024

Thx a bunch :)

@maribu maribu deleted the boards/adafruit-metro-m4-express branch October 22, 2024 14:03
@benpicco benpicco added this to the Release 2024.10 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: doc Area: Documentation Area: Kconfig Area: Kconfig integration CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants