analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
871 stars 1.63k forks source link

projects: drop CFLAGS explicit initialization #2217

Closed amiclaus closed 2 weeks ago

amiclaus commented 2 weeks ago

Most of the CFLAGS from no-OS projects are used within the code by checking if they are defined. Therefore explicit initialization is redundant. Drop it.

Pull Request Description

Please replace this with a detailed description and motivation of the changes. You can tick the checkboxes below with an 'x' between square brackets or just check them after publishing the PR. If this PR contains a breaking change, list dependent PRs and try to push all related PRs at the same time.

PR Type

PR Checklist

buha commented 2 weeks ago

We really should work on something like EXAMPLE=basic or EXAMPLE=iio etc. in the future because examples are mutually exclusive and currently we have a lot of crazy stuff like this: https://github.com/analogdevicesinc/no-OS/blob/main/projects/eval-adxl355-pmdz/src/platform/aducm3029/main.c#L115-L120