mirror of
https://github.com/marqs85/ossc
synced 2026-11-03 13:47:13 +03:00
clean up and update README
This commit is contained in:
1 parent
e8d5097ecb
commit
7914a2ee83
11 files changed
+6504
-6427
No files matched your search
@@ -121,7 +121,7 @@
|
||||
</Compiler>
|
||||
<Linker Options="" Required="yes"/>
|
||||
<ResourceCompiler Options="" Required="no"/>
|
||||
<General OutputFile="" IntermediateDirectory="./Debug" Command="nios2-download -g --accept-bad-sysid sys_controller.elf && nios2-terminal" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(ProjectPath)/sys_controller" PauseExecWhenProcTerminates="yes" IsGUIProgram="no" IsEnabled="yes"/>
|
||||
<General OutputFile="" IntermediateDirectory="./Debug" Command="make rv-reprogram && nios2-terminal" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(ProjectPath)/sys_controller" PauseExecWhenProcTerminates="yes" IsGUIProgram="no" IsEnabled="yes"/>
|
||||
<BuildSystem Name="Default"/>
|
||||
<Environment EnvVarSetName="<Use Defaults>" DbgSetName="<Use Defaults>">
|
||||
<![CDATA[]]>
|
||||
@@ -135,6 +135,7 @@
|
||||
<PostBuild/>
|
||||
<CustomBuild Enabled="yes">
|
||||
<Target Name="diy-audio-debug">make ENABLE_AUDIO=y APP_CFLAGS_DEBUG_LEVEL="-DDEBUG"</Target>
|
||||
<Target Name="Ack BSP update">cd ../sys_controller_bsp && touch public.mk Makefile</Target>
|
||||
<RebuildCommand/>
|
||||
<CleanCommand>make clean</CleanCommand>
|
||||
<BuildCommand>make APP_CFLAGS_DEBUG_LEVEL="-DDEBUG"</BuildCommand>
|
||||
@@ -180,6 +181,7 @@
|
||||
<Target Name="compile_image">make generate_hex</Target>
|
||||
<Target Name="Build_jp">make OSDLANG=JP</Target>
|
||||
<Target Name="Build_audio">make ENABLE_AUDIO=y</Target>
|
||||
<Target Name="Ack BSP update">cd ../sys_controller_bsp && touch public.mk Makefile</Target>
|
||||
<RebuildCommand/>
|
||||
<CleanCommand>make clean</CleanCommand>
|
||||
<BuildCommand>make</BuildCommand>
|
||||
|
||||
@@ -165,6 +165,7 @@ else
|
||||
C_SRCS += ossc/menu.c
|
||||
endif
|
||||
C_SRCS += ossc/userdata.c
|
||||
C_SRCS += ossc/utils.c
|
||||
C_SRCS += ulibSD/sd_io.c
|
||||
C_SRCS += ulibSD/spi_io.c
|
||||
CXX_SRCS :=
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -39,7 +39,7 @@
|
||||
|
||||
#include "sys/alt_dev.h"
|
||||
#include "sys/alt_sys_init.h"
|
||||
#include "sys/alt_irq.h"
|
||||
//#include "sys/alt_irq.h"
|
||||
#include "sys/alt_dev.h"
|
||||
|
||||
#include "os/alt_hooks.h"
|
||||
@@ -51,6 +51,8 @@
|
||||
|
||||
#include "sys/alt_log_printf.h"
|
||||
|
||||
extern void alt_irq_init ( const void* base );
|
||||
|
||||
extern void _do_ctors(void);
|
||||
extern void _do_dtors(void);
|
||||
|
||||
|
||||
@@ -439,7 +439,6 @@ ifneq ($(wildcard $(NEWLIB_DIR)),)
|
||||
endif
|
||||
@$(ECHO) [BSP clean complete]
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# BUILD PRE/POST PROCESS
|
||||
#------------------------------------------------------------------------------
|
||||
@@ -470,14 +469,7 @@ Makefile: $(wildcard $(SETTINGS_FILE))
|
||||
@$(ECHO) Makefile not up to date.
|
||||
@$(ECHO) $(SETTINGS_FILE) has been modified since the BSP Makefile was generated.
|
||||
@$(ECHO)
|
||||
@$(ECHO) Generate the BSP to update the Makefile, and then build again.
|
||||
@$(ECHO)
|
||||
@$(ECHO) To generate from Eclipse:
|
||||
@$(ECHO) " 1. Right-click the BSP project."
|
||||
@$(ECHO) " 2. In the Nios II Menu, click Generate BSP."
|
||||
@$(ECHO)
|
||||
@$(ECHO) To generate from the command line:
|
||||
@$(ECHO) " nios2-bsp-generate-files --settings=<settings file> --bsp-dir=<target bsp files directory>"
|
||||
@$(ECHO) Update system.h etc. BSP files manually, then run \"touch public.mk Makefile\" on BSP dir.
|
||||
@$(ECHO)
|
||||
@exit 1
|
||||
|
||||
@@ -489,14 +481,7 @@ public.mk: $(wildcard $(SOPC_FILE))
|
||||
@$(ECHO) Makefile not up to date.
|
||||
@$(ECHO) $(SOPC_FILE) has been modified since the BSP was generated.
|
||||
@$(ECHO)
|
||||
@$(ECHO) Generate the BSP to update the Makefile, and then build again.
|
||||
@$(ECHO)
|
||||
@$(ECHO) To generate from Eclipse:
|
||||
@$(ECHO) " 1. Right-click the BSP project."
|
||||
@$(ECHO) " 2. In the Nios II Menu, click Generate BSP."
|
||||
@$(ECHO)
|
||||
@$(ECHO) To generate from the command line:
|
||||
@$(ECHO) " nios2-bsp-generate-files --settings=<settings file> --bsp-dir=<target bsp files directory>"
|
||||
@$(ECHO) Update system.h etc. BSP files manually, then run \"touch public.mk Makefile\" on BSP dir.
|
||||
@$(ECHO)
|
||||
@exit 1
|
||||
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user