Skip to content

Conflict in dependency library object files across Atmel architectures #4

@cfobel

Description

@cfobel

Steps to reproduce

  1. Run paver build_firmware (this will build base-node-rpc hex for Uno and mega2560).

  2. Run paver build_firmware in another project based off base-node-rpc for the Uno only.

  3. Flash newly built Uno hex to microcontroller.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions