Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marek
firmware
Commits
3bc1ab55
Verified
Commit
3bc1ab55
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
fix(l0der): Fix whitespace issues
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
2fa3090d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
epicardium/l0der/l0der.c
+2
-2
2 additions, 2 deletions
epicardium/l0der/l0der.c
l0dables/blinky/main.c
+1
-1
1 addition, 1 deletion
l0dables/blinky/main.c
l0dables/lib/l0dable.ld
+1
-1
1 addition, 1 deletion
l0dables/lib/l0dable.ld
with
4 additions
and
4 deletions
epicardium/l0der/l0der.c
+
2
−
2
View file @
3bc1ab55
...
...
@@ -13,7 +13,7 @@
*
* To implement it, we parse an ELF file somewhat defensively, trying to
* not DoS ourselves by overallocating RAM (no heap allocations, no recursion).
*
*
* Currently we support only relocatable, PIE binaries. Adding support for
* static ELFs would be trivial, however we want to keep the possibility to
* shuffle around memory areas in future versions of card10 (possibly giving
...
...
@@ -104,7 +104,7 @@ static int _read_elf_header(int fd, Elf32_Ehdr *hdr)
* :param void *data: buffer into which to read
* :param size_t count: amount of bytes to read
* :returns: ``0`` on success or a negative value on error. Possible errors:
*
*
* - ``-EIO``: Could not read from FAT - address out of bounds of not enough bytes available.
*/
static
int
_seek_and_read
(
int
fd
,
uint32_t
address
,
void
*
data
,
size_t
count
)
...
...
This diff is collapsed.
Click to expand it.
l0dables/blinky/main.c
+
1
−
1
View file @
3bc1ab55
...
...
@@ -44,7 +44,7 @@ void fade()
}
}
/*
/*
* main() is called when l0dable is loaded and executed.
*/
int
main
(
void
)
...
...
This diff is collapsed.
Click to expand it.
l0dables/lib/l0dable.ld
+
1
−
1
View file @
3bc1ab55
...
...
@@ -35,7 +35,7 @@ SECTIONS {
{
*(.text*)
*(.rodata*)
KEEP(*(.init))
KEEP(*(.fini))
} :text
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment