# \[SOLVED\] Particle Web IDE: Uploading a project — SOLUTION: Customise Particle Workbench

**URL:** https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231
**Category:** Developer Tools
**Created:** [October 28, 2020, 3:12pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231 "2020-10-28T15:12:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rei\_vilo](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rei_vilo/32/368_2.png) [@rei\_vilo](https://community.particle.io/u/rei_vilo)
#### Post date: [October 28, 2020, 3:12pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/1 "2020-10-28T15:12:46Z")

</div>

SUMMARY:

1. Uploading a project to the Particle Web IDE is not possible.
2. However, customising the Particle Workbench is possible.

* * *

The Particle Web IDE features a **Download app sources** button to download the source code from the cloud.

Now, I would like to upload a project to the Particle Web IDE. How to proceed?

Thank you!

---

<div class="post-metadata">

### Author: ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)
#### Post date: [October 28, 2020, 3:21pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/2 "2020-10-28T15:21:57Z")

</div>

It’s not possible to upload a project. You can only copy and paste code into the Web IDE.

For larger projects, we recommend using Particle Workbench and Github instead of the Web IDE.

---

<div class="post-metadata">

### Author: ![rei\_vilo](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rei_vilo/32/368_2.png) [@rei\_vilo](https://community.particle.io/u/rei_vilo)
#### Post date: [October 28, 2020, 3:35pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/3 "2020-10-28T15:35:01Z")

</div>

Thanks!

Problem is, the Particle Web IDE still supports the RedBear Duo while the Particle Workbench no longer does.

---

<div class="post-metadata">

### Author: ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)
#### Post date: [October 28, 2020, 8:06pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/4 "2020-10-28T20:06:28Z")

</div>

Hey @rei_vilo,

I was able to add support for the redbear duo in Workbench with the following:

```bash
cd ~/.particle/toolchains/deviceOS
git clone https://github.com/redbear/firmware redbearduo
cd redbearduo
git submodule update --init --recursive

mkdir .workbench
nano .workbench/manifest.json

```

Put the following contents in `.workbench/manifest.json`:

```auto
{
    "version": "1.0.0",
    "toolchains": [
        {
            "firmware": "deviceOS@source",
            "compilers": "gcc-arm@5.3.1",
            "debuggers": "openocd@0.11.2-adhoc6ea4372.0",
            "platforms": [1],
            "scripts": "buildscripts@1.9.2",
            "tools": "buildtools@1.1.1"
        }
    ],
    "platforms": [
        {
            "id": 1,
            "name": "duo",
            "generation": 1
        }
    ]
}

```

In Workbench I set the `Custom Device OS Location` to `~/.particle/toolchains/deviceOS/redbearduo`

![](https://support.particle.io/hc/article_attachments/360052533733/settings-custom-deviceos-location.png)

Next, I opened created a new Workbench project and I selected the `deviceOS@source` firmware and the `duo` device:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/a/0/a08519e72c461813a03e908f1f4263f4462f4b8c.png)

After that, I was able to compile the project for the redbear duo.

* * *

Sources:

> [@Workbench local compile and flash for Core platform - Is this possible?](https://community.particle.io/t/workbench-local-compile-and-flash-for-core-platform-is-this-possible/56650/13):
>
> Is there any chance we can keep support for the “core” as part of workbench? realistically, no. that said, you should be able to lean on WB’s support for custom Device OS builds: you’ll need to add / replace the \<device-os-repo\>/.workbench/manifest.json file (depending on the version of Device OS you need to run) with one that looks like: { "version": "1.0.0", "toolchains": [ { "firmware": "deviceOS@source", "compilers": "gcc-arm@5.3.1", …

[https://support.particle.io/hc/en-us/articles/360039251434/#working-with-a-custom-device-os-build](https://support.particle.io/hc/en-us/articles/360039251434/#working-with-a-custom-device-os-build)

---

<div class="post-metadata">

### Author: ![m\_m](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/m_m/32/18365_2.png) [@m\_m](https://community.particle.io/u/m_m)
#### Post date: [October 28, 2020, 8:42pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/5 "2020-10-28T20:42:23Z")

</div>

also worth reminding folks:

> [@Workbench local compile and flash for Core platform - Is this possible?](https://community.particle.io/t/workbench-local-compile-and-flash-for-core-platform-is-this-possible/56650/8):
>
> props to @nrobinson2000 for the in-depth reverse engineering there. i need to call out the (hopefully) obvious that a) these files are always updated with each release of Particle Workbench and thus any edits will be lost b) the current implementation will change over time making these instructions inaccurate / obsolete as always, we can only support users engaging with the public interfaces we put out - tweaking internals like this means you are on your own. please plan accordingly pray…

---

<div class="post-metadata">

### Author: ![rei\_vilo](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rei_vilo/32/368_2.png) [@rei\_vilo](https://community.particle.io/u/rei_vilo)
#### Post date: [November 24, 2020, 5:11pm UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/6 "2020-11-24T17:11:04Z")

</div>

Thank you so much for the detailed procedure. Everything works as expected. Compiling off-line is a safety net when internet is down.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)
#### Post date: [May 26, 2021, 5:11am UTC](https://community.particle.io/t/solved-particle-web-ide-uploading-a-project-solution-customise-particle-workbench/58231/7 "2021-05-26T05:11:07Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
