# After upgrading from FreeRTOS 8.0.0 to 8.1.2, my project won't compile

**URL:** <https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321>\
**Category:** Kernel\
**Created:** [December 8, 2014, 6:04pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321 "2014-12-08T18:04:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 8, 2014, 6:04pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321/1 "2014-12-08T18:04:14Z")

</div>

**[pugglewuggle](https://sourceforge.net/u/pugglewuggle/)** wrote on [Monday, December 08, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/ee812c96/#cb9c):

I have changed no files other than the FreeRTOS files in the source folder… however, now I’m getting this error:

Error 130 ‘uintptr\_t’ undeclared (first use in this function) C:\project\Atmel Studio\USER\_APPLICATION1 - Copy\USER\_APPLICATION1\src\ASF\common\services\ioport\sam\ioport\_pio.h 119 18 USER\_APPLICATION1

I have verified with Git that no other files in this project have changed except for the FreeRTOS files from the old version to the new version. FYI - I did also include the stdint.h file in the include directory in the new 8.1.2 source.

I can find no reference to uintptr\_t in the FreeRTOS source files so I don’t know how this change could break my project. Please help!

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 8, 2014, 6:07pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321/2 "2014-12-08T18:07:26Z")

</div>

**[pugglewuggle](https://sourceforge.net/u/pugglewuggle/)** wrote on [Monday, December 08, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/ee812c96/#cf66):

FYI - went back and tried upgrading to FreeRTOS v 8.0.1 doing the exact same file replacements and I do not get this error when building.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 8, 2014, 6:26pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321/3 "2014-12-08T18:26:20Z")

</div>

**[pugglewuggle](https://sourceforge.net/u/pugglewuggle/)** wrote on [Monday, December 08, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/ee812c96/#cf99):

I just tried this with version 8.1.0 and it has the same error as 8.1.2 with the uintptr\_t… whatever is causing this problem for me started with this version. Any thoughts?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 8, 2014, 6:53pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321/4 "2014-12-08T18:53:52Z")

</div>

**[pugglewuggle](https://sourceforge.net/u/pugglewuggle/)** wrote on [Monday, December 08, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/ee812c96/#8d73):

I’ve confirmed that when I leave out the stdint.h file in the include directory, the project compiles just fine with 8.1.2. What’s up with that?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 8, 2014, 7:13pm UTC](https://forums.freertos.org/t/after-upgrading-from-freertos-8-0-0-to-8-1-2-my-project-wont-compile/5321/5 "2014-12-08T19:13:04Z")

</div>

**[pugglewuggle](https://sourceforge.net/u/pugglewuggle/)** wrote on [Monday, December 08, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/ee812c96/#762c):

Nevermind, just realized that file is only for compilers without stdint implementation. I didn’t rtfm. Shame on me. Feel free to delete this thread.
