Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform-nordicnrf51 is missing the generic.json nRF51 variant for Generic_nRF51822 #38

Open
zpm1066 opened this issue Oct 4, 2021 · 0 comments

Comments

@zpm1066
Copy link

zpm1066 commented Oct 4, 2021

The nRF51 variant json file for Generic_nRF51822 is missing in /.platformio/platforms/nordicnrf51/boards.

I have verified that the following generic.json works fine with nRF51822 (and nRF51802) boards.

{
  "build": {
    "arduino":{
      "ldscript": "nrf51_xxaa.ld"
    },
    "core": "nRF5",
    "cpu": "cortex-m0",
    "extra_flags": "-DARDUINO_BBC_MICROBIT -DUSE_LFRC",
    "f_cpu": "16000000L",
    "mcu": "nrf51822",
    "variant": "Generic",
    "zephyr": {
       "variant": "generic_nrf51"
    }
  },
  "connectivity": [
    "bluetooth"
  ],
  "debug": {
    "onboard_tools": [
      "jlink"
    ],
    "svd_path": "nrf51.svd",
    "jlink_device": "nRF51822_xxAA"
  },
  "frameworks": [
    "arduino",
    "mbed",
    "zephyr"
  ],
  "name": "Generic nRF51",
  "upload": {
    "maximum_ram_size": 16384,
    "maximum_size": 262144,
    "protocol": "jlink",
    "protocols": [
      "cmsis-dap",
      "mbed",
      "jlink"
    ]
  },
  "url": "https://www.nordicsemi.com/Products/nRF51822",
  "vendor": "Nordic"
}

Please review and update the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant