Skip to content

Commit ba68569

Browse files
committed
Removed build strict test and enabled -Werror flag
1 parent da11f0f commit ba68569

File tree

5 files changed

+1
-47
lines changed

5 files changed

+1
-47
lines changed

.circleci/config.yml

-14
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,6 @@ jobs:
4040
path: /tmp/misra/misra_safety_output.txt
4141

4242

43-
strict-compiler:
44-
machine:
45-
docker_layer_caching: true
46-
steps:
47-
- checkout
48-
- run:
49-
name: Build image
50-
command: "docker build -t panda_strict_compiler -f tests/build_strict/Dockerfile ."
51-
- run:
52-
name: Build Panda with strict compiler rules
53-
command: |
54-
docker run panda_strict_compiler /bin/bash -c "cd /panda/tests/build_strict; ./test_build_strict.sh"
55-
5643
build:
5744
machine:
5845
docker_layer_caching: true
@@ -105,6 +92,5 @@ workflows:
10592
jobs:
10693
- safety
10794
- misra-c2012
108-
- strict-compiler
10995
- build
11096
- safety_replay

board/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJ_NAME = panda
2-
CFLAGS = -g -Wall
2+
CFLAGS = -g -Wall -Wextra -Wstrict-prototypes -Werror
33

44
CFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m4
55
CFLAGS += -mhard-float -DSTM32F4 -DSTM32F413xx -mfpu=fpv4-sp-d16 -fsingle-precision-constant

board/Makefile.strict

-8
This file was deleted.

tests/build_strict/Dockerfile

-9
This file was deleted.

tests/build_strict/test_build_strict.sh

-15
This file was deleted.

0 commit comments

Comments
 (0)