Commit Graph

7 Commits

Author SHA1 Message Date
mid-kid 9f2c2627f5 Make tools/sort_symfile.sh case insensitive
Development versions of rgblink now output lowercase
2020-02-13 18:31:10 +01:00
Rangi eb1e3636bb Use labels instead of constants for HRAM
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-25 14:28:22 -04:00
yenatch e58688c09b sort_symfile: don't need to use sort -o with a temp file 2018-06-05 07:22:25 -04:00
yenatch 1baea408e2 sort_symfile: don't overwrite the symfile with an intermediate file 2018-06-05 07:15:16 -04:00
Ben10do 2dd2ec97f1
Don’t use GNU extensions when calling sed
Apparently, GNU sed has a few extensions that aren’t supported by the version of BSD sed that currently comes with Macs.

This would cause sort_symfile.sh to fail on macOS, causing the build to appear to fail at the last minute.

Admittedly, I’m not very familiar with sed, but this seems to do the trick on both macOS and Ubuntu.

- The input file must be last in the arguments list.
- The -i option, allowing the same file for input and output, doesn’t appear to be supported. Instead, I’m writing the output to a temporary file, and replacing the original file with that temporary file.
- Apparently ‘\w’ isn’t supported, so I’m simply using ‘.’ instead, as it appears to match “0_ROM0@” etc. just as well.
2018-06-03 16:24:23 +01:00
Remy Oukaour 346a93c00f Shebang 2018-01-14 23:51:24 -05:00
yenatch f185cc9b77 sort the symfile by symbol type 2018-01-01 22:40:35 -05:00