Skip to content

Commit

Permalink
Markdown errors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Dec 17, 2023
1 parent cfa8a54 commit cfbb403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tools/ArduinoCsCompiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ extern caddr_t _sbrk (int incr) {
This is an incomplete list of error and warning messages from the Arduino Compiler (ACS).
Note that the compiler will not output source file information, since it operates directly on the binary file. It only "knows" of methods and classes.
ACS0001: Internal compiler error
ACS0001: Internal compiler error
: Instead of this error, you'll probably get an exception.
ACS0002: This compiler is currently supported on Windows only. The target CPU may be anything, but the compiler is only tested on Windows. You might experience build or runtime failures otherwise.
Expand All @@ -190,4 +190,3 @@ ACS0006, Method {methodInfo.MemberInfoSignature()} has [MethodImpl(MethodImplAtt
ACS0007: Should have a replacement for {original.MethodSignature()}, but it is missing. Caller: {callingMethod.MethodSignature()}. Original implementation is in {original.DeclaringType!.AssemblyQualifiedName}
: This error means that the Arduino Runtime is missing a required replacement method. A replacement method is a low-level call that needs to be provided by the firmware (because the original method doesn't work on the microcontroller)
2 changes: 1 addition & 1 deletion tools/ArduinoCsCompiler/Runtime/MiniLowLevelLock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

namespace ArduinoCsCompiler.Runtime
{
[ArduinoReplacement("System.Threading.LowLevelLock", "System.Private.Corelib.dll", replaceEntireType: true, typeInSameAssembly: typeof(System.String))]
/// <summary>
/// A lightweight non-recursive mutex. Waits on this lock are uninterruptible (from Thread.Interrupt(), which is supported
/// in some runtimes). That is the main reason this lock type would be used over interruptible locks, such as in a
/// low-level-infrastructure component that was historically not susceptible to a pending interrupt, and for compatibility
/// reasons, to ensure that it still would not be susceptible after porting that component to managed code.
/// </summary>
[ArduinoReplacement("System.Threading.LowLevelLock", "System.Private.Corelib.dll", replaceEntireType: true, typeInSameAssembly: typeof(System.String))]
internal sealed class MiniLowLevelLock : IDisposable
{
private object _lock;
Expand Down

0 comments on commit cfbb403

Please sign in to comment.