Hello,
i got a Problem when i use the HAL without the RT using the ADC. The function adc_lld_vreg_on called by adc_lld_start uses the macro US2RTC which is part of chsys.h. Do i have to define all those macros by myself in a module like osal or is this a bug?
Thanks
Dependency between HAL and RT
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Dependency between HAL and RT
It is a bug, drivers are supposed to use only OSAL function, I will look into it.
You can replace it with code taken from chsys.h in the meanwhile, put the macro in halconf.h.
Giovanni
You can replace it with code taken from chsys.h in the meanwhile, put the macro in halconf.h.
Giovanni
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 137
- Joined: Fri May 08, 2015 1:09 pm
- Location: Dresden, Germany
- Has thanked: 10 times
- Been thanked: 5 times
Re: Dependency between HAL and RT
Hi,
another HAL<-> RT Bug: Please have a look at dac_lld.c line 351and 439:
There are a RT debug function calls as well.
another HAL<-> RT Bug: Please have a look at dac_lld.c line 351and 439:
Code: Select all
default:
chDbgAssert(false, "unexpected DAC mode");
break;
There are a RT debug function calls as well.
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14458
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Dependency between HAL and RT
Hi,
Please verify the SVN repository on sourceforge, the one on github is updated manually and I don't manage it.
Giovanni
Please verify the SVN repository on sourceforge, the one on github is updated manually and I don't manage it.
Giovanni
Who is online
Users browsing this forum: No registered users and 1 guest