Search found 11377 matches

by Giovanni
Sat Dec 15, 2018 7:47 am
Forum: Small Change Requests
Topic: Speed profiling using hal_serial_usb Topic is solved
Replies: 4
Views: 271

Re: Speed profiling using hal_serial_usb Topic is solved

Hi,

You can put that definition in halconf.h, uncommon settings are not usually present in configuration files in order to keep those not too complex. You may recommend different defaults after your testing.

Giovanni
by Giovanni
Fri Dec 14, 2018 7:10 am
Forum: Development and Feedback
Topic: [NOTE] HAL 6 and OSAL Evolutions
Replies: 12
Views: 3762

Re: [NOTE] HAL 6 and OSAL Evolutions

Hi, We already have two full OS abstractions in ChibiOS: - NASA OSAL. - CMSIS RTOS. Both are quite complete and "standard", why inventing a 3rd one? I would rather spend time making new skins for Posix or OSEK standards (both possible). BTW I don't like any of those for various reasons, I ...
by Giovanni
Thu Dec 13, 2018 10:12 pm
Forum: ChibiOS/HAL
Topic: OSAL creating threads
Replies: 3
Views: 44

Re: OSAL creating threads

Hi,

The main reason is that the OSAL API is not meant to be a full RTOS abstraction, it should be just the minimum required to allow HAL to interface an RTOS. In that perspective threads creation is not necessary, my feeling is that the current OSAL is already too fat for its intended role.

Giovanni
by Giovanni
Thu Dec 13, 2018 4:47 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 50
Views: 5891

Re: Where to start STM32H7 support

Hi,

The peripheral is the same in F3 so it should be similar, the exact values have to be calculated, details are in the STM32 Reference Manual.

GPIO settings can be done in board.h or at runtime using the PAL driver. Check if your board.h already does this, if not use PAL functions.

Giovanni
by Giovanni
Wed Dec 12, 2018 5:19 pm
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 14
Views: 191

Re: Raspberry Pi port

It is micro-controllers centric, the project is very focused on its niche, making a generic kernel has never been a requirement. I believe there are no real constraints for a 64bits port, you need to understand how it is organized, some things are very unlike other common RTOSes. SMP is a planned ex...
by Giovanni
Wed Dec 12, 2018 5:07 pm
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 14
Views: 191

Re: Raspberry Pi port

In you port you need to make msg_t have the same size of a pointer, see chtypes.h. Other types could require changes too, 64bits architectures have not been explored yet (8, 16 and 32 work as-is). Giovanni You have a couple of warnings being thrown from code as well ... I will pragma them out for no...
by Giovanni
Wed Dec 12, 2018 5:06 pm
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 14
Views: 191

Re: Raspberry Pi port

Hi,

1) It is ch.rlist.current, you should not need to access it directly working on a port.

2) You can't because the thread structure is a list item, offsets are important, in general you should not touch anything in portable code, everything should be done in the port layer.

Giovanni
by Giovanni
Wed Dec 12, 2018 9:50 am
Forum: Development and Feedback
Topic: [MAINTAINERS] Changes to circular callbacks
Replies: 7
Views: 134

Re: [MAINTAINERS] Changes to circular callbacks

Hi,

What is the use case of circular buffers for UART driver?

Giovanni
by Giovanni
Wed Dec 12, 2018 8:46 am
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 14
Views: 191

Re: Raspberry Pi port

AARCH64 would require a new port, similar to the ARM one but still a different thing. In addition you will also need to take care of startup files, link files, makefiles etc.

I suggest to start from the base: startup and anything required for build.

Giovanni
by Giovanni
Tue Dec 11, 2018 9:09 am
Forum: Small Change Requests
Topic: Untagged structs in ChibiOS Topic is solved
Replies: 4
Views: 328

Re: Untagged structs in ChibiOS Topic is solved

Hi,

This problem is being addressed in all drivers for consistency.

Giovanni

Go to advanced search