# Correct SPDX Licenses of 'portable (e.g. port.c)' files for ESP32 in Amazon FreeRTOS 202107?

**URL:** <https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201>\
**Category:** Espressif\
**Created:** [January 11, 2022, 3:47pm UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201 "2022-01-11T15:47:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shortyHK232](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@shortyHK232](https://forums.freertos.org/u/shortyHK232)\
**Post date:** [January 11, 2022, 3:47pm UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/1 "2022-01-11T15:47:34Z")

</div>

Hi there,

in my company we are evaluating Amazon FreeRTOS to be used in commercial products including ESP32 uP. Licensing terms of all modules are very important here. Actually I have seen that some files under ‘freertos\_kernel/portable/ThirdParty/GCC/Xtensa\_ESP32’ still have the ‘older’ GPL-2.0 WITH freertos-exception-2.0 licensing terms.

1. Does anyone know if those files were just missed to be updated or shall it be like that?  
Nearly all other files (not only in Xtensa\_ESP32) have updated license texts.

2. Who does control those files, the community or Espressif company members?

BTW, we are using Amazon FreeRTOS version 202107.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 11, 2022, 5:45pm UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/2 "2022-01-11T17:45:45Z")

</div>

It looks like this is only the case in older versions in the Amazon repo. I just checked the latest version of Espressif’s IDF and see the header in that file has the MIT license: [https://github.com/espressif/esp-idf/blob/master/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c](https://github.com/espressif/esp-idf/blob/master/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c)

Also, the version of the kernel brought in by the latest tagged release in the AWS git repo (see here: [https://github.com/aws/amazon-freertos/tree/202107.00](https://github.com/aws/amazon-freertos/tree/202107.00), also has the MIT license (see here: [https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/ef4c30524402b523005d9ab2312f8531ffeda6c4/portable/ThirdParty/XCC/Xtensa/port.c](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/ef4c30524402b523005d9ab2312f8531ffeda6c4/portable/ThirdParty/XCC/Xtensa/port.c)

---

<div class="post-metadata">

**Author:** ![shortyHK232](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@shortyHK232](https://forums.freertos.org/u/shortyHK232)\
**Post date:** [January 12, 2022, 10:29am UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/3 "2022-01-12T10:29:40Z")

</div>

Thank you Richard,

but you are looking in ThirdParty/XCC/Xtensa. I looked into GCC/Xtensa\_ESP32. A build for our Wrover Board shows the usage of ‘port.c’ from GCC/Xtensa\_ESP32 folder.

 ![image](https://d2v6vdsk2p900z.cloudfront.net/original/2X/6/60fb0a550a542ea06aecbd090355385ca86beea8.png)

---

<div class="post-metadata">

**Author:** ![archigup](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/archigup/32/1418_2.png) [@archigup](https://forums.freertos.org/u/archigup)\
**Post date:** [January 13, 2022, 2:24am UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/4 "2022-01-13T02:24:09Z")

</div>

Hi, we are looking into a solution to this issue.

---

<div class="post-metadata">

**Author:** ![shubhamkulkarni97](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/shubhamkulkarni97/32/517_2.png) [@shubhamkulkarni97](https://forums.freertos.org/u/shubhamkulkarni97)\
**Post date:** [February 8, 2022, 1:40pm UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/5 "2022-02-08T13:40:47Z")

</div>

Hi @shortyHK232, thanks for reporting this.

I have created a PR to fix license headers for ESP32 port. Please check the following link:

> <https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/452>
>
> This PR updates license for ESP32 port files to comply with ESP-IDF license head…ers

---

<div class="post-metadata">

**Author:** ![shortyHK232](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@shortyHK232](https://forums.freertos.org/u/shortyHK232)\
**Post date:** [February 10, 2022, 5:11pm UTC](https://forums.freertos.org/t/correct-spdx-licenses-of-portable-e-g-port-c-files-for-esp32-in-amazon-freertos-202107/14201/6 "2022-02-10T17:11:57Z")

</div>

Thank you all for updating this!
