Search found 546 matches

by steved
Wed Oct 17, 2018 1:27 pm
Forum: Bug Reports
Topic: palWriteLine()
Replies: 2
Views: 40

Re: palWriteLine()

It's a boolean (type bool).

I'm updating this code to work with GCC7/Chibi 18.2, and changed all that code to use the 'palSetLine()' syntax; previously they were of the form palWritePad(GPIOB, 12, newValue);

N.B. I've not tested yet; so far I've just been eliminating compiler errors and warnings.
by steved
Tue Oct 16, 2018 10:02 pm
Forum: Bug Reports
Topic: palWriteLine()
Replies: 2
Views: 40

palWriteLine()

On GPIO2 driver (STM32F091) I get a load of errors of the type: ioManager.c:52:13: note: in expansion of macro 'palWriteLine' case 13 : palWriteLine(LINE_OP14, newValue); break; ^~~~~~~~~~~~ ../../chibios_18.2.1_DD/os/hal/ports/STM32/LLD/GPIOv2/hal_pal_lld.h:397:23: note: did you mean to use logical...
by steved
Fri Oct 12, 2018 10:38 am
Forum: General Support
Topic: Suppress *.lst files?
Replies: 3
Views: 119

Re: Suppress *.lst files?

Giovanni wrote:Hi,

A ch.list file is generated, it is the listing of the whole program.

Giovanni

Thanks - I must have looked right past this one.

But have you noticed that the source code lines aren't always correct? (It's evident in that thread discussing use of 'volatile')
by steved
Thu Oct 11, 2018 3:18 pm
Forum: General Support
Topic: Suppress *.lst files?
Replies: 3
Views: 119

Suppress *.lst files?

The build process generates a *.lst file for each source file; these seem to be of little or no use (at least to people like me). Is there an easy way to suppress them? (Using ChibiStudio if relevant). Also, is there an easy way to generate an assembly language listing as part of the compile process...
by steved
Thu Oct 11, 2018 3:15 pm
Forum: Bug Reports
Topic: 32L0XX timers
Replies: 3
Views: 80

Re: 32L0XX timers

Excellent!
While you're on the L0XX, it would be nice to have a 'proper' way of accessing the on-board EEPROM. I've attached my working files (there's a test project somewhere on the forum).
Main thing I'd like to see done properly are the scatter files. They work, but I'm sure they could be better.
by steved
Thu Oct 11, 2018 1:34 pm
Forum: Bug Reports
Topic: 32L0XX timers
Replies: 3
Views: 80

Re: 32L0XX timers

I've been looking a bit more into timers on the 32L071, and thought it might be helpful to summarise what I've found. (I've not changed any files - haven't dug that deeply yet) a) In respect of tim_irq_mapping.txt Timers 2, 3, 6, 7, 21, 22 all have unique interrupts b) Timers 2, 3 Timer 3 enable/dis...
by steved
Wed Oct 10, 2018 11:28 am
Forum: Bug Reports
Topic: 32L0XX timers
Replies: 3
Views: 80

32L0XX timers

1. Timer 3 reset, enable etc not present in stm32_rcc.h

2. GPT21/22 not handled in hal_lld_gpt.h (have individual interrupt vectors). (Reports 'no timer enabled' if just timer 21 or 22 enabled)
But their reset/enable functions are in stm32_rcc.h!
by steved
Tue Oct 09, 2018 9:07 am
Forum: Development and Feedback
Topic: Spreadsheet prototype
Replies: 6
Views: 193

Re: Spreadsheet prototype

faisal wrote:For the STM32 family, what's the value in using this, as opposed to CubeMX?

Maybe the value is in not using CubeMX?
by steved
Tue Oct 09, 2018 9:05 am
Forum: Bug Reports
Topic: L071/072 support Topic is solved
Replies: 2
Views: 76

L071/072 support Topic is solved

As the title. The main difference I've found so far is the absence of USB (and the HSI48 clock) on the L071. From Chibi's point of view, the L072 and L073 look to be the same (in the absence of support for the display). I've done the mods identified so far for the L071; have ignored the L072. Note w...
by steved
Thu Sep 27, 2018 9:53 pm
Forum: Bug Reports
Topic: F04/07/09 clock definitions
Replies: 3
Views: 363

Re: F04/07/09 clock definitions

Hi, About this, the RM0091 manual states" "00: HSI/2 selected as PLL input clock (PREDIV forced to divide by 2 on STM32F04x, STM32F07x and STM32F09x devices)" Apparently the setting does exist and forces PREDIV to emulate previous devices. Is a change required with this behavior? Gio...

Go to advanced search