cc3200: Fix debug build.

* Fix a typo in the Makefile that prevented the debug build to be actually
  enabled when BTYPE=debug is used.

* Add a missing header in modmachine.c that is used when a debug build is
  created.
pull/6794/head
Vincent Duvert 2020-12-23 13:41:56 +01:00 zatwierdzone przez Damien George
rodzic 342dc61784
commit 45f0b6ab63
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -182,7 +182,7 @@ ifeq ($(BTYPE), release)
CFLAGS += -DNDEBUG
else
ifeq ($(BTYPE), debug)
CFLAGS += -DNDEBUG
CFLAGS += -DDEBUG
else
$(error Invalid BTYPE specified)
endif

Wyświetl plik

@ -26,6 +26,7 @@
*/
#include <stdint.h>
#include <stdio.h>
#include "py/runtime.h"
#include "py/mphal.h"