Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Nagy fd2981f91f
Remove Task.dep_vars as it is unnecessary 2016-04-16 13:05:27 +02:00
Jérôme Carretero a0de0eacd5 extras: file_to_object: clean-up and fix issues (reported by Philippe Brais)
Changes:

- Use Node.read('rb') to get bytes (!)

- Remove use of binascii and generate better-looking C.
Binascii returns bytes if input is bytes, requiring a decode()...
There's not benefit in using it, especially if we want to make
better-looking code.

- Remove dead code
2015-10-20 08:19:41 -04:00
Jérôme Carretero bd0008f252 extras: file_to_object: default to safer C code generation
Using asm links makes sense with big files, and if that's the case,
the user can specify it.
The C method also works on all compilers.
2015-10-13 11:46:28 -04:00
Thomas Nagy f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Jérôme Carretero 01f0ee1005 extras: file_to_object: allow source=[...] 2015-03-18 22:27:53 -04:00
Jérôme Carretero 340551d8a0 extras: file_to_object: basic file name escape (fixes issue on Windows) 2015-03-02 18:22:24 -05:00
Jérôme Carretero 49911f72a8 extras: file_to_object: support using the C compiler to support the feature more portably (WIP) 2015-02-20 12:05:08 -05:00
Jérôme Carretero e1acde1bfb extras: file_to_object: fixup file extension of generated file
- append, don't change
- file extension is .s (don't run preprocessor)
2015-02-09 17:34:19 -05:00
Jérôme Carretero 0f4a1d5f7d extras: file_to_object: rerun on DEST_CPU change 2015-01-13 13:27:38 -05:00
Jérôme Carretero cacc8c343b file_to_object: use different alignments 2014-09-08 17:36:49 -04:00
Jérôme Carretero e8f4715c8d extras: file_to_object: change method to work with the assembler instead of linker 2014-09-08 17:31:22 -04:00
Jérôme Carretero a4d0442e45 extras: add file_to_object tool 2014-08-31 22:37:07 -04:00