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

RA8875 with STM32 in Arduino IDE #147

Open
VictorCasadoZ opened this issue Apr 23, 2020 · 1 comment
Open

RA8875 with STM32 in Arduino IDE #147

VictorCasadoZ opened this issue Apr 23, 2020 · 1 comment

Comments

@VictorCasadoZ
Copy link

Hi,
I want to implement the RA8875 with an STM32, I have tried with the examples and it reports:
`

C:\Users\pirul\OneDrive\Documents\Arduino\libraries\RA8875-0.70\RA8875.cpp: In member function 'void RA8875::begin(RA8875sizes, uint8_t)':

C:\Users\pirul\OneDrive\Documents\Arduino\libraries\RA8875-0.70\RA8875.cpp:432:11: error: cannot convert 'volatile uint32* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment

csport = portOutputRegister(digitalPinToPort(_cs));//pinMode(_cs, OUTPUT);

       ^

C:\Users\pirul\OneDrive\Documents\Arduino\libraries\RA8875-0.70\RA8875.cpp: In member function 'void RA8875::_sendRegFT5206(uint8_t, uint8_t)':

C:\Users\pirul\OneDrive\Documents\Arduino\libraries\RA8875-0.70\RA8875.cpp:5102:24: error: 'TWBR' was not declared in this scope

uint8_t twbrbackup = TWBR;

                    ^

Se encontraron varias bibliotecas para "Wire.h"
Usado: C:\Users\pirul\OneDrive\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\Wire
No usado: C:\Users\pirul\OneDrive\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\WireSlave
Se encontraron varias bibliotecas para "SPI.h"
Usado: C:\Users\pirul\OneDrive\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\SPI
Se encontraron varias bibliotecas para "RA8875.h"
Usado: C:\Users\pirul\OneDrive\Documents\Arduino\libraries\RA8875-0.70
exit status 1
Error compilando para la tarjeta Generic STM32F103C series.
`

So what can I do?

Thank you so much

@gcharles81
Copy link

@hachimbala did you managed to overcome this error - I am trying to compile for STM32 and have same issue - Thanks Charles

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

2 participants