Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1241)

Unified Diff: src/shared/platform_cmsis.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/platform.h ('k') | src/shared/platform_cmsis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform_cmsis.h
diff --git a/src/shared/platform_cmsis.h b/src/shared/platform_cmsis.h
index 19c73198d788859189d79138ef4d4242622215c2..5bc5f28226dac788fc92e29de8c5b9db94ffc45e 100644
--- a/src/shared/platform_cmsis.h
+++ b/src/shared/platform_cmsis.h
@@ -9,7 +9,7 @@
#error Do not include platform_cmsis.h directly; use platform.h instead.
#endif
-#if defined(FLETCH_TARGET_OS_CMSIS)
+#if defined(DARTINO_TARGET_OS_CMSIS)
#include <errno.h>
#include <cmsis_os.h>
@@ -74,12 +74,12 @@
}
#endif
-namespace fletch {
+namespace dartino {
static const int kMutexSize = sizeof(int32_t) * 3;
static const int kSemaphoreSize = sizeof(int32_t) * 2;
-osMailQId GetFletchMailQ();
+osMailQId GetDartinoMailQ();
struct CmsisMessage {
uint32_t port_id;
@@ -148,7 +148,7 @@ class MonitorImpl {
#else
// The implementation in STM32CubeF7 returns osOK if the
// semaphore was acquired.
- // See https://github.com/dart-lang/fletch/issues/377.
+ // See https://github.com/dart-lang/dartino/issues/377.
CHECK_AND_FAIL(osSemaphoreWait(wait_entry.semaphore_, osWaitForever));
#endif
CHECK_AND_RETURN(osMutexWait(mutex_, osWaitForever));
@@ -168,7 +168,7 @@ class MonitorImpl {
#else
// The implementation in STM32CubeF7 returns osOK if the
// semaphore was acquired and osErrorOS if it was not.
- // See https://github.com/dart-lang/fletch/issues/377.
+ // See https://github.com/dart-lang/dartino/issues/377.
int status = osSemaphoreWait(wait_entry.semaphore_, microseconds / 1000);
success = (status == osOK);
#endif
@@ -268,8 +268,8 @@ class MonitorImpl {
WaitListEntry* last_waiting_;
};
-} // namespace fletch
+} // namespace dartino
-#endif // defined(FLETCH_TARGET_OS_CMSIS)
+#endif // defined(DARTINO_TARGET_OS_CMSIS)
#endif // SRC_SHARED_PLATFORM_CMSIS_H_
« no previous file with comments | « src/shared/platform.h ('k') | src/shared/platform_cmsis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698