Skip to content

Commit 24ec7b4

Browse files
committed
🧑‍💻 Add more macros to .clangd
Add --map_file=out.map
1 parent 1fcffde commit 24ec7b4

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.clangd

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
CompileFlags:
33
Add:
44
- -undef
5-
- -D__TI_COMPILER_VERSION__=7.4.24
5+
- -D__TI_COMPILER_VERSION__=7004024
6+
- -D__DATE__='mmmm dd yy'
7+
- -D__FILE__='file.c'
8+
- -D__TI_EABI__=1
9+
- -D__TIME__=HH:MM:SS
10+
- -D__TMS320C6X__=1
11+
# - -D__TMS320C6600__=1
12+
# - -D__TMS320C6740__=1
13+
- -D__TMS320C64_PLUS__=1
14+
- -D__TMS320C6400_PLUS__=1
15+
- -D__DSBT__=1
616
- -D__SIZE_T_TYPE__=int
717
- -D__WCHAR_T_TYPE__=int
818
- -D__PTRDIFF_T_TYPE__=int

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ if meson.is_cross_build()
9292
'--arg_size=0x100',
9393
'--heap_size=0x1000000',
9494
'--stack_size=0x1000000',
95+
'--map_file=out.map',
9596
join_paths(meson.current_source_dir(), get_option('cmd_file')),
9697
language: ['c', 'linearasm'],
9798
)

0 commit comments

Comments
 (0)