Using Mbed os for NRF52840

I’m trying to use this DK and having trouble. I’ve seen this post which describes my issue but the reply was to simply use a different DK. I wish to know how to add NRF52840 as a compliable target. I’ve explored the source code and figured by tweaking things in mbed-os/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/
this directory, I can probably compile using mbed cli for NRF52840 and be able to run on my NRF52833. However, I’m not sure how exactly, any help would be appreciated.

Hi Akira,

This document should help you to modify existing port to new board:
https://os.mbed.com/docs/mbed-os/v5.15/porting/porting-a-custom-board.html

Regards,
Pekka