cvra / robot-software

CVRA monorepo - All software running on our bots lives here
MIT License
43 stars 21 forks source link

ci: Do not distinguish between order & chaos #237

Closed antoinealb closed 5 years ago

antoinealb commented 5 years ago

Nowadays, both robots have the same firmware and only the loaded configuration is changed at runtime depending on the presence of a jumper.

Fixes #234 (Travis build still distinguishes between Order and Chaos)

antoinealb commented 5 years ago

@Lu-ni please review

Lu-ni commented 5 years ago

In the past, we were building two different .elf ? I can't find anything on that. But the line you removed suggested it make $ROBOT_FLAG

Otherewise, LGTM !

antoinealb commented 5 years ago

Yes, we used to flash two different elf, each only containing strat & config for one robot. It was super error prone so now this is handled at runtime using a microcontroller pin wired to zero on one robot and to 1 on the other.