platformio / platform-intel_mcs51

Intel MCS-51 (8051): development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/intel_mcs51
Apache License 2.0
56 stars 45 forks source link

stcgal not found on mac #12

Closed zerog2k closed 6 years ago

zerog2k commented 6 years ago

tool-stcgal is installed, and I can execute python3 stcgal.py from this directory, but does not seem to be in tool path during pio run -t upload -v

hackpro:tool-stcgal jens$ pwd
/Users/jens/.platformio/packages/tool-stcgal
hackpro:tool-stcgal jens$ ls -l
total 16
-rw-rw-r--   1 jens  staff   161 Aug 16 07:27 package.json
drwxr-xr-x   9 jens  staff   306 Aug 29 19:27 pyserial-3.4.dist-info
drwxr-xr-x  26 jens  staff   884 Aug 29 19:27 serial
drwxr-xr-x  11 jens  staff   374 Aug 29 19:27 stcgal
drwxr-xr-x   7 jens  staff   238 Aug 29 19:27 stcgal-1.4.egg-info
-rw-r--r--   1 jens  staff  1307 Aug 16 07:27 stcgal.py
hackpro:tool-stcgal jens$ 
AVAILABLE: stcgal
CURRENT: upload_protocol = stcgal
MethodWrapper(["upload"], [".pioenvs/stc15f204ea/firmware.hex"])
Auto-detected: /dev/cu.usbserial
python3 stcgal.py -p /dev/cu.usbserial -t 11059 -a .pioenvs/stc15f204ea/firmware.hex
/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'stcgal.py': [Errno 2] Nosuch file or directory
*** [upload] Error 2

Not sure what and where to configure for upload process to look into tool-stcgal folder? @ivankravets ideas?