Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
8ae69a34
Commit
8ae69a34
authored
May 08, 2021
by
Earle F. Philhower, III
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor keyword and mutex fixes for multicore
parent
763846ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
cores/rp2040/main.cpp
cores/rp2040/main.cpp
+2
-2
keywords.txt
keywords.txt
+2
-0
No files found.
cores/rp2040/main.cpp
View file @
8ae69a34
...
@@ -25,8 +25,7 @@
...
@@ -25,8 +25,7 @@
RP2040
rp2040
;
RP2040
rp2040
;
volatile
bool
_MFIFO
::
_otherIdled
=
false
;
volatile
bool
_MFIFO
::
_otherIdled
=
false
;
mutex_t
_pioMutex
;
auto_init_mutex
(
_pioMutex
);
extern
void
setup
();
extern
void
setup
();
...
@@ -58,6 +57,7 @@ extern "C" int main() {
...
@@ -58,6 +57,7 @@ extern "C" int main() {
set_sys_clock_khz
(
F_CPU
/
1000
,
true
);
set_sys_clock_khz
(
F_CPU
/
1000
,
true
);
#endif
#endif
mutex_init
(
&
_pioMutex
);
initVariant
();
initVariant
();
#ifndef DISABLE_USB_SERIAL
#ifndef DISABLE_USB_SERIAL
...
...
keywords.txt
View file @
8ae69a34
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
#######################################
#######################################
# Methods and Functions (KEYWORD2)
# Methods and Functions (KEYWORD2)
#######################################
#######################################
setup1 KEYWORD2
loop2 KEYWORD2
analogWriteFreq KEYWORD2
analogWriteFreq KEYWORD2
analogWriteRange KEYWORD2
analogWriteRange KEYWORD2
analogWriteResolution KEYWORD2
analogWriteResolution KEYWORD2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment