Search found 168 matches

by dflogeras
Tue Feb 05, 2019 5:02 pm
Forum: General Support
Topic: External dependencies for Makefile
Replies: 2
Views: 223

Re: External dependencies for Makefile

So the nice folks in #gnu IRC channel pointed me in the right direction. In case anyone else needs, you can easily make the project elf target depend on an arbitrary file's time. The trick is making sure you put it _after_ the include rules.mk which defines the elf target. ... RULESPATH = $(CHIBIOS)...
by dflogeras
Mon Feb 04, 2019 6:11 pm
Forum: General Support
Topic: External dependencies for Makefile
Replies: 2
Views: 223

External dependencies for Makefile

Hi all, I frequently set up my Chibi projects to depend on my own common libraries for sharing code between different projects. They are built separately and installed into a dir where I point the Chibi build system. So I typically have something like this in my Makefile: ULIBDIR = some/path/where/i...
by dflogeras
Tue Jan 29, 2019 1:12 pm
Forum: General Support
Topic: ARMV6-M
Replies: 5
Views: 402

ARMV6-M

Hey Giovanni, thanks and congratulations on 19.x.y!

Reading through the release notes, I was wondering about the comment

Added a sanity check on GCC version for ARMv6-M, a version below 6 must be used.


Could you clarify the rationale for this?

Thanks
Dave
by dflogeras
Sat Nov 17, 2018 4:12 pm
Forum: Small Change Requests
Topic: Untagged structs in ChibiOS Topic is solved
Replies: 4
Views: 490

Re: Untagged structs in ChibiOS Topic is solved

Another patch, as above, but for untagged I2CConfig structs

i2c_config_untagged_struct.zip
(938 Bytes) Downloaded 18 times
by dflogeras
Thu Nov 01, 2018 11:13 am
Forum: STM32 Support
Topic: STM32Lxx and community CRC driver
Replies: 3
Views: 246

Re: STM32Lxx and community CRC driver

I still see the 'lp' parameter in the trunk r12399 https://sourceforge.net/p/chibios/svn2/HEAD/tree/trunk/os/hal/ports/STM32/STM32F0xx/stm32_rcc.h#l906 https://sourceforge.net/p/chibios/svn2/HEAD/tree/trunk/os/hal/ports/STM32/STM32F4xx/stm32_rcc.h#l1574 Etc.. I'm not sure how the crc demo for the F0...
by dflogeras
Thu Nov 01, 2018 12:32 am
Forum: STM32 Support
Topic: STM32Lxx and community CRC driver
Replies: 3
Views: 246

STM32Lxx and community CRC driver

I realize CRC is not officially supported, but hoping to gain some insight here if any authors watch the forums. I am looking to use CRC in an STM32L4 project. I see that the L4xx/stm32_rcc.h in mainline ChibiOS is missing the Enable/Disable/ResetCRC family of functions that the F0/3/4/7 files conta...
by dflogeras
Fri Oct 05, 2018 12:00 pm
Forum: Bug Reports
Topic: Extra checks for L4xx peripheral clocks Topic is solved
Replies: 1
Views: 290

Extra checks for L4xx peripheral clocks Topic is solved

As discussed here:
viewtopic.php?f=16&t=4844

I've thrown together a quick patch for review
L4xx_HSI16_checks.zip
(615 Bytes) Downloaded 19 times


Please treat as a general idea, as I wasn't near a computer with an ARM toolchain and couldn't do a sanity test compile.
by dflogeras
Fri Oct 05, 2018 11:31 am
Forum: STM32 Support
Topic: STM32L433 and I2C
Replies: 4
Views: 356

Re: STM32L433 and I2C

Thanks Giovanni, will do In case anyone else finds this thread in the future and sees the above config, it was also necessary to add OPENDRAIN as follows palSetPadMode(GPIOB, 8, PAL_MODE_ALTERNATE(4) | PAL_STM32_PUPDR_PULLUP | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_OSPEED_HIGH); palSetPadMode(GPIOB, ...
by dflogeras
Thu Oct 04, 2018 7:43 pm
Forum: STM32 Support
Topic: STM32L433 and I2C
Replies: 4
Views: 356

Re: STM32L433 and I2C

Found my issue, I failed to start the HSI16 clock in mcuconf.h

Would it be possible to add a compile time check for this?

Go to advanced search