[Open_electroporator] culture shock build automation script

Nathan McCorkle nmz787 at gmail.com
Sat May 5 08:07:26 UTC 2018


TL;DR... make PY script seems to work for me now

On Sat, May 5, 2018 at 1:06 AM, Nathan McCorkle <nmz787 at gmail.com> wrote:



> After some more tweaking, the make PY script is working for me.
>
> From culture_shock root dir, I can just run this:
> python code_PYFLEX_F401/make_PYFLEX_F401.py
>
> and PYFLEX will build, and attempt to flash, then error at the DFU not
> found stage:
>
> nathan at nathan-lenovo:~/Projects/github/culture_shock$ python
> code_PYFLEX_F401/make_PYFLEX_F401.py
>
> ... compilation output....
> !!!!!!!!!!!!! compiled MicroPython for Culture_Shock !!!!!!!!!!!!!
> !!!!!!!!!!!!! now attempting to flash !!!!!!!!!!!!!
> Use make V=1 or set BUILD_VERBOSE in your environment to increase build
> verbosity.
> Writing build-PYFLEX_F401/firmware.dfu to the board
> Traceback (most recent call last):
>   File "../../tools/pydfu.py", line 541, in <module>
>     main()
>   File "../../tools/pydfu.py", line 521, in main
>     init()
>   File "../../tools/pydfu.py", line 80, in init
>     raise ValueError('No DFU device found')
> ValueError: No DFU device found
> Makefile:391: recipe for target 'deploy' failed
> make: *** [deploy] Error 1
>
>
> Code has been committed and pushed to my repo. I didn't update with your
> latest changes, let's talk about what you are thinking and what you're
> after.
>



-- 
-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cibolo.us/pipermail/open_electroporator/attachments/20180505/b8c191aa/attachment.html>


More information about the open_electroporator mailing list