Remove (legacy) direct inclusion of 'pico/platform.h' and 'pico/config.h' (#1190)

* Remove (legacy) direct inclusion of 'pico/platform.h' which potentially skip config/board setup
* also fix direct use of pico/config.h which predated pico.h being assembly includable
This commit is contained in:
Graham Sanderson
2023-01-24 12:03:48 -06:00
committed by GitHub
parent a540ca905a
commit 248fc72f96
8 changed files with 8 additions and 14 deletions

View File

@ -34,7 +34,7 @@
#include <stdint.h>
#include <stdio.h>
#include "pico/platform.h"
#include "pico.h"
#include "pico/printf.h"
// PICO_CONFIG: PICO_PRINTF_NTOA_BUFFER_SIZE, Define printf ntoa buffer size, min=0, max=128, default=32, group=pico_printf