Can you also compile for Arm Linux to use on a Raspberry Pi since it's more power efficient? I've compiled the code myself on my Pi, but I don't want to create a fork just for another architecture.
The only change the is needed to the code to compile on for Arm Linux is to change the variable type of "ID" in the structs of "Product" and "RelatedProduct" in the nvidia.go file. In the Arm architecture a variable type of "int" defaults to a 32bit int, which won't fit the product SKU. So you just have to explicitly declare the variables as an "int64" to make the program work on Arm.
Can you also compile for Arm Linux to use on a Raspberry Pi since it's more power efficient? I've compiled the code myself on my Pi, but I don't want to create a fork just for another architecture.
The only change the is needed to the code to compile on for Arm Linux is to change the variable type of "ID" in the structs of "Product" and "RelatedProduct" in the nvidia.go file. In the Arm architecture a variable type of "int" defaults to a 32bit int, which won't fit the product SKU. So you just have to explicitly declare the variables as an "int64" to make the program work on Arm.