Commit graph

22 commits

Author SHA1 Message Date
Remi Marche
ee3ebca567 build: rebuild exe when header files change
Because the headers were not declared as dependencies of the object files, make was not detecting changes to them. This makes gcc output a dependency file for each object file, which is then included in the makefile.
2025-03-19 11:25:34 +01:00
stnolting
fa024f9a27 [sw/example] adjust project-specific makefiles
add all relevant configuration options (ISA, memory sizes, ...)
2024-10-20 20:37:11 +02:00
stnolting
4d5952af04 [sw] cleanup makefiles 2022-10-03 18:28:59 +02:00
stnolting
7f8e1bd570 [sw makefiles] minor edits
user only needs to define NEORV32_HOME variable
2021-11-16 21:10:43 +01:00
umarcor
5b380dc56b [sw/example] define NEORV32_HOME 2021-07-12 17:39:45 +02:00
stnolting
0fcb1d57c8 [sw] moved central makefile to common 2021-07-12 17:39:45 +02:00
umarcor
7d4f89fd36 [sw/example] add common.mk 2021-07-12 17:39:44 +02:00
umarcor
ca8927e558 [sw] use RISCV_PREFIX instead of RISCV_TOOLCHAIN 2021-07-09 23:23:46 +02:00
stnolting
805ddc4f00 [sw] clean-up of makefiles; added "hex" target 2021-07-06 15:35:22 +02:00
stnolting
02e192f13d [sw/example/*/makefile] added compiler switch to avoid floating-point division/sqrt instructions
these operations will be emulated using gcc builtin functions
2021-03-25 14:06:52 +01:00
stnolting
7a4428e56b 🐛 [sw/*/makefile] fixed problem with linking math.h library 2021-03-21 16:56:25 +01:00
stnolting
55dd7eaf77 [sw/makefiles] changed native gcc to g++ 2021-01-05 16:02:18 +01:00
stnolting
1ccfc037a7 [sw/makefiles] 'main.asm' debugging file now only uses .text section for disassembly 2020-10-25 21:09:33 +01:00
stnolting
56a6089980 [sw/makefile] added new target ('upload') to directly upload an executable from the command line 2020-10-17 19:15:09 +02:00
stnolting
a5e281c328 no init of ALL registers in crt0 when compiling bootloader (saves some precious BOOTROM space) 2020-10-12 12:20:35 +02:00
stnolting
d83d8bb609 makefile now enforces 32-bit alignment of branch target (only relevant when using C extension) -> faster instruction fetch 2020-10-12 11:31:23 +02:00
stnolting
3823536d3b updated makefiles; compile flow only uses one linker script (neorv32.ld) 2020-08-25 21:49:50 +02:00
stnolting
76457ba43d replaced 'compile' target by 'exe' target; 'compile' is still available for compatibility 2020-08-20 20:51:34 +02:00
stnolting
1c4adc5108 updated makefiles; now also supports assembly and *.cpp source files 2020-08-19 21:14:53 +02:00
stnolting
4f604e3a23 simplified makefiles (using implicit definition of libc) 2020-08-06 19:06:39 +02:00
stnolting
75d71a036c updated makefiles 2020-07-05 22:22:21 +02:00
stnolting
bee421876a initial commit 2020-06-23 17:43:03 +02:00