Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

nrf52833 is treated the same as nrf52830, whereas nrf52833 has PO and P1 same as nrf52840

Aperta
#1,029 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
zig
Ambito
embedded-iot

Direzione di ricerca

Search the MicroZig files for the GPIO version enum and the .nrf52, .nrf52833 => .nrf5283x mapping shown in the issue. Compare the nRF52833 GPIO port details with the nRF52830 and nRF52840 references linked in the report. Done means nRF52833 is handled with the two-port variant while nRF52830 retains its existing behavior; run the relevant GPIO tests or checks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

nrf52833 is treated the same as if it only has one GPIO port, whereas nrf52833 has two, PO and P1, same as nrf52840. The difference is: 33 has p1.00 - p1.09 and 40 has p1.00 - p1.15.

nrf52833
nrf52840

const version: enum {
nrf51,
nrf5283x,
nrf52840,
} = switch (compatibility.chip) {
.nrf51 => .nrf51,
.nrf52, .nrf52833 => .nrf5283x,
.nrf52840 => .nrf52840,
else => compatibility.unsupported_chip("GPIO"),
};

in this enum above, which is littered across microzig files this line: .nrf52, .nrf52833 => .nrf5283x, is incorrect and I have had to change the enum to reflect this as shown below:

const version: enum {
nrf51,
nrf5283x,
nrf52840,
} = switch (compatibility.chip) {
.nrf51 => .nrf51,
.nrf52 => .nrf5283x,
.nrf52840, .nrf52833 => .nrf52840,
else => compatibility.unsupported_chip("GPIO"),
};

Lingua principale
Zig
Stelle
2.3k
Fork
198
Merge medio
1g 8h
PR unite (30g)
37

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ZigEmbeddedGroup/microzig

Tutte le issue di ZigEmbeddedGroup/microzig

Issue simili

Altre issue su Embedded & IoT

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.