Commit graph

36 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
ece8380e4f [sw/lib] add simple busy-wait delay function
that do not rely on any specific CPU hardware
2025-02-17 20:54:32 +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
e9393d18e5 [sw] update pwm example program 2024-10-06 19:40:03 +02:00
stnolting
240658a56f [sw/example] update file headers 2024-06-21 20:17:16 +02:00
stnolting
cd1b6c8878 [sw/example] update UART setup function 2023-03-05 19:00:24 +01:00
stnolting
c68ec7cc7f [sw] update PWM libraries and example 2023-02-19 18:14:56 +01:00
stnolting
4d5952af04 [sw] cleanup makefiles 2022-10-03 18:28:59 +02:00
stnolting
8ff6cff05e [sw] update PWM demo program 2022-08-18 12:32:07 +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
8109de5590 minor edits 2021-07-09 12:49:05 +02:00
stnolting
805ddc4f00 [sw] clean-up of makefiles; added "hex" target 2021-07-06 15:35:22 +02:00
stnolting
652a022669 [sw] fixed return value of all example programs
return 0: successful execution
return !=0: error during execution
2021-06-05 11:32:49 +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
0a00f6a5e0 [sw/example/*] added UART hardware flow control parameter to UART setup functions
* added define to ease parity configuration
2021-02-22 19:16:21 +01:00
Stephan
55833332d5 [sw/example] removed now-obsolete device-unique interrupt enable flags
removed interrupt enable flags from SPI, TWI and UART modules / setup functons
2021-02-05 16:45:32 +01:00
stnolting
60b55c8e7d [sw/examples] added sanity checks to compare compiler flags (cpu extensions) with actually available HW extensions 2021-01-09 19:33:08 +01:00
stnolting
55dd7eaf77 [sw/makefiles] changed native gcc to g++ 2021-01-05 16:02:18 +01:00
stnolting
81e7bbad53 [sw] updated UART init function call (added no-parity configuration; all examples + bootloader still use 8N1 uart configuration) 2020-12-29 19:45:51 +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
5db2acaa54 minor edits2 2020-10-17 22:58:40 +02: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
8eb2b07e9e updated for new RTE 2020-07-23 21:44:13 +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