hal_files.h

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Post Reply
DeTHX
Posts: 1
Joined: Thu Mar 28, 2019 2:53 pm

hal_files.h

Post by DeTHX »

Hello,
I am porting a project from 182 to 191.
I could not compile the project because of changes in hal_files.h.
getsize and getposition now have a second parameter offset.

What is the reason for this?

In hal_eeprom.c the functions stil have only one parameter.
msg_t eepfs_getsize(void *ip) {
msg_t eepfs_getposition(void *ip) {

thanks
DeTHX
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: hal_files.h

Post by Giovanni »

Hi,

The problem with community code is that it does not necessarily is in sync with the official one because it is not actively maintained.

That files belong to the community repository so you should make a pull request there or contact the author.

Giovanni
Post Reply