Steps to reproduce
-
Run paver build_firmware (this will build base-node-rpc hex for Uno and mega2560).
-
Run paver build_firmware in another project based off base-node-rpc for the Uno only.
-
Flash newly built Uno hex to microcontroller.
-
Try to connect using:
from <project>.proxy import SerialProxy
proxy = SerialProxy()
Observed behaviour
Proxy connection times out.
Expected behaviour
Proxy should connect.
Notes
As of 662cfef, when building dependency libraries (e.g., lib\site-packages\nadamq\src), object files are left in source directories.
This causes a problem when building for multiple platforms.
For example, if built for mega2560, the object files left in the library source directories will be compiled for the mega2560. However, if building for the atmega328 (Uno) later, the object files will be found in the library source directories and will not be rebuilt for the Uno.
Steps to reproduce
Run
paver build_firmware(this will buildbase-node-rpchex for Uno andmega2560).Run
paver build_firmwarein another project based offbase-node-rpcfor the Uno only.Flash newly built Uno hex to microcontroller.
Try to connect using:
Observed behaviour
Proxy connection times out.
Expected behaviour
Proxy should connect.
Notes
As of 662cfef, when building dependency libraries (e.g.,
lib\site-packages\nadamq\src), object files are left in source directories.This causes a problem when building for multiple platforms.
For example, if built for
mega2560, the object files left in the library source directories will be compiled for themega2560. However, if building for theatmega328(Uno) later, the object files will be found in the library source directories and will not be rebuilt for the Uno.