spiriou opened a new pull request #2495:
URL: https://github.com/apache/incubator-nuttx/pull/2495


   ## Summary
   
   Add example config for Android Debug Bridge (ADB) running on 
stm32f103-minimum.
   Require https://github.com/apache/incubator-nuttx-apps/pull/515 to work
   
   This config might not work for some boards as flash size is > 64kB.
   It is possible to reduce footprint by removing some features (UART, procfs 
...)
   
   ```
   $ size nuttx
      text         data     bss     dec     hex filename
     74263          134    2716   77113   12d39 nuttx
   ```
   ## Impact
   
   ## Testing
   
   ```
   $ adb pull /proc/meminfo
   /proc/meminfo: 1 file pulled. 0.0 MB/s (104 bytes in 0.042s)
   ```
   ```
   $ cat meminfo 
                total       used       free    largest
   Umem:        16592       6016      10576      10576
   ```
   ```
   $ adb shell
   
   NuttShell (NSH) NuttX-10.0.0
   nsh> hello
   Hello, World!!
   nsh> free
                total       used       free    largest
   Umem:        16592      11168       5424       5312
   nsh> ps
     PID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  
FILLED COMMAND
       0   0 FIFO     Kthread N-- Ready              00000000 001000 000360  
36.0%  Idle Tas
       1 100 FIFO     Task    --- Ready              00000000 001012 000720  
71.1%  init
       2 100 FIFO     Task    --- Running            00000000 002028 000832  
41.0%  ADB shel
   nsh> exit
   ```


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

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


Reply via email to