Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This version of GSM3SoftSerial supports only 20, 16 and 8MHz processors #6

Open
stnorthern opened this issue Mar 27, 2017 · 2 comments

Comments

@stnorthern
Copy link

I get an error when I compile with my board

#error This version of GSM3SoftSerial supports only 20, 16 and 8MHz processors

I have a 48 MHz board

@Juju1111
Copy link

Hello,
Maybe you should modify GSM3SoftSerial.cpp to make it support 48 MHz processors, and report to your microcontroller's datasheet to set the good values in the table.

#if F_CPU == 16000000

static const DELAY_TABLE PROGMEM table[] =
{
// baud rxcenter rxintra rxstop tx
{ 115200, 1, 17, 17, 12, },
{ 57600, 10, 37, 37, 33, },
{ 38400, 25, 57, 57, 54, },
{ 31250, 31, 70, 70, 68, },
{ 28800, 34, 77, 77, 74, },
{ 19200, 54, 117, 117, 114, },
{ 14400, 74, 156, 156, 153, },
{ 9600, 114, 236, 236, 233, },
{ 4800, 233, 474, 474, 471, },
{ 2400, 471, 950, 950, 947, },
{ 1200, 947, 1902, 1902, 1899, },
{ 300, 3804, 7617, 7617, 7614, },
};

@zinouba
Copy link

zinouba commented May 14, 2017

Hello, I got the same error and I have a 80Mhz board
HOw can I change the values of the DELAY_TABLE PROGMEM table ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants