I read zephyr official document of nrf52810 support：
It describes like this :
"The nrf52810_pca10040 board is a modified version of the nRF52-PCA10040 that enforces the limitations imposed by the nRF52810 IC, which is a cost-reduced variant of the original nRF52832. Since Nordic does not offer a development kit for the nRF52810 you can use this board to develop for this IC while using the nRF52 Development Kit (PCA10040)."
Does it mean that the firmware of nRF52832 built by zephyr can run on the board of nRF52810?
The nRF52810 IC is a subset of the nRF52832 with smaller RAM and flash, and with less peripheral resources. Therefore, you can use nRF52832 to emulate the functionality of nRF52810.
If you build your code for nRF52810 and set the zephyr board to nrf52810_pca10040, then this code can run on the nRF52832/PCA10040.
I meet a problem,that is ： when I set the zephyr board to nrf52810_pca10040，compile error comeup：
zephyr/drivers/bluetooth/hci/h4.c:462:30: error: ‘CONFIG_BT_UART_ON_DEV_NAME’ undeclared (first use in this function)h4_dev = device_get_binding(CONFIG_BT_UART_ON_DEV_NAME);
Has anyone ever met this?
when I set the zephyr board to nrf52_pca10040,compile is ok,so I wonder if the firmware can run on the nRF52810 if zephyr board was set to nrf52_pca10040（nRF52832）?
the error: ‘CONFIG_BT_UART_ON_DEV_NAME’ undeclared has been resolved,beacaus bluetooth is not enabled in nrf52810_pca10040_defconfig by default.
nrf52810_pca10040_defconfig descirbes that:
"# Bluetooth not enabled by default on nRF52810 due to RAM limitations when# running the default set of kernel tests.# Enable this on your prj.conf to include Bluetooth support"
Does it mean that the firmware may work unnormally if I enble the bluetooth function due to RAM limitations？
No, you can safely use Bluetooth on the nRF52810. It’s just default disabled for convenience, so that there is enough RAM to run the default set of kernel tests.
Thanks for your reply.
I have filed an issue related to HCI UART sample from zephyr running on nrf52832. I compiled the hci_uart sample successfully, but I am not able to use the UART interface through an external USB-UART converter (CP2102 ). I btattach the dev/ttyUSBx and monitor the communication with btmon on the linux host,It indicates that the 52832 chip running hci_uart sample does not respond to the Linux host who sends hci reset command to it.Is anyone met this problem before ？ Any device on debugging and resolving this problem will be highly appreciated,thanks.