lazsolt / lgt8fx Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dbuezas/lgt8fx
Board Package for Logic Green LGT8F328P, LGT8F328D and LGT8F328P-SSOP20
This project forked from dbuezas/lgt8fx
Board Package for Logic Green LGT8F328P, LGT8F328D and LGT8F328P-SSOP20
When trying example idleWakePeriodic
with latest from master (commit 5c1bc02) on MacOS Arduino v2.1.0 board LGT8F328P-LQFP48 after addressing the issues in #1 I get:
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: error: '_lgt8fx_delay_cycles' was not declared in this scope
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1051:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up(); // Timed register value change sequence.
^~~~~~~~
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: note: suggested alternative: '__builtin_avr_delay_cycles'
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1051:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up(); // Timed register value change sequence.
^~~~~~~~
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp: In member function 'void LowPowerClass::powerStandby(period_t, adc_t, bod_t, timer2_t, hfosc_t)':
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: error: '_lgt8fx_delay_cycles' was not declared in this scope
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1430:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up();
^~~~~~~~
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: note: suggested alternative: '__builtin_avr_delay_cycles'
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1430:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up();
^~~~~~~~
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp: In member function 'void LowPowerClass::powerExtStandby(period_t, adc_t, bod_t, timer2_t, hfosc_t)':
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: error: '_lgt8fx_delay_cycles' was not declared in this scope
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1742:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up();
^~~~~~~~
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:825:7: note: suggested alternative: '__builtin_avr_delay_cycles'
_lgt8fx_delay_cycles(4); \
^
/Users/whyameye/Documents/Arduino/libraries/lgt_lowpower/src/lgt_LowPower.cpp:1742:29: note: in expansion of macro 'hfosc_up'
if (hfosc == HFOSC_OFF) hfosc_up();
^~~~~~~~
exit status 1
Compilation error: exit status 1
When trying example idleWakePeriodic
with latest from master (commit 5c1bc02) on MacOS Arduino v2.1.0 board LGT8F328P-LQFP48 I get:
/Users/***/Documents/Arduino/libraries/lgt_lowpower/src/lgt8fx_sleep.h:39:10: fatal error: avr\sleep.h: No such file or directory
#include <avr\sleep.h>```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.