# RP2040-Zero Compilation error on dev version SimpleFOC

**URL:** <https://community.simplefoc.com/t/rp2040-zero-compilation-error-on-dev-version-simplefoc/4452>\
**Category:** Uncategorized\
**Created:** [February 13, 2024, 2:31pm UTC](https://community.simplefoc.com/t/rp2040-zero-compilation-error-on-dev-version-simplefoc/4452 "2024-02-13T14:31:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![neilmendoza](https://community.simplefoc.com/user_avatar/community.simplefoc.com/neilmendoza/32/2370_2.png) [@neilmendoza](https://community.simplefoc.com/u/neilmendoza)\
**Post date:** [April 29, 2024, 10:41pm UTC](https://community.simplefoc.com/t/rp2040-zero-compilation-error-on-dev-version-simplefoc/4452/3 "2024-04-29T22:41:15Z")

</div>

@runger I just ran across this issue with the earlephilhower core and looks like it’s the same in the dev branch. For now, I changed line 38 in rp2040\_mcu.cpp to the following which seems to fix it as I believe there’s no pin remapping by default…

`uint pin = pin_nr;`

---

_[View the full topic](https://community.simplefoc.com/t/rp2040-zero-compilation-error-on-dev-version-simplefoc/4452)._
