File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 230230# *******************************************************************************************************
231231#  use esptool.py to check connected device
232232# *******************************************************************************************************
233- if  [ " $DEVICEFOUND "   ==  " 1"  ];  then 
233+ if  [ " $DEVICEFOUND "   ==  " 1"   ];  then 
234234  echo  " " 
235235  echo  " Checking connected device at $MYDEVICE  at $MYBAUD  baud with esptool..." 
236236
@@ -639,11 +639,17 @@ cd ~/workspace
639639echo  " If the firmware uploaded correctly, now would be a good time to press reset on your ESP8266." 
640640echo  " If hello world prints, then MicroPython is probably working!" 
641641read  -n 1  -p " Press a key to continue..." 
642- echo  " " 
642+ echo  " Attempting initial pyboard.py command...." 
643+ 
643644python ~ /workspace/micropython/tools/pyboard.py --device " $MYDEVICE "   -c ' print("hello world")' 
644645echo  " " 
645- 
646+ echo  " Hello World test complete!" 
647+ echo 
648+ echo  " For reference, here is some local python info:" 
646649apt-cache policy python3 python
650+ 
651+ echo  " " 
652+ echo  " Here is the xtensa version info:" 
647653~ /workspace/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-cc --version
648654
649655#  uncomment if you don't want to use minicom but need to open a terminal session to ESP8266
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments