Search found 26 matches

by Cesare
Fri May 22, 2020 8:11 am
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 1033

Re: [PROBLEM] Dead PC...

I simply would like to remind all of you the awesome project to share hard disks worldwide using blockchain technology: https://sia.tech/ There is huge decentralized and encrypted space available at inexpensive cost. You can also share your HDD space deciding the price by your own. Concerning Synolo...
by Cesare
Fri May 22, 2020 7:52 am
Forum: Development and Feedback
Topic: [DISASTER] Web site gone
Replies: 10
Views: 607

Re: [DISASTER] Web site gone

Good morning Giovanni, I just read this unpleasant story concerning the website. This is the typical "lesson learned" experience, anyway don't blame too much with yourself. I believe that a serious mistake occurs only when we make it at the second time. The first time is always needed to l...
by Cesare
Fri Feb 21, 2020 8:36 am
Forum: ChibiOS/HAL
Topic: definition of adccallback_t has been changed?
Replies: 2
Views: 737

Re: definition of adccallback_t has been changed?

Thank you Giovanni for your prompt reply. I found the answer in the thread "Releases" where for 19.1.x it is said: The callbacks of drivers with circular buffers (ADC, DAC, I2S, SPI) have been simplified, no parameters. A driver function xxxIsBufferComplete() has been added to determine if...
by Cesare
Thu Feb 20, 2020 6:15 pm
Forum: ChibiOS/HAL
Topic: definition of adccallback_t has been changed?
Replies: 2
Views: 737

definition of adccallback_t has been changed?

I used to base my projects on ChibiOs branch stable_18.2.x The definition of the ADC callback was: typedef void (*adccallback_t)(ADCDriver *adcp, adcsample_t *buffer, size_t n); I recently moved to branch stable_19.1.x but the ADC callback seems to be defined as: typedef void (*adccallback_t)(ADCDri...
by Cesare
Fri Feb 22, 2019 11:55 am
Forum: General Support
Topic: Exception handling using longjmp()
Replies: 3
Views: 555

Re: Exception handling using longjmp()

Good morning Giovanni, Yes I tried, if I have several 'env' structures for each thread it works. My only doubt is if before calling longjmp() I should lock the kernel with chSysLock() and then after the 'env' context has been restored (the program counter will be at the next instruction after setjmp...
by Cesare
Thu Feb 21, 2019 5:21 pm
Forum: General Support
Topic: Exception handling using longjmp()
Replies: 3
Views: 555

Exception handling using longjmp()

Hello to everyone, Today I was doing some experiments trying to simulate the exception construct available in many languages but not in C. I found out that we can achieve it using setjmp() and longjmp(). Everything works in a single thread environment but not when using multiple threads. I am thinki...
by Cesare
Mon Sep 17, 2018 3:04 pm
Forum: Bug Reports
Topic: STM32F070x6 hard faults while initializing GPIOD Topic is solved
Replies: 10
Views: 1730

Re: STM32F070x6 hard faults while initializing GPIOD Topic is solved

Ok I've understood the policy, so the question is, how can we be sure if a port is not present or is present but not connected? As reported previously the F0 subfamily I am using is STM32F070x6 to which belong only two packages: TSSOP (port C not available) and LQFP (port C available). So, TSSOP ver...
by Cesare
Thu Sep 13, 2018 2:34 pm
Forum: Bug Reports
Topic: STM32F070x6 hard faults while initializing GPIOD Topic is solved
Replies: 10
Views: 1730

Re: STM32F070x6 hard faults while initializing GPIOD Topic is solved

I understood about the code difference. When I clone the repository from GitHub, by default, I am on master branch but to get the code you were referring to I need to checkout origin/trunk. Going back to your tentative to fix the registry, this code unfortunately doesn't solve all cases about STM32F...
by Cesare
Wed Sep 12, 2018 9:43 am
Forum: Bug Reports
Topic: Missing linker script for STM32F070F6 Topic is solved
Replies: 1
Views: 432

Missing linker script for STM32F070F6 Topic is solved

Hi Giovanni, I am developing with STM32F070F6, master branch on git. I can't find any suitable linker script file in os/common/startup/ARMCMx/compilers/GCC/ld because STM32F070xB.ld defines wrong size for both FLASH and RAM. So, if I am not wrong, I suggest to add STM32F070x6.ld Additional info os: ...
by Cesare
Wed Sep 12, 2018 9:14 am
Forum: Bug Reports
Topic: STM32F070x6 hard faults while initializing GPIOD Topic is solved
Replies: 10
Views: 1730

Re: STM32F070x6 hard faults while initializing GPIOD Topic is solved

Hi Giovanni, I am developing with STM32F070F6, working on master branch of git, and I got the same issue as described by apmorton . I defined my board.c and board.h copying from demo ST_NUCLEO64_F070RB which use STM32F070RB instead, then in the board file /os/hal/boards/my_board/board.h I have defin...

Go to advanced search