Closed francesco-scar closed 4 months ago
You are welcome to add an entry to the CHANGELOG.md as well
No sure why you swap in two places. Wouldn't armsrc/util.c be enough to swap the LED B/ D?
and ignore the the pin assignments ?
I changed the definitions of the colors in armsrc/util.c just for completeness to match the colors on that specific board clone, where they apparently changed both the order and the colors (although they are not used anywhere).
I could have changed the "weights" of each LED in armsrc/util.h lines 45-48 to fix the order during the counting, but not the spin animations.
I think that this is a cleaner solution, so LED_A actually is defined as the LED marked A on the board, and so on
Alright! Hope it works on the Pm3 easy.
Added parameter
LED_ORDER
in Makefile.platform to correct led GPIO on Proxmark3 Easy board.When setting
LED_ORDER=PM3EASY
, the LEDs get configured in the right order for this board, allowing correct binary counting of standalone modes and nice animations (SpinUp and SpinDown).