Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Upstream WS24
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microcontroller
Upstream WS24
Commits
f5dd7b55
Commit
f5dd7b55
authored
8 months ago
by
Valentini, Matteo
Browse files
Options
Downloads
Patches
Plain Diff
initial commit
parents
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/A2/CMakeLists.txt
+12
-0
12 additions, 0 deletions
src/A2/CMakeLists.txt
src/A2/main.c
+9
-0
9 additions, 0 deletions
src/A2/main.c
with
21 additions
and
0 deletions
src/A2/CMakeLists.txt
0 → 100644
+
12
−
0
View file @
f5dd7b55
# Add the executable target
add_executable
(
A2 src/A2/main.c
)
# Modify the below lines to enable/disable output over UART/USB
pico_enable_stdio_uart
(
A2 0
)
pico_enable_stdio_usb
(
A2 1
)
# Add the standard library to the build
target_link_libraries
(
A2 pico_stdlib hardware_i2c hardware_pwm
)
# Add local includes
target_include_directories
(
A2 PRIVATE
${
CMAKE_CURRENT_LIST_DIR
}
)
# Generate the uf2 file
pico_add_extra_outputs
(
A2
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/A2/main.c
0 → 100644
+
9
−
0
View file @
f5dd7b55
// You can modify this file for local testing, but it will be overridden by the testsystem
int
main
()
{
while
(
1
);
}
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
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