Skip to content

Commit

Permalink
[payload] strip size
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Dec 29, 2023
1 parent 14c2f75 commit cd2dfa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions payloads/sun50iw9_libdram/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ endif
#
# Load default variables.
#
ASFLAGS := -g -ggdb -Wall -O3
CFLAGS := -g -ggdb -Wall -O3
CXXFLAGS := -g -ggdb -Wall -O3
ASFLAGS := -Os
CFLAGS := -Os
CXXFLAGS := -Os
LDFLAGS := -T link.ld -nostdlib
ARFLAGS := -rcs
OCFLAGS := -v -O binary
Expand Down
5 changes: 1 addition & 4 deletions payloads/sun50iw9_libdram/link.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ SEARCH_DIR(.)
/* Memory Spaces Definitions */
MEMORY
{
ram (rwx) : ORIGIN = 0x48000, LENGTH = 0x10000 /* SRAMC. */
ram (rwx) : ORIGIN = 0x48000, LENGTH = 0x08000 /* SRAMC. */
}

/* The stack size used by the application. NOTE: you need to adjust according to your application. */
STACK_SIZE = 0x1000; /* 4KB */

/* Section Definitions */
SECTIONS
{
Expand Down

0 comments on commit cd2dfa2

Please sign in to comment.