Search found 12 matches

by 0x3333
Fri Mar 15, 2019 8:47 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 5
Views: 89

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by 0x3333
Fri Mar 15, 2019 7:30 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 5
Views: 89

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub.

I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path.

Thanks again.
by 0x3333
Fri Mar 15, 2019 3:45 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 5
Views: 89

MFS using internal Flash

In my first project using Chibios I have to store some parameters, small structure, containing 5 uint16_t entries., 10 bytes in total. I'd like to use the internal flash to store these data, I'm using a STM32F103, so I don't want to attach a serial EEPROM or something. These parameters will not chan...
by 0x3333
Fri Mar 15, 2019 1:44 pm
Forum: Development and Feedback
Topic: [INFO] Moving repository to OSDN
Replies: 6
Views: 258

Re: [INFO] Moving repository to OSDN

Hi, Why don't you use Git, GitHub, Gitea, or similar? I am not a git fan. Giovanni What a pity! I wasn't either, but if you dig a little, will see that git improves the workflow by far, despite the high learning curve in the beginning. Anyway, I'm not here to convince you, just my 2 cents. The impo...
by 0x3333
Fri Mar 15, 2019 1:03 pm
Forum: Development and Feedback
Topic: [INFO] Moving repository to OSDN
Replies: 6
Views: 258

Re: [INFO] Moving repository to OSDN

Giovanni,

That's a great news. I was working on a mirror to Git yesterday! SF was soooooo slow.

Why don't you use Git, GitHub, Gitea, or similar?
by 0x3333
Sat Mar 09, 2019 11:19 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 181

Re: chVTGetSystemTimeX overflow

Will this be upstreamed or should I work with a local patch? Thanks again.
by 0x3333
Sat Mar 09, 2019 9:43 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 181

Re: chVTGetSystemTimeX overflow

Hi!

With your patch, it worked!

To be honest, I thought about it, but I thought it was too basic to be the truth. Well, it wasn't.

Thanks.
by 0x3333
Sat Mar 09, 2019 4:38 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 181

Re: chVTGetSystemTimeX overflow

I changed the method chTimeIsInRangeX, added a check, now it is working: static inline bool chTimeIsInRangeX(systime_t time, systime_t start, systime_t end) { // If the end has overflowed and the current time is greater than start, we're good. if (end < start && time > start) { return true; ...
by 0x3333
Sat Mar 09, 2019 4:28 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 181

Re: chVTGetSystemTimeX overflow

I have some functions that need to wait for a specific number of milliseconds. I'm using chVTGetSystemTimeX to get the start time and check periodically if X milliseconds have passed. This sounds like a busy-loop and is not very efficient. Sometimes you need it when you need a very fast reaction ti...
by 0x3333
Sat Mar 09, 2019 4:03 pm
Forum: ChibiOS/RT
Topic: chVTGetSystemTimeX overflow
Replies: 11
Views: 181

Re: chVTGetSystemTimeX overflow

EDITED BELOW

Go to advanced search