← index #8147Issue #5879
Off-topic · high · value 0.583
QUERY · ISSUE

Thingy:52 nrf port, what board name to use to compile port

openby alexisc67opened 2022-01-07updated 2024-09-08
port-nrfboard-definition

Hi,

I created this topic in the forum with no much luck, maybe someone here can help me.
https://forum.micropython.org/viewtopic.php?f=12&t=11704

I am compiling a port for the Nordic Seminconductors Thingy:52. I see in the documentation that nrf port has been tested for Thingy:52. It is listed in tested hardware. However there is no target board code for the Thingy:52 specifically.
https://github.com/micropython/micropyt ... /ports/nrf

I would like to know how this board what tested and if another target board name was used for it, for example pca10040. The Thingy:52 is pca20020.

Thanks,

CANDIDATE · ISSUE

NRF51822 (PCA10028) - no serial console after flashing

closedby scttnlsnopened 2020-04-07updated 2025-10-04
port-nrfneeds-info

Building the pca10028 target:

cd ports/nrf
make BOARD=pca10028

Flashing it with OpenOCD:

openocd -f interface/stlink-v2.cfg -f target/nrf51.cfg -c "program ./build-pca10028/firmware.bin verify reset exit"

And trying to connect to the serial port:

screen /dev/ttyUSB0 115200

Serial console is blank though and resetting the board does not do anything. I've verified that the MICROPY_HW_UART1_RX and MICROPY_HW_UART1_TX pins in boards/pca10028/mpconfigboard.h are correct and I've tried disabling MICROPY_HW_UART1_HWFC as well. No dice.

Any ideas?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied