fix missing include of stdlib.h

This commit is contained in:
Markus Fröschle
2018-02-24 20:11:56 +01:00
parent e443a23cd4
commit cb217e3e95
5 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <mint/osbind.h>
#include <stdint.h>
#include <stdbool.h>
@@ -20,7 +21,7 @@
long bas_start = 0xe0000000;
volatile uint16_t *FB_CS1 = (volatile uint16_t *) 0xfff00000; /* "classic" ATARI I/O registers */
volatile uint16_t * const FB_CS1 = (volatile uint16_t * const) 0xfff00000; /* "classic" ATARI I/O registers */
volatile uint32_t *FB_CS2 = (volatile uint32_t *) 0xf0000000; /* FireBee 32 bit I/O registers */
volatile uint16_t *FB_CS3 = (volatile uint16_t *) 0xf8000000; /* FireBee SRAM */
volatile uint32_t *FB_CS4 = (uint32_t *) 0x40000000; /* FireBee SD RAM */

View File

@@ -2,6 +2,7 @@
#include <mint/osbind.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include "bas_printf.h"
#include "MCF5475.h"
@@ -86,11 +87,11 @@ void wait_for_jtag(void)
int main(int argc, char *argv[])
{
Cconws("\033E\r\nFPGA JTAG configuration support\r\n");
Cconws("\xbd 2014 M. Fr\x94schle\r\n");
(void) Cconws("\033E\r\nFPGA JTAG configuration support\r\n");
(void) Cconws("\xbd 2014 M. Fr\x94schle\r\n");
Cconws("You may now savely load a new FPGA configuration through the JTAG interface\r\n"
"and your Firebee will reboot once finished using that new configuration.\r\n");
(void) Cconws("You may now savely load a new FPGA configuration through the JTAG interface\r\n"
"and your Firebee will reboot once finished using that new configuration.\r\n");
if (argc == 2)
{
/*

View File

@@ -3,6 +3,7 @@
#include <mint/osbind.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include "MCF5475.h"
#include "driver_vec.h"

View File

@@ -2,6 +2,7 @@
#include <string.h>
#include <mint/osbind.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include "MCF5475.h"

View File

@@ -2,6 +2,7 @@
#include <mint/osbind.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include "bas_printf.h"
#include "MCF5475.h"