You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "eren-terzioglu (via GitHub)" <gi...@apache.org> on 2026/03/30 12:08:44 UTC
[PR] Feature/add esp32p4 ulp [nuttx]
eren-terzioglu opened a new pull request, #18651:
URL: https://github.com/apache/nuttx/pull/18651
## Summary
<!-- This field should contain a summary of the changes. It will be pre-filled with the commit's message and descriptions. Adjust it accordingly -->
* Docs/risc-v/esp32p4: Add lpcore docs for esp32p4
Add lpcore docs for esp32p4
* boards/risc-v/esp32p4: Add lpcore board support
Add ULP lpcore board support for esp32p4
* arch/risc-v/espressif: Add lpcore support for esp32p4
Add ULP lpcore support for esp32p4
* boards/risc-v/esp32p4: Add RTC GPIO support
Add RTC GPIO support for esp32p4
* arch/risc-v/espressif: Add RTC GPIO support for esp32p4
Add RTC GPIO support for esp32p4
## Impact
<!-- Please fill the following sections with YES/NO and provide a brief explanation -->
Impact on user: Yes, lpcore support added for esp32p4
<!-- Does it impact user's applications? How? -->
Impact on build: No
<!-- Does it impact on building NuttX? How? (please describe the required changes on the build system) -->
Impact on hardware: Yes, non support ULP added
<!-- Does it impact a specific hardware supported by NuttX? -->
Impact on documentation: Related docs added
<!-- Does it impact the existing documentation? Please provide additional documentation to reflect that -->
Impact on security: No
<!-- Does it impact NuttX's security? -->
Impact on compatibility: No
<!-- Does it impact compatibility between previous and current versions? Is this a breaking change? -->
## Testing
<!-- Please provide all the testing procedure. Consider that upstream reviewers should be able to reproduce the same testing performed internally -->
`esp32p4-function-ev-board:ulp` config used to test
### Building
<!-- Provide how to build the test for each SoC being tested -->
Command to build:
```
make distclean && ./tools/configure.sh esp32p4-function-ev-board:ulp && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0
```
### Running
<!-- Provide how to run the test for each SoC being tested -->
ULP blink test app runs during startup, GPIO0 connected to a LED to check blink
### Results
<!-- Provide tests' results and runtime logs -->
LED should be blinking
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] arch/risc-v/espressif: Add lpcore support for esp32p4 [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on code in PR #18651:
URL: https://github.com/apache/nuttx/pull/18651#discussion_r3010117672
##########
Documentation/platforms/risc-v/esp32p4/index.rst:
##########
@@ -320,6 +322,341 @@ PMP/PMA Mo
:file:`arch/risc-v/src/common/espressif/Kconfig` for feature flags and
pin selections.
+.. _esp32p4_ulp:
+
+ULP LP Core Coprocessor
+=======================
+
+The ULP LP core (Low-power core) is a 32-bit RISC-V coprocessor integrated into the ESP32-P4 SoC.
+It is designed to run independently of the main high-performance (HP) core and is capable of executing lightweight tasks
+such as GPIO polling, simple peripheral control and I/O interactions.
+
+This coprocessor benefits to offload simple tasks from HP core (e.g., GPIO polling , I2C operations, basic control logic) and
+frees the main CPU for higher-level processing
+
+For more information about ULP LP Core Coprocessor `check here <https://docs.espressif.com/projects/esp-idf/en/stable/esp32p4/api-reference/system/ulp-lp-core.html>`__.
+
+Features of the ULP LP-Core
+---------------------------
+
+* Processor Architecture
+ - RV32I RISC-V core with IMAC extensions—Integer (I), Multiplication/Division (M), Atomic (A), and Compressed (C) instructions
+ - Runs at 40 MHz
+* Memory
+ - Access to 16 KB of low-power ROM (LP-ROM) any time
+ - Access to 32 KB of low-power memory (LP-RAM) and LP-domain peripherals any time
+ - Access to 768 KB of L2 SRAM any time with latency
+ - Full access to all of the chip's memory and peripherals when when the HP core is active
Review Comment:
```suggestion
- Full access to all of the chip's memory and peripherals when the HP core is active
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] arch/risc-v/espressif: Add lpcore support for esp32p4 [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #18651:
URL: https://github.com/apache/nuttx/pull/18651
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] arch/risc-v/espressif: Add lpcore support for esp32p4 [nuttx]
Posted by "eren-terzioglu (via GitHub)" <gi...@apache.org>.
eren-terzioglu commented on PR #18651:
URL: https://github.com/apache/nuttx/pull/18651#issuecomment-4155640834
Thanks @acassis, updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org