Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cores/arduino/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@
void initVariant() __attribute__((weak));
void initVariant() { }

// Force init to be called *first*, i.e. before static object allocation.
// Otherwise, statically allocated objects that need HAL may fail.
__attribute__(( constructor (101))) void premain() {
init();
}

/*
* \brief Main entry point of Arduino application
*/
int main( void )
{
init();

initVariant();

#if defined(USBCON)
Expand Down
25 changes: 0 additions & 25 deletions libraries/LiquidCrystal/README.adoc

This file was deleted.

74 changes: 0 additions & 74 deletions libraries/LiquidCrystal/examples/Autoscroll/Autoscroll.ino

This file was deleted.

61 changes: 0 additions & 61 deletions libraries/LiquidCrystal/examples/Blink/Blink.ino

This file was deleted.

61 changes: 0 additions & 61 deletions libraries/LiquidCrystal/examples/Cursor/Cursor.ino

This file was deleted.

140 changes: 0 additions & 140 deletions libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino

This file was deleted.

Loading