removes attribute packed as it disables word access generation by gcc
This commit is contained in:
parent
46d55f353e
commit
5d78f839a5
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t MSIP0;
|
volatile uint32_t MSIP0;
|
||||||
uint8_t fill0[16380];
|
uint8_t fill0[16380];
|
||||||
volatile uint32_t MTIMECMP0LO;
|
volatile uint32_t MTIMECMP0LO;
|
||||||
|
|
|
@ -12,22 +12,22 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t DATA;
|
volatile uint32_t DATA;
|
||||||
volatile uint32_t STATUS;
|
volatile uint32_t STATUS;
|
||||||
volatile uint32_t CONFIG;
|
volatile uint32_t CONFIG;
|
||||||
volatile uint32_t INTR;
|
volatile uint32_t INTR;
|
||||||
uint8_t fill0[16];
|
uint32_t fill0[4];
|
||||||
volatile uint32_t SCLK_CONFIG;
|
volatile uint32_t SCLK_CONFIG;
|
||||||
volatile uint32_t SSGEN_SETUP;
|
volatile uint32_t SSGEN_SETUP;
|
||||||
volatile uint32_t SSGEN_HOLD;
|
volatile uint32_t SSGEN_HOLD;
|
||||||
volatile uint32_t SSGEN_DISABLE;
|
volatile uint32_t SSGEN_DISABLE;
|
||||||
volatile uint32_t SSGEN_ACTIVE_HIGH;
|
volatile uint32_t SSGEN_ACTIVE_HIGH;
|
||||||
uint8_t fill1[12];
|
uint32_t fill1[3];
|
||||||
volatile uint32_t XIP_ENABLE;
|
volatile uint32_t XIP_ENABLE;
|
||||||
volatile uint32_t XIP_CONFIG;
|
volatile uint32_t XIP_CONFIG;
|
||||||
volatile uint32_t XIP_MODE;
|
volatile uint32_t XIP_MODE;
|
||||||
uint8_t fill2[4];
|
uint32_t fill2[1];
|
||||||
volatile uint32_t XIP_WRITE;
|
volatile uint32_t XIP_WRITE;
|
||||||
volatile uint32_t XIP_READ_WRITE;
|
volatile uint32_t XIP_READ_WRITE;
|
||||||
volatile uint32_t XIP_READ;
|
volatile uint32_t XIP_READ;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t PIXEL;
|
volatile uint32_t PIXEL;
|
||||||
volatile uint32_t CONTROL;
|
volatile uint32_t CONTROL;
|
||||||
volatile uint32_t STATUS;
|
volatile uint32_t STATUS;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t CONTROL;
|
volatile uint32_t CONTROL;
|
||||||
volatile uint32_t STATUS;
|
volatile uint32_t STATUS;
|
||||||
volatile uint32_t IE;
|
volatile uint32_t IE;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t VALUE;
|
volatile uint32_t VALUE;
|
||||||
volatile uint32_t WRITE;
|
volatile uint32_t WRITE;
|
||||||
volatile uint32_t WRITEENABLE;
|
volatile uint32_t WRITEENABLE;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t LEFT_CH;
|
volatile uint32_t LEFT_CH;
|
||||||
volatile uint32_t RIGHT_CH;
|
volatile uint32_t RIGHT_CH;
|
||||||
volatile uint32_t CONTROL;
|
volatile uint32_t CONTROL;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t PRESCALER;
|
volatile uint32_t PRESCALER;
|
||||||
volatile uint32_t T0_CTRL;
|
volatile uint32_t T0_CTRL;
|
||||||
volatile uint32_t T0_OVERFLOW;
|
volatile uint32_t T0_OVERFLOW;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct __attribute((__packed__)) {
|
typedef struct {
|
||||||
volatile uint32_t RX_TX_REG;
|
volatile uint32_t RX_TX_REG;
|
||||||
volatile uint32_t INT_CTRL_REG;
|
volatile uint32_t INT_CTRL_REG;
|
||||||
volatile uint32_t CLK_DIVIDER_REG;
|
volatile uint32_t CLK_DIVIDER_REG;
|
||||||
|
|
Loading…
Reference in New Issue