question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom board shows up twice

See original GitHub issue

Added a custom board as instructed in #74, but the board appears twice in both Select Board and Select Environment.

Env: macOS Sierra ST 3 Deviot 1.2.5

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
garvamelcommented, Oct 12, 2016

Awesome, thanks!

0reactions
gepdcommented, Oct 23, 2016

Ok I found the problem, you didn’t set the platform in the json file, adding it solve the problem:

{
  "build": {
    "core": "arduino", 
    "extra_flags": "-DARDUINO_ARCH_AVR", 
    "f_cpu": "4000000L", 
    "mcu": "atmega328p", 
    "variant": "standard"
  }, 
  "frameworks": ["arduino"],
  "name": "Xenitt Gaviot (3.3V, 4MHz)",
  "platform": "atmelavr",
  "upload": {
    "maximum_ram_size": 2048, 
    "maximum_size": 32256, 
    "protocol": "arduino", 
    "require_upload_port": true, 
    "speed": 19200
  }, 
  "url": "http://www.xenitt.cl", 
  "vendor": "Xenitt"
}

After edit the 4MHzatmega328p.json file, remove platformio_boards.json in User/Deviot and restart ST, now it will show the boards normally

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your board runs the sketch twice - Arduino Help Center
On some boards, uploading while the Serial Monitor is open causes the board to run once, before resetting and running the new sketch....
Read more >
content appears twice | WordPress.org
I don't see the Supplies List twice. It looks like the theme you are using shows all of the tabs and clicking on...
Read more >
Same field shows up twice on Jira Issues - Atlassian Community
However, now the same field appears twice. I can see that there are two different custom fields (story points and story point estimate),...
Read more >
SharePoint PowerApps custom form has a GHOST - shows twice
Solved: Hello, I built a SharePoint custom form in PowerApps to maintain data in a SharePoint list. The form has being working well...
Read more >
Scene elements showing twice in javafx? - Stack Overflow
I'm building a UI with javafx for this little board game application I ... I try to refresh the scene but the scoreboard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found