Skip to content
Closed
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
13 changes: 8 additions & 5 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ jobs:
- name: Checkout ArduinoCore-API
uses: actions/checkout@v2
with:
repository: arduino/ArduinoCore-API
repository: giulcioffi/ArduinoCore-API
ref: FmacroIssue
path: extras/ArduinoCore-API

- name: Install ArduinoCore-API
Expand All @@ -107,8 +108,9 @@ jobs:
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p11_CrystalBall"
# CapacitiveSensor library does not support megaAVR core yet
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"

- name: Compile examples
uses: arduino/actions/libraries/compile-examples@master
uses: giulcioffi/compile-sketches@CheckAgainstDatabase
with:
fqbn: ${{ matrix.board.fqbn }}
libraries: |
Expand Down Expand Up @@ -143,10 +145,11 @@ jobs:
${{ env.UNIVERSAL_SKETCH_PATHS }}
${{ matrix.additional-sketch-paths }}
enable-deltas-report: 'true'
allow-failures: 'true'
verbose: 'true'

- name: Save memory usage change report as artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: size-deltas-reports
path: size-deltas-reports
name: sketches-reports
path: sketches-reports
4 changes: 0 additions & 4 deletions cores/arduino/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@

#include "api/ArduinoAPI.h"

#include <avr/pgmspace.h>
#include <avr/io.h>
#include <avr/interrupt.h>

#undef F
#define F(str) (str)

#ifdef __cplusplus
extern "C"{
#endif
Expand Down