They were not getting packed as we wanted due to being const
#ifndef __VERSION_DOT_H__
#define __VERSION_DOT_H__
-extern const char uname_str[];
+extern char uname_str[];
extern const uint8_t uname_len;
#endif
};
/* Must follow immediately afterwards */
/* Quoting to work around cc65 bug */
-const char uname_str[] = "$1\0""Fuzix\0""$2\0""$3";
+/* Must not be const .. or gets packed elsewhere not after sysinfo */
+char uname_str[] = "$1\0""Fuzix\0""$2\0""$3";
EOF
X=$(echo "$1XFuzix$2X$3X"|wc -c)
echo "const uint8_t uname_len = "$X";" >>version.c