You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • if I were to get a programmer and connect it, I could potentially run espruino on this thing?

    Yes, absolutely. There's an image for NRF51TAG (you'd have to follow the build instructions at https://github.com/espruino/Espruino to build it), but that may just run as-is. Otherwise you may have to tweak the pin assignments in NRF51TAG.py to match your tag.

    Realistically the best way to program these is to use an nRF52832DK board and then connect GND, SWD and SWCLK. The DK is £30 or so so does put a bit of a dent in the cost savings of a cheap beacon though :)

    If you're interested it is possible to flash Espruino onto cheap fitness trackers as well: http://forum.espruino.com/conversations/280747/

    However there's a whole new breed of nRF52 trackers and beacons out there that I'd recommend. You get 4x more RAM which really helps (because of fixed overheads that actually means 10x more JS code space).

  • 3 years later.... I have a dozen nrf51-based tags. Is NRF51TAG still supported. I don't see it in boards dir. I tried using:
    BOARD=NRF51822DK
    DEFINES+= -DNRF51822DK
    PROJ_NAME=espruino_2v08.281_nrf51822
    EMBEDDED=1
    FAMILY=NRF51
    CHIP=NRF51822
    OPTIMIZEFLAGS+=-Os
    USE_BLUETOOTH?=1
    USE_GRAPHICS?=1
    SAVE_ON_FLASH=1
    DEFINES+=-DCONFIG_GPIO_AS_PINRESET
    DEFINES += -DUSE_DEBUGGER -DUSE_TAB_COMPLETE
    DEFINES += -DBOARD_PCA10028

About

Avatar for Gordon @Gordon started