# How to add self block

**URL:** https://forum.makecode.com/t/how-to-add-self-block/2521
**Category:** PXT
**Created:** [June 24, 2020, 7:44am UTC](https://forum.makecode.com/t/how-to-add-self-block/2521 "2020-06-24T07:44:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Kunal614](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kunal614/32/855_2.png) [@Kunal614](https://forum.makecode.com/u/Kunal614)
#### Post date: [June 24, 2020, 7:44am UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/1 "2020-06-24T07:44:36Z")

</div>

I want to add my block in pxt-maker , and i also generated static files , where to add block and how.

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [June 24, 2020, 1:07pm UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/2 "2020-06-24T13:07:05Z")

</div>

You can save your project into a GitHub repository from MakeCode and import it later on.

---

<div class="post-metadata">

### Author: ![Kunal614](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kunal614/32/855_2.png) [@Kunal614](https://forum.makecode.com/u/Kunal614)
#### Post date: [June 24, 2020, 4:55pm UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/3 "2020-06-24T16:55:13Z")

</div>

@peli , sir i want to create a new custom block and custom board.

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [June 24, 2020, 6:17pm UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/4 "2020-06-24T18:17:58Z")

</div>

> **[Add a new board](https://maker.makecode.com/boards/add-a-new-board)**
>
> This is the process needed to add a new board to this editor. Don’t hesitate to ping us if you need help getting started.

---

<div class="post-metadata">

### Author: ![Kunal614](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kunal614/32/855_2.png) [@Kunal614](https://forum.makecode.com/u/Kunal614)
#### Post date: [June 29, 2020, 11:42am UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/5 "2020-06-29T11:42:19Z")

</div>

`compilerServiceVariant` , what is this , and waht i have to update?

---

<div class="post-metadata">

### Author: ![Kunal614](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kunal614/32/855_2.png) [@Kunal614](https://forum.makecode.com/u/Kunal614)
#### Post date: [June 29, 2020, 8:59pm UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/7 "2020-06-29T20:59:20Z")

</div>

I’m using the Arduino nano board but can’t find pxt-common-packages.  
Let me explain you once what I’m trying to do. I have a custom board based on Arduino nano and trying to have it programme it and simulate it with makecode. For that I need to add my board, and add new blocks. I couldn’t find the resources to use pre-configured files for the same in pxt maker. Kindly help me with the same.

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [July 14, 2020, 10:05pm UTC](https://forum.makecode.com/t/how-to-add-self-block/2521/8 "2020-07-14T22:05:31Z")

</div>

> [@Kunal614](#):
>
> For that I need to add my board, and add new blocks. I couldn’t find the resources to use pre-configured files for the same in pxt ma

Do you have a repo somewhere?
