[ion/f730] Fix includes for the right PLATFORM

This commit is contained in:
Ruben Dashyan
2019-01-10 15:32:10 +01:00
parent 5ed8c8b451
commit a2ebdcdbc1
12 changed files with 16 additions and 15 deletions

View File

@@ -2,6 +2,7 @@
#define ION_DEVICE_BACKLIGHT_H
#include <ion/backlight.h>
#include "regs/regs.h"
namespace Ion {
namespace Backlight {

View File

@@ -1,7 +1,7 @@
#include "command.h"
#include <ion.h>
#include <poincare/print_float.h>
#include <ion/src/device/led.h>
#include <ion/src/f730/led.h>
namespace Ion {
namespace Device {

View File

@@ -1,6 +1,6 @@
#include "command.h"
#include <ion.h>
#include <ion/src/device/backlight.h>
#include <ion/src/f730/backlight.h>
namespace Ion {
namespace Device {

View File

@@ -1,6 +1,6 @@
#include "command.h"
#include <ion.h>
#include <ion/src/device/display.h>
#include <ion/src/f730/display.h>
#include <poincare/integer.h>
namespace Ion {

View File

@@ -1,6 +1,6 @@
#include "command.h"
#include <ion.h>
#include <ion/src/device/led.h>
#include <ion/src/f730/led.h>
namespace Ion {
namespace Device {

View File

@@ -1,6 +1,6 @@
#include "command.h"
#include <ion.h>
#include <ion/src/device/led.h>
#include <ion/src/f730/led.h>
#include <kandinsky.h>
namespace Ion {

View File

@@ -1,6 +1,6 @@
#include "command.h"
#include <ion.h>
#include <ion/src/device/display.h>
#include <ion/src/f730/display.h>
namespace Ion {
namespace Device {

View File

@@ -1,8 +1,8 @@
#include "calculator.h"
#include <ion/usb.h>
#include <ion/src/device/regs/regs.h>
#include <ion/src/device/device.h>
#include <ion/src/device/keyboard.h>
#include <ion/src/f730/regs/regs.h>
#include <ion/src/f730/device.h>
#include <ion/src/f730/keyboard.h>
namespace Ion {
namespace USB {

View File

@@ -1,6 +1,6 @@
#include "dfu_interface.h"
#include <string.h>
#include <ion/src/device/flash.h>
#include <ion/src/f730/flash.h>
namespace Ion {
namespace USB {

View File

@@ -1,7 +1,7 @@
#include <ion/usb.h>
#include <string.h>
#include <assert.h>
#include <ion/src/device/device.h>
#include <ion/src/f730/device.h>
extern char _stack_end;
extern char _dfu_bootloader_flash_start;
@@ -60,11 +60,11 @@ void DFU() {
/* To have the right debug symbols for the reallocated code, break here and:
* - Get the address of the new .text section
* In a terminal: arm-none-eabi-readelf -a ion/src/device/usb/dfu.elf
* In a terminal: arm-none-eabi-readelf -a ion/src/f730/usb/dfu.elf
* - Delete the current symbol table
* symbol-file
* - Add the new symbol table, with the address of the new .text section
* add-symbol-file ion/src/device/usb/dfu.elf 0x20038000
* add-symbol-file ion/src/f730/usb/dfu.elf 0x20038000
*/
dfu_bootloader_entry(true);

View File

@@ -1,5 +1,5 @@
#include "device.h"
#include <ion/src/device/regs/regs.h>
#include <ion/src/f730/regs/regs.h>
namespace Ion {
namespace USB {

View File

@@ -1,6 +1,6 @@
#include "endpoint0.h"
#include <string.h>
#include <ion/src/device/regs/regs.h>
#include <ion/src/f730/regs/regs.h>
#include "device.h"
#include "interface.h"
#include "request_recipient.h"