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.
This commit is contained in:
Vincent Duvert 2020-12-23 13:41:56 +01:00 committed by Damien George
parent 342dc61784
commit 45f0b6ab63
2 changed files with 2 additions and 1 deletions

View File

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

View File

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