mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 07:40:42 +01:00
[ion/f730] Fix includes for the right PLATFORM
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define ION_DEVICE_BACKLIGHT_H
|
||||
|
||||
#include <ion/backlight.h>
|
||||
#include "regs/regs.h"
|
||||
|
||||
namespace Ion {
|
||||
namespace Backlight {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user