fdcavalcanti opened a new pull request, #17334:
URL: https://github.com/apache/nuttx/pull/17334

   ## Summary
   
   - boards/risc-v/esp32c3: remove CXX initialization from BLE defconfig
   Espressif common initialization and lib_cxx_initialize are having conflicts 
and multiple linker script issues. Removing CXX_INITIALIZE solves those 
problems with no side effects.
   
   ## Impact
   - Impact on user: No.
   - Impact on build: This will build C3 BLE defconfigs without CXX support.
   - Impact on hardware: ESP32-C3 only.
   - Impact on documentation: No.
   - Impact on security: No.
   - Impact on compatibility: No.
   
   ## Testing
   
   ### Building
   
   - ./tools/configure.sh esp32c3-generic:nimble
   - Build and flash
   
   ### Running
   Advertise and check the process is running:
   
   ```
   nsh> ifup bnep0
   ifup bnep0...OK
   nsh> nimble &
   nimble [7:100]
   nsh> ps
     PID  PPID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK        
    STACK COMMAND
       0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0002032 Idle_Task
       1     0     0 224 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0001984 hpwork 0x3fc8dbd8 0x3fc8dc20
       2     0     0 100 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0001976 lpwork 0x3fc8db74 0x3fc8dbbc
       3     0     3 100 RR       Task      - Running            
0000000000000000 0001992 nsh_main
       4     0     0 223 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0002000 hr_timer
       5     0     0 253 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0004048 btController
       6     0     0 100 RR       Kthread   - Waiting  MQ empty  
0000000000000000 0002000 BT_HCI_Tx
       7     0     7 100 RR       Task      - Waiting  Signal    
0000000000000000 0002016 nimble
       8     0     7 100 RR       pthread   - Waiting  Semaphore 
0000000000000000 0002024 ble_npl_callout 0x420420c4 0
       9     0     7 100 RR       pthread   - Waiting  Semaphore 
0000000000000000 0002032 hci_sock 0x42037416 0
      10     0     7 100 RR       pthread   - Waiting  MQ empty  
0000000000000000 0002032 ble_host 0x42037426 0
   ```
   
   ### Results
   NuttX is advertising normally with a simple BT search.


-- 
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