stnolting
3e4899210f
[sw/common] generalize system tools
Documentation / SW Framework (push) Has been cancelled
Documentation / Datasheet (push) Has been cancelled
Processor / processor simulation (push) Has been cancelled
Documentation / Deploy to Releases and Pages (push) Has been cancelled
2025-04-13 21:02:24 +02:00
stnolting
ee81febda0
[sw/common] cleanup
2025-04-13 08:05:49 +02:00
stnolting
66d364910d
[sw/common] add git tag variable
2025-04-13 08:05:27 +02:00
stnolting
a6ca110385
[sw/common] clean up
2025-04-12 22:36:03 +02:00
stnolting
d7e751cd2d
[sw/common] add verbosity configuration
2025-04-12 21:20:10 +02:00
stnolting
6c166c9dea
[sw/common] remove obsolete variables
2025-04-12 21:19:40 +02:00
stnolting
7685a9a550
[sw/common] clean up central makefile
2025-04-12 10:24:40 +02:00
stnolting
d8d6794ec9
[sw/common] remove SHELL check
...
fixing #1216
2025-03-29 07:25:32 +01:00
Remi Marche
962bdc646e
build: properly detect image_gen under windows
2025-03-19 11:31:07 +01:00
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
Rémi Marche
32d40b1607
Fix: quote readlink to fix windows make check
...
@readlink -f ${SHELL} means @readlink -f C:\Program Files\Git\usr\bin\sh.exe on windows, so we need to escape the path to account for the space
Signed-off-by: Rémi Marche <35939574+ecstrema@users.noreply.github.com>
2025-03-05 11:09:03 +01:00
stnolting
9bc5433aa2
[common/makefile] remove CC_OPTS define
...
the according string is getting way too big...
2025-02-20 21:33:05 +01:00
stnolting
99d2fcf168
[common] makefile: remove "install" from sim target
2024-12-22 15:05:53 +01:00
stnolting
3cfbf0b0ca
[sw/common] remove sim build on clean_all
Documentation / SW Framework (push) Waiting to run
Documentation / Datasheet (push) Waiting to run
Documentation / Deploy to Releases and Pages (push) Blocked by required conditions
Processor / processor simulation (push) Waiting to run
2024-12-18 18:25:23 +01:00
stnolting
4da94122e0
[common] adjust makefile help menu
2024-12-01 19:56:03 +01:00
Lukas Pajak
8965da8b60
[sw] add build dir as dependency of main.bin
2024-11-28 11:07:40 +01:00
Lukas Pajak
6fe5d36fd3
[sw] use build folder for object files
2024-11-28 10:38:00 +01:00
stnolting
3703f581f6
⚠️ [sw/common] change default GCC prefix
...
"riscv-none-elf-"
2024-11-10 00:58:11 +01:00
stnolting
53861bdf8d
[sw/common] add additional makefile outputs
2024-11-02 21:14:41 +01:00
stnolting
e7549285ef
Merge branch 'main' into image_packages
2024-11-01 10:30:58 +01:00
stnolting
1831114174
[sw/common] adjust sim target
2024-11-01 07:22:58 +01:00
stnolting
a742ba684f
[sw/common] update image_gen switches
2024-10-31 22:29:41 +01:00
stnolting
f00cc8ae53
{sw/common] enable debug symbols "-g"
2024-10-26 21:18:35 +02:00
stnolting
f47b8e965e
[sw/common] cleanup main makefile
...
simplify bootloader compilation
2024-10-23 23:27:21 +02:00
stnolting
1e9fb334a0
[sw/common] ELF file is required for gdb target
2024-10-11 18:29:06 +02:00
stnolting
36717c95d7
[image_gen] add warning: image is not a mult. of 4
2024-10-03 22:09:55 +02:00
stnolting
597cb62105
[common] remove "-g" flag from makefile
2024-09-08 13:38:44 +02:00
stnolting
780b8b5960
[common] fix some minor Makefile issue
2024-08-12 17:24:56 +02:00
stnolting
0c4fae32b8
[makefile] add hdl_lists target
...
to regenerate HDL file-list files
2024-08-03 11:47:33 +02:00
stnolting
1d0314a996
minor edits
2024-08-01 18:31:09 +02:00
stnolting
092bf4dad8
[makefile] add elf_sections target
...
show all ELF sections
2024-08-01 18:20:11 +02:00
stnolting
16cb893161
[sw/common] makefile: add new "mif" target
...
generating neorv32_raw_exe.mif memory initialization file
2024-07-11 19:38:43 +02:00
stnolting
c945cf2333
[sw/common] comment edit
2024-06-21 16:23:22 +02:00
stnolting
e15a819fd7
[sw] capitalize MAKE_BOOTLOADER define
...
adjust build process for building the bootloader (simplified/optimized code)
2024-06-21 16:22:30 +02:00
stnolting
2420ef7c22
[sw/common] fix NEORV32_HOME check
...
make it part of the "check" target
2024-06-21 16:16:46 +02:00
stnolting
316b6c69c9
[sw] minor clean-ups
2024-05-18 18:04:24 +02:00
stnolting
685e6c04ec
[sw/common] add -ffp-contract=off flag
...
Prevent GCC from emitting fused / multiply-add floating-point operations
2024-05-18 17:34:50 +02:00
stnolting
0e7d784d79
[sw] add coe and mem makefile targets
2024-05-16 18:08:06 +02:00
stnolting
6d96fd330b
[sw] remove spaces
2024-05-01 18:25:07 +02:00
Johannes Pfau
c3c34161de
Support tool-specific standard flags in makefile
...
This introduces the following new makefile variables: `CFLAGS` for C, `CXXFLAGS` for C++, `ASFLAGS` for Assembler and `LDFLAGS` for the linker. Names follow conventions from https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
These variables can then be set either in the user application makefile (before including `common.mk`) or on the command line when calling make.
2024-03-24 21:30:51 +01:00
Mikael Mortensen
64ce75aba8
Changed away from specific benchmark test case to the simple test case. Added generics to the simple testcase to be able to control performance features. Updated the GHDL scripts to accept more than 1 command line parameter. Updated the performance test makefiles to call the simple test bench with appropriate generics and GHDL settings
2024-03-17 14:11:09 +00:00
Mikael Mortensen
3a93c5e141
Updated Performance test
...
Now with functional makefiles and tests
2024-03-10 15:40:38 +00:00
stnolting
d115df115b
[makefile] fix sim target message
...
the sim target can be used to simulate "any" configuration (when the default testbench is adjusted) and maybe APP_IMG is not used at all
2024-03-04 22:23:19 +01:00
umarcor
821c79cb3c
[sw] remove unused variable RISCV_TOOLCHAIN
2024-02-25 13:35:14 +01:00
umarcor
36f53a00c4
[sw] fix typo s/RISCV_TOLLCHAIN/RISCV_TOOLCHAIN/
2024-02-25 13:32:10 +01:00
stnolting
d28baa5326
[makefile] pass CC_OPTS var as define
2024-02-18 19:22:52 +01:00
stnolting
35e2328ba0
[sw,makefile] add new GHDL run args variable
2023-10-27 11:58:39 +02:00
stnolting
7ed8eb8e1e
update software framework to gcc-13.2.0
2023-10-13 17:11:49 +02:00
stnolting
e8e59b5202
🧪 [sw] test additional GCC optimization flags
2023-07-29 11:23:13 +02:00
stnolting
0bfc23cba4
[makefile] add GDB_ARGS help context
2023-06-23 09:14:00 +02:00