-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a recent Hex2bin for Linux #9
Comments
Hello,
Your problem comes from the HEX2BIN version you are using.
Please try with this one :
https://sourceforge.net/projects/hex2bin/
Le ven. 11 déc. 2020 à 11:20, Mister Wrong <[email protected]> a
écrit :
… make fails after this output:
..•̀ᴗ•́)و .. sdcc is Processing ... !
Invalid input and output values
usage: hex2bin [options]
--help, -h: Print this help
--input, -i: The input file to use (containing the hexadecimal characters).
--output, -o: The output file to use.
--limit, -l: Character limit per line (the value of the "start" option is not included).
--start, -s: Adding a start offset per line.
--printable, -p: Extracts and converts all printable characters.
--extract_only, -e: Only extracts words from "start" to "limit".
make: *** [Makefile:83: test.com] Fout 1**
Using:
- OS: Linux 5.9.13-arch1-1
- SDCC :
mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15
4.0.0 #11528 (Linux) with printf, sprintf, vprintf, putchar, getchar removed
- hex2bin: git://github.com/Keidan/hex2bin.git, master (commit
a8de8c406ec4e4cdc08f646bd03f38377330854a)
- Fusion-C: master (commit 184582a
<184582a>
)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIPCUIJRZGSHDYHGWJ7VCTSUHW7ZANCNFSM4UWNKSHA>
.
|
I'm afraid that one doesn't build:
Using gcc versie 10.2.0 (GCC) |
Too bad ! Modify it, to match the command arguments needed by your Hex2bin. The final file's name on the MSX side will be "output.com" I'm not expert in linux and Makefile edition. |
The changes to the Makefile you provided seemed work, but the hex2bin I'm using does not seem to provide a file that when ran on an MSX responds with the expected output (attached). I have changed this issue to finding a suitable hex2bin that will work on modern Linux platforms. |
Yes, this .com does't seems to work. |
I could build by patching all the header files and putting extern in front of all globals, see bitcraze/crazyflie-firmware#613 This was suggested to me by several member of msx.org (https://www.msx.org/forum/msx-talk/development/cant-build-hex2bin-on-linux). The patch is also in that thread. Since the hex2bin version used by this projects seems to be unmaintained, is it possible for you to adopt the patched version here? If not, you can always refer people to the thread mentioned. Thanks! |
make fails after this output:
Using:
The text was updated successfully, but these errors were encountered: