Laczen commented on PR #17236:
URL: https://github.com/apache/nuttx/pull/17236#issuecomment-3670380278

   > @Laczen test performed now
   > 
   > `./tools/configure.sh -l -S esp32-devkitc:nsh`
   > 
   > The first time, it creates the nxtmpdir folder and clones esp-hal-3rdparty 
(https://github.com/espressif/esp-hal-3rdparty.git).
   > 
   > `make distclean`
   > 
   > The next time, it verifies that the correct esp-hal-3rdparty exists and 
does not clone it but copies the folder. Of course, this only applies to this 
step.
   > 
   > ```
   > Cloning Espressif HAL for 3rd Party Platforms
   > Espressif HAL for 3rd Party Platforms: 
b9472bd56b916cced7447e25c2b2e1390d7e0d90
   > ```
   > 
   > ```
   > buntu20042@Unuttx:~/nuttxesp32/nuttx$ make
   > Create version.h
   > LN: platform/board to /home/ubuntu20042/nuttxesp32/apps/platform/dummy
   > Register: dd
   > Register: nsh
   > Register: sh
   > Cloning Espressif HAL for 3rd Party Platforms
   > Espressif HAL for 3rd Party Platforms: 
b9472bd56b916cced7447e25c2b2e1390d7e0d90
   > Espressif HAL for 3rd Party Platforms: initializing submodules...
   > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
   > remote: Enumerating objects: 7, done.
   > remote: Counting objects: 100% (7/7), done.
   > remote: Compressing objects: 100% (3/3), done.
   > remote: Total 4 (delta 2), reused 2 (delta 0), pack-reused 0 (from 0)
   > Unpacking objects: 100% (4/4), 87.81 KiB | 908.00 KiB/s, done.
   > From https://github.com/espressif/esp32-bt-lib
   >  * branch            6d007b7167146b31256b29fed31e04dc46989885 -> FETCH_HEAD
   > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
   > remote: Enumerating objects: 33, done.
   > remote: Counting objects: 100% (33/33), done.
   > remote: Compressing objects: 100% (7/7), done.
   > remote: Total 20 (delta 9), reused 15 (delta 4), pack-reused 0 (from 0)
   > Unpacking objects: 100% (20/20), 85.14 KiB | 871.00 KiB/s, done.
   > From https://github.com/espressif/esp-coex-lib
   >  * branch            cb6667841f63457246d56a9170f3409917e9d5a8 -> FETCH_HEAD
   > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
   > remote: Enumerating objects: 85, done.
   > remote: Counting objects: 100% (85/85), done.
   > remote: Compressing objects: 100% (47/47), done.
   > remote: Total 48 (delta 29), reused 19 (delta 1), pack-reused 0 (from 0)
   > Unpacking objects: 100% (48/48), 1.02 MiB | 2.14 MiB/s, done.
   > From https://github.com/espressif/esp-phy-lib
   >  * branch            2fb71262baf38dc83591b4191731a0880bfdd3a5 -> FETCH_HEAD
   > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
   > remote: Enumerating objects: 115, done.
   > remote: Counting objects: 100% (115/115), done.
   > remote: Compressing objects: 100% (58/58), done.
   > remote: Total 67 (delta 54), reused 20 (delta 9), pack-reused 0 (from 0)
   > Unpacking objects: 100% (67/67), 3.24 MiB | 3.04 MiB/s, done.
   > From https://github.com/espressif/esp32-wifi-lib
   >  * branch            7587592417ecdb5163a104aebaedee0a87794608 -> FETCH_HEAD
   > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
   > remote: Enumerating objects: 407, done.
   > remote: Counting objects: 100% (407/407), done.
   > remote: Compressing objects: 100% (201/201), done.
   > remote: Total 207 (delta 192), reused 13 (delta 4), pack-reused 0 (from 0)
   > Receiving objects: 100% (207/207), 334.55 KiB | 1.90 MiB/s, done.
   > Resolving deltas: 100% (192/192), completed with 188 local objects.
   > From https://github.com/espressif/mbedtls
   >  * branch            98ae8db06b8acc1dc1c6b1f78c2719cb776f4147 -> FETCH_HEAD
   > Applying patches...
   > CPP:  
/home/ubuntu20042/nuttxesp32/nuttx/boards/xtensa/esp32/esp32-devkitc/../common/scripts/flat_memory.ld->
 
/home/ubuntu20042/nuttxesp32/nuttx/boards/xtensa/esp32/esp32-devkitc/../common/scripts/flCPP:
  
/home/ubuntu20042/nuttxesp32/nuttx/boards/xtensa/esp32/esp32-devkitc/../common/scripts/esp32_sections.ld->
 
/home/ubuntu20042/nuttxesp32/nuttx/boards/xtensa/esp32/esp32-devkitc/../common/scriptsCPP:
  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.api.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/CPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.ld->
 
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/compCPP:
  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.libc-funcs.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-
 3rCPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparCPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3CPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.newlib-reent-funcs.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esCPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdpCPP:  
/home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/soc/esp32/ld/esp32.peripherals.ld->
 /home/ubuntu20042/nuttxesp32/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/
 LD: nuttx
   > Memory region         Used Size  Region Size  %age Used
   >              ROM:      206824 B    4194272 B      4.93%
   >      iram0_0_seg:       30116 B       168 KB     17.51%
   >      irom0_0_seg:      141288 B    3342304 B      4.23%
   >      dram0_0_seg:       11752 B     180736 B      6.50%
   >      drom0_0_seg:       77828 B    4194272 B      1.86%
   >     rtc_iram_seg:           0 B         8 KB      0.00%
   >     rtc_slow_seg:           0 B         4 KB      0.00%
   > rtc_reserved_seg:          24 B         24 B    100.00%
   >       extmem_seg:           0 B         4 MB      0.00%
   > CP: nuttx.hex
   > ```
   
   @simbit18 Thanks for the reply.
   
   Could you tell me what to expect under /nxtmpdir/esp-hal-3rdparty. I am 
expecting to see the complete hal with components there so that they are not 
removed when `make distclean` is performed again, but I am not seeing that.
   
   Could you verify that your above local test does not redownload after a 
`make distclean` is performed.
   
   I am also expecting to see a link to nxtmpdir/esp-hal-3rdparty under 
../nuttx/arch/xtensa/src/chip/esp-hal-3rdparty, but 
   it could be that it still copies at the moment, so this could be a future 
improvement. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to